@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,500;0,600;1,400&family=Noto+Sans+KR:wght@300;400;500;700;900&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #2C4236;           /* Soft Deep Sage Forest */
    --primary-light: #446150;     /* Eucalyptus Green */
    --accent: #BFA573;            /* Soft Muted Champagne Gold */
    --accent-glow: rgba(191, 165, 115, 0.15);
    --bg-base: #F5F7F6;           /* Soft Pale Sage/Ivory White */
    --bg-white: #FFFFFF;
    --card-bg: rgba(255, 255, 255, 0.95);
    --text-main: #213028;         /* Dark Sage Charcoal */
    --text-muted: #647C70;        /* Soft Muted Sage */
    --border-soft: rgba(44, 66, 54, 0.08);
    --border-gold: rgba(191, 165, 115, 0.3);
    --shadow-subtle: 0 4px 20px rgba(44, 66, 54, 0.02);
    --shadow-premium: 0 15px 35px rgba(44, 66, 54, 0.04);
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Outfit', 'Noto Sans KR', sans-serif;
    --transition: all 0.3s ease;
}

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

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

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

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.75;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Header & Glassmorphic Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(245, 247, 246, 0.8);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-bottom: 1px solid rgba(44, 66, 54, 0.06);
    padding: 1.5rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

header.scrolled {
    padding: 1rem 8%;
    background: rgba(44, 66, 54, 0.96);
    border-bottom: 1px solid rgba(191, 165, 115, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

header.scrolled .logo h1 {
    color: var(--bg-white);
}

header.scrolled nav a {
    color: rgba(255, 255, 255, 0.85);
}

header.scrolled nav a:hover {
    color: var(--accent);
}

header.scrolled .btn-nav {
    background: var(--accent);
    color: var(--primary);
}

header.scrolled .btn-nav:hover {
    background: var(--bg-white);
    color: var(--primary);
}

.logo h1 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.logo span {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1.5px;
}

nav {
    display: flex;
    align-items: center;
    gap: 3rem;
}

nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
}

nav a:hover {
    color: var(--primary-light);
}

.btn-nav {
    background: var(--primary);
    color: var(--bg-white);
    padding: 0.7rem 1.6rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
}

.btn-nav:hover {
    background: var(--accent);
    color: var(--primary);
}

/* Elegant Hero Section */
.hero {
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 8%;
    color: var(--bg-white);
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(180deg, rgba(44, 66, 54, 0.55) 0%, rgba(44, 66, 54, 0.85) 100%),
                url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle, transparent 20%, rgba(44, 66, 54, 0.6) 100%);
}

.hero-content {
    max-width: 950px;
    z-index: 2;
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-style: italic;
    color: var(--accent);
    margin-bottom: 1.5rem;
    letter-spacing: 3px;
    display: block;
    text-transform: uppercase;
}

.hero-title {
    font-size: 4.4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    letter-spacing: -1.5px;
    word-break: keep-all;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-description {
    font-size: 1.25rem;
    font-weight: 300;
    color: rgba(245, 247, 246, 0.9);
    margin-bottom: 3.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    word-break: keep-all;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    align-items: center;
}

/* Primary Button Styling Upgrade */
.btn-primary {
    background: var(--accent);
    color: var(--primary);
    border: none;
    padding: 1.1rem 2.4rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background: var(--bg-white);
    color: var(--primary);
}

/* Section Typography */
.section-tag {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--accent);
    font-style: italic;
    display: block;
    margin-bottom: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4rem;
    letter-spacing: -0.5px;
    word-break: keep-all;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: var(--accent);
    margin: 1.2rem auto 0;
}

.section-title.center {
    text-align: center;
}

/* Summary Overview Section */
.summary-sec {
    padding: 8rem 8%;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-base) 100%);
    position: relative;
}

