:root {
    --primary: #1a1a1a;
    /* Anthracite */
    --accent: #2c3e50;
    /* Darker Slate */
    --lake-blue: #a3bac3;
    /* Soft Lake Blue */
    --stone-grey: #f4f4f4;
    /* Light Stone Grey */
    --text-main: #333333;
    --text-light: #fefefe;
    --text-muted: #666666;
    --bg-main: #ffffff;
    --bg-soft: #fcfcfc;
    --container-width: 1200px;
    --transition: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.section {
    padding: 120px 0;
}

.bg-soft {
    background-color: var(--bg-soft);
}

.bg-dark {
    background-color: var(--primary);
}

.text-light {
    color: var(--text-light);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

@media (max-width: 992px) {

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section {
        padding: 80px 0;
    }
}

/* TYPOGRAPHY */
h1,
h2,
h3 {
    letter-spacing: -0.02em;
    font-weight: 400;
}

.section-tag {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 48px;
    margin-bottom: 30px;
    line-height: 1.1;
    font-weight: 500;
}

.light {
    color: var(--text-light);
}

.max-w-600 {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.center {
    text-align: center;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 16px 36px;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.4s var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.full-width {
    width: 100%;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 30px 0;
    transition: all 0.4s var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 45px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: filter 0.4s var(--transition);
}

.header.scrolled .logo img {
    filter: none;
}

/* FOOTER REDESIGN */
.footer {
    background-color: #080808;
    padding: 80px 0 40px;
    color: var(--text-light);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo-main {
    margin-bottom: 40px;
}

.footer-logo-main img {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1);
    margin: 0 auto;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 400;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-nav a:hover {
    opacity: 1;
}

.footer-social-new {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    font-size: 14px;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.footer-social-new a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-social-new svg {
    width: 20px;
    height: 20px;
    opacity: 0.8;
}

.footer-divider {
    width: 100%;
    max-width: var(--container-width);
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin: 0 auto 30px;
}

.footer-credits {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 15px;
}

.footer-bottom {
    padding-top: 0;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
}

/* OLD LOGO CLASSES REMOVED */

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    font-weight: 400;
    transition: color 0.4s var(--transition), opacity 0.3s;
}

.header.scrolled .nav-links a {
    color: var(--primary);
}

.nav-links a:hover {
    opacity: 0.6;
}

/* HERO */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: var(--text-light);
    perspective: 1500px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 110%;
    /* Larger to avoid edges during movement */
    height: 110%;
    margin: -5%;
    z-index: -1;
    transition: transform 0.2s ease-out;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 75%; /* Shifted down to show lower focus */
    filter: brightness(0.7);
}

.hero-content {
    transform-style: preserve-3d;
}

.hero-logo-wrapper {
    margin-bottom: 30px;
    transition: transform 0.1s ease-out;
    will-change: transform;
    transform-style: preserve-3d;
}

.hero-logo {
    height: 180px;
    width: auto;
    filter: brightness(0) invert(1);
    display: block;
    margin-bottom: 20px;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 84px;
    font-weight: 500;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
    line-height: 1;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 0.9;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 18px;
    }
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.hero-actions .btn-outline {
    border-color: #fff;
    color: #fff;
}

.hero-actions .btn-outline:hover {
    background: #fff;
    color: var(--primary);
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 25px;
    height: 45px;
    border: 2px solid #fff;
    border-radius: 20px;
    position: relative;
}

.mouse::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    width: 4px;
    height: 10px;
    background-color: #fff;
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scroll 2s infinite ease-out;
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 5px;
    }

    100% {
        opacity: 0;
        top: 25px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 60px;
    }

    .hero-actions {
        flex-direction: column;
    }
}

/* STORY */
.story-image-wrapper {
    position: relative;
    padding: 40px;
}

.story-image {
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 1.5s var(--transition);
}

.story-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 80%;
    background-color: var(--stone-grey);
    z-index: 1;
    transition: transform 1s var(--transition);
}

.story-image-wrapper:hover .story-image img {
    transform: scale(1.05);
}

.story-image-wrapper:hover::before {
    transform: translate(-20px, 20px);
}

/* LOCATION */
.map-placeholder {
    height: 600px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: #fff;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.map-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.map-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 80%; /* Re-applied for 09B focus */
    transition: transform 1.5s var(--transition);
}

.map-placeholder:hover .map-bg img {
    transform: scale(1.05);
}

.map-placeholder:hover {
    transform: scale(1.01);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
}

.location-distances {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 100px;
    width: 100%;
    max-width: 900px;
}

.distance-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s var(--transition);
}

.distance-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.distance-value {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 4px;
}

