/* ============================================
   CSS Variables & Reset
   ============================================ */
:root {
    --primary: #7abe47;
    --primary-dark: #5a9e2a;
    --secondary: #006177;
    --secondary-dark: #004d5e;
    --light: #b8d4db;
    --light-bg: #eef4f6;
    --white: #ffffff;
    --dark: #111827;
    --gray: #374151;
    --gray-light: #6b7280;
    --error: #e74c3c;
    --success: #27ae60;

    --font-heading: 'DM Serif Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);

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

    --transition: 0.3s ease;

    --nav-height: 80px;
    --top-bar-height: 38px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* ============================================
   Top Contact Bar
   ============================================ */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    height: var(--top-bar-height);
    background-color: var(--secondary);
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-bar-contact {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 500;
    opacity: 0.9;
    transition: opacity var(--transition);
}

.top-bar-link:hover {
    opacity: 1;
}

.top-bar-divider {
    color: rgba(255, 255, 255, 0.4);
}

.top-bar-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 999px;
    transition: all var(--transition);
}

.top-bar-btn-call {
    background-color: var(--primary);
    color: var(--white);
}

.top-bar-btn-call:hover {
    background-color: var(--primary-dark);
}

.top-bar-btn-sms {
    background-color: #2563eb;
    color: var(--white);
}

.top-bar-btn-sms:hover {
    background-color: #1d4ed8;
}

/* ============================================
   Layout
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--secondary);
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray);
    text-align: center;
    margin-bottom: 60px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 44px;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(122, 190, 71, 0.45);
    animation: pulse-btn 2.5s ease-in-out infinite;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(122, 190, 71, 0.55);
    animation: none;
}

@keyframes pulse-btn {
    0%, 100% { box-shadow: 0 4px 20px rgba(122, 190, 71, 0.45); }
    50%       { box-shadow: 0 4px 28px rgba(122, 190, 71, 0.7); }
}

.btn-full {
    width: 100%;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: var(--top-bar-height);
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    transition: all var(--transition);
}

.navbar.scrolled {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    transition: color var(--transition);
}

.navbar.scrolled .nav-logo {
    color: var(--secondary);
}

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

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--white);
    padding: 8px 0;
    position: relative;
}

.navbar.scrolled .nav-link {
    color: var(--dark);
}

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

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

.nav-print {
    display: inline-flex;
    align-items: center;
    opacity: 0.75;
    font-size: 0.875rem;
}

.nav-print:hover {
    opacity: 1;
}

.navbar.scrolled .nav-print {
    color: var(--dark);
}

.nav-cta {
    background-color: var(--primary);
    color: var(--white) !important;
    padding: 13px 24px;
    white-space: nowrap;
    border-radius: var(--radius-md);
    font-weight: 600;
    box-shadow: 0 3px 14px rgba(122, 190, 71, 0.4);
    letter-spacing: 0.2px;
}

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

.nav-cta:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 5px 20px rgba(122, 190, 71, 0.55);
    transform: translateY(-2px);
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--white);
    transition: all var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background-color: var(--dark);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 97, 119, 0.7) 0%,
        rgba(0, 97, 119, 0.5) 50%,
        rgba(0, 97, 119, 0.8) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: calc(var(--nav-height) + var(--top-bar-height) + 20px) 20px 20px;
}

.hero-tag {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 24px;
}

.hero-price-block {
    margin-bottom: 32px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.hero-price {
    font-family: var(--font-heading);
    font-size: 7rem;
    font-weight: 700;
    color: #ffcf00;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
    letter-spacing: 4px;
    line-height: 1;
}

.hero-price-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

.hero-commission {
    margin-top: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 4px 14px;
    backdrop-filter: blur(4px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
}

.stat-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    opacity: 0.7;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ============================================
   Listings Strip
   ============================================ */
.listings-strip {
    background-color: var(--light-bg);
    border-top: 1px solid var(--light);
    border-bottom: 1px solid var(--light);
    padding: 14px 20px;
}

