/* ══════════════════════════════════════════════════════════
   Grand Mars — Craft Coffee & Cocktails
   Minimalist · Teal + Slate · Asymmetric Magazine Layout
   ══════════════════════════════════════════════════════════ */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 300;
    font-size: 15px;
    line-height: 1.7;
    color: #1e293b;
    background-color: #fafbfc;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

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

/* ── Section labels ── */
.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #0d9488;
    margin-bottom: 16px;
}

.section-heading {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    line-height: 1.15;
    color: #0f172a;
    margin-bottom: 48px;
    letter-spacing: -0.01em;
}

.section-heading em {
    font-style: italic;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 14px 28px;
    border: 1px solid transparent;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.btn-primary:hover {
    background-color: #0f766e;
    border-color: #0f766e;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.25);
}

.btn-ghost {
    background-color: transparent;
    color: #1e293b;
    border-color: #cbd5e1;
}

.btn-ghost:hover {
    border-color: #0d9488;
    color: #0d9488;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ── Navigation ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 251, 252, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(203, 213, 225, 0.5);
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: 0 1px 20px rgba(15, 23, 42, 0.06);
}

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

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 500;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.nav-logo-text {
    letter-spacing: 0.02em;
}

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

.nav-links a {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #475569;
    transition: color 0.25s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #0d9488;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #0d9488;
}

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

.nav-cta {
    color: #0d9488 !important;
    border: 1px solid #0d9488;
    padding: 8px 18px;
    transition: all 0.3s ease !important;
}

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

.nav-cta:hover {
    background-color: #0d9488 !important;
    color: #ffffff !important;
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background-color: #1e293b;
    transition: all 0.3s ease;
}

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

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

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

/* Mobile menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(250, 251, 252, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

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

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 24px;
    color: #1e293b;
    padding: 8px;
}

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

.mobile-menu-link {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    font-weight: 400;
    color: #1e293b;
    padding: 12px 24px;
    transition: color 0.25s ease;
}

.mobile-menu-link:hover {
    color: #0d9488;
}

/* ── Hero ── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 24px 80px;
    background-color: #fafbfc;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 50%, #e2e8f0 100%);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 0;
}

.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-left {
    padding-right: 20px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 32px;
}

.hero-eyebrow-line {
    width: 40px;
    height: 1px;
    background-color: #0d9488;
    flex-shrink: 0;
}

.hero-headline {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 300;
    line-height: 1.05;
    color: #0f172a;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

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

.hero-headline-accent {
    display: block;
    font-size: 0.55em;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #475569;
    margin-top: 8px;
}

.hero-sub {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

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

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

.hero-stat-num {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.4rem;
    font-weight: 300;
    color: #0d9488;
    line-height: 1;
}

.hero-stat-label {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748b;
}

.hero-stat-divider {
    width: 1px;
    height: 48px;
    background-color: #e2e8f0;
}

/* Hero image stack */
.hero-right {
    position: relative;
}

.hero-image-stack {
    position: relative;
    height: 620px;
}

.hero-img {
    overflow: hidden;
    position: absolute;
}

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

.hero-img-main {
    width: 380px;
    height: 520px;
    top: 0;
    right: 0;
    z-index: 2;
}

.hero-img-accent {
    width: 260px;
    height: 340px;
    top: 100px;
    right: 180px;
    z-index: 3;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15);
}

.hero-img-float {
    width: 220px;
    height: 160px;
    bottom: 40px;
    right: 20px;
    z-index: 4;
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.12);
}

.hero-img-badge {
    position: absolute;
    bottom: 200px;
    left: -20px;
    z-index: 5;
    background: #0f172a;
    color: #ffffff;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 14px 20px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #94a3b8;
    z-index: 1;
}

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

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

/* ── Section base ── */
.section {
    padding: 120px 0;
}

/* ── About ── */
.about {
    background-color: #ffffff;
}

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

.about-left {
    position: sticky;
    top: 120px;
}

.lead-text {
    font-size: 1.1rem;
    line-height: 1.85;
    color: #334155;
    margin-bottom: 40px;
}

.about-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, #0d9488, transparent);
    margin-bottom: 40px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

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

.about-feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d9488;
}

.about-feature-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 4px;
}

.about-feature-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #64748b;
}

/* ── Menu ── */
.menu {
    background-color: #fafbfc;
}

.menu-header {
    text-align: center;
    margin-bottom: 72px;
}

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

