/* Enhanced User Common Styles - Production Ready & Ultra Modern */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #fafafa;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Ultra Modern Header */
.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    position: relative;
    min-height: 80px;
}

/* Logo Image Fixes - CONSISTENT LARGER SIZES */
.logo {
    display: flex;
    align-items: center;
    min-height: 60px;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.logo-image {
    height: 50px; /* Increased from 45px */
    width: auto;
    max-width: 240px; /* Increased from 220px */
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.logo-text {
    display: none;
}

/* Premium Desktop Navigation */
.nav-desktop {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    margin: 0 auto;
    flex-wrap: nowrap;
    max-width: 60%;
}

.nav-desktop a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-size: 0.85rem;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-desktop a i {
    font-size: 1rem;
    width: 18px;
    text-align: center;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.nav-desktop a:hover {
    color: #1a1a1a;
}

.nav-desktop a:hover i {
    opacity: 1;
    transform: translateY(-2px);
}

.nav-desktop a.active {
    color: #1a1a1a;
    font-weight: 600;
}

.nav-desktop a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #1a1a1a;
    border-radius: 2px;
}

.nav-desktop a.active i {
    opacity: 1;
}

/* Modern Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
    flex-shrink: 0;
}

/* Ensure cart action has proper spacing */
.cart-action {
    position: relative;
    background: #f5f5f5;
    padding: 0.85rem;
    border-radius: 50%;
    text-decoration: none;
    color: #1a1a1a;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}
.cart-action:hover {
    background: #1a1a1a;
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 32px rgba(26, 26, 26, 0.2);
}

.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #1a1a1a;
    color: white;
    border-radius: 50%;
    padding: 3px 7px;
    font-size: 0.7rem;
    font-weight: 600;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.admin-action {
    background: #1a1a1a;
    color: white;
    padding: 0.85rem 1.5rem;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.admin-action:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 26, 26, 0.25);
}

/* Modern Hamburger Menu */
.hamburger-menu {
    display: none;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    padding: 0.85rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.hamburger-menu span {
    display: block;
    height: 2px;
    width: 22px;
    background: #1a1a1a;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-menu:hover {
    background: #1a1a1a;
    transform: scale(1.05);
}

.hamburger-menu:hover span {
    background: white;
}

/* Premium Mobile Navigation */
.nav-mobile {
    position: fixed;
    top: 0;
    left: -100%;
    width: 340px;
    height: 100vh;
    background: white;
    box-shadow: 4px 0 48px rgba(0, 0, 0, 0.08);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    display: flex;
    flex-direction: column;
}

.nav-mobile.active {
    left: 0;
}

.nav-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid #f5f5f5;
    background: #fafafa;
}

.nav-mobile-header .logo {
    font-size: 1.6rem;
}

.close-menu {
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    padding: 0.6rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #1a1a1a;
    font-size: 1.2rem;
}

.close-menu:hover {
    background: #1a1a1a;
    color: white;
    transform: rotate(90deg) scale(1.1);
}

.nav-mobile-content {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 0;
    flex: 1;
}

.nav-mobile-content a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    padding: 1.25rem 2rem;
    border-bottom: 1px solid #f8f8f8;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.nav-mobile-content a i {
    width: 22px;
    text-align: center;
    font-size: 1.15rem;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.nav-mobile-content a:hover {
    background: #fafafa;
    padding-left: 2.5rem;
}

.nav-mobile-content a:hover i {
    opacity: 1;
    transform: scale(1.1);
}

.nav-mobile-content a.active {
    background: #1a1a1a;
    color: white;
    border-left: 4px solid white;
}

.nav-mobile-content a.active i {
    opacity: 1;
}

.mobile-cart-count {
    margin-left: auto;
    background: #1a1a1a;
    color: white;
    padding: 0.35rem 0.7rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 26px;
    text-align: center;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    backdrop-filter: blur(8px);
    transition: opacity 0.3s ease;
}

.overlay.active {
    display: block;
}

/* Main Content */
.main {
    flex: 1;
    padding: 0;
    width: 100%;
}

.main-content {
    min-height: calc(100vh - 200px);
}

/* Ultra Modern Footer */
.footer {
    background: #0a0a0a;
    color: #d0d0d0;
    padding: 5rem 0 2rem;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.75rem;
    font-weight: 600;
    color: white;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.25rem;
    font-weight: 300;
    letter-spacing: -0.02em;
}

.footer-subtitle {
    font-size: 1.05rem;
    color: #fff;
    padding-bottom: 0.75rem;
    display: inline-block;
    border-bottom: 2px solid #fff;
    margin-bottom: 1rem;
}

.footer-description {
    color: #999;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #1a1a1a;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #999;
    font-size: 1.05rem;
}

.social-link:hover {
    background: white;
    color: #1a1a1a;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 12px 32px rgba(255, 255, 255, 0.15);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-link {
    color: #999;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-link:hover {
    color: white;
    padding-left: 0.75rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: #999;
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-icon {
    font-size: 1.05rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
    color: white;
    width: 18px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-copyright p {
    margin: 0;
    color: #666;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.legal-link {
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
    letter-spacing: 0.02em;
}

.legal-link:hover {
    color: white;
}

/* Modern Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 2rem;
    border-radius: 0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    gap: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: #1a1a1a;
    color: white;
}

.btn-primary:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 26, 26, 0.3);
}

.btn-secondary {
    background: #2ecc71;
    color: white;
}

.btn-secondary:hover {
    background: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(46, 204, 113, 0.3);
}

.btn-outline {
    background: transparent;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
}

.btn-outline:hover {
    background: #1a1a1a;
    color: white;
    transform: translateY(-2px);
}

.btn-danger {
    background: #e74c3c;
    color: white;
}

.btn-danger:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(231, 76, 60, 0.3);
}

/* Modern Form Styles */
.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: #1a1a1a;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e8e8e8;
    border-radius: 0;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fafafa;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: #1a1a1a;
    background: white;
    box-shadow: 0 0 0 4px rgba(26, 26, 26, 0.05);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
    cursor: pointer;
}

/* Grid System */
.grid {
    display: grid;
    gap: 2.5rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Cards */
.card {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f5f5f5;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-content {
    padding: 2rem;
}

.card-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.card-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

/* Alert Messages */
.alert {
    padding: 1.25rem 1.75rem;
    border-radius: 0;
    margin-bottom: 2rem;
    border-left: 4px solid;
    font-size: 0.95rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-color: #28a745;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border-color: #dc3545;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border-color: #ffc107;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border-color: #17a2b8;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #1a1a1a;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1400px) {
    .container {
        max-width: 1200px;
        padding: 0 30px;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 1000px;
    }
    
    .nav-desktop {
        gap: 2.5rem;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 920px;
        padding: 0 25px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .nav-desktop {
        gap: 2rem;
    }
    
    .nav-desktop a {
        font-size: 0.85rem;
    }
    
    /* Logo responsive for tablet - LARGER */
    .logo-image {
        height: 48px; /* Increased from 42px */
        max-width: 220px; /* Increased from 200px */
    }
    
    .header-content {
        min-height: 70px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .nav-desktop {
        display: none;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .header-actions {
        gap: 1rem;
    }
    
    .header-content {
        padding: 1rem 0;
        min-height: 65px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .main {
        padding: 0;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    /* Logo responsive for mobile - LARGER */
    .logo-image {
        height: 46px; /* Increased from 40px */
        max-width: 200px; /* Increased from 180px */
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    /* Logo responsive for mobile - LARGER */
    .logo-image {
        height: 44px; /* Increased from 38px */
        max-width: 180px; /* Increased from 160px */
    }
    
    .header-content {
        min-height: 60px;
        padding: 0.5rem 0;
    }
    
    .nav-mobile {
        width: 300px;
    }
    
    .nav-mobile-header {
        padding: 1.5rem;
    }
    
    .nav-mobile-content a {
        font-size: 0.95rem;
        padding: 1.1rem 1.5rem;
    }
    
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .footer-title {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.8rem;
    }
    
    .form-input,
    .form-textarea,
    .form-select {
        padding: 0.875rem 1rem;
    }
    
    .cart-action,
    .hamburger-menu {
        width: 46px;
        height: 46px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.hidden {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .btn {
        display: none !important;
    }
    
    .main {
        padding: 0;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}

@media (max-width: 992px) and (min-width: 769px) {
    .nav-desktop {
        gap: 1.5rem;
    }
    
    .nav-desktop a {
        font-size: 0.8rem;
        gap: 0.4rem;
    }
    
    .nav-desktop a i {
        font-size: 0.9rem;
        width: 16px;
    }
    
    .header-actions {
        gap: 1rem;
    }
    
    .cart-action {
        width: 46px;
        height: 46px;
        padding: 0.75rem;
    }
}

@media (max-width: 842px) {
    .nav-desktop {
        display: none;
    }
    
    .hamburger-menu {
        display: flex;
    }
}

/* Fix footer collision for all pages */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.main-content {
    min-height: calc(100vh - 200px);
    padding-bottom: 2rem;
}

.footer {
    margin-top: auto;
}

/* Specific fixes for cart page */
.main .container {
    min-height: calc(100vh - 300px);
}

/* Specific fixes for checkout page */
.checkout-layout {
    min-height: calc(100vh - 250px);
}

/* Specific fixes for products page */
.products-grid {
    min-height: 400px;
}

/* Ensure empty states have proper spacing */
.empty-cart,
.no-products {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Fix footer collision for pages without container */
.main:not(.main-content) .container {
    min-height: calc(100vh - 300px);
    padding-bottom: 2rem;
}

/* Specific fix for cart page */
.main .container:has(.cart-items) {
    min-height: calc(100vh - 350px);
}

/* Specific fix for checkout page */
.main .container:has(.checkout-layout) {
    min-height: calc(100vh - 300px);
}

/* Specific fix for products page */
.main .container:has(.products-grid) {
    min-height: calc(100vh - 250px);
}

/* Ensure empty states have proper spacing */
.empty-cart,
.no-products {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Footer Responsive Design */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-section:last-child {
        grid-column: 1 / -1;
        text-align: center;
        margin-top: 1rem;
    }
    
    .contact-info {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .footer-section:last-child {
        grid-column: 1 / -1;
    }
    
    .contact-info {
        justify-content: space-around;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .footer-section:last-child {
        margin-top: 0;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .contact-item {
        flex-direction: row !important;
        justify-content: center !important;
        text-align: left !important;
        gap: 1rem !important;
    }
    
    .contact-item span {
        text-align: left;
        flex: 1;
    }
    .social-links {
        justify-content: center;
    }
    
    .footer-nav {
        align-items: center;
    }
    
    .footer-link:hover {
        padding-left: 0;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 2.5rem 0 1rem;
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .footer-title {
        font-size: 1.8rem;
    }
    
    .footer-subtitle {
        font-size: 1rem;
    }
    
    .footer-description {
        font-size: 0.9rem;
    }
    
    .footer-nav {
        gap: 0.75rem;
    }
    
    .footer-link {
        font-size: 0.85rem;
    }
    
    .contact-item {
        font-size: 0.85rem;
        gap: 0.75rem;
    }
    
    .contact-icon {
        font-size: 1rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .footer-bottom {
        padding-top: 2rem;
        gap: 1rem;
    }
    
    .footer-copyright p {
        font-size: 0.8rem;
    }
    
    .footer-legal {
        gap: 1.5rem;
    }
    
    .legal-link {
        font-size: 0.8rem;
    }
}

@media (max-width: 400px) {
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-title {
        font-size: 1.6rem;
    }
    
    .footer-subtitle {
        font-size: 0.95rem;
    }
    
    .contact-info {
        gap: 1rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 1rem;
    }
    
    .social-links {
        gap: 0.75rem;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
    }
    
    /* Logo for very small screens - LARGER */
    .logo-image {
        height: 42px; /* Increased from 36px */
        max-width: 170px; /* Increased from 150px */
    }
}

@media (max-width: 360px) {
    /* Logo for very small screens - LARGER */
    .logo-image {
        height: 40px; /* Increased from 34px */
        max-width: 160px; /* Increased from 140px */
    }
    
    .header-content {
        min-height: 55px;
    }
}

/* Footer Logo Styles */
.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
    object-fit: contain;
}

/* Remove the old footer title */
.footer-title {
    display: none;
}

@media (max-width: 576px) {
    .contact-item {
        gap: 0.75rem !important;
    }
    
    .contact-icon {
        margin-top: 0.15rem !important;
        flex-shrink: 0;
    }
}