/* ============================================================
   Casa Žabka – Style Sheet
   Design: Mediterranean Luxury | Instagram Teal + Warm Cream Palette
   New Palette: #43a8a6 (Bright Teal) · #126a5d (Dark Teal) · #e5e1d7 (Cream)
   ============================================================ */

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #0d211e;
    background-color: #fcfbfa;
    overflow-x: hidden;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* ===== CSS VARIABLES ===== */
:root {
    /* ── Instagram-aligned Teal Palette ── */
    --teal: #43a8a6;           /* Bright Teal – main interactive, links */
    --teal-dark: #126a5d;      /* Dark Teal – hover states, footer, contrast */
    --teal-light: #5abcba;     /* Light Teal – lighter accent, icons */
    --teal-muted: rgba(67, 168, 166, 0.12); /* Semi-transparent teal for bg hints */
    --gold: #c8a95a;           /* Gold – luxury accent, kept unchanged */
    /* ── Background Palette ── */
    --cream: #fcfbfa;          /* Very light warm base (section alt) */
    --cream-dark: #e5e1d7;     /* Instagram Cream – warm section backgrounds */
    /* ── Text Palette (WCAG-compliant on cream) ── */
    --text-dark: #0d211e;      /* Near-black dark teal – headings */
    --text-mid: #2e5450;       /* Medium teal-slate – body text */
    --text-light: #5a8280;     /* Muted teal – captions, secondary */
    --white: #ffffff;
    --shadow-sm: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-md: 0 6px 30px rgba(0,0,0,0.12);
    --shadow-lg: 0 16px 60px rgba(0,0,0,0.18);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-max: 1200px;
    --nav-height: 80px;
}

/* ===== CONTAINER ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
    line-height: 1.2;
}

em {
    font-family: 'Dancing Script', cursive;
    font-style: normal;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
}
.btn-primary:hover {
    background: var(--teal-dark);
    border-color: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(67, 168, 166, 0.4);
}

.btn-outline {
    background: rgba(255,255,255,0.12);
    color: var(--white);
    border-color: rgba(255,255,255,0.6);
    backdrop-filter: blur(8px);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.2);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: transparent;
    color: var(--teal);
    border-color: var(--teal);
}
.btn-outline-dark:hover {
    background: var(--teal);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border-color: var(--white);
    backdrop-filter: blur(8px);
}
.btn-outline-white:hover {
    background: var(--white);
    color: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

.btn-teal {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
    padding: 10px 22px;
    font-size: 0.78rem;
}
.btn-teal:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(67, 168, 166, 0.35);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.78rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 0.9rem;
}

/* Hero BOOK NOW button – white fill with border, matches mockup */
.btn-hero-outline {
    background: rgba(255, 255, 255, 0.92);
    color: #0d211e;
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
}
.btn-hero-outline:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14);
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(252, 251, 250, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled .nav-logo,
.navbar.scrolled .nav-link,
.navbar.scrolled .nav-lang {
    color: var(--text-dark);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    color: var(--white);
    font-family: 'Playfair Display', serif;
    transition: opacity var(--transition);
}

.nav-logo:hover {
    opacity: 0.85;
}

/* Logo image – navbar */
.nav-logo-img {
    height: 58px;
    width: auto;
    max-width: 220px;
    display: block;
    object-fit: contain;
    transition: opacity var(--transition);
}

.nav-logo:hover .nav-logo-img {
    opacity: 0.85;
}

/* Footer logo – invert to white on dark footer */
.footer-logo-img {
    height: 52px;
    width: auto;
    max-width: 200px;
    display: block;
    object-fit: contain;
    /* Make dark teal logo visible as white on dark footer */
    filter: brightness(0) invert(1);
    opacity: 0.88;
    transition: opacity var(--transition);
}

.footer-logo-img:hover {
    opacity: 1;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    /* Dark teal from start – visible on light hero */
    color: #0d211e;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    position: relative;
    opacity: 0.85;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 100%;
    height: 2px;
    background: var(--teal);
    transition: right var(--transition);
}

.nav-link:hover {
    opacity: 1;
}

.nav-link:hover::after {
    right: 0;
}

.nav-lang {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #0d211e;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    opacity: 0.85;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    /* Dark on light hero */
    background: #0d211e;
    border-radius: 2px;
    transition: all var(--transition);
}

.navbar.scrolled .hamburger span {
    background: var(--text-dark);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    z-index: 999;
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    opacity: 0;
    transition: all var(--transition);
}

.mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--text-dark);
    padding: 8px 0;
    border-bottom: 1px solid var(--cream-dark);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    /* Slightly less than full height – matches mockup proportions */
    height: 90vh;
    min-height: 600px;
    max-height: 860px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Anchor to right so egg chair stays visible – matches reference */
    object-position: right center;
    transition: transform 10s ease;
}