.menu-category {
    border-top: 1px solid #e2e8f0;
    padding-top: 32px;
}

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

.menu-category-icon {
    color: #0d9488;
}

.menu-category-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 500;
    color: #0f172a;
}

.menu-category-sub {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-top: 2px;
}

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

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
    transition: padding-left 0.25s ease;
}

.menu-item:hover {
    padding-left: 8px;
}

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

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

.menu-item-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: #0f172a;
}

.menu-item-desc {
    font-size: 0.82rem;
    color: #94a3b8;
    letter-spacing: 0.02em;
}

.menu-note {
    text-align: center;
    margin-top: 56px;
    font-size: 0.85rem;
    color: #94a3b8;
    font-style: italic;
}

/* ── Gallery ── */
.gallery {
    background-color: #ffffff;
    padding: 100px 0;
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}

.gallery-item {
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.gallery-item--wide {
    grid-column: span 7;
    height: 400px;
}

.gallery-item:nth-child(2) {
    grid-column: span 5;
    height: 400px;
}

.gallery-item:nth-child(3) {
    grid-column: span 5;
    height: 400px;
}

.gallery-item:nth-child(4) {
    grid-column: span 6;
    height: 360px;
}

.gallery-item:nth-child(5) {
    grid-column: span 6;
    height: 360px;
}

/* ── Visit ── */
.visit {
    background-color: #0f172a;
    color: #ffffff;
}

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

.visit .section-label {
    color: #2dd4bf;
}

.visit .section-heading {
    color: #ffffff;
    margin-bottom: 48px;
}

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

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

.visit-detail-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2dd4bf;
}

.visit-detail-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 4px;
}

.visit-detail-value {
    font-size: 1rem;
    line-height: 1.7;
    color: #e2e8f0;
}

.visit-detail-value a {
    color: #e2e8f0;
    transition: color 0.25s ease;
}

.visit-detail-value a:hover {
    color: #2dd4bf;
}

.visit-hours {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.visit-hours-row {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    font-size: 0.95rem;
    color: #cbd5e1;
}

.visit-map {
    height: 480px;
    border: 1px solid rgba(148, 163, 184, 0.15);
    overflow: hidden;
}

.visit-map iframe {
    filter: grayscale(0.6) contrast(1.05);
    transition: filter 0.4s ease;
}

.visit-map:hover iframe {
    filter: grayscale(0.2) contrast(1.05);
}

/* ── Contact ── */
.contact {
    background-color: #ffffff;
}

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

.contact-text {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #475569;
    margin-bottom: 36px;
}

.contact-direct-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #0d9488;
    transition: gap 0.25s ease;
}

.contact-direct-link:hover {
    gap: 16px;
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
}

.form-input {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    color: #0f172a;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 14px 16px;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    width: 100%;
    appearance: none;
}

.form-input:focus {
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.08);
}

.form-input::placeholder {
    color: #94a3b8;
}

.form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%2394a3b8' stroke-width='1.5'%3E%3Cpath d='M3 4.5l3 3 3-3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background-color: #f0fdfa;
    border: 1px solid #99f6e4;
    color: #0f766e;
    font-size: 0.9rem;
    margin-top: 8px;
}

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

/* ── Footer ── */
.footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #64748b;
    max-width: 280px;
}

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

.footer-nav a {
    font-size: 0.9rem;
    color: #94a3b8;
    transition: color 0.25s ease;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-contact a {
    color: #94a3b8;
    transition: color 0.25s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    font-size: 0.8rem;
    color: #475569;
}

.footer-credit {
    font-style: italic;
    color: #475569;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-right {
        display: none;
    }

    .hero::before {
        display: none;
    }

    .hero-left {
        padding-right: 0;
        max-width: 600px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-left {
        position: static;
    }

    .menu-grid {
        grid-template-columns: 1fr 1fr;
    }

    .menu-category:last-child {
        grid-column: span 2;
    }

    .visit-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .visit-map {
        height: 360px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 24px 80px;
        min-height: auto;
    }

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .hero-stat-divider {
        width: 48px;
        height: 1px;
    }

    .section {
        padding: 80px 0;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .menu-category:last-child {
        grid-column: span 1;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-item--wide,
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5) {
        grid-column: span 1;
        height: 260px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2.4rem;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .btn {
        justify-content: center;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item--wide,
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5) {
        grid-column: span 1;
        height: 280px;
    }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .hero-scroll svg {
        animation: none;
    }
}
