/* ============================================
   THE HYDRANT — Café & Bar
   Clean Minimalist · Emerald + Cream
   ============================================ */

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

:root {
    --emerald-900: #042f23;
    --emerald-800: #064e3b;
    --emerald-700: #065f46;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --cream-50: #fafaf5;
    --cream-100: #f5f5f0;
    --cream-200: #e8e8e0;
    --cream-300: #d4d4cc;
    --ink: #1a1a18;
    --ink-light: #4a4a46;
    --ink-faint: #8a8a84;
    --white: #ffffff;
    --font-display: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    background-color: var(--cream-50);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

address {
    font-style: normal;
}

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

/* --- Custom Cursor --- */
.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--emerald-600);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

.cursor-ring {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1px solid var(--emerald-600);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), border-color 0.3s ease;
    mix-blend-mode: difference;
}

@media (pointer: coarse) {
    .cursor-dot, .cursor-ring { display: none; }
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--ink);
    margin-bottom: 1.5rem;
}

.text-emerald {
    color: var(--emerald-700);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    padding: 0.875rem 2rem;
    border-radius: 100px;
    transition: all 0.4s var(--ease-out);
    white-space: nowrap;
}

.btn--primary {
    background: var(--emerald-800);
    color: var(--white);
    border: 1px solid var(--emerald-800);
}

.btn--primary:hover {
    background: var(--emerald-700);
    border-color: var(--emerald-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6, 78, 59, 0.2);
}

.btn--outline {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--cream-300);
}

.btn--outline:hover {
    border-color: var(--emerald-600);
    color: var(--emerald-700);
}

.btn--small {
    padding: 0.625rem 1.5rem;
    font-size: 0.8125rem;
}

.btn--large {
    padding: 1.125rem 2.5rem;
    font-size: 0.9375rem;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 250, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cream-200);
    transition: transform 0.4s var(--ease-out);
}

.site-header.hidden {
    transform: translateY(-100%);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.logo-mark {
    width: 28px;
    height: 28px;
    background: var(--emerald-800);
    border-radius: 50%;
    position: relative;
}

.logo-mark::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    border: 2px solid var(--cream-50);
    border-radius: 50%;
}

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

.desktop-nav a {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--ink-light);
    letter-spacing: 0.02em;
    position: relative;
    transition: color 0.3s ease;
}

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

.desktop-nav a:hover {
    color: var(--emerald-700);
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--ink);
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

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

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

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

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: var(--cream-50);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--ease-out);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

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

.mobile-menu-link {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.mobile-menu-link:hover {
    color: var(--emerald-700);
}

.mobile-menu-contact {
    margin-top: 3rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--ink-light);
    line-height: 2;
}

.mobile-menu-contact a {
    color: var(--emerald-700);
    transition: opacity 0.3s ease;
}

.mobile-menu-contact a:hover {
    opacity: 0.7;
}

/* --- Hero --- */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--cream-200);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding-top: 4rem;
    padding-bottom: 4rem;
    flex: 1;
}

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

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    line-height: 1.05;
    margin-bottom: 1.75rem;
    color: var(--ink);
}

.hero-title .text-emerald {
    color: var(--emerald-700);
}

.hero-subtitle {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--ink-light);
    margin-bottom: 2.5rem;
    max-width: 420px;
}

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

.hero-image {
    position: relative;
}

.hero-image .img-wrapper {
    overflow: hidden;
    border-radius: 2px;
}

.hero-image .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out);
}

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

.hero-image-accent {
    position: absolute;
    bottom: -2rem;
    left: -3rem;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

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

.hero-line {
    height: 1px;
    background: var(--cream-200);
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 0;
    font-size: 0.8125rem;
    color: var(--ink-faint);
}

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

/* --- Philosophy --- */
.philosophy {
    padding: 8rem 0;
    border-bottom: 1px solid var(--cream-200);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.philosophy-body p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--ink-light);
    margin-bottom: 1.25rem;
}

.philosophy-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--cream-200);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--emerald-700);
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--ink-faint);
    letter-spacing: 0.02em;
}

/* --- Menu --- */
.menu {
    padding: 8rem 0;
    border-bottom: 1px solid var(--cream-200);
}

.menu-header {
    text-align: center;
    margin-bottom: 3rem;
}

.menu-header .section-title {
    margin-bottom: 0.5rem;
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

.tab-btn {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--ink-faint);
    padding: 0.625rem 1.5rem;
    border-radius: 100px;
    border: 1px solid var(--cream-200);
    transition: all 0.3s var(--ease-out);
    letter-spacing: 0.02em;
}

.tab-btn:hover {
    color: var(--ink);
    border-color: var(--cream-300);
}

.tab-btn.active {
    background: var(--emerald-800);
    color: var(--white);
    border-color: var(--emerald-800);
}

.menu-content {
    max-width: 800px;
    margin: 0 auto;
}

