/* ============================================
   A-Frame Lounge — Styles
   Palette: Teal + Slate Grey | Serif + Sans
   ============================================ */

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

:root {
    --teal-900: #0d3b3b;
    --teal-800: #145c5c;
    --teal-700: #1a6e6e;
    --teal-600: #217f7f;
    --teal-500: #2a9494;
    --teal-400: #4db0b0;
    --teal-100: #d0e8e8;
    --teal-50:  #eaf5f5;

    --slate-950: #0c1522;
    --slate-900: #132033;
    --slate-800: #1e3048;
    --slate-700: #2c4258;
    --slate-600: #4a6274;
    --slate-500: #6b8294;
    --slate-400: #94a8b8;
    --slate-300: #bccdd8;
    --slate-200: #dce8ef;
    --slate-100: #eef4f7;
    --slate-50:  #f6f9fb;

    --cream: #faf8f5;
    --warm-white: #fdfcfa;

    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    --transition: 0.3s ease;
    --transition-slow: 0.6s ease;
}

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

body {
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.7;
    color: var(--slate-800);
    background-color: var(--warm-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
    color: var(--teal-500);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

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

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-md);
    color: var(--slate-900);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--slate-600);
    max-width: 560px;
    line-height: 1.7;
}

.lead {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--slate-700);
    margin-bottom: var(--space-md);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    border-radius: var(--radius-sm);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--teal-700);
    color: #ffffff;
    border-color: var(--teal-700);
}

.btn-primary:hover {
    background-color: var(--teal-800);
    border-color: var(--teal-800);
    color: #ffffff;
}

.btn-ghost {
    background-color: transparent;
    color: var(--slate-200);
    border-color: var(--slate-500);
}

.btn-ghost:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--slate-300);
    color: #ffffff;
}

.btn-full {
    width: 100%;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 1px 20px rgba(12, 21, 34, 0.08);
}

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

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--slate-900);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.logo:hover {
    color: var(--teal-700);
}

.logo--light {
    color: #ffffff;
}

.logo--light:hover {
    color: var(--teal-100);
}

.logo-icon {
    color: var(--teal-700);
}

.logo--light .logo-icon {
    color: var(--teal-400);
}

/* --- Nav --- */
.nav {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-700);
    text-decoration: none;
    letter-spacing: 0.02em;
    position: relative;
    padding: 0.25rem 0;
}

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

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

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

/* --- Nav Toggle --- */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 22px;
    height: 1.5px;
    background-color: var(--slate-800);
    position: relative;
    transition: all var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 1.5px;
    background-color: var(--slate-800);
    left: 0;
    transition: all var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after  { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* --- Nav Overlay --- */
.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background-color: var(--slate-900);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

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

.nav-overlay-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.nav-overlay-link {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 500;
    color: var(--slate-200);
    text-decoration: none;
    transition: color var(--transition);
}

.nav-overlay-link:hover {
    color: var(--teal-400);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--slate-900);
    overflow: hidden;
}

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

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

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(12, 21, 34, 0.55) 0%,
        rgba(13, 59, 59, 0.65) 50%,
        rgba(12, 21, 34, 0.80) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal-400);
    margin-bottom: var(--space-md);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: var(--space-md);
    letter-spacing: -0.01em;
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--slate-300);
    margin-bottom: var(--space-xl);
    letter-spacing: 0.02em;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    color: var(--slate-400);
    animation: float 2.5s ease-in-out infinite;
    text-decoration: none;
}

.scroll-indicator:hover {
    color: var(--teal-400);
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}

/* --- Sections --- */
.section {
    padding: var(--space-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* --- About --- */
.about {
    background-color: var(--warm-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.about-image-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(12, 21, 34, 0.12);
}

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

.about-text p {
    color: var(--slate-700);
    margin-bottom: var(--space-md);
}

.about-signature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--slate-200);
    color: var(--slate-600);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.1rem;
}

.about-signature svg {
    color: var(--teal-600);
    opacity: 0.6;
}

/* --- Offerings --- */
.offerings {
    background-color: var(--slate-50);
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.offering-card {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(12, 21, 34, 0.06);
    transition: transform var(--transition), box-shadow var(--transition);
}

.offering-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(12, 21, 34, 0.12);
}

.offering-card-img {
    overflow: hidden;
    height: 240px;
}

.offering-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.offering-card:hover .offering-card-img img {
    transform: scale(1.05);
}

.offering-card-body {
    padding: var(--space-lg);
}

.offering-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background-color: var(--teal-50);
    color: var(--teal-700);
    margin-bottom: var(--space-md);
}

.offering-card-body h3 {
    font-size: 1.375rem;
    margin-bottom: var(--space-sm);
    color: var(--slate-900);
}

.offering-card-body p {
    font-size: 0.9375rem;
    color: var(--slate-600);
    line-height: 1.75;
}

