/* =============================================
   Gary's Soda and Sandwich Shop — Styles
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul {
    list-style: none;
}

/* --- Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Navigation --- */
.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-fixed.scrolled {
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.nav-logo-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #f8fafc;
    white-space: nowrap;
}

.nav-logo-accent {
    color: #2dd4bf;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(248, 250, 252, 0.75);
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2dd4bf;
    transition: width 0.25s ease;
}

.nav-link:hover {
    color: #f8fafc;
}

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

.nav-cta {
    background: #0d9488;
    color: #f8fafc !important;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.15s ease;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: #0f766e;
    transform: translateY(-1px);
}

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

.nav-toggle-bar {
    width: 24px;
    height: 2px;
    background: #f8fafc;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0f172a;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.92) 0%,
        rgba(4, 47, 46, 0.85) 50%,
        rgba(15, 23, 42, 0.88) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(45, 212, 191, 0.12);
    border: 1px solid rgba(45, 212, 191, 0.3);
    color: #5eead4;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 32px;
}

.hero-badge svg {
    width: 14px;
    height: 14px;
}

.hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: #f8fafc;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-accent {
    color: #2dd4bf;
    position: relative;
}

.hero-accent::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(45, 212, 191, 0.4);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(248, 250, 252, 0.7);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #f8fafc;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: rgba(248, 250, 252, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(248, 250, 252, 0.15);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 14px 28px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-icon {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: #0d9488;
    color: #f8fafc;
}

.btn-primary:hover {
    background: #0f766e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.35);
}

.btn-outline-light {
    background: transparent;
    color: #f8fafc;
    border: 1.5px solid rgba(248, 250, 252, 0.35);
}

