/* ============================================
   Suthrn Sno — Café & Bar
   Emerald + Cream · Minimalist Magazine Style
   ============================================ */

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

:root {
    --cream: #fefdf8;
    --cream-100: #fdf9ef;
    --cream-200: #f9f0d8;
    --emerald-750: #064e3b;
    --emerald-800: #053e30;
    --emerald-600: #047857;
    --emerald-500: #059669;
    --emerald-200: #a7f3d0;
    --emerald-100: #d1fae5;
    --emerald-50: #ecfdf5;
    --sand: #f5f0e8;
    --sand-light: #faf8f3;
    --line: rgba(6, 78, 59, 0.10);
    --line-strong: rgba(6, 78, 59, 0.20);
    --font-serif: 'Instrument Serif', Georgia, serif;
    --font-sans: 'Manrope', system-ui, sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    background-color: var(--cream);
    color: var(--emerald-750);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ── Noise Overlay ── */
.noise-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* ── Typography ── */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.serif-italic {
    font-style: italic;
}

.section-label {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 1.25rem;
    position: relative;
    padding-left: 2.5rem;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.75rem;
    height: 1px;
    background: var(--emerald-600);
}

.section-heading {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    color: var(--emerald-750);
    margin-bottom: 2rem;
}

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cream);
    background: var(--emerald-750);
    padding: 1rem 2rem;
    border: 1px solid var(--emerald-750);
    transition: all 0.4s var(--ease-out);
}

.btn-primary:hover {
    background: transparent;
    color: var(--emerald-750);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--emerald-750);
    padding: 1rem 2rem;
    border: 1px solid var(--line-strong);
    transition: all 0.4s var(--ease-out);
}

.btn-ghost:hover {
    border-color: var(--emerald-750);
    background: var(--emerald-50);
}

/* ── Navigation ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 2rem;
    transition: all 0.5s var(--ease-out);
    background: transparent;
}

.nav.scrolled {
    background: rgba(254, 253, 248, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-style: italic;
    color: var(--emerald-750);
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--emerald-750);
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--emerald-750);
    transition: width 0.4s var(--ease-out);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--emerald-750);
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* Mobile Nav Overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--ease-out);
}

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

.nav-overlay-list {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.nav-overlay-list a {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-style: italic;
    color: var(--emerald-750);
    transition: opacity 0.3s;
}

.nav-overlay-list a:hover {
    opacity: 0.6;
}

/* ── Hero ── */
.hero {
    min-height: 100vh;
    padding: 7rem 2rem 4rem;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.hero-layout {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: calc(100vh - 8rem);
}

.hero-content {
    max-width: 560px;
}

.hero-kicker {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-kicker-line {
    width: 3rem;
    height: 1px;
    background: var(--emerald-600);
    flex-shrink: 0;
}

.hero-kicker span {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--emerald-600);
}

.hero-headline {
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1.05;
    color: var(--emerald-750);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--emerald-800);
    opacity: 0.75;
    max-width: 440px;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

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

.hero-image-wrap {
    position: relative;
    overflow: hidden;
}

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

.hero-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(6, 78, 59, 0.06));
    pointer-events: none;
}

/* Hero Divider */
.hero-divider {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
    margin-top: 4rem;
}

.hero-divider span {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--line-strong);
}

/* Hero Meta */
.hero-meta {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 0;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.meta-label {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-600);
}

.meta-value,
.meta-link {
    font-size: 0.875rem;
    color: var(--emerald-750);
    font-weight: 400;
}

.meta-link {
    border-bottom: 1px solid var(--line);
    transition: border-color 0.3s;
}

.meta-link:hover {
    border-color: var(--emerald-750);
}

.hero-meta-divider {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--emerald-200);
    flex-shrink: 0;
}

/* ── Sections ── */
.section {
    padding: 8rem 0;
}

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

.about-image-col img {
    width: 100%;
    height: 50rem;
    object-fit: cover;
    display: block;
}

.about-text-col .section-heading {
    margin-bottom: 1.5rem;
}

.about-text-col p {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--emerald-800);
    opacity: 0.78;
    margin-bottom: 1.25rem;
    font-weight: 300;
}

/* ── Menu ── */
.menu {
    background: var(--sand-light);
}

.menu .container {
    max-width: 1100px;
}

.menu .section-heading {
    text-align: center;
    margin-bottom: 4rem;
}

.menu .section-label {
    display: block;
    text-align: center;
    padding-left: 0;
}

.menu .section-label::before {
    display: none;
}

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

.menu-col {
    border-top: 1px solid var(--line-strong);
    padding-top: 1.5rem;
}

.menu-col-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1.5rem;
    color: var(--emerald-750);
}

.menu-col-header svg {
    opacity: 0.6;
}

.menu-col-header span {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-style: italic;
}

.menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.menu-list li {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

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

.menu-item-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--emerald-750);
    letter-spacing: 0.01em;
}

.menu-item-desc {
    font-size: 0.8125rem;
    color: var(--emerald-800);
    opacity: 0.6;
    font-weight: 300;
    line-height: 1.5;
}

.menu-note {
    text-align: center;
    margin-top: 3rem;
    font-size: 0.8125rem;
    color: var(--emerald-800);
    opacity: 0.5;
    font-style: italic;
}