.listings-strip-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 1200px;
    margin: 0 auto;
}

.listings-strip-label {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-light);
    margin-right: 4px;
}

.listing-badge {
    display: inline-block;
    padding: 5px 14px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--secondary);
    border: 1.5px solid var(--light);
    border-radius: 999px;
    background-color: var(--white);
    transition: all var(--transition);
}

.listing-badge:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
}

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

/* ============================================
   Videos Section
   ============================================ */
.videos {
    background-color: var(--light);
}

.videos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
}

.video-item {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 0 0 calc((100% - 56px) / 3);
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.14);
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--secondary);
    text-align: center;
    margin: 0;
    padding: 14px 16px;
    line-height: 1.4;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.gallery-carousel {
    position: relative;
}

.gallery-carousel-images {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: var(--dark);
    box-shadow: var(--shadow-lg);
}

.gallery-item {
    display: none;
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.gallery-item.active {
    display: block;
}

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

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 97, 119, 0);
    transition: background var(--transition);
    pointer-events: none;
}

.gallery-item:hover::after {
    background: rgba(0, 97, 119, 0.15);
}

.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.45);
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 20px 22px;
    opacity: 0.8;
    transition: all var(--transition);
    z-index: 10;
    border-radius: var(--radius-sm);
}

.gallery-prev:hover,
.gallery-next:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.7);
}

.gallery-prev { left: 16px; }
.gallery-next { right: 16px; }

.gallery-counter {
    text-align: center;
    margin-top: 16px;
    font-size: 0.9375rem;
    color: var(--gray-light);
    font-weight: 500;
}

.gallery-caption-text {
    text-align: center;
    margin-top: 8px;
    font-size: 0.9375rem;
    color: var(--gray);
    min-height: 1.5em;
}

.virtual-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    z-index: 2;
    pointer-events: none;
}

/* ============================================
   Lightbox
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    padding: 16px;
    opacity: 0.7;
    transition: opacity var(--transition);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: 1;
}

.lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* ============================================
   Description Section
   ============================================ */
.description {
    background-color: var(--white);
}

.description-intro {
    font-size: 1.125rem;
    color: var(--gray);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 48px;
    text-align: center;
}

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

.description-block {
    background-color: var(--light-bg);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
}

.description-block h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 16px;
}

.description-block ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.description-block li {
    font-size: 0.9375rem;
    color: var(--gray);
    line-height: 1.6;
    padding-left: 14px;
    position: relative;
}

.description-block li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--primary);
}

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

/* ============================================
   Features Section
   ============================================ */
.features {
    background-color: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background-color: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: var(--light);
    border-radius: 50%;
    margin-bottom: 20px;
    color: var(--secondary);
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 0.9375rem;
    color: var(--gray);
    line-height: 1.5;
}

/* ============================================
   Floor Plans Section
   ============================================ */
.floorplans {
    background-color: var(--white);
}

.floorplan-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.tab-btn {
    padding: 12px 32px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray);
    background-color: var(--light-bg);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
}

.tab-btn:hover {
    color: var(--secondary);
    border-color: var(--secondary);
}

.tab-btn.active {
    color: var(--white);
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.floorplan-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    align-items: start;
}

.floorplan-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.floorplan-details h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 24px;
}

.room-list li {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--light);
}

.room-name {
    font-weight: 500;
    color: var(--dark);
}

.room-size {
    color: var(--gray);
}

/* Lot Gallery Styles */
.lot-gallery,
.house-gallery {
    position: relative;
}

.lot-gallery-images,
.house-gallery-images {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background-color: var(--light-bg);
}

.lot-gallery-images img,
.house-gallery-images img {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lot-gallery-images img.active,
.house-gallery-images img.active {
    display: block;
}

.lot-gallery-prev,
.lot-gallery-next,
.house-gallery-prev,
.house-gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 16px 20px;
    opacity: 0.7;
    transition: all var(--transition);
    z-index: 10;
    border-radius: var(--radius-sm);
}