.btn-outline-light:hover {
    border-color: #2dd4bf;
    color: #2dd4bf;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

/* --- Sections --- */
.section {
    padding: 100px 0;
}

.section-dark {
    background: #0f172a;
    color: #f8fafc;
}

.section-light {
    background: #f8fafc;
    color: #1e293b;
}

.section-teal {
    background: linear-gradient(135deg, #042f2e 0%, #0f766e 100%);
    color: #f8fafc;
}

/* --- Section Headers --- */
.section-header {
    margin-bottom: 64px;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0d9488;
    margin-bottom: 16px;
    padding: 6px 16px;
    background: rgba(13, 148, 136, 0.1);
    border-radius: 50px;
}

.section-label-light {
    color: #5eead4;
    background: rgba(94, 234, 212, 0.12);
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.section-title-light {
    color: #f8fafc;
}

.section-desc {
    font-size: 1.0625rem;
    color: #64748b;
    line-height: 1.7;
    max-width: 600px;
}

.section-desc-light {
    color: rgba(248, 250, 252, 0.65);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* --- About --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image-col {
    position: relative;
}

.about-image-main {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.about-image-main img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    bottom: -32px;
    right: -24px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    border: 4px solid #0f172a;
}

.about-image-accent img {
    width: 260px;
    height: 195px;
    object-fit: cover;
}

.about-content-col {
    padding-top: 16px;
}

.about-content-col .section-label {
    margin-bottom: 16px;
}

.about-text {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(248, 250, 252, 0.7);
    margin-bottom: 20px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.about-feature-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: rgba(13, 148, 136, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-feature-icon svg {
    width: 22px;
    height: 22px;
    color: #2dd4bf;
}

.about-feature-title {
    font-size: 1rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 4px;
}

.about-feature-text {
    font-size: 0.875rem;
    color: rgba(248, 250, 252, 0.55);
    line-height: 1.6;
}

/* --- Menu --- */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.menu-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.menu-card-featured {
    background: linear-gradient(135deg, #042f2e 0%, #0f766e 100%);
    border-color: transparent;
}

.menu-card-featured .menu-card-title,
.menu-card-featured .menu-item-name,
.menu-card-featured .menu-card-number {
    color: #f8fafc;
}

.menu-card-featured .menu-item-desc {
    color: rgba(248, 250, 252, 0.6);
}

.menu-card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f59e0b;
    color: #0f172a;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
}

.menu-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.menu-card-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    background: rgba(13, 148, 136, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-card-icon svg {
    width: 24px;
    height: 24px;
    color: #0d9488;
}

.menu-card-featured .menu-card-icon {
    background: rgba(255, 255, 255, 0.12);
}

.menu-card-featured .menu-card-icon svg {
    color: #5eead4;
}

.menu-card-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
}

.menu-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.menu-item {
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.menu-card-featured .menu-item {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.menu-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.menu-item-name {
    display: block;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #0f172a;
    margin-bottom: 4px;
}

.menu-item-desc {
    display: block;
    font-size: 0.8125rem;
    color: #94a3b8;
    line-height: 1.5;
}

.menu-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(13, 148, 136, 0.06);
    border: 1px solid rgba(13, 148, 136, 0.15);
    border-radius: 10px;
    padding: 16px 20px;
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.6;
}

.menu-note svg {
    width: 18px;
    height: 18px;
    color: #0d9488;
    flex-shrink: 0;
    margin-top: 1px;
}

/* --- Quality --- */
.quality-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.quality-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px 32px;
    transition: transform 0.25s ease, background 0.25s ease;
}

.quality-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.09);
}

.quality-card-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(45, 212, 191, 0.25);
    line-height: 1;
    margin-bottom: 20px;
}

.quality-card-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 14px;
}

.quality-card-text {
    font-size: 0.9375rem;
    color: rgba(248, 250, 252, 0.6);
    line-height: 1.75;
}

/* --- Visit --- */
.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.visit-text {
    font-size: 1rem;
    color: rgba(248, 250, 252, 0.7);
    line-height: 1.75;
    margin-bottom: 40px;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 36px;
}

.visit-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.visit-detail-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: rgba(13, 148, 136, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visit-detail-icon svg {
    width: 22px;
    height: 22px;
    color: #2dd4bf;
}

.visit-detail-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(248, 250, 252, 0.45);
    margin-bottom: 4px;
}

.visit-detail-value {
    font-size: 1rem;
    font-weight: 500;
    color: #f8fafc;
    line-height: 1.6;
}

.visit-link {
    color: #2dd4bf;
    transition: color 0.2s ease;
}

.visit-link:hover {
    color: #5eead4;
}

.map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    min-height: 420px;
}

/* --- CTA --- */
.cta-section {
    background: linear-gradient(135deg, #0f766e 0%, #042f2e 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 800;
    color: #f8fafc;
    line-height: 1.2;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.0625rem;
    color: rgba(248, 250, 252, 0.7);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.cta-link {
    color: #5eead4;
    font-weight: 600;
    border-bottom: 1px solid rgba(94, 234, 212, 0.3);
    transition: border-color 0.2s ease;
}

.cta-link:hover {
    border-color: #5eead4;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
    background: #020617;
    color: #f8fafc;
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.footer-desc {
    font-size: 0.875rem;
    color: rgba(248, 250, 252, 0.5);
    line-height: 1.7;
    max-width: 300px;
}

.footer-heading {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(248, 250, 252, 0.4);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: rgba(248, 250, 252, 0.65);
    line-height: 1.5;
}

.footer-link {
    color: rgba(248, 250, 252, 0.65);
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #2dd4bf;
}

.footer-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
    color: #0d9488;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(248, 250, 252, 0.35);
}

.footer-bottom-link {
    color: rgba(248, 250, 252, 0.35);
    transition: color 0.2s ease;
}

.footer-bottom-link:hover {
    color: #2dd4bf;
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid,
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image-accent {
        right: 16px;
        bottom: -24px;
    }
    
    .quality-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        transition: right 0.3s ease;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .quality-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .hero-stat-divider {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .section {
        padding: 72px 0;
    }
    
    .about-image-main img {
        height: 360px;
    }
    
    .about-image-accent img {
        width: 200px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .menu-card {
        padding: 24px;
    }
}

/* Mobile nav overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

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