/* ========================================
   TEMA MINIMAL - STYLES
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: var(--color-primary);
    --secondary: var(--color-primary-hover);
    --bg: #fdfcff;
    --bg-secondary: var(--color-primary-light);
}

body {
    font-family: 'Sora', sans-serif;
    background: var(--bg);
    color: #2d2d2d;
    overflow-x: hidden;
    padding-top: 0;
    transition: padding-top 0.3s;
}

body.banner-visible { padding-top: 70px; }

/* Main Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: top 0.3s;
}

body.banner-visible .main-nav {
    top: 70px;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 0 30px; /* Padding ridotto a sinistra */
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    z-index: 10;
}

.logo .logo-icon {
    font-size: 40px;
}

.logo .logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 11;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: #2d2d2d;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
    padding: 10px 0;
    display: block;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu .has-submenu > a::after {
    content: '▼';
    font-size: 10px;
    margin-left: 5px;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: var(--shadow-sm);
    border-radius: 10px;
    padding: 15px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    list-style: none;
    z-index: 100;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    padding: 0;
}

.submenu a {
    padding: 10px 20px;
    font-size: 13px;
}

.submenu a:hover {
    background: var(--bg-secondary);
}

/* Auth Items & Logout Button */
.nav-logout-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #2d2d2d;
    transition: all 0.3s;
    font-family: inherit;
}

.nav-logout-btn:hover {
    background: var(--color-danger-bg);
    color: var(--color-danger);
}

.logout-icon {
    font-size: 16px;
}

.logout-text {
    font-weight: 600;
}

/* Desktop specific styles */
@media (min-width: 769px) {
    .nav-logout-btn {
        background: var(--primary, var(--secondary));
        color: white;
        box-shadow: var(--shadow-sm);
    }

    .nav-logout-btn:hover {
        background: var(--color-primary, var(--color-primary));
        transform: translateY(-2px);
        box-shadow: var(--shadow-sm);
        color: white;
    }
}

.bg-gradient {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
    background: radial-gradient(circle at 20% 50%, rgba(0, 0, 0, 0.1), transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(192, 132, 252, 0.05), transparent 50%), var(--bg);
}

/* Hero */
.hero {
    min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr;
    margin-top: 80px;
}
.hero-left {
    display: flex; flex-direction: column; justify-content: center; padding: 100px 80px;
    background: var(--color-primary-light);
}
.hero-label {
    padding: 8px 20px; background: rgba(0, 0, 0, 0.1); border: 1px solid var(--primary);
    border-radius: var(--radius-md); font-size: 12px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 2px; margin-bottom: 30px; width: fit-content; color: var(--primary);
}
.hero-title {
    font-size: 72px; font-weight: 800; line-height: 1.1; margin-bottom: 30px;
    background: var(--primary);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-desc { font-size: 20px; line-height: 1.8; color: #666; margin-bottom: 50px; max-width: 500px; }
.hero-actions { display: flex; gap: 20px; }
.btn-primary {
    background: var(--primary, var(--secondary));
    color: white; padding: 18px 40px; border-radius: 50px; text-decoration: none;
    font-weight: 600; transition: all 0.3s; box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.btn-secondary {
    background: white; color: var(--primary); padding: 18px 40px; border-radius: 50px;
    text-decoration: none; font-weight: 600; border: 2px solid var(--primary); transition: all 0.3s;
}
.btn-secondary:hover { background: var(--bg-secondary); }

.hero-right { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--bg-secondary); }
.hero-visual { position: relative; width: 500px; height: 500px; }
.visual-circle {
    position: absolute; border-radius: 50%; border: 2px solid rgba(0, 0, 0, 0.1);
}
.visual-circle:nth-child(1) { width: 100%; height: 100%; animation: rotate-circle 20s linear infinite; }
.visual-circle:nth-child(2) { width: 80%; height: 80%; top: 10%; left: 10%; animation: rotate-circle 15s linear infinite reverse; }
.visual-circle:nth-child(3) { width: 60%; height: 60%; top: 20%; left: 20%; animation: rotate-circle 10s linear infinite; }
@keyframes rotate-circle { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.central-lotus {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-size: 150px; animation: float-lotus 6s ease-in-out infinite;
}
@keyframes float-lotus {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -55%) scale(1.1); }
}

/* Services Tabs Section */
.services-tabs {
    padding: 100px 80px;
    max-width: 1400px;
    margin: 0 auto;
    background: white;
}

.tabs-container {
    margin-top: 60px;
}

.tabs-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tab-btn {
    background: none;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Accordion */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    background: var(--bg-secondary);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
}

.accordion-item.active {
    background: white;
    box-shadow: var(--shadow-sm);
}

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #2d2d2d;
    transition: all 0.3s;
}