/* --- Quote --- */
.quote-section {
    background-color: var(--teal-900);
    padding: var(--space-3xl) 0;
    text-align: center;
}

.quote-section blockquote {
    max-width: 760px;
    margin: 0 auto;
}

.quote-mark {
    color: var(--teal-600);
    margin-bottom: var(--space-md);
    opacity: 0.5;
}

.quote-section p {
    font-family: var(--font-serif);
    font-size: clamp(1.375rem, 3vw, 1.875rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.5;
    color: var(--teal-100);
}

/* --- Gallery --- */
.gallery {
    background-color: var(--warm-white);
}

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

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.gallery-item--wide {
    grid-column: span 8;
}

.gallery-item:not(.gallery-item--wide) {
    grid-column: span 4;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

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

/* --- Visit --- */
.visit {
    background-color: var(--slate-900);
    color: #ffffff;
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.visit-info .section-eyebrow {
    color: var(--teal-400);
}

.visit-info .section-title {
    color: #ffffff;
}

.visit-address {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-md);
    font-style: normal;
    color: var(--slate-300);
    font-size: 1rem;
    line-height: 1.7;
}

.visit-address svg {
    color: var(--teal-500);
    flex-shrink: 0;
    margin-top: 0.2em;
}

.visit-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--teal-400);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--teal-800);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.visit-phone:hover {
    background-color: var(--teal-800);
    color: var(--teal-100);
    border-color: var(--teal-700);
}

.visit-phone svg {
    color: var(--teal-400);
}

.visit-hours h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: var(--space-md);
}

.hours-list {
    list-style: none;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--slate-800);
    font-size: 0.9375rem;
}

.hours-row:first-child {
    border-top: 1px solid var(--slate-800);
}

.hours-row span:first-child {
    color: var(--slate-400);
    font-weight: 500;
}

.hours-row span:last-child {
    color: var(--slate-200);
}

.hours-closed span:last-child {
    color: var(--teal-500);
    font-style: italic;
}

/* --- Map --- */
.map-section {
    border-top: 1px solid var(--slate-200);
    border-bottom: 1px solid var(--slate-200);
}

.map-container {
    height: 400px;
    filter: saturate(0.6) contrast(1.05);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* --- Contact --- */
.contact {
    background-color: var(--slate-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.contact-text .section-title {
    color: var(--slate-900);
}

.contact-details {
    margin-top: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--slate-700);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.contact-detail svg {
    color: var(--teal-600);
    flex-shrink: 0;
    margin-top: 0.2em;
}

.contact-detail a {
    color: var(--teal-700);
    text-decoration: underline;
    text-decoration-color: var(--teal-200);
    text-underline-offset: 3px;
}

.contact-detail a:hover {
    text-decoration-color: var(--teal-600);
}

/* --- Form --- */
.contact-form-wrap {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: 0 4px 24px rgba(12, 21, 34, 0.06);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--slate-600);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--slate-900);
    background-color: var(--slate-50);
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--teal-500);
    box-shadow: 0 0 0 3px rgba(42, 148, 148, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--slate-400);
}

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

.form-success {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-top: var(--space-md);
    padding: 1rem 1.25rem;
    background-color: var(--teal-50);
    border: 1px solid var(--teal-100);
    border-radius: var(--radius-sm);
    color: var(--teal-800);
    font-size: 0.9375rem;
}

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

/* --- Footer --- */
.site-footer {
    background-color: var(--slate-950);
    color: var(--slate-400);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--slate-800);
}

.footer-brand p {
    margin-top: var(--space-sm);
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-hours h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--slate-500);
    margin-bottom: var(--space-md);
}

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

.footer-links a {
    color: var(--slate-400);
    font-size: 0.9375rem;
    text-decoration: none;
    transition: color var(--transition);
}

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

.footer-hours p {
    font-size: 0.9375rem;
    margin-bottom: 0.375rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
    padding-top: var(--space-lg);
    font-size: 0.8125rem;
    color: var(--slate-600);
}

.footer-bottom a {
    color: var(--slate-500);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--teal-400);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .offerings-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .offering-card:last-child {
        grid-column: span 2;
    }

    .gallery-item--wide {
        grid-column: span 6;
    }

    .gallery-item:not(.gallery-item--wide) {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    :root {
        --space-3xl: 5rem;
    }

    .nav {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .hero-content {
        padding-top: var(--space-2xl);
    }

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

    .about-grid,
    .visit-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .about-image-wrap {
        order: -1;
    }

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

    .offering-card:last-child {
        grid-column: span 1;
    }

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

    .gallery-item--wide {
        grid-column: span 2;
    }

    .gallery-item:not(.gallery-item--wide) {
        grid-column: span 1;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

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

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

    .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item--wide {
        grid-column: span 1;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        max-width: 100%;
    }
}

/* ============================================
   Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .scroll-indicator {
        animation: none;
    }

    .offering-card,
    .offering-card-img img,
    .gallery-item img {
        transition: none;
    }
}
