/* ============================================
   North Coast Coffee — Editorial Style Stylesheet
   Deep Navy + Warm Gold Palette
   ============================================ */

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

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #1a2744;
    background-color: #faf8f4;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

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

/* ---------- Typography ---------- */
h1, h2, h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.section-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #b8943e;
    margin-bottom: 16px;
}

.section-eyebrow--light {
    color: #d4a84b;
}

.section-headline {
    font-size: clamp(2rem, 5vw, 3.25rem);
    color: #1a2744;
    margin-bottom: 24px;
}

.section-headline--light {
    color: #f5f0e8;
}

.section-lead {
    font-size: 1.125rem;
    color: #4a5568;
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 0;
}

.section-lead--light {
    color: #c4c0b8;
    max-width: 480px;
}

.lead {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #3d4f6a;
    margin-bottom: 20px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    border-radius: 4px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-primary {
    background-color: #b8943e;
    color: #1a2744;
    border: 2px solid #b8943e;
}

.btn-primary:hover {
    background-color: #a6832e;
    border-color: #a6832e;
}

.btn-ghost {
    background-color: transparent;
    color: #f5f0e8;
    border: 2px solid rgba(245, 240, 232, 0.4);
}

.btn-ghost:hover {
    border-color: #f5f0e8;
    background-color: rgba(245, 240, 232, 0.08);
}

.btn--full {
    width: 100%;
}

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

.section--dark {
    background-color: #1a2744;
}

.section--cream {
    background-color: #f5f0e8;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

/* ---------- Header / Navigation ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(26, 39, 68, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(184, 148, 62, 0.15);
    transition: background-color 0.3s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #f5f0e8;
    letter-spacing: -0.01em;
}

.logo em {
    font-style: italic;
    color: #d4a84b;
}

.logo--light {
    color: #f5f0e8;
}

.logo-mark {
    color: #d4a84b;
    flex-shrink: 0;
}

/* Nav List */
.nav-list {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-list a {
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(245, 240, 232, 0.75);
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: #d4a84b;
    transition: width 0.25s ease;
}

.nav-list a:hover {
    color: #f5f0e8;
}

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

.nav-cta {
    padding: 8px 20px;
    border: 1.5px solid rgba(212, 168, 75, 0.5);
    border-radius: 4px;
    color: #d4a84b;
    transition: all 0.2s ease;
}

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

.nav-cta:hover {
    background-color: rgba(212, 168, 75, 0.1);
    border-color: #d4a84b;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    padding: 4px;
}

.hamburger {
    position: relative;
    width: 100%;
    height: 2px;
    background-color: #f5f0e8;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #f5f0e8;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

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

.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(
        135deg,
        rgba(10, 18, 36, 0.82) 0%,
        rgba(26, 39, 68, 0.70) 50%,
        rgba(10, 18, 36, 0.85) 100%
    );
}

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

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #d4a84b;
    margin-bottom: 24px;
}

.hero-headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 700;
    color: #f5f0e8;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
}

.hero-headline em {
    font-style: italic;
    color: #d4a84b;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(245, 240, 232, 0.78);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 40px;
}

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

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(245, 240, 232, 0.4);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

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

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

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

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 24px 64px rgba(26, 39, 68, 0.15);
}

.about-content .section-headline {
    margin-bottom: 24px;
}

.about-content p {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(26, 39, 68, 0.1);
}

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

.stat-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1a2744;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: #6b7a94;
    letter-spacing: 0.02em;
}

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

.menu-category {
    background-color: rgba(245, 240, 232, 0.04);
    border: 1px solid rgba(212, 168, 75, 0.15);
    border-radius: 8px;
    padding: 40px 32px;
    transition: border-color 0.25s ease;
}

.menu-category:hover {
    border-color: rgba(212, 168, 75, 0.35);
}

.menu-category-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: #d4a84b;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(212, 168, 75, 0.2);
}

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

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

.menu-item-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 500;
    color: #f5f0e8;
}

.menu-item-desc {
    font-size: 0.85rem;
    color: rgba(196, 192, 184, 0.6);
    font-style: italic;
}

.menu-note {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(196, 192, 184, 0.5);
    margin-top: 48px;
    font-style: italic;
}

/* ---------- Gallery ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.gallery-item {
    border-radius: 6px;
    overflow: hidden;
}

.gallery-item--large {
    grid-row: 1 / 3;
}

.gallery-item--large img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item--wide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

/* ---------- Testimonial ---------- */
.testimonial-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote {
    color: #b8943e;
    margin-bottom: 24px;
    opacity: 0.6;
}