/* ── Atmosphere ── */
.atmosphere-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.atmosphere-text .section-heading {
    margin-bottom: 1.5rem;
}

.atmosphere-text p {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--emerald-800);
    opacity: 0.78;
    margin-bottom: 1.25rem;
    font-weight: 300;
}

.atmosphere-features {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.feature-item {
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--line-strong);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--emerald-750);
    transition: all 0.3s var(--ease-out);
}

.feature-item:hover {
    background: var(--emerald-750);
    border-color: var(--emerald-750);
    color: var(--cream);
}

.atmosphere-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
}

.atm-img {
    overflow: hidden;
}

.atm-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s var(--ease-out);
}

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

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

.atm-img--1 img {
    height: 100%;
    min-height: 35rem;
}

.atm-img--2 img {
    height: 100%;
    min-height: 15rem;
}

.atm-img--3 img {
    height: 100%;
    min-height: 10rem;
}

/* ── Visit ── */
.visit {
    background: var(--sand-light);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
    margin-bottom: 6rem;
}

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

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.visit-detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.visit-detail svg {
    flex-shrink: 0;
    margin-top: 0.2rem;
    opacity: 0.6;
}

.visit-detail-label {
    display: block;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 0.375rem;
}

.visit-detail-value {
    font-size: 0.9375rem;
    color: var(--emerald-750);
    line-height: 1.6;
    font-weight: 400;
}

.visit-detail-value a {
    color: var(--emerald-750);
    border-bottom: 1px solid var(--line);
    transition: border-color 0.3s;
}

.visit-detail-value a:hover {
    border-color: var(--emerald-750);
}

.map-link {
    display: inline-flex;
}

.map-placeholder {
    width: 100%;
    min-height: 400px;
    background: var(--cream-100);
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--emerald-750);
    opacity: 0.5;
    text-align: center;
    padding: 2rem;
}

.map-placeholder svg {
    opacity: 0.5;
}

.map-placeholder p {
    font-size: 0.875rem;
}

.map-address {
    font-size: 0.8125rem !important;
    opacity: 0.7 !important;
}

/* Contact Form */
.contact-section {
    border-top: 1px solid var(--line-strong);
    padding-top: 5rem;
}

.contact-inner {
    max-width: 680px;
}

.contact-heading {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-style: italic;
    color: var(--emerald-750);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.form-group label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--emerald-600);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--emerald-750);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line-strong);
    padding: 0.75rem 0;
    outline: none;
    transition: border-color 0.3s;
    -webkit-appearance: none;
    border-radius: 0;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--emerald-750);
    opacity: 0.35;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-bottom-color: var(--emerald-750);
}

.form-group 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 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23064e3b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 2rem;
}

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

.btn-submit {
    margin-top: 0.5rem;
}

.form-success {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: var(--emerald-50);
    border: 1px solid var(--emerald-200);
    font-size: 0.875rem;
    color: var(--emerald-800);
}

.form-success svg {
    flex-shrink: 0;
    color: var(--emerald-600);
}

/* ── Footer ── */
.footer {
    background: var(--emerald-750);
    color: var(--cream);
    padding: 5rem 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    display: block;
    margin-bottom: 0.75rem;
    color: var(--cream);
}

.footer-tagline {
    font-size: 0.8125rem;
    opacity: 0.5;
    font-weight: 300;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.8125rem;
    font-weight: 400;
    opacity: 0.6;
    transition: opacity 0.3s;
    letter-spacing: 0.02em;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.7;
    font-weight: 300;
}

.footer-phone {
    border-bottom: 1px solid rgba(254, 253, 248, 0.2);
    transition: border-color 0.3s;
    display: inline-block;
    margin-top: 0.25rem;
}

.footer-phone:hover {
    border-color: var(--cream);
}

.footer-bottom {
    border-top: 1px solid rgba(254, 253, 248, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    opacity: 0.4;
    font-weight: 300;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-layout {
        gap: 3rem;
    }

    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .atmosphere-grid,
    .visit-grid {
        gap: 3rem;
    }
}

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

    .nav-toggle {
        display: flex;
    }

    .nav-inner {
        height: 4.5rem;
    }

    .hero {
        padding: 6rem 1.5rem 3rem;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 2.5rem;
    }

    .hero-image-wrap img {
        height: 50vh;
    }

    .hero-headline {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }

    .hero-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .hero-meta-divider {
        display: none;
    }

    .section {
        padding: 5rem 1.5rem;
    }

    .about-grid,
    .atmosphere-grid,
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-image-col img {
        height: 35rem;
    }

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

    .atmosphere-images {
        grid-template-columns: 1fr;
    }

    .atm-img--1 {
        grid-column: auto;
        grid-row: auto;
    }

    .atm-img--1 img,
    .atm-img--2 img,
    .atm-img--3 img {
        min-height: 20rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-ghost {
        justify-content: center;
        width: 100%;
    }

    .hero-headline {
        font-size: 2.25rem;
    }

    .atmosphere-features {
        flex-direction: column;
    }

    .feature-item {
        text-align: center;
    }
}

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

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .atm-img img {
        transition: none;
    }
}