.menu-panel {
    display: none;
}

.menu-panel.active {
    display: block;
    animation: fadeUp 0.5s var(--ease-out);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--cream-200);
    border-radius: 2px;
    overflow: hidden;
}

.menu-item {
    background: var(--cream-50);
    padding: 1.5rem 1.75rem;
    transition: background 0.3s ease;
}

.menu-item:hover {
    background: var(--cream-100);
}

.item-header {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.item-name {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.item-desc {
    font-size: 0.8125rem;
    color: var(--ink-faint);
    line-height: 1.5;
}

.menu-note {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--ink-faint);
    margin-top: 2rem;
    font-style: italic;
}

/* --- Space / Gallery --- */
.space {
    padding: 8rem 0;
    border-bottom: 1px solid var(--cream-200);
}

.space-header {
    margin-bottom: 3rem;
}

.space-gallery {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 2px;
    position: relative;
}

.gallery-item--large {
    min-height: 480px;
}

.gallery-item--small {
    min-height: 220px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ease-out);
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.04em;
}

.space-text {
    max-width: 640px;
}

.space-text p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--ink-light);
    margin-bottom: 2.5rem;
}

.space-features {
    display: flex;
    gap: 2.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--ink-light);
}

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

/* --- CTA --- */
.cta {
    padding: 8rem 0;
    background: var(--emerald-900);
    border-bottom: 1px solid var(--emerald-800);
}

.cta-inner {
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
}

.cta .section-label {
    color: var(--emerald-500);
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 1.25rem;
}

.cta-title .text-emerald {
    color: var(--emerald-400);
}

.cta-text {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: rgba(250, 250, 245, 0.65);
    margin-bottom: 3rem;
}

.reservation-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.reservation-form input,
.reservation-form select {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(250, 250, 245, 0.08);
    border: 1px solid rgba(250, 250, 245, 0.15);
    border-radius: 8px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.875rem;
    transition: all 0.3s ease;
    outline: none;
}

.reservation-form input::placeholder {
    color: rgba(250, 250, 245, 0.4);
}

.reservation-form input:focus,
.reservation-form select:focus {
    border-color: var(--emerald-500);
    background: rgba(250, 250, 245, 0.12);
}

.reservation-form select {
    appearance: none;
    cursor: pointer;
}

.reservation-form select option {
    background: var(--emerald-900);
    color: var(--white);
}

.form-success {
    display: none;
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 8px;
    color: var(--emerald-400);
    font-size: 0.875rem;
    text-align: center;
}

.form-success.show {
    display: block;
    animation: fadeUp 0.5s var(--ease-out);
}

/* --- Location --- */
.location {
    padding: 8rem 0;
    border-bottom: 1px solid var(--cream-200);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.location-address {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--ink);
    margin-bottom: 2rem;
}

.location-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9375rem;
    color: var(--ink-light);
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--emerald-700);
}

.hours h3 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 1rem;
}

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

.hours-grid span {
    font-size: 0.9375rem;
    color: var(--ink-light);
}

.hours-grid span:nth-child(even) {
    color: var(--ink);
    font-weight: 400;
}

.location-map {
    border-radius: 2px;
    overflow: hidden;
    min-height: 450px;
    background: var(--cream-200);
}

.location-map iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
}

/* --- Footer --- */
.site-footer {
    padding: 4rem 0 2rem;
    background: var(--ink);
    color: var(--cream-200);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(250, 250, 245, 0.1);
}

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

.footer-brand p {
    font-size: 0.8125rem;
    color: var(--ink-faint);
    margin-top: 0.5rem;
}

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

.footer-links a {
    font-size: 0.875rem;
    color: var(--ink-faint);
    transition: color 0.3s ease;
}

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

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--ink-faint);
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--emerald-500);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    font-size: 0.75rem;
    color: var(--ink-faint);
}

/* --- 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-grid {
        gap: 2rem;
    }
    
    .philosophy-grid {
        gap: 2.5rem;
    }
    
    .location-grid {
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }

    .desktop-nav,
    .btn--small {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-image-accent {
        left: -1rem;
        bottom: -1.5rem;
    }

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

    .philosophy {
        padding: 5rem 0;
    }

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

    .philosophy-stats {
        gap: 2rem;
    }

    .menu {
        padding: 5rem 0;
    }

    .menu-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

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

    .space {
        padding: 5rem 0;
    }

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

    .gallery-item--large {
        min-height: 300px;
    }

    .gallery-item--small {
        min-height: 200px;
    }

    .space-features {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .cta {
        padding: 5rem 0;
    }

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

    .location {
        padding: 5rem 0;
    }

    .location-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .location-map {
        min-height: 300px;
    }

    .location-map iframe {
        min-height: 300px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

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

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

    .hero-actions {
        flex-direction: column;
    }

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

    .philosophy-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hours-grid {
        gap: 0.375rem 1.5rem;
    }
}
