/* ========================================
   Surfside Sips — Editorial Bakery Site
   Teal + Slate Grey · Playfair Display + Inter
   ======================================== */

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

:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --cream: #faf9f6;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --max-width: 1280px;
    --nav-height: 72px;
}

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

body {
    font-family: var(--font-sans);
    color: var(--slate-800);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   Navigation
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    height: var(--nav-height);
    transition: box-shadow 0.3s ease;
}

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

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--slate-900);
}

.nav-logo-mark {
    width: 36px;
    height: 36px;
    background: var(--teal-600);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: 1.1rem;
    border-radius: 8px;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--slate-600);
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--teal-600);
    transition: width 0.3s ease;
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--slate-700);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

/* ========================================
   Hero
   ======================================== */
.hero {
    padding-top: var(--nav-height);
    min-height: 100vh;
    background: var(--cream);
}

.hero-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 60px 24px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    min-height: calc(100vh - var(--nav-height) - 60px);
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 20px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    color: var(--slate-900);
    letter-spacing: -0.03em;
    margin-bottom: 28px;
}

.hero-headline em {
    font-style: italic;
    color: var(--teal-700);
}

.hero-sub {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--slate-600);
    max-width: 480px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 680px;
}

.hero-img-main {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
}

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

.hero-img-accent {
    position: absolute;
    bottom: -24px;
    left: -40px;
    width: 260px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.2);
    border: 4px solid var(--cream);
}

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

.hero-divider {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 24px 24px 0;
    border-top: 1px solid var(--slate-200);
    text-align: center;
}

.hero-divider span {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-style: italic;
    color: var(--slate-400);
    letter-spacing: 0.02em;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--teal-600);
    color: white;
}

.btn-primary:hover {
    background: var(--teal-700);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--slate-700);
    border: 1.5px solid var(--slate-300);
}

.btn-secondary:hover {
    border-color: var(--teal-600);
    color: var(--teal-700);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* ========================================
   Section Eyebrow & Title
   ======================================== */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--slate-900);
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.section-title em {
    font-style: italic;
    color: var(--teal-700);
}

/* ========================================
   About
   ======================================== */
.about {
    padding: 120px 0;
    background: var(--cream);
}

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

.about-image {
    border-radius: 16px;
    overflow: hidden;
    height: 600px;
}

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

.about-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--slate-600);
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 48px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--slate-200);
}

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

.stat-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 900;
    color: var(--teal-700);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--slate-500);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ========================================
   Offerings
   ======================================== */
.offerings {
    padding: 120px 0;
    background: var(--slate-800);
}

.offerings .section-eyebrow {
    color: var(--teal-200);
}

.offerings .section-title {
    color: var(--slate-50);
    margin-bottom: 64px;
}

.offerings .section-title em {
    color: var(--teal-300);
}

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

.offering-card {
    background: var(--slate-700);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offering-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.offering-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 32px 32px 0;
    color: var(--teal-300);
}

.offering-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-50);
    margin: 0 32px;
    letter-spacing: -0.02em;
}

.offering-card p {
    padding: 16px 32px 24px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--slate-300);
}

.offering-img {
    margin: 0 32px 32px;
    border-radius: 10px;
    overflow: hidden;
    height: 200px;
}

.offering-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

/* ========================================
   Featured / CTA
   ======================================== */
.featured {
    padding: 120px 0;
    background: var(--cream);
}

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

.featured-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--slate-600);
    margin-bottom: 36px;
}

.featured-image {
    border-radius: 16px;
    overflow: hidden;
    height: 600px;
}

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

/* ========================================
   Visit / Contact
   ======================================== */
.visit {
    padding: 120px 0;
    background: var(--teal-50);
}

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

.contact-details {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--teal-600);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.contact-item span:first-child {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--slate-400);
    margin-bottom: 4px;
}

.contact-item span:last-child,
.contact-item a {
    font-size: 1rem;
    color: var(--slate-700);
    line-height: 1.6;
}

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

/* Form */
.visit-form-wrap {
    background: white;
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 4px 40px rgba(15, 23, 42, 0.06);
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--slate-800);
    background: var(--slate-50);
    border: 1.5px solid var(--slate-200);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--teal-500);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

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

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

.form-success {
    margin-top: 16px;
    padding: 14px 16px;
    background: var(--teal-50);
    border: 1px solid var(--teal-200);
    border-radius: 8px;
    color: var(--teal-800);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--slate-900);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 64px;
    padding-bottom: 64px;
}

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

.footer-brand .nav-logo-mark {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
}

.footer-name {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--slate-50);
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--slate-400);
    line-height: 1.7;
    max-width: 280px;
}

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

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

.footer-links a {
    font-size: 0.9rem;
    color: var(--slate-300);
    transition: color 0.2s ease;
}

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

.footer-contact p {
    font-size: 0.9rem;
    color: var(--slate-400);
    line-height: 1.8;
    margin-bottom: 4px;
}

.footer-contact a {
    color: var(--teal-300);
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: var(--teal-200);
}

.footer-bottom {
    border-top: 1px solid var(--slate-800);
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--slate-500);
}

/* ========================================
   Scroll Reveal (progressive enhancement)
   ======================================== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 40px;
    }

    .hero-visual {
        height: 520px;
    }

    .about-grid,
    .featured-grid,
    .visit-grid {
        gap: 48px;
    }

    .offerings-grid {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(250, 249, 246, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: center;
        padding: 40px 24px;
        gap: 28px;
        border-bottom: 1px solid var(--slate-200);
        transform: translateY(-120%);
        opacity: 0;
        transition: all 0.35s ease;
        pointer-events: none;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding-top: 40px;
        padding-bottom: 40px;
        min-height: auto;
    }

    .hero-visual {
        display: none;
    }

    .hero-headline {
        font-size: clamp(2.2rem, 8vw, 3.2rem);
    }

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

    .about-image {
        height: 400px;
    }

    .featured-image {
        height: 400px;
    }

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

    .about-stats {
        gap: 32px;
    }

    .visit-form-wrap {
        padding: 32px 24px;
    }

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

    .about,
    .offerings,
    .featured,
    .visit {
        padding: 80px 0;
    }
}

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

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .about-stats {
        flex-direction: column;
        gap: 24px;
    }

    .contact-item {
        flex-direction: column;
        gap: 8px;
    }
}
