/* =========================================
   HERONK - Editorial Coffee & Bar Site
   Colors: Plum (#4A1C40) + Amber (#D4A017)
   Fonts: Playfair Display + Inter
   ========================================= */

:root {
    /* Palette */
    --color-plum-dark: #2D0F24;
    --color-plum-main: #4A1C40;
    --color-plum-light: #6D2E5C;
    --color-amber-main: #D4A017;
    --color-amber-light: #F3C35D;
    --color-cream: #F9F7F2;
    --color-white: #FFFFFF;
    --color-text-dark: #1A1A1A;
    --color-text-muted: #555555;
    
    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --spacing-section: 6rem;
}

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

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

body {
    font-family: var(--font-sans);
    background-color: var(--color-cream);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.center {
    text-align: center;
}

.text-plum { color: var(--color-plum-main); }
.text-light { color: var(--color-white); }
.opacity-80 { opacity: 0.8; }
.mt-4 { margin-top: 2rem; }
.mb-6 { margin-bottom: 3rem; }

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
}

.section-eyebrow {
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    color: var(--color-amber-main);
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-title {
    font-size: 3rem;
    color: var(--color-plum-dark);
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.accent-italic {
    font-style: italic;
    color: var(--color-plum-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-sans);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-amber-main);
    color: var(--color-plum-dark);
    border: 2px solid var(--color-amber-main);
}

.btn-primary:hover {
    background-color: var(--color-amber-light);
    border-color: var(--color-amber-light);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-plum-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-plum-main);
    border: 2px solid var(--color-plum-main);
}

.btn-outline:hover {
    background-color: var(--color-plum-main);
    color: var(--color-white);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(249, 247, 242, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(74, 28, 64, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-plum-dark);
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-dark);
}

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

.btn-nav {
    background-color: var(--color-plum-main);
    color: var(--color-white) !important;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-size: 0.85rem !important;
}

.btn-nav:hover {
    background-color: var(--color-plum-light);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background-color: var(--color-plum-dark);
    transition: all 0.3s ease;
}

/* Mobile Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-plum-dark);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.mobile-menu-overlay nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-link {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-cream);
}

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

.mobile-cta {
    margin-top: 2rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    background-color: var(--color-amber-main);
    color: var(--color-plum-dark);
    padding: 0.8rem 2rem;
    border-radius: 4px;
}

.close-menu-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 3rem;
    color: var(--color-white);
    cursor: pointer;
    line-height: 1;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(45, 15, 36, 0.7) 0%,
        rgba(45, 15, 36, 0.5) 50%,
        rgba(45, 15, 36, 0.8) 100%
    );
    z-index: -1;
}

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

.hero-eyebrow {
    color: var(--color-amber-main);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: var(--color-white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sections */
.section {
    padding: var(--spacing-section) 0;
}

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

.about-image-wrapper {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(74, 28, 64, 0.15);
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.feature-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
    color: var(--color-plum-dark);
}

.feature-list svg {
    color: var(--color-amber-main);
    flex-shrink: 0;
}

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

.section-header {
    margin-bottom: 4rem;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 500px;
    margin: 0 auto;
}

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

.menu-card {
    background-color: var(--color-cream);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-image {
    height: 250px;
    overflow: hidden;
}

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

.menu-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    font-size: 1.75rem;
    color: var(--color-plum-dark);
    margin-bottom: 0.75rem;
}

.card-content p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.menu-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.menu-list li {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--color-text-dark);
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed rgba(74, 28, 64, 0.2);
}

/* Atmosphere Section */
.atmosphere {
    background-color: var(--color-plum-dark);
    color: var(--color-cream);
}

.atmosphere .section-title {
    color: var(--color-white);
}

.split-atmosphere {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.atm-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: rgba(249, 247, 242, 0.8);
}

.atm-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.item-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--color-plum-main) 0%, var(--color-plum-dark) 100%);
    padding: 5rem 0;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

.visit-info {
    background-color: var(--color-white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.visit-info h2 {
    margin-bottom: 2.5rem;
}

.info-block {
    margin-bottom: 2rem;
}

.info-block h4 {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-amber-main);
    margin-bottom: 0.5rem;
}

.info-block p {
    font-size: 1.1rem;
    color: var(--color-text-dark);
    line-height: 1.8;
}

.info-block a {
    color: var(--color-plum-main);
    font-weight: 600;
}

.info-block a:hover {
    text-decoration: underline;
}

.hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 2rem;
}

.visit-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-height: 450px;
}

/* Footer */
.footer {
    background-color: var(--color-plum-dark);
    color: var(--color-cream);
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-brand .logo {
    color: var(--color-white);
}

.copyright {
    font-size: 0.85rem;
    color: rgba(249, 247, 242, 0.6);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.95rem;
    color: rgba(249, 247, 242, 0.8);
}

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

/* Animations */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-up {
    transform: translateY(30px);
}

.reveal-left {
    transform: translateX(-30px);
}

.reveal-right {
    transform: translateX(30px);
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
    transform: none;
    opacity: 1;
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-plum-main);
    color: white;
    padding: 8px;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Responsive */
@media (max-width: 968px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .about-grid,
    .split-atmosphere,
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .atm-gallery {
        grid-template-columns: 1fr;
    }
    
    .item-1, .item-2 {
        grid-column: 1 / -1;
        grid-row: auto;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-section: 4rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
    
    .visit-info {
        padding: 2rem;
    }
}