.summary-table-container {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.summary-carousel {
    position: relative;
    width: 100%;
    overflow: visible; /* Crucial to show preview slides on left/right */
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

.carousel-slide {
    flex: 0 0 60%; /* Desktop: Slide occupies 60% of viewport width */
    width: 60%;
    height: 520px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 6.5rem 4.5rem 3rem 4.5rem;
    background-color: var(--primary);
    overflow: hidden;
    border-radius: 24px;
    margin: 0 1.5rem; /* Space between slides */
    opacity: 0.35; /* Dimmed side previews */
    transform: scale(0.9); /* Shrunk side previews */
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none; /* Disable clicks on side previews */
}

/* Premium active centered slide styles */
.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto; /* Enable clicks only on the main slide */
    box-shadow: 0 20px 50px rgba(44, 66, 54, 0.15);
}

.carousel-img-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(180deg, rgba(44, 66, 54, 0.15) 0%, rgba(20, 31, 26, 0.92) 100%);
}

.carousel-content {
    position: relative;
    z-index: 3;
    color: var(--bg-white);
    max-width: 800px;
    text-align: left;
    width: 100%;
}

.carousel-badge {
    display: inline-flex;
    align-items: center;
    background: var(--accent);
    color: var(--primary);
    padding: 0.4rem 1.1rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.8rem;
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.carousel-title {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--bg-white);
    word-break: keep-all;
}

.carousel-location {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.carousel-specs {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 2.2rem;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.5rem;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.spec-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.spec-val {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--bg-white);
}

.btn-carousel-go {
    background: var(--accent);
    color: var(--primary);
    border: none;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-carousel-go:hover {
    background: var(--bg-white);
    color: var(--primary);
}

/* Carousel Control Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-arrow.prev {
    left: calc(20% - 24px); /* Aligned with centered slide left edge */
}

.carousel-arrow.next {
    right: calc(20% - 24px); /* Aligned with centered slide right edge */
}

.carousel-arrow:hover {
    background: var(--accent);
    color: var(--primary);
}

/* Navigation Indicators (Dots) */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(44, 66, 54, 0.15);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: var(--primary-light);
    width: 20px;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .summary-table-container {
        padding: 1rem 0;
    }
    .carousel-slide {
        flex: 0 0 85%; /* Mobile: larger layout fit */
        width: 85%;
        height: auto;
        min-height: 480px;
        padding: 3rem 2rem;
        margin: 0 0.5rem;
    }
    .carousel-title {
        font-size: 1.8rem;
    }
    .carousel-specs {
        gap: 1.5rem;
    }
    .carousel-arrow {
        width: 38px;
        height: 38px;
    }
    .carousel-arrow.prev {
        left: 1rem;
    }
    .carousel-arrow.next {
        right: 1rem;
    }
}

/* Beautiful Property Listings Grid */
.properties {
    padding: 10rem 8%;
    background: var(--primary);
    color: var(--bg-white);
}

.properties .section-title {
    color: var(--bg-white);
}

.filter-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.8rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--accent);
    color: var(--bg-white);
}

.filter-btn.active {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
    font-weight: 700;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 3.5rem;
}

