/* ============================================
   32 North Coffeehouse — Custom Styles
   Palette: Emerald Green (#0D4A3A / #1A5F4A) 
            Cream (#F5F0E8 / #FAF7F2)
            Accent Gold (#C4A265)
   Typography: Playfair Display (serif) + Lato (sans)
   ============================================ */

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

:root {
    --emerald-dark: #0D4A3A;
    --emerald: #1A5F4A;
    --emerald-light: #2D7D62;
    --cream: #F5F0E8;
    --cream-light: #FAF7F2;
    --cream-dark: #EDE6D8;
    --gold: #C4A265;
    --gold-light: #D4B87A;
    --text-dark: #1A1A1A;
    --text-medium: #4A4A4A;
    --text-light: #7A7A7A;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(13, 74, 58, 0.08);
    --shadow-md: 0 4px 20px rgba(13, 74, 58, 0.12);
    --shadow-lg: 0 8px 40px rgba(13, 74, 58, 0.16);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background-color: var(--cream-light);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    line-height: 1.2;
    color: var(--emerald-dark);
}

em {
    font-style: italic;
    color: var(--emerald);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

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

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(250, 247, 242, 0.97);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .nav-logo {
    color: var(--emerald-dark);
}

.logo-icon {
    display: flex;
    align-items: center;
}

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

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    padding: 4px 0;
}

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

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

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

.navbar.scrolled .nav-link {
    color: var(--text-medium);
}

.navbar.scrolled .nav-link:hover {
    color: var(--emerald-dark);
}

.nav-cta {
    background: var(--emerald);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 2px;
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
}

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

.nav-cta:hover {
    background: var(--emerald-light);
    transform: translateY(-1px);
}

.navbar.scrolled .nav-cta {
    background: var(--emerald-dark);
}

.navbar.scrolled .nav-cta:hover {
    background: var(--emerald);
}

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

.hamburger {
    width: 24px;
    height: 1.5px;
    background: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .hamburger {
    background: var(--emerald-dark);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(13, 74, 58, 0.75) 0%,
        rgba(13, 74, 58, 0.65) 40%,
        rgba(13, 74, 58, 0.80) 100%
    );
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 24px;
    margin-top: 40px;
}

.hero-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.badge-line {
    width: 40px;
    height: 1px;
    background: var(--gold);
}

.hero-badge span {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 500;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.1;
}

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

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

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

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.7); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: 'Lato', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 2px;
}

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

.btn-primary:hover {
    background: var(--emerald-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

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

.btn-outline {
    background: transparent;
    color: var(--emerald-dark);
    border: 1.5px solid var(--emerald-dark);
}

.btn-outline:hover {
    background: var(--emerald-dark);
    color: var(--white);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.75rem;
}

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

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

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

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--text-medium);
    line-height: 1.8;
}

/* ============================================
   About Section
   ============================================ */
.about {
    background: var(--cream-light);
}

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

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.image-frame img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-frame:hover img {
    transform: scale(1.03);
}

.about-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: var(--emerald);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    z-index: 1;
}

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

.about-text {
    font-size: 1.0625rem;
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.9;
}

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

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

.feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald);
}

.feature-item strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.0625rem;
    color: var(--emerald-dark);
    margin-bottom: 2px;
}

.feature-item span {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* ============================================
   Menu Section
   ============================================ */
.menu {
    background: var(--white);
}

.menu-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.menu-category {
    background: var(--cream-light);
    border-radius: 4px;
    padding: 48px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--cream-dark);
}

.category-icon {
    width: 48px;
    height: 48px;
    background: var(--emerald);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.category-title {
    font-size: 1.5rem;
    color: var(--emerald-dark);
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.menu-item {
    padding-bottom: 28px;
    border-bottom: 1px solid var(--cream-dark);
}

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

.item-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 6px;
}

.item-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--emerald-dark);
}

.item-desc {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.item-details {
    font-size: 0.9375rem;
    color: var(--text-medium);
    line-height: 1.7;
}

/* ============================================
   Experience Section
   ============================================ */
.experience {
    background: var(--emerald-dark);
    color: var(--white);
    overflow: hidden;
}

.experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.experience-content .section-label {
    color: var(--gold);
}

.experience-content .section-title {
    color: var(--white);
    margin-bottom: 24px;
}

.experience-content .section-title em {
    color: var(--gold-light);
}

.experience-text {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.9;
    margin-bottom: 40px;
}

.experience-stats {
    display: flex;
    gap: 48px;
    margin-bottom: 40px;
}

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

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.btn-outline {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--emerald-dark);
}

.experience-images {
    position: relative;
    height: 600px;
}

.exp-image-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 80%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.exp-image-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 45%;
    border-radius: 4px;
    overflow: hidden;
    border: 4px solid var(--emerald-dark);
    box-shadow: var(--shadow-lg);
}

.exp-image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   Visit Section
   ============================================ */
.visit {
    background: var(--cream);
}

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

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

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

.visit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.visit-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--emerald);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.visit-item strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    color: var(--emerald-dark);
    margin-bottom: 4px;
}

.visit-item p {
    color: var(--text-medium);
    line-height: 1.7;
    font-size: 0.9375rem;
}

.visit-item a {
    color: var(--emerald);
}

.visit-item a:hover {
    color: var(--emerald-light);
    text-decoration: underline;
}

.visit-map {
    position: relative;
}

.map-placeholder {
    background: var(--emerald);
    border-radius: 4px;
    padding: 64px 48px;
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: var(--white);
}

.map-content svg {
    color: var(--gold);
}

.map-content h4 {
    font-size: 1.5rem;
    color: var(--white);
}

.map-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

.map-content .btn-primary {
    margin-top: 8px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--emerald-dark);
    color: var(--white);
    padding: 80px 0 40px;
}

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

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 16px;
    line-height: 1.7;
    font-size: 0.9375rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    font-family: 'Lato', sans-serif;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
}

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

.footer-contact p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    line-height: 1.8;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
}

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

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

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

/* ============================================
   Mobile Menu
   ============================================ */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--emerald-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--white);
    padding: 8px;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.mobile-link {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: var(--white);
}

.mobile-link:hover {
    color: var(--gold);
}

.mobile-contact {
    margin-top: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-contact a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
}

.mobile-contact a:hover {
    color: var(--gold);
}

/* ============================================
   Scroll Animations
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .about-grid,
    .experience-grid,
    .visit-grid {
        gap: 48px;
    }
    
    .footer-grid {
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .about-grid,
    .experience-grid,
    .visit-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .experience-images {
        height: 400px;
        order: -1;
    }
    
    .menu-categories {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .hero-content {
        margin-top: 0;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .about-features {
        gap: 20px;
    }
    
    .menu-category {
        padding: 32px 24px;
    }
    
    .experience-stats {
        gap: 32px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .section {
        padding: 64px 0;
    }
    
    .hero-badge {
        flex-direction: column;
        gap: 8px;
    }
    
    .badge-line {
        width: 30px;
    }
    
    .experience-images {
        height: 300px;
    }
    
    .exp-image-main {
        width: 80%;
        height: 75%;
    }
    
    .exp-image-secondary {
        width: 60%;
        height: 50%;
    }
}