.hero:hover .hero-bg-img {
    transform: scale(1.04);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /* Mockup: strong cream on left 45%, fades to transparent by 70% */
    background: linear-gradient(
        to right,
        rgba(245, 240, 232, 0.96) 0%,
        rgba(245, 240, 232, 0.88) 25%,
        rgba(245, 240, 232, 0.65) 42%,
        rgba(245, 240, 232, 0.20) 60%,
        rgba(245, 240, 232, 0.00) 75%
    );
}

/* Decorative Palm – top-left corner like in reference design */
.palm-left {
    position: absolute;
    top: -30px;
    left: -10px;
    width: 180px;
    height: 520px;
    opacity: 0.9;
    pointer-events: none;
    z-index: 1;
    /* Slightly rotated to mimic natural hang */
    transform: rotate(-5deg);
}

/* palm-right not used in this design – hidden */
.palm-right {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    /* Push content down – text sits in lower-left like in mockup */
    padding: calc(var(--nav-height) + 60px) 24px 100px;
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    min-height: 100%;
}

.hero-text {
    /* Left column width – matches 40% text area in mockup */
    max-width: 480px;
    animation: fadeInUp 0.9s ease both;
    padding-bottom: 20px;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-title {
    font-size: clamp(2.6rem, 5.5vw, 4.4rem);
    /* Dark teal – matches reference image */
    color: #0d211e;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
    text-shadow: none;
}

.hero-title-italic {
    font-family: 'Dancing Script', cursive;
    font-weight: 600;
    /* Slightly lighter teal for the script line */
    font-size: clamp(2.9rem, 6.2vw, 5rem);
    color: #43a8a6;
    display: block;
    line-height: 1.25;
    margin-bottom: 28px;
    letter-spacing: 0.01em;
}

.hero-subtitle {
    /* Dark muted text – matches reference */
    color: #2e5450;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 40px;
    line-height: 1.75;
    max-width: 380px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll-dot {
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(12px); opacity: 0.4; }
}

/* ===== SECTION HEADERS ===== */
.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--teal);
    border-radius: 2px;
    margin-top: 12px;
}

.section-link {
    font-family: 'Dancing Script', cursive;
    font-size: 1.1rem;
    color: var(--teal);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.section-link:hover {
    color: var(--teal-dark);
    gap: 12px;
}

/* ===== APARTMENTS SECTION ===== */
.apartments-section {
    padding: 100px 0 80px;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.apartments-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(67, 168, 166, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.apartments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Apartment Card */
.apt-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    cursor: pointer;
}

.apt-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.apt-card-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.apt-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.apt-card:hover .apt-card-img {
    transform: scale(1.06);
}

.apt-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--teal);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.04em;
}

.apt-card-badge--gold {
    background: var(--gold);
    color: #2d2010;
}

.apt-card-body {
    padding: 24px;
}

.apt-card-title {
    font-size: 1.5rem;
    font-family: 'Dancing Script', cursive;
    font-weight: 700;
    color: var(--teal-dark);
    margin-bottom: 12px;
}

.apt-card-title em {
    font-size: 1.5rem;
}

.apt-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 14px;
}

.apt-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-mid);
}

.apt-meta-item i {
    color: var(--teal);
    font-size: 0.75rem;
}

.apt-card-desc {
    font-size: 0.88rem;
    color: var(--text-mid);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* ===== AMENITIES SECTION ===== */
.amenities-section {
    background: var(--cream-dark);
    padding: 60px 0;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 24px;
}

.amenity-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    padding: 24px 12px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    cursor: default;
}

.amenity-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transform: translateY(-4px);
}

