/* ============================================
   REWIND — Bakery & Grocery
   Deep Navy + Warm Gold | Clean Minimalist
   ============================================ */

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

:root {
    --navy-950: #0a1628;
    --navy-900: #1e293b;
    --navy-800: #334155;
    --navy-700: #475569;
    --navy-500: #64748b;
    --navy-100: #e2e8f0;
    --navy-50: #f1f5f9;
    
    --gold-600: #b8860b;
    --gold-500: #d4a853;
    --gold-400: #e2be7a;
    --gold-300: #f0d9a8;
    --gold-200: #f7ecd0;
    --gold-100: #fdf6e3;
    
    --white: #ffffff;
    --off-white: #faf9f7;
    --black: #0a0a0a;
    
    --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--navy-900);
    background-color: var(--off-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 249, 247, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    border-bottom-color: var(--navy-100);
    box-shadow: 0 1px 0 rgba(30, 41, 59, 0.06);
}

.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;
    text-decoration: none;
}

.logo-mark {
    width: 36px;
    height: 36px;
    background: var(--navy-900);
    color: var(--gold-500);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.nav-logo:hover .logo-mark {
    background: var(--gold-500);
    color: var(--navy-900);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--navy-900);
    letter-spacing: 0.02em;
}

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

.nav-link {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--navy-700);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-500);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--navy-900);
}

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

.nav-cta {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--navy-900);
    letter-spacing: 0.04em;
    padding: 10px 22px;
    border: 1px solid var(--navy-900);
    border-radius: 100px;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--navy-900);
    color: var(--white);
}

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

.hamburger {
    width: 22px;
    height: 1.5px;
    background: var(--navy-900);
    transition: var(--transition);
    transform-origin: center;
}

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

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

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

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 22, 40, 0.55) 0%,
        rgba(10, 22, 40, 0.65) 50%,
        rgba(10, 22, 40, 0.80) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 24px;
    text-align: center;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-title em {
    color: var(--gold-400);
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    max-width: 560px;
    margin: 0 auto 40px;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 16px 36px;
    border-radius: 100px;
    border: 1.5px solid transparent;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: var(--gold-500);
    color: var(--navy-900);
    border-color: var(--gold-500);
}

.btn-primary:hover {
    background: var(--gold-400);
    border-color: var(--gold-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 168, 83, 0.3);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.btn-full {
    width: 100%;
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-scroll svg {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 72px;
}

.section-eyebrow {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-600);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 400;
    color: var(--navy-900);
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.section-lead {
    font-size: 1.0625rem;
    font-weight: 300;
    color: var(--navy-500);
    line-height: 1.8;
}

.lead {
    font-size: 1.0625rem;
    font-weight: 300;
    color: var(--navy-700);
    line-height: 1.8;
    margin-bottom: 32px;
}

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

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

.about-image-wrap img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 4px;
}

.about-accent {
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 120px;
    height: 120px;
    border: 1px solid var(--gold-500);
    border-radius: 4px;
    z-index: -1;
}

.about-content {
    padding: 16px 0;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--navy-100);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: var(--navy-900);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--navy-500);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--navy-100);
}

/* ============================================
   DIVIDER
   ============================================ */
.thin-divider {
    padding: 0 24px;
}

.divider-line {
    max-width: 1200px;
    margin: 0 auto;
    height: 1px;
    background: var(--navy-100);
}

/* ============================================
   PRODUCTS
   ============================================ */
.products {
    background: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.product-card {
    display: grid;
    grid-template-columns: 1fr;
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-4px);
}

.product-image {
    overflow: hidden;
    border-radius: 4px;
}

.product-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.04);
}

.product-info {
    padding: 28px 4px;
}

.product-info h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--navy-900);
    margin-bottom: 10px;
}

.product-info p {
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--navy-500);
    line-height: 1.7;
}

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

.visit-detail {
    display: flex;
    gap: 20px;
    margin-bottom: 36px;
}

.detail-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--gold-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-600);
}

.visit-detail strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--navy-900);
    margin-bottom: 6px;
}

.visit-detail p {
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--navy-700);
    line-height: 1.7;
}

.visit-detail a {
    color: var(--gold-600);
    transition: var(--transition);
}

.visit-detail a:hover {
    color: var(--gold-500);
    text-decoration: underline;
}

.visit-map {
    border-radius: 4px;
    overflow: hidden;
    height: 480px;
    box-shadow: 0 4px 24px rgba(30, 41, 59, 0.08);
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    background: var(--white);
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-form-wrap {
    background: var(--navy-50);
    border-radius: 4px;
    padding: 48px;
}

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

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--navy-700);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--navy-900);
    background: var(--white);
    border: 1px solid var(--navy-100);
    border-radius: 4px;
    outline: none;
    transition: var(--transition);
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold-500);
    box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--navy-500);
    font-weight: 300;
}

.form-success {
    display: none;
    margin-top: 20px;
    padding: 16px 20px;
    background: var(--gold-100);
    border: 1px solid var(--gold-300);
    border-radius: 4px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--navy-900);
}

.form-success.show {
    display: block;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    background: var(--navy-900);
    padding: 96px 0;
    text-align: center;
}

.cta-eyebrow {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-bottom: 20px;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 400;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
}

.cta-subtitle a {
    color: var(--gold-400);
    transition: var(--transition);
}

.cta-subtitle a:hover {
    color: var(--gold-300);
    text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--navy-950);
    padding: 72px 0 0;
}

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

.footer-brand p {
    font-size: 0.9375rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
    margin-top: 20px;
    max-width: 280px;
}

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

.footer-links strong,
.footer-contact strong {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-bottom: 4px;
}

.footer-links a {
    font-size: 0.9375rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact p {
    font-size: 0.9375rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
}

.footer-contact a {
    color: var(--gold-400);
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--gold-300);
    text-decoration: underline;
}

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

.footer-bottom p {
    font-size: 0.8125rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   SCROLL REVEAL (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .about-grid,
    .visit-grid,
    .contact-inner {
        gap: 48px;
    }
    
    .about-image-wrap img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--off-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 28px;
        transition: var(--transition);
        box-shadow: -8px 0 32px rgba(10, 22, 40, 0.1);
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .nav-link {
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .about-grid,
    .visit-grid,
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image-wrap {
        order: -1;
    }
    
    .about-image-wrap img {
        height: 320px;
    }
    
    .about-accent {
        display: none;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-image img {
        height: 220px;
    }
    
    .visit-map {
        height: 320px;
    }
    
    .contact-form-wrap {
        padding: 32px 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .about-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .hero-scroll {
        display: none;
    }
}