.accordion-header:hover {
    background: rgba(0, 0, 0, 0.1);
}

.acc-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.accordion-header span:nth-child(2) {
    flex: 1;
}

.acc-arrow {
    font-size: 12px;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.accordion-item.active .acc-arrow {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s;
    padding: 0 25px;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 0 25px 25px;
}

.accordion-content p {
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* Compact Sections with Expand */
.chi-siamo-compact,
.centro-compact {
    padding: 80px 80px;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--bg-secondary);
}

.expand-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 400px;
    margin: 30px auto 0;
    padding: 18px 40px;
    background: var(--primary, var(--secondary));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.expand-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.expand-arrow {
    transition: transform 0.3s;
    font-size: 12px;
}

.expand-btn.active .expand-arrow {
    transform: rotate(180deg);
}

.expandable-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.expandable-content.active {
    max-height: 2000px;
    margin-top: 40px;
}

/* Section Headers */
.section-header { text-align: center; margin-bottom: 100px; }
.section-label { color: var(--primary); font-size: 14px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 20px; }
.section-title { font-size: 56px; font-weight: 800; margin-bottom: 20px; color: #2d2d2d; }
.section-subtitle { font-size: 20px; color: #666; max-width: 600px; margin: 0 auto; }

/* Team Grid */
.team-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.team-member {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    align-items: center;
}

.member-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--primary, var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    overflow: hidden;
}

.member-info h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 15px;
}

.member-info p {
    color: #666;
    line-height: 1.8;
}

/* Centro Section */
.centro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.centro-carousel {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 100px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-placeholder {
    font-size: 24px;
    color: #999;
    text-align: center;
}

.centro-text h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 15px;
    margin-top: 30px;
}

.centro-text h3:first-child {
    margin-top: 0;
}

.centro-text p {
    color: #666;
    line-height: 1.8;
}

/* Calendario Section */
.calendario {
    padding: 150px 80px;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--bg-secondary);
}

.calendario-content {
    margin-top: 60px;
}

.calendar-placeholder {
    background: white;
    border-radius: var(--radius-md);
    padding: 100px 40px;
    text-align: center;
    font-size: 24px;
    color: #999;
    border: 2px dashed rgba(0, 0, 0, 0.1);
}

/* Eventi Carousel */
.eventi {
    padding: 100px 80px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.eventi-carousel {
    position: relative;
    margin-top: 60px;
    padding: 0 60px;
}

.eventi-carousel-track {
    display: flex;
    gap: 30px;
    overflow-x: hidden;
    scroll-behavior: smooth;
    transition: transform 0.5s ease;
}

.eventi-carousel .evento-card {
    min-width: 100%;
    max-width: 100%;
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid var(--primary);
    color: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--primary);
    color: white;
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 6px;
}

.evento-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
}

.evento-card:hover {
    transform: translateY(-10px);
}

.evento-image {
    background: var(--bg-secondary);
    padding: 80px 40px;
    text-align: center;
    font-size: 48px;
}

.evento-info {
    padding: 30px;
}

.evento-info h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 15px;
}

.evento-info p {
    color: #666;
    line-height: 1.8;
}

/* Spotify Section */
.spotify {
    padding: 150px 80px;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--bg-secondary);
}

.spotify-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.spotify-card {
    background: var(--primary, var(--secondary));
    color: white;
    border-radius: var(--radius-md);
    padding: 50px 30px;
    text-align: center;
    transition: transform 0.3s;
    cursor: pointer;
}

.spotify-card:hover {
    transform: scale(1.05);
}

.spotify-icon {
    font-size: 60px;
    display: block;
    margin-bottom: 20px;
}

.spotify-card h3 {
    font-size: 18px;
    font-weight: 600;
}

/* CTA / Contact */
.cta { padding: 150px 80px; text-align: center; background: var(--primary, var(--secondary)); }
.cta-content { max-width: 800px; margin: 0 auto; }
.cta-title {
    font-size: 64px; font-weight: 800; margin-bottom: 30px; color: white;
}
.cta-text { font-size: 20px; color: rgba(255, 255, 255, 0.9); margin-bottom: 50px; }

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 40px auto 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    font-family: 'Sora', sans-serif;
    transition: all 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.2);
}

.contact-form input:not(.form-row input) {
    margin-bottom: 20px;
}

.contact-form textarea {
    resize: vertical;
    margin-bottom: 30px;
}

.btn-white {
    background: white; color: var(--primary); padding: 18px 50px; border-radius: 50px;
    text-decoration: none; font-weight: 600; display: inline-block; transition: all 0.3s;
    cursor: pointer; border: none; font-size: 16px;
}
.btn-white:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }

/* Footer */
footer { padding: 80px; border-top: 1px solid rgba(0, 0, 0, 0.1); background: var(--bg-secondary); }
.footer-content { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; }
.footer-brand h3 { font-size: 24px; color: var(--primary); margin-bottom: 15px; }
.footer-brand p { color: #666; line-height: 1.8; }
.footer-section h4 { color: #2d2d2d; margin-bottom: 20px; font-size: 16px; }
.footer-section a { display: block; color: #666; text-decoration: none; margin-bottom: 10px; transition: color 0.3s; }
.footer-section a:hover { color: var(--primary); }
.footer-bottom { text-align: center; margin-top: 60px; padding-top: 30px; border-top: 1px solid rgba(0, 0, 0, 0.1); color: #999; }

@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; }
    .hero-right { min-height: 50vh; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .centro-content { grid-template-columns: 1fr; }
    .team-member { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}


/* ═══════════════════════════════════════════════════════════
   MOBILE MENU - Must be BEFORE the existing @media query
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    /* Mobile Menu Toggle Button */
    .menu-toggle {
        display: flex;
    }

    /* Mobile Navigation Menu - Full Width Overlay */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        padding: 30px 20px;
        gap: 0;
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    /* Menu Items */
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--color-border-light);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu > li {
        margin: 0;
    }

    .nav-menu a {
        padding: 18px 15px;
        font-size: 16px;
        display: block;
        width: 100%;
    }

    /* Auth Items Styling */
    .nav-menu .auth-item {
        margin-top: 15px;
        padding: 0 15px;
        border: none;
    }

    .nav-menu .auth-item a {
        background: var(--primary);
        color: white;
        padding: 16px 20px;
        border-radius: var(--radius-md);
        text-align: center;
        font-weight: 600;
        margin-bottom: 10px;
        transition: all 0.3s;
    }

    .nav-menu .auth-item a:hover {
        background: #7c2bbf;
        transform: translateY(-2px);
    }

    .nav-menu .logout-btn {
        background: var(--color-danger);
        color: white;
        padding: 16px 20px;
        border-radius: var(--radius-md);
        text-align: center;
        font-weight: 600;
        border: none;
        width: 100%;
        cursor: pointer;
        font-size: 16px;
        transition: all 0.3s;
    }

    .nav-menu .logout-btn:hover {
        background: var(--color-danger);
        transform: translateY(-2px);
    }

    /* Submenu Mobile Styling */
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--color-bg-secondary);
        border-radius: 10px;
        margin: 10px 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s;
        width: 100%;
    }

    .has-submenu.submenu-open .submenu {
        max-height: 600px;
        padding: 10px 0;
    }

    .submenu li {
        border: none;
    }

    .submenu a {
        padding: 14px 25px;
        font-size: 15px;
        color: #666;
        padding-left: 35px;
    }

    .submenu a:hover {
        background: var(--color-primary-light);
        color: var(--primary);
    }

    /* Submenu Arrow Rotation */
    .has-submenu > a::after {
        float: right;
        transition: transform 0.3s;
        font-size: 12px;
    }

    .has-submenu.submenu-open > a::after {
        transform: rotate(180deg);
    }

    /* Prevent Body Scroll When Menu Open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }

    /* Reduce Nav Container Padding */
    .nav-container {
        padding: 0 20px;
        height: 70px;
    }

    /* Logo Sizing */
    .logo .logo-icon {
        font-size: 32px;
    }

    .logo .logo-text {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .hero { margin-top: 70px; }
    .hero-left { padding: 60px 30px; }
    .hero-title { font-size: 48px; }
    .hero-desc { font-size: 16px; margin-bottom: 30px; }
    .hero-right { min-height: 400px; }

    .services-tabs, .chi-siamo-compact, .centro-compact, .calendario, .eventi, .spotify, .cta { padding: 60px 20px; }

    .tabs-nav { gap: 5px; margin-bottom: 30px; padding-bottom: 10px; }
    .tab-btn { padding: 12px 20px; font-size: 14px; }

    .accordion-header { padding: 15px 20px; font-size: 15px; }
    .acc-icon { font-size: 20px; }
    .accordion-content { padding: 0 20px; }
    .accordion-item.active .accordion-content { padding: 0 20px 20px; }

    .expand-btn { padding: 15px 30px; font-size: 15px; margin: 20px auto 0; }

    .eventi-carousel { padding: 0 50px; }
    .carousel-btn { width: 40px; height: 40px; font-size: 20px; }
    .evento-image { padding: 60px 20px; font-size: 36px; }
    .evento-info { padding: 20px; }
    .evento-info h3 { font-size: 18px; }

    .spotify-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 36px; }
    .section-label { font-size: 12px; }
    .cta-title { font-size: 40px; }
    footer { padding: 60px 30px; }
    .footer-content { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { width: 300px; height: 300px; }
    .central-lotus { font-size: 100px; }

    .form-row { grid-template-columns: 1fr; gap: 0; }
    .form-row input { margin-bottom: 20px; }

    .team-grid { gap: 30px; }
    .member-photo { width: 150px; height: 150px; font-size: 60px; }
    .centro-content { gap: 30px; }
    .centro-carousel { padding: 60px 20px; }
    .carousel-placeholder { font-size: 18px; }
}

/* ========================================
   NAVBAR (minimal template classes)
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border, #e5e7eb);
    transition: all 0.2s ease;
}

.navbar.scrolled {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--navbar-height, 72px);
}

.nav-logo {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.logo-img {
    height: 36px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted, #6b7280);
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--color-text, #1a2332);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary, #0f5ea8);
    transition: width 0.2s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 0.75rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text, #1a2332);
    transition: all 0.2s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-mobile {
    display: none;
    position: fixed;
    top: var(--navbar-height, 72px);
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    padding: 2rem;
    z-index: 999;
}

.nav-mobile.active {
    display: block;
}

.nav-mobile-links {
    list-style: none;
}

.nav-mobile-links li {
    border-bottom: 1px solid var(--color-border, #e5e7eb);
}

.nav-mobile-links a {
    display: block;
    padding: 1rem 0;
    font-size: 1.125rem;
    font-weight: 500;
}

.nav-mobile-actions {
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .nav-links,
    .nav-actions {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
}


/* ========================================
   FOOTER (minimal template classes)
   ======================================== */

.footer {
    background: var(--color-bg-alt, #f8f9fa);
    padding: 6rem 0 2rem;
    margin-top: 6rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 4rem;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--color-text-muted, #6b7280);
    transition: color 0.2s ease;
}

.footer-social a:hover {
    color: var(--color-text, #1a2332);
}

.footer-col h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-text-muted, #6b7280);
    margin-bottom: 0.625rem;
}

.footer-icon {
    flex-shrink: 0;
}

.footer-list a:hover {
    color: var(--color-text, #1a2332);
}

.footer-nav li {
    display: block;
}

.footer-nav a {
    color: var(--color-text-muted, #6b7280);
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--color-text, #1a2332);
}

.footer-hours {
    font-size: 0.875rem;
    color: var(--color-text-muted, #6b7280);
    line-height: 1.8;
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border, #e5e7eb);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
}