.lot-gallery-prev:hover,
.lot-gallery-next:hover,
.house-gallery-prev:hover,
.house-gallery-next:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.7);
}

.lot-gallery-prev,
.house-gallery-prev {
    left: 16px;
}

.lot-gallery-next,
.house-gallery-next {
    right: 16px;
}

.lot-gallery-counter,
.house-gallery-counter {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 10;
}

/* ============================================
   Location Section
   ============================================ */
.location {
    background-color: var(--light-bg);
}

.location-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
    text-align: center;
}

.location-content {
    max-width: 1200px;
    margin: 0 auto;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 32px;
}

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

.location-info {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.location-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 16px;
}

.location-info p {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    background-color: var(--light-bg);
}

.contact-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.owner-name {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--secondary);
}

.owner-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 8px;
}


.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.contact-btn span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.contact-btn small {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.85;
    margin-top: 2px;
}

.copy-phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 10px 20px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-light);
    background: transparent;
    border: 1.5px dashed var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
}

.copy-phone-btn:hover {
    color: var(--text);
    border-color: var(--text-light);
    background: var(--light);
}

.copy-phone-btn.copied {
    color: var(--primary-dark);
    border-color: var(--primary);
    border-style: solid;
    background: rgba(122, 190, 71, 0.08);
}

.contact-response-note {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.contact-btn-phone {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(122, 190, 71, 0.45);
    animation: pulse-btn 2.5s ease-in-out infinite;
}

.contact-btn-phone:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(122, 190, 71, 0.55);
    animation: none;
}

.contact-btn-sms {
    background-color: #2563eb;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

.contact-btn-sms:hover {
    background-color: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.5);
}

.contact-btn-email {
    background-color: var(--white);
    color: var(--secondary);
    border: 2px solid var(--secondary);
    box-shadow: var(--shadow-sm);
}

.contact-btn-email:hover {
    background-color: var(--secondary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: var(--secondary);
    color: var(--white);
    padding: 48px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 24px;
}

.footer-info h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.footer-info p,
.footer-agent p {
    font-size: 0.9375rem;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary);
}

.footer-bottom {
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.7;
}

.footer-divider {
    margin: 0 8px;
    opacity: 0.4;
}

.footer-print-link {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-print-link:hover {
    opacity: 1;
}

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

@media (max-width: 991px) {
    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-price {
        font-size: 2.75rem;
    }

    .floorplan-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

}

@media (max-width: 767px) {
    :root {
        --nav-height: 60px;
        --top-bar-height: 0px;
    }

    .top-bar {
        display: none;
    }

    .navbar {
        top: 0;
    }

    .nav-logo-suffix {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu .nav-link {
        color: var(--dark);
        font-size: 1.125rem;
        padding: 12px 0;
    }

    .nav-menu .nav-cta {
        display: block;
        text-align: center;
        padding: 14px 24px;
        white-space: normal;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        margin-bottom: 40px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-price {
        font-size: 2.25rem;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .gallery-prev,
    .gallery-next {
        padding: 14px 16px;
        font-size: 1.25rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 20px;
        padding: 24px;
    }

    .feature-icon {
        flex-shrink: 0;
        width: 64px;
        height: 64px;
        margin-bottom: 0;
    }

    .feature-icon svg {
        width: 32px;
        height: 32px;
    }

    .floorplan-tabs,
    .location-tabs {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

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

    .map-container iframe {
        height: 400px;
    }

    .contact-btn {
        font-size: 1rem;
        padding: 16px 28px;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}

@media (max-width: 991px) {
    .video-item {
        flex: 0 0 calc((100% - 28px) / 2);
    }
}

@media (max-width: 480px) {
    .video-item {
        flex: 0 0 100%;
    }
}

@media (max-width: 480px) {

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat {
        display: flex;
        align-items: center;
        gap: 12px;
    }
}