.amenity-icon {
    width: 52px;
    height: 52px;
    color: var(--teal);
    transition: all var(--transition);
}

.amenity-item:hover .amenity-icon {
    color: var(--teal-dark);
    transform: scale(1.1);
}

.amenity-label {
    font-size: 0.78rem;
    color: var(--text-mid);
    font-weight: 500;
    line-height: 1.4;
}

/* ===== EXTRA SERVICES SECTION ===== */
.extra-services {
    padding: 100px 0;
    background: var(--cream);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.service-img-wrap {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-img {
    transform: scale(1.08);
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20,50,42,0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
    opacity: 0;
    transition: opacity var(--transition);
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-icon-circle {
    width: 42px;
    height: 42px;
    background: var(--teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    transform: translateY(10px);
    transition: transform var(--transition);
}

.service-card:hover .service-icon-circle {
    transform: translateY(0);
}

.service-label {
    padding: 14px 10px 10px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-dark);
    text-align: center;
    line-height: 1.4;
    background: var(--white);
}

/* ===== LOCATION + CTA SECTION ===== */
.location-cta {
    padding: 80px 0;
    background: var(--cream-dark);
}

.location-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Location Info */
.location-info {
    padding: 20px 0;
}

.location-title {
    font-size: 1.8rem;
    color: var(--teal-dark);
    margin-bottom: 16px;
}

.location-title em {
    font-size: 2rem;
    font-family: 'Dancing Script', cursive;
    color: var(--teal-dark);
}

.location-desc {
    color: var(--text-mid);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.location-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.location-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-dark);
}

.location-feature i {
    color: var(--teal);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.location-map-thumb {
    position: relative;
    margin-top: 28px;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 200px;
    box-shadow: var(--shadow-md);
}

.location-map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--teal);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 4px 20px rgba(67, 168, 166, 0.5);
    animation: pinPulse 2s infinite;
}

@keyframes pinPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(67, 168, 166, 0.5); }
    50% { box-shadow: 0 4px 30px rgba(67, 168, 166, 0.8); }
}

/* Booking CTA */
.booking-cta {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.booking-cta-inner {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
}

.booking-bg-img {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.booking-bg-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.booking-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20, 60, 50, 0.80) 0%, rgba(10, 40, 35, 0.60) 100%);
}

.booking-cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.booking-title {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.3;
}

.booking-desc {
    color: rgba(255,255,255,0.85);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== FOOTER ===== */
.footer {
    /* Dark Teal – Instagram brand alignment */
    background: #126a5d;
    color: rgba(255,255,255,0.7);
    padding: 56px 0 32px;
    position: relative;
    overflow: hidden;
}

/* Decorative palm leaf – bottom-right corner */
.footer-palm {
    position: absolute;
    bottom: -20px;
    right: -10px;
    width: 220px;
    height: 380px;
    opacity: 0.18;
    pointer-events: none;
    transform: rotate(170deg) scaleX(-1);
    z-index: 0;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1.5fr 0.5fr;
    gap: 40px;
    margin-bottom: 48px;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
}

.footer-contact-item i {
    color: var(--teal-light);
    font-size: 0.85rem;
    width: 16px;
}

.footer-contact-item a {
    color: rgba(255,255,255,0.7);
    transition: color var(--transition);
}

.footer-contact-item a:hover {
    color: var(--white);
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-legal-link {
    color: rgba(255,255,255,0.55);
    font-size: 0.82rem;
    transition: color var(--transition);
}

.footer-legal-link:hover {
    color: var(--white);
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: all var(--transition);
}

.social-btn:hover {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    background: var(--teal);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(67, 168, 166, 0.4);
    transition: all var(--transition);
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.scroll-top:hover {
    background: var(--teal-dark);
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(67, 168, 166, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .amenities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .apartments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .location-cta-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-social {
        align-items: flex-start;
        flex-direction: row;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-title-italic {
        font-size: 2.5rem;
    }

    .apartments-grid {
        grid-template-columns: 1fr;
    }

    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-cta-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-social {
        flex-direction: row;
        align-items: flex-start;
    }

    .section-header {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        justify-content: center;
    }

    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .booking-cta-inner {
        padding: 40px 24px;
    }
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }
