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

:root {
    --teal-deep: #1a5f6b;
    --teal-mid: #2a7a8a;
    --teal-light: #3d9aaa;
    --teal-pale: #e8f4f6;
    --slate-dark: #1c2329;
    --slate-mid: #2e3a44;
    --slate: #4a5a66;
    --slate-light: #7a8a96;
    --slate-pale: #b0bec5;
    --cream: #f5f2ed;
    --cream-light: #faf8f5;
    --white: #ffffff;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--slate-dark);
    background: var(--cream-light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

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

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

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26, 95, 107, 0.08);
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(250, 248, 245, 0.97);
    box-shadow: 0 1px 20px rgba(28, 35, 41, 0.06);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--teal-deep);
    letter-spacing: -0.01em;
}

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

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

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

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

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--slate);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--teal-deep);
    transition: var(--transition);
}

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

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

.nav-link--cta {
    background: var(--teal-deep);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 4px;
    letter-spacing: 0.05em;
    transition: var(--transition);
}

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

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

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--slate-dark);
    transition: var(--transition);
    transform-origin: center;
}

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

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

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

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(250, 248, 245, 0.98);
    backdrop-filter: blur(16px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav-link {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--slate-dark);
    transition: var(--transition);
}

.mobile-nav-link:hover {
    color: var(--teal-deep);
}

.mobile-nav-link--cta {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--teal-deep);
    color: var(--white) !important;
    padding: 14px 36px;
    border-radius: 4px;
    margin-top: 12px;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    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-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(28, 35, 41, 0.45) 0%,
        rgba(26, 95, 107, 0.35) 50%,
        rgba(28, 35, 41, 0.65) 100%
    );
}

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

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.015em;
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1.0625rem, 2vw, 1.3125rem);
    font-weight: 400;
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 40px;
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

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

.btn--primary:hover {
    background: var(--teal-mid);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 95, 107, 0.25);
}

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

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

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

/* Scroll indicator */
.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: rgba(255, 255, 255, 0.5);
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ===== SECTION DIVIDER ===== */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    color: var(--teal-deep);
}

/* ===== SECTION LABELS ===== */
.section-label {
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal-mid);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-style: italic;
    color: var(--slate-light);
    line-height: 1.7;
    max-width: 560px;
}

/* ===== COTTAGES ===== */
.cottages {
    padding: 100px 0;
    background: var(--cream-light);
}

.cottages .container {
    text-align: center;
}

.cottages .section-subtitle {
    margin: 0 auto 64px;
}

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

.cottage-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(28, 35, 41, 0.05);
    transition: var(--transition);
}

.cottage-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(28, 35, 41, 0.1);
}

.cottage-card-img {
    overflow: hidden;
    aspect-ratio: 6/4;
}

.cottage-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.cottage-card-body {
    padding: 28px;
}

.cottage-card-body h3 {
    font-size: 1.375rem;
    margin-bottom: 10px;
}

.cottage-detail {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--teal-deep);
    letter-spacing: 0.04em;
    margin-bottom: 14px;
}

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

/* ===== EXPERIENCE ===== */
.experience {
    padding: 100px 0;
    background: var(--cream);
}

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

.section-body {
    font-size: 0.9375rem;
    color: var(--slate);
    line-height: 1.8;
    margin-bottom: 20px;
}

.experience-features {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

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

.feature-icon {
    flex-shrink: 0;
    color: var(--teal-deep);
    margin-top: 2px;
}

.feature h4 {
    font-family: var(--font-serif);
    font-size: 1.1875rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.feature p {
    font-size: 0.875rem;
    color: var(--slate-light);
    line-height: 1.7;
}

/* ===== LOCATION ===== */
.location {
    padding: 100px 0;
    background: var(--cream-light);
}

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

.location-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 40px;
}

.location-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.detail-icon {
    flex-shrink: 0;
    color: var(--teal-deep);
    margin-top: 3px;
}

.location-detail strong {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--slate-dark);
    margin-bottom: 4px;
}

.location-detail span,
.location-detail a {
    font-size: 0.9375rem;
    color: var(--slate);
    transition: var(--transition);
}

.location-detail a:hover {
    color: var(--teal-deep);
}

.location-map {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 7/5;
}

.location-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(26, 95, 107, 0.9);
    backdrop-filter: blur(8px);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8125rem;
    font-weight: 500;
}

/* ===== GALLERY ===== */
.gallery {
    padding: 100px 0 80px;
    background: var(--white);
}

.gallery .container {
    text-align: center;
    margin-bottom: 48px;
}

.gallery .section-subtitle {
    display: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: 16px;
    padding: 0 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-item--wide {
    grid-column: span 8;
    aspect-ratio: 12/6;
}

.gallery-item:not(.gallery-item--wide) {
    aspect-ratio: 6/5;
}

/* ===== CTA ===== */
.cta {
    padding: 100px 0;
    background: var(--teal-deep);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    border-radius: 50%;
}

.cta .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

.cta-title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.cta-body {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 40px;
}

.cta-contacts {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--white);
    transition: var(--transition);
}

.cta-contact:hover {
    color: rgba(255, 255, 255, 0.7);
}

.cta-contact svg {
    opacity: 0.7;
}

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

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

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

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

.contact-detail strong {
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--slate);
}

.contact-detail span,
.contact-detail a {
    font-size: 0.9375rem;
    color: var(--slate-dark);
    transition: var(--transition);
}

.contact-detail a:hover {
    color: var(--teal-deep);
}

.contact-form-wrap {
    background: var(--white);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 20px rgba(28, 35, 41, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--slate-dark);
    background: var(--cream-light);
    border: 1.5px solid var(--slate-pale);
    border-radius: 4px;
    padding: 12px 16px;
    transition: var(--transition);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal-deep);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(26, 95, 107, 0.08);
}

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

.form-success {
    display: none;
    text-align: center;
    font-size: 0.9375rem;
    color: var(--teal-deep);
    padding: 16px;
    background: var(--teal-pale);
    border-radius: 4px;
    margin-top: 8px;
}

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

/* ===== FOOTER ===== */
.footer {
    background: var(--slate-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.875rem;
    line-height: 1.7;
    max-width: 280px;
}

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

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

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

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

.footer-contact p {
    font-size: 0.875rem;
    line-height: 1.8;
    margin-bottom: 4px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
    flex-wrap: wrap;
    gap: 12px;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

    .cottages-grid .cottage-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        justify-self: center;
    }

    .experience-grid,
    .location-grid,
    .contact-grid {
        gap: 48px;
    }
}

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

    .mobile-toggle {
        display: flex;
    }

    .hero-title {
        font-size: clamp(1.875rem, 7vw, 2.75rem);
    }

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

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

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

    .cottages-grid .cottage-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }

    .experience-grid,
    .location-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

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

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

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

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

    .cta-contacts {
        flex-direction: column;
        gap: 20px;
    }
}

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

    .cottages,
    .experience,
    .location,
    .gallery,
    .cta,
    .contact {
        padding: 72px 0;
    }

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

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

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