.property-card {
    background: var(--primary-light);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.property-img-wrapper {
    height: 260px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

.property-tag {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: rgba(44, 66, 54, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #BFA573 !important; /* Force golden color visibility */
    padding: 0.4rem 1.1rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 800;
    z-index: 10;
    border: 1px solid var(--border-gold);
    letter-spacing: 0.5px;
}

.property-placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    padding: 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.property-placeholder-img h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--accent);
    font-family: var(--font-serif);
    font-style: italic;
    letter-spacing: 1px;
}

.property-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.property-content {
    padding: 1.5rem; /* Reduced padding to decrease vertical height */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.property-location {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
    margin-bottom: 0.6rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

.property-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 1rem;
    line-height: 1.45;
    word-break: keep-all;
}

.property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.2rem; /* Reduced margin to decrease vertical height */
}

.feature-badge {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.property-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem; /* Reduced padding to decrease vertical height */
}

.property-price {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.price-value {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--accent);
}

.btn-card {
    background: transparent !important; /* Remove circle background entirely */
    color: var(--accent) !important;
    border: none;
    width: auto;
    height: auto;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-card svg {
    width: 26px;
    height: 26px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.property-card:hover .btn-card svg {
    transform: translateX(5px);
    color: var(--bg-white) !important;
}

/* Premium Call to Action & Inquiry */
.cta {
    padding: 10rem 8%;
    background: linear-gradient(135deg, #1B2B23 0%, #15211B 100%);
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr; /* Enlarged right form, shrunk left text */
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.cta-info h2 {
    font-size: 2.56rem; /* Shrunk by exactly 80% (3.2 * 0.8) */
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 2rem;
    letter-spacing: -1px;
    word-break: keep-all;
}

.cta-info p {
    font-size: 0.92rem; /* Shrunk by exactly 80% (1.15 * 0.8) */
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 3.5rem;
    line-height: 1.8;
    word-break: keep-all;
}

.cta-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.cta-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.contact-icon {
    width: 54px;
    height: 54px;
    background: rgba(191, 165, 115, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    border: 1px solid rgba(191, 165, 115, 0.2);
    flex-shrink: 0;
    margin-top: 4px;
}

.contact-text h4 {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.contact-text p {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bg-white);
}

/* Glassmorphic Inquiry Card */
.inquiry-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4rem 3.5rem;
    border-radius: 28px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.25);
}

.inquiry-card h3 {
    font-size: 1.65rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    text-align: center;
    color: var(--bg-white);
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.6rem;
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.1rem 1.4rem;
    border-radius: 12px;
    color: var(--bg-white);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(191, 165, 115, 0.25);
}

textarea.form-control {
    resize: none;
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right 1.5rem center !important;
    padding-right: 3.5rem !important;
}

select.form-control option {
    background: var(--primary);
    color: var(--bg-white);
}

.btn-submit {
    width: 100%;
    background: var(--accent);
    color: var(--primary);
    border: none;
    padding: 1.2rem;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1.5rem;
}

.btn-submit:hover {
    background: var(--bg-white);
    color: var(--primary);
}

/* Modal Styling */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    padding: 2rem;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(33, 48, 40, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.modal-container {
    background: var(--bg-white);
    width: 100%;
    max-width: 820px;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    z-index: 10;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.25);
    transform: translateY(40px) scale(0.97);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-soft);
}

.modal.active .modal-container {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(44, 66, 54, 0.05);
    color: var(--primary);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 12;
    border: 1px solid var(--border-soft);
}

.modal-close:hover {
    background: var(--primary);
    color: var(--bg-white);
}

.modal-body {
    overflow-y: auto;
    padding: 3.5rem;
}

.modal-header-info {
    margin-bottom: 2.2rem;
}

.modal-header-info .tag {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-header-info h2 {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--primary);
    margin-top: 0.6rem;
    line-height: 1.35;
    word-break: keep-all;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #000;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--border-soft);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.modal-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.detail-desc h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.2rem;
}

.detail-desc p {
    color: var(--text-main);
    font-size: 1.02rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    word-break: keep-all;
}

.detail-info-box {
    background: var(--bg-base);
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    padding: 2.2rem;
}

.detail-info-box h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(44, 66, 54, 0.1);
    padding-bottom: 0.8rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.98rem;
    border-bottom: 1px dashed rgba(44, 66, 54, 0.05);
    padding-bottom: 0.6rem;
}

.info-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.info-label {
    color: var(--text-muted);
    font-weight: 500;
}

.info-value {
    color: var(--primary);
    font-weight: 700;
}

.modal-action-bar {
    display: flex;
    gap: 1.2rem;
    border-top: 1px solid var(--border-soft);
    padding-top: 2.5rem;
}

.btn-youtube {
    flex: 1;
    background: #E53935;
    color: var(--bg-white);
    border: none;
    padding: 1.1rem 2rem;
    font-size: 0.98rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-youtube:hover {
    background: #C62828;
}

.btn-inquire-modal {
    flex: 1;
    background: var(--primary);
    color: var(--bg-white);
    border: none;
    padding: 1.1rem 2rem;
    font-size: 0.98rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-inquire-modal:hover {
    background: var(--accent);
    color: var(--primary);
}

/* Soft Premium Footer */
footer {
    background: #111B16;
    color: rgba(245, 247, 246, 0.7);
    padding: 7rem 8% 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    margin-bottom: 5rem;
}

.footer-brand h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--bg-white);
    margin-bottom: 1.5rem;
}

.footer-brand h2 span {
    color: var(--accent);
}

.footer-brand p {
    color: rgba(245, 247, 246, 0.55);
    max-width: 600px;
    font-size: 0.98rem;
    line-height: 1.8;
    word-break: keep-all;
}

.footer-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.footer-info-col h3 {
    font-size: 1.1rem;
    color: var(--bg-white);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-info-col p {
    color: rgba(245, 247, 246, 0.5);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.footer-info-col a {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
}

.footer-info-col a:hover {
    color: var(--bg-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(245, 247, 246, 0.4);
}

/* Floating Direct Call CTA - Shifted to Bottom Right */
.floating-cta {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    background: #2E6B4E; /* Soft Emerald Sage Call */
    color: var(--bg-white);
    padding: 1.1rem 2.2rem;
    border-radius: 50px;
    box-shadow: 0 15px 35px rgba(46, 107, 78, 0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
}

.floating-cta:hover {
    background: var(--accent);
    color: var(--primary);
    box-shadow: 0 15px 35px var(--accent-glow);
}

/* Call Button Upgrades */
.btn-call-direct {
    background: #2E6B4E;
    color: var(--bg-white);
    border: none;
    padding: 1.1rem 2.4rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-call-direct:hover {
    background: var(--accent);
    color: var(--primary);
    box-shadow: 0 15px 30px var(--accent-glow);
}

/* Custom Notification Toast */
.toast {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    background: var(--primary);
    color: var(--bg-white);
    border-left: 6px solid var(--accent);
    padding: 1.3rem 2.5rem;
    border-radius: 14px;
    box-shadow: var(--shadow-premium);
    z-index: 3000;
    transform: translateY(120px);
    opacity: 0;
    font-weight: 600;
    transition: var(--transition);
}

.toast.active {
    transform: translateY(0);
    opacity: 1;
}

/* Responsive adjust */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.6rem;
    }
    .cta-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    header {
        padding: 1.2rem 5%;
    }
    header nav {
        display: none;
    }
    .properties, .cta, footer, .summary-sec {
        padding: 6rem 5%;
    }
    .property-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 70% !important; /* Scale down all typography to exactly 70% on mobile */
    }
    .hero-title {
        font-size: 2.3rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    .btn-primary, .btn-call-direct {
        width: 100%;
        justify-content: center;
    }
    .section-title {
        font-size: 2rem;
    }
    .inquiry-card {
        padding: 3rem 1.8rem;
    }
    .modal-body {
        padding: 2rem 1.5rem;
    }
    .modal-body h2 {
        font-size: 1.6rem !important;
    }
    .modal-body h3 {
        font-size: 1.1rem !important;
    }
    .modal-body h4 {
        font-size: 0.95rem !important;
    }
    .modal-body p {
        font-size: 0.82rem !important;
        line-height: 1.6 !important;
    }
    .modal-body .info-item {
        font-size: 0.8rem !important;
        margin-bottom: 0.8rem !important;
        padding-bottom: 0.4rem !important;
    }
    .modal-body .btn-youtube, .modal-body .btn-inquire-modal {
        font-size: 0.8rem !important;
        padding: 0.9rem 1.2rem !important;
    }
    .floating-cta {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 0.8rem 1.3rem;
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   YouTube Video Gallery Styles (Restructured Layout)
   ========================================================================== */
.video-gallery-container {
    padding: 10rem 8% 8rem 8%;
    max-width: 1300px;
    margin: 0 auto;
    min-height: calc(100vh - 450px);
}

.gallery-header {
    text-align: center;
    margin-bottom: 4rem;
}

.gallery-subtitle {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--accent);
    font-style: italic;
    display: block;
    margin-bottom: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.gallery-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--primary);
    position: relative;
    letter-spacing: -0.5px;
}

.gallery-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: var(--accent);
    margin: 1.2rem auto 0;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.video-card {
    background: var(--bg-white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--border-soft);
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(44, 66, 54, 0.08);
}

.video-wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
}

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

@media (max-width: 992px) {
    .video-grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .video-gallery-container {
        padding: 8rem 5% 5rem 5%;
    }
    .video-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .gallery-title {
        font-size: 2rem;
    }
}
