/* ========================================
   LUCKY 13 GUEST COTTAGE — STYLES
   Teal + Slate Grey · Editorial Style
   ======================================== */

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

:root {
    --teal-900: #134f4a;
    --teal-800: #115e59;
    --teal-700: #0d9488;
    --teal-600: #0f766e;
    --teal-500: #14b8a6;
    --teal-400: #2dd4bf;
    --teal-50: #f0fdfa;
    --slate-950: #0c1922;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --white: #ffffff;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--slate-800);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

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

/* SECTION LABELS */
.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-700);
    margin-bottom: 16px;
}

.section-label-light {
    color: var(--teal-400);
}

/* SECTION HEADLINES */
.section-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--slate-900);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

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

.section-headline-light {
    color: var(--white);
}

.section-headline-light em {
    color: var(--teal-400);
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 14px 28px;
    border-radius: 4px;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
}

.btn-primary {
    background: var(--teal-700);
    color: var(--white);
    border: 2px solid var(--teal-700);
}

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

.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-ghost:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.btn-full {
    width: 100%;
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.4s var(--ease-out);
    padding: 0;
}

.nav.scrolled {
    background: rgba(12, 25, 34, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: padding 0.4s var(--ease-out);
}

.nav.scrolled .nav-inner {
    padding: 14px 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-num {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--teal-400);
    line-height: 1;
}

.nav-logo-text {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--slate-300);
    letter-spacing: 0.04em;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--teal-400);
    transition: width 0.3s var(--ease-out);
}

.nav-link:hover {
    color: var(--white);
}

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

.nav-link-cta {
    background: var(--teal-700);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 4px;
    transition: all 0.3s var(--ease-out);
}

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

.nav-link-cta:hover {
    background: var(--teal-600);
    transform: translateY(-1px);
}

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

.nav-toggle-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

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

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

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

/* ========================================
   HERO
   ======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

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

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(12, 25, 34, 0.55) 0%,
        rgba(12, 25, 34, 0.7) 50%,
        rgba(12, 25, 34, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
}

.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: 24px;
}

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

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

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 300;
    color: var(--slate-300);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--slate-400);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--slate-400), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ========================================
   INTRO STRIP
   ======================================== */
.intro {
    background: var(--slate-900);
    padding: 48px 0;
}

.intro-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.intro-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0 48px;
}

.intro-stat-num {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--teal-400);
    line-height: 1;
}

.intro-stat-label {
    font-size: 0.8125rem;
    color: var(--slate-400);
    font-weight: 400;
    letter-spacing: 0.02em;
}

.intro-divider {
    width: 1px;
    height: 40px;
    background: var(--slate-700);
}

/* ========================================
   THE STAY
   ======================================== */
.stay {
    padding: 120px 0;
    background: var(--white);
}

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

.stay-card {
    border-radius: 8px;
    overflow: hidden;
    background: var(--white);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.stay-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(12, 25, 34, 0.12);
}

.stay-card-img {
    aspect-ratio: 3/2;
    overflow: hidden;
    border-radius: 8px;
}

.stay-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

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

.stay-card-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-top: 20px;
    margin-bottom: 8px;
}

.stay-card-text {
    font-size: 0.9375rem;
    color: var(--slate-600);
    line-height: 1.7;
    padding: 0 4px;
}

/* ========================================
   AMENITIES
   ======================================== */
.amenities {
    padding: 120px 0;
    background: var(--slate-50);
}

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

.amenities-desc {
    font-size: 1.0625rem;
    color: var(--slate-600);
    line-height: 1.75;
    max-width: 440px;
}

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

.amenity-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--slate-200);
}

.amenity-item:first-child {
    border-top: 1px solid var(--slate-200);
}

.amenity-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border-radius: 8px;
    color: var(--teal-700);
}

.amenity-name {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 2px;
}

.amenity-detail {
    font-size: 0.875rem;
    color: var(--slate-500);
}

/* ========================================
   CODY SECTION
   ======================================== */
.cody {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

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

.cody-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cody-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(12, 25, 34, 0.92) 0%,
        rgba(12, 25, 34, 0.75) 60%,
        rgba(12, 25, 34, 0.5) 100%
    );
}

.cody-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.cody-desc {
    font-size: 1.0625rem;
    color: var(--slate-300);
    line-height: 1.75;
    margin-bottom: 48px;
    max-width: 520px;
}

.cody-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cody-highlight {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cody-highlight-num {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--teal-400);
    min-width: 28px;
}

.cody-highlight-text {
    font-size: 1rem;
    color: var(--slate-200);
    font-weight: 400;
}

/* ========================================
   TESTIMONIAL
   ======================================== */
.testimonial {
    padding: 120px 0;
    background: var(--teal-900);
    text-align: center;
}

.testimonial-quote-mark {
    font-family: var(--font-serif);
    font-size: 6rem;
    line-height: 1;
    color: var(--teal-600);
    margin-bottom: -20px;
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 400;
    font-style: italic;
    color: var(--white);
    line-height: 1.6;
    max-width: 720px;
    margin: 0 auto 32px;
}

.testimonial-source {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.testimonial-source-text {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--teal-400);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
    padding: 120px 0;
    background: var(--white);
}

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

.contact-desc {
    font-size: 1.0625rem;
    color: var(--slate-600);
    line-height: 1.75;
    margin-bottom: 48px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--slate-200);
    transition: color 0.3s ease;
}

.contact-detail:first-child {
    border-top: 1px solid var(--slate-200);
}

.contact-detail:hover .contact-detail-value {
    color: var(--teal-700);
}

.contact-detail-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border-radius: 8px;
    color: var(--teal-700);
}

.contact-detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-400);
    margin-bottom: 4px;
}

.contact-detail-value {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--slate-900);
    line-height: 1.4;
}

/* Form */
.contact-form-wrap {
    background: var(--slate-50);
    border-radius: 12px;
    padding: 40px;
    border: 1px solid var(--slate-200);
}

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

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

.form-input {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--slate-900);
    background: var(--white);
    border: 1.5px solid var(--slate-200);
    border-radius: 6px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.form-input:focus {
    border-color: var(--teal-700);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--teal-50);
    border: 1px solid var(--teal-200);
    border-radius: 6px;
    margin-top: 16px;
    color: var(--teal-800);
    font-size: 0.9375rem;
    font-weight: 500;
}

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

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

/* ========================================
   MAP
   ======================================== */
.map-section {
    background: var(--slate-100);
}

.map-container {
    width: 100%;
    height: 400px;
    filter: grayscale(0.3);
}

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

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--slate-950);
    padding: 64px 0 32px;
}

.footer-top {
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo-num {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--teal-400);
}

.footer-logo-text {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-tagline {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.7;
    max-width: 400px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid var(--slate-800);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy {
    font-size: 0.8125rem;
    color: var(--slate-500);
}

.footer-address {
    font-size: 0.8125rem;
    color: var(--slate-600);
}

/* ========================================
   SCROLL REVEAL (progressive enhancement)
   ======================================== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(32px);
        transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .amenities-layout {
        gap: 48px;
    }

    .contact-layout {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--slate-950);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        transition: right 0.4s var(--ease-out);
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

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

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

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

    .intro-grid {
        flex-direction: column;
        gap: 24px;
    }

    .intro-divider {
        width: 40px;
        height: 1px;
    }

    .intro-stat {
        padding: 0;
    }

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

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

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

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

    .contact-form-wrap {
        padding: 24px;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .stay, .amenities, .cody, .testimonial, .contact {
        padding: 80px 0;
    }

    .testimonial-quote-mark {
        font-size: 4rem;
    }
}