.distance-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}
.location-pin {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.pin-dot {
    width: 20px;
    height: 20px;
    background-color: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0.05);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(26, 26, 26, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(26, 26, 26, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(26, 26, 26, 0);
    }
}

.pin-label {
    margin-top: 15px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
}

.pin-address {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 5px;
    opacity: 0.8;
}

.map-hint {
    margin-top: 60px;
    background: #fff;
    color: var(--primary);
    padding: 14px 28px;
    border-radius: 40px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s var(--transition);
}

.map-placeholder:hover .map-hint {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* ARCHITECTURE */
.architecture-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.arch-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.arch-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--transition);
}

.arch-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s var(--transition);
}

.arch-item:hover img {
    transform: scale(1.05);
}

.arch-item:hover .arch-overlay {
    transform: translateY(0);
    opacity: 1;
}

.arch-overlay h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.arch-overlay p {
    font-size: 14px;
    opacity: 0.8;
}

/* FEATURES */
.feature-item {
    padding: 60px 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature-item.has-bg {
    border: none;
    background: #000;
}

.feature-item-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.45; /* Darkened for better contrast */
    transition: transform 0.8s var(--transition), opacity 0.4s var(--transition);
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.feature-item-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 75%; /* Synced with hero for consistent focus */
}

.feature-item.has-bg:hover .feature-item-bg {
    transform: scale(1.1);
    opacity: 0.6;
}

.feature-item.has-bg .icon,
.feature-item.has-bg h3 {
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8); /* Added shadow for prominence */
}

.feature-item.has-bg h3 {
    font-size: 20px; /* Slightly larger */
}

.feature-item:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.feature-item .icon {
    width: 32px;
    height: 32px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--lake-blue);
}

.feature-item .icon svg {
    width: 100%;
    height: 100%;
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-item p {
    font-size: 14px;
    color: #999;
}

/* GALLERY SECTION REDESIGN */
.section-gallery {
    padding: 100px 0;
    background-color: var(--bg-main);
}

.gallery-hero-wrapper {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 30px;
    width: var(--container-width);
    max-width: 95%;
    margin: 0 auto;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
}

.gallery-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gallery-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 80%;
    transition: transform 3s var(--transition);
}

.gallery-hero-wrapper:hover .gallery-hero-bg img {
    transform: scale(1.1);
}

.gallery-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.7));
    z-index: 2;
}

.gallery-hero-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
    padding: 0 20px;
    margin: 0 auto;
    text-align: center;
}

.gallery-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 72px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1;
}

.gallery-hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn-gallery-explore {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 40px;
    background: #fff;
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.4s var(--transition);
}

.btn-gallery-explore:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: var(--primary);
    color: #fff;
}

.btn-gallery-explore svg {
    transition: transform 0.4s var(--transition);
}

.btn-gallery-explore:hover svg {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .gallery-hero-wrapper {
        height: 450px;
        border-radius: 20px;
    }

    .gallery-hero-title {
        font-size: 48px;
    }

    .gallery-hero-subtitle {
        font-size: 15px;
    }
}

/* AI VISUAL */
.visual-card {
    position: relative;
    padding: 20px;
    background: #fff;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.05);
}

.visual-features {
    margin-top: 40px;
}

.v-feature {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    font-weight: 500;
}

.v-feature span {
    font-size: 11px;
    color: var(--text-muted);
}

/* LIFESTYLE */
.lifestyle {
    height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.lifestyle-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    will-change: transform;
}

.lifestyle-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lifestyle-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

/* CONTACT */
.contact-form {
    background: #fff;
    padding: 60px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.03);
}

.form-group {
    margin-bottom: 25px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid #ddd;
    outline: none;
    font-family: inherit;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
}

.contact-details {
    margin-top: 50px;
}

.contact-social {
    margin-top: 40px;
    display: flex;
    gap: 20px;
}

.contact-social a {
    color: var(--primary);
    transition: color 0.3s, transform 0.3s;
}

.contact-social a:hover {
    color: var(--lake-blue);
    transform: translateY(-3px);
}

.detail-item {
    margin-bottom: 30px;
}

.detail-item strong {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .contact-form {
        padding: 40px 20px;
    }
}