.testimonial-content blockquote {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 400;
    font-style: italic;
    color: #1a2744;
    line-height: 1.55;
    margin-bottom: 24px;
}

.testimonial-source {
    font-size: 0.9rem;
    color: #6b7a94;
    font-weight: 500;
}

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

.visit-info .section-headline {
    margin-bottom: 40px;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

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

.visit-icon {
    color: #b8943e;
    flex-shrink: 0;
    margin-top: 2px;
}

.visit-detail strong {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a2744;
    margin-bottom: 4px;
}

.visit-detail p {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.7;
}

.visit-detail a {
    color: #b8943e;
    transition: color 0.2s ease;
}

.visit-detail a:hover {
    color: #a6832e;
}

.visit-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(26, 39, 68, 0.12);
    min-height: 420px;
}

.map-placeholder iframe {
    width: 100%;
    height: 420px;
    display: block;
}

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

.contact-text .section-headline {
    margin-bottom: 20px;
}

.contact-text .section-lead {
    margin-bottom: 32px;
}

.contact-direct {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #d4a84b;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: #f5f0e8;
}

.contact-sep {
    color: rgba(245, 240, 232, 0.3);
}

/* Form */
.contact-form-wrap {
    background-color: rgba(245, 240, 232, 0.05);
    border: 1px solid rgba(212, 168, 75, 0.2);
    border-radius: 8px;
    padding: 40px;
}

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

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(245, 240, 232, 0.6);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #f5f0e8;
    background-color: rgba(26, 39, 68, 0.5);
    border: 1px solid rgba(212, 168, 75, 0.2);
    border-radius: 4px;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(245, 240, 232, 0.3);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #d4a84b;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    margin-top: 16px;
    padding: 12px 16px;
    background-color: rgba(184, 148, 62, 0.15);
    border: 1px solid rgba(184, 148, 62, 0.3);
    border-radius: 4px;
    color: #d4a84b;
    font-size: 0.9rem;
    text-align: center;
}

/* ---------- Footer ---------- */
.site-footer {
    background-color: #0d1525;
    color: rgba(245, 240, 232, 0.6);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(245, 240, 232, 0.08);
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 260px;
}

.footer-links strong,
.footer-hours strong {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1rem;
    font-weight: 600;
    color: #d4a84b;
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: rgba(245, 240, 232, 0.55);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #f5f0e8;
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    gap: 16px;
}

.footer-hours li span:first-child {
    color: rgba(245, 240, 232, 0.55);
}

.footer-hours li span:last-child {
    color: rgba(245, 240, 232, 0.8);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 28px 0;
    font-size: 0.8rem;
    color: rgba(245, 240, 232, 0.35);
}

.footer-bottom a {
    color: rgba(212, 168, 75, 0.6);
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: #d4a84b;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .about-grid,
    .visit-grid,
    .contact-grid {
        gap: 48px;
    }
    
    .menu-grid {
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 72px 0;
    }
    
    /* Mobile Nav */
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .main-nav {
        position: fixed;
        inset: 0;
        background-color: rgba(10, 18, 36, 0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.35s ease;
        z-index: 999;
    }
    
    .main-nav.open {
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 28px;
        text-align: center;
    }
    
    .nav-list a {
        font-size: 1.2rem;
        color: rgba(245, 240, 232, 0.85);
    }
    
    .nav-list a:hover {
        color: #d4a84b;
    }
    
    .nav-cta {
        font-size: 1rem;
        padding: 12px 28px;
    }
    
    /* Hero */
    .hero-content {
        padding: 100px 24px 60px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-scroll {
        display: none;
    }
    
    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-image img {
        min-height: 360px;
    }
    
    .about-stats {
        gap: 24px;
    }
    
    /* Menu */
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .menu-category {
        padding: 28px 24px;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item--large {
        grid-row: auto;
    }
    
    .gallery-item--large img,
    .gallery-item img,
    .gallery-item--wide img {
        min-height: 260px;
        height: 260px;
    }
    
    /* Visit */
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .visit-map {
        min-height: 300px;
    }
    
    .map-placeholder iframe {
        height: 300px;
    }
    
    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-wrap {
        padding: 28px 24px;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .section {
        padding: 56px 0;
    }
    
    .hero-headline {
        font-size: clamp(2rem, 10vw, 2.75rem);
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .contact-direct {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-sep {
        display: none;
    }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .gallery-item img,
    .hero-scroll svg {
        transition: none;
        animation: none;
    }
    
    .nav-list a::after,
    .btn,
    .menu-category,
    .footer-links a {
        transition: none;
    }
}