/* FOOTER */
.footer {
    background: #111;
    color: #fff;
    padding: 100px 0 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    padding-bottom: 80px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-left h3 {
    font-size: 24px;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.footer-left p {
    color: #666;
    font-size: 14px;
}

.footer-nav {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.social-links {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.social-links a {
    color: #666;
    text-decoration: none;
    font-size: 12px;
}

.footer-bottom {
    padding-top: 40px;
    font-size: 12px;
    color: #444;
    text-align: center;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 20px;
    }

    .social-links {
        justify-content: flex-start;
    }
}

/* ANIMATIONS */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 1s var(--transition);
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s var(--transition) forwards;
}

.delay-1 {
    animation-delay: 0.2s;
    transition-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
    transition-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
    transition-delay: 0.6s;
}

/* VILLA DETAIL PAGE REDESIGN */
.detail-page .header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.detail-page .header .logo img {
    filter: none;
}

.detail-page .header .nav-links a {
    color: var(--primary);
}

.detail-hero {
    height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
}

.detail-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.detail-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.65);
    transform: scale(1.05);
    transition: transform 2s var(--transition);
}

.detail-hero:hover .detail-hero-bg img {
    transform: scale(1);
}

.detail-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.5));
    z-index: 2;
}

.detail-hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
}

.detail-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 72px;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.detail-hero-subtitle {
    font-size: 22px;
    font-weight: 300;
    opacity: 0.9;
    letter-spacing: 0.05em;
}

/* SECTION INTRO */
.section-detail-intro {
    padding: 140px 0;
}

.lead-text {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-muted);
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
}

/* NARRATIVE GALLERY */
.detail-narrative {
    padding-top: 0;
}

/* NARRATIVE MASONRY GALLERY */
.narrative-grid-masonry {
    columns: 3 300px;
    column-gap: 30px;
}

.narrative-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.narrative-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--transition);
}

.narrative-item:hover img {
    transform: scale(1.1);
}


.narrative-grid-masonry .narrative-item {
    break-inside: avoid;
    margin-bottom: 30px;
    border-radius: 16px;
    overflow: hidden;
}

@media (max-width: 992px) {
    .narrative-grid-masonry {
        columns: 2 250px;
        column-gap: 20px;
    }
    .narrative-grid-masonry .narrative-item {
        margin-bottom: 20px;
    }
}

@media (max-width: 600px) {
    .narrative-grid-masonry {
        columns: 1;
    }
}

/* SPECS REFINED */
.specs-description {
    margin-top: 40px;
}

.specs-description p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 25px;
    font-weight: 300;
}

.specs-grid-refined {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

.spec-card {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.4s var(--transition);
    border: 1px solid rgba(0,0,0,0.02);
}

.spec-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.06);
}

.spec-icon {
    color: var(--lake-blue);
    flex-shrink: 0;
    margin-top: 4px;
}

.spec-info strong {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.spec-info p {
    font-size: 18px;
    color: var(--primary);
    font-weight: 500;
}

/* CTA REFINED */
.detail-cta {
    padding: 140px 0;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 50px;
}


@media (max-width: 768px) {
    .specs-grid-refined {
        grid-template-columns: 1fr;
    }

    .cta-btns {
        flex-direction: column;
    }

    .lead-text {
        font-size: 18px;
    }
}

.clickable-feature {
    cursor: pointer;
    transition: transform 0.4s var(--transition);
}

.clickable-feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 1100px;
    background: #fff;
    z-index: 1001;
    transform: translateY(40px);
    transition: transform 0.6s var(--transition);
    border-radius: 4px;
    overflow: hidden;
}

.modal.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    color: #1a1a1a;
    z-index: 1002;
    transition: opacity 0.3s;
}

.modal-close:hover {
    opacity: 0.5;
}

.modal-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    height: 100%;
}

.modal-image {
    min-height: 600px;
    height: 100%;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* To prevent baseline gaps */
}

.modal-info {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-title {
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    margin-bottom: 25px;
    color: var(--primary);
}

.modal-desc p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.8;
}

.modal-highlights {
    margin-top: 30px;
    list-style: none;
    padding: 0;
}

.modal-highlights li {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    color: var(--primary);
    padding-left: 20px;
    position: relative;
}

.modal-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 1px;
    background: var(--lake-blue);
}

@media (max-width: 992px) {
    .detail-hero-title {
        font-size: 52px;
    }

    .modal-content-grid {
        grid-template-columns: 1fr;
    }

    .modal-image {
        height: 300px;
    }

    .modal-info {
        padding: 40px 30px;
    }

    .modal-container {
        max-height: 90vh;
        overflow-y: auto;
    }
}

/* GALLERY TITLE ENHANCEMENT */
.gallery-title {
    font-family: 'Outfit', sans-serif;
    font-size: 42px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.5em; /* Luxury feel */
    color: #fff;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    margin: 0;
    padding-bottom: 25px;
    display: inline-block;
    position: relative;
    /* Negative margin to compensate for last character's letter-spacing */
    margin-right: -0.5em;
}

.gallery-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .gallery-title {
        font-size: 28px;
        letter-spacing: 0.3em;
        margin-right: -0.3em;
    }
}