: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;
}

.center {
    text-align: center;
}

.max-w-600 {
    max-width: 600px;
    margin-left: auto;
    margin-right: 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-template-columns: 1fr;
        gap: 30px; /* Reduced from 40px */
    }

    .grid-3 {
        display: flex; /* Default behavior for other grids if any */
        overflow-x: auto;
        padding-bottom: 15px;
        scroll-snap-type: x mandatory;
        gap: 16px;
        -webkit-overflow-scrolling: touch;
        margin: 0 -4%;
        padding: 0 4% 15px;
    }
    
    /* Specific override for Features section on mobile */
    .features .grid-3 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        overflow-x: visible;
        margin: 0;
        padding: 0;
        gap: 15px;
    }
    
    .grid-3::-webkit-scrollbar {
        display: none;
    }

    .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;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 30px; /* Reduced from 36px */
        margin-bottom: 20px;
    }
    
    .section {
        padding: 40px 0; /* Reduced from 60px/80px/120px */
    }
    
    .container {
        width: 92%; /* Slightly wider for better space usage */
    }
    
    .section-tag {
        margin-bottom: 10px;
    }
}

.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;
}

/* MOBILE MENU TOGGLE */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all 0.4s var(--transition);
    transform-origin: left;
}

.header.scrolled .menu-toggle span {
    background-color: var(--primary);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
}

/* MOBILE NAV OVERLAY */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: right 0.6s var(--transition);
        z-index: 100;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 24px;
        color: #fff !important;
    }
}

/* 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;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.footer-logo-main img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.footer-logo-main img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .footer-logo-main {
        gap: 20px;
    }
    
    .footer-logo-main img {
        height: 45px;
    }
}

.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;
}

.ekatalog-link {
    color: var(--lake-blue) !important;
    font-weight: 500 !important;
}

/* 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;
    will-change: transform;
}

.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%);
}

@media (max-width: 768px) {
    .scroll-indicator {
        display: none;
    }
}

.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 {
        height: 80vh; /* Reduced from 100vh */
        text-align: center;
    }
    
    .hero-logo-wrapper {
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .hero-logo {
        height: 100px; /* Reduced from 120px */
        margin-left: auto;
        margin-right: auto;
    }

    .hero-title {
        font-size: 42px; /* Reduced from 48px */
    }

    .hero-subtitle {
        font-size: 16px; /* Reduced from 18px */
        margin-bottom: 25px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 250px; /* More compact width */
        margin: 0 auto;
        gap: 12px;
    }
    
    .hero-actions .btn {
        padding: 14px 24px;
        font-size: 13px;
    }
}

/* 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);
}

/* ABOUT IZNIK */
.about-iznik {
    overflow: hidden;
    position: relative;
}

@media (min-width: 993px) {
    .about-iznik .grid-2.reverse .about-iznik-image {
        order: 2;
    }
    .about-iznik .grid-2.reverse .about-iznik-content {
        order: 1;
    }
}

.about-iznik-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 600px;
}

.about-iznik-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 2s var(--transition);
}

.about-iznik:hover .about-iznik-image img {
    transform: scale(1.05);
}

.image-overlay-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, rgba(0,0,0,0.4), transparent);
    pointer-events: none;
}

.about-iznik-details {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-card {
    border-left: 2px solid var(--lake-blue);
    padding-left: 20px;
    transition: all 0.3s var(--transition);
}

.about-card:hover {
    padding-left: 30px;
    border-left-width: 4px;
}

.about-card-title {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--lake-blue);
}

.about-card p {
    font-size: 15px;
    opacity: 0.8;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .about-iznik-image {
        height: 400px;
    }
    
    .about-iznik-details {
        gap: 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;
}

@media (max-width: 992px) {
    .location-distances {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 30px; /* Reduced from 50px */
    }
    
    .distance-item {
        padding: 12px;
    }
    
    .distance-value {
        font-size: 22px;
    }
    
    .map-placeholder {
        height: 400px; /* More compact height */
        margin-top: 30px;
    }
}

.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;
}

@media (max-width: 768px) {
    .feature-item {
        padding: 24px 15px;
        min-width: 0; /* No scroll-based min width */
        height: 180px; /* Enhanced height for better visuals */
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }
    
    /* Indicator that it's clickable */
    .feature-item::after {
        content: '+';
        position: absolute;
        top: 15px;
        right: 15px;
        width: 24px;
        height: 24px;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        color: #fff;
        z-index: 3;
        transition: all 0.3s var(--transition);
        font-family: 'Outfit', sans-serif;
        font-weight: 300;
    }

    .feature-item:active::after {
        background: var(--primary);
        transform: scale(0.9);
    }
    
    .feature-item.has-bg::before { /* Improved dark mesh */
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.1) 60%);
        z-index: 2;
    }

    .feature-item.has-bg .feature-item-bg {
        opacity: 0.9;
    }

    .feature-item .icon {
        margin-bottom: 8px;
        width: 22px;
        height: 22px;
        position: relative;
        z-index: 3;
        color: var(--lake-blue);
    }
    
    .feature-item h3 {
        font-size: 15px; /* Elegant smaller size for 2-col */
        margin-bottom: 0; 
        position: relative;
        z-index: 3;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        font-weight: 500;
        line-height: 1.2;
    }
}

.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;
}

@media (max-width: 768px) {
    .gallery-hero-title {
        font-size: 40px;
    }
}

.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: 350px; /* More compact from 450px */
        border-radius: 15px;
    }

    .gallery-hero-title {
        font-size: 32px;
    }

    .gallery-hero-subtitle {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .btn-gallery-explore {
        padding: 14px 30px;
    }
}

/* 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: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    perspective: 1500px;
}

/* Noise texture overlay for depth */
.lifestyle-noise {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
}

.lifestyle-content {
    position: relative;
    z-index: 2;
    text-align: center;
    transform-style: preserve-3d;
    will-change: transform;
    padding: 0 20px;
}

/* Eyebrow label */
.lifestyle-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.8s ease 0.1s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.lifestyle-content.active .lifestyle-eyebrow {
    opacity: 1;
    transform: translateY(0);
}

/* Large display title */
.lifestyle-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3rem, 8vw, 7.5rem);
    font-weight: 600;
    line-height: 1.0;
    color: #fff;
    margin: 0 0 36px;
    letter-spacing: -0.02em;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25em;
}

/* Word-by-word staggered reveal */
.lifestyle-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px) skewY(2deg);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.lifestyle-word:nth-child(1) { transition-delay: 0.15s; }
.lifestyle-word:nth-child(2) { transition-delay: 0.28s; }
.lifestyle-word:nth-child(3) { transition-delay: 0.41s; }
.lifestyle-word:nth-child(4) { transition-delay: 0.54s; }

.lifestyle-content.active .lifestyle-word {
    opacity: 1;
    transform: translateY(0) skewY(0deg);
}

/* Accent word – italic styling */
.accent-word {
    color: rgba(255, 255, 255, 0.72);
    font-style: italic;
}

/* Decorative divider line */
.lifestyle-divider-line {
    width: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.45), transparent);
    margin: 0 auto 32px;
    transition: width 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.7s;
}

.lifestyle-content.active .lifestyle-divider-line {
    width: 220px;
}

/* Body text */
.lifestyle-desc {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.9s ease 0.85s, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.85s;
}

.lifestyle-content.active .lifestyle-desc {
    opacity: 1;
    transform: translateY(0);
}

.lifestyle-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    will-change: transform;
    transform: scale(1.1);
}

.lifestyle-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lifestyle-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 0.55) 50%,
        rgba(0, 0, 0, 0.72) 100%
    );
    z-index: -1;
}

@media (max-width: 768px) {
    .lifestyle {
        height: auto;
        min-height: 75vh;
        padding: 80px 0;
    }

    .lifestyle-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
}


/* 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,
.detail-item span {
    display: block;
}

.detail-item strong {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .contact-form {
        padding: 30px 15px;
    }
    
    .contact-details {
        margin-top: 30px;
    }
    
    .detail-item {
        margin-bottom: 15px;
    }
}

/* 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;
    }
}

/* PROJECT DETAILS SECTION - DARK PREMIUM MODE */
.details-section {
    background-color: #0b0b0b; /* Deep Anthracite */
    position: relative;
    padding: 140px 0;
}

.details-main-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 100px;
    margin-top: 60px;
}

.details-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--lake-blue);
    margin-bottom: 40px;
    opacity: 0.8;
}

/* Credits Styling */
.details-credits-list {
    display: flex;
    flex-direction: column;
}

.credit-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s var(--transition);
    position: relative;
}

.credit-item .role {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.4s var(--transition);
}

.credit-item .name {
    font-size: 18px;
    color: #fff;
    font-weight: 400;
    text-align: right;
}

.credit-item:hover {
    padding-left: 15px;
    border-bottom-color: var(--lake-blue);
}

.credit-item:hover .role {
    color: var(--lake-blue);
}

/* Stats Styling */
.details-stats-wrapper {
    background: rgba(255, 255, 255, 0.02);
    padding: 60px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.stat-card {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.stat-number {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.stat-number .value {
    font-family: 'Outfit', sans-serif;
    font-size: 64px;
    font-weight: 500;
    line-height: 1;
    color: var(--lake-blue);
    background: linear-gradient(135deg, #fff 0%, var(--lake-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-number .unit {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

@media (max-width: 992px) {
    .details-main-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .details-stats-wrapper {
        padding: 40px 30px;
    }
    
    .stat-number .value {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .details-section {
        padding: 80px 0;
    }
    
    .credit-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .credit-item .name {
        text-align: left;
        font-size: 16px;
    }
}

/* ANIMATIONS */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 0.8s 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;
}

.gallery-filters-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 60px;
    padding: 0 20px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.filter-group-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--primary);
    opacity: 0.5;
    position: relative;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 10px 24px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 4px;
    color: var(--text-muted);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.filter-btn:hover {
    color: var(--primary);
    border-color: rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
    .filter-group-label {
        font-size: 9px;
    }
    
    .filter-btn {
        padding: 8px 18px;
        font-size: 10px;
    }
}

@media (max-width: 768px) {
    .gallery-filters-container {
        gap: 24px;
        margin-bottom: 40px;
    }

    .filter-group {
        gap: 12px;
    }
    
    .filter-buttons {
        gap: 8px;
    }

    .filter-btn {
        padding: 10px 16px;
        font-size: 10px;
        flex: 1 1 auto;
        min-width: calc(50% - 8px);
        text-align: center;
    }
}

.narrative-item {
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.narrative-item.hidden {
    display: none;
}

.narrative-grid-masonry {
    columns: 2 380px;
    column-gap: 20px;
}

.narrative-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    background: #111;
}

/* Gradient overlay on hover */
.narrative-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.15) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
    border-radius: inherit;
}

.narrative-item:hover::after {
    opacity: 1;
}

.narrative-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.narrative-item:hover img {
    transform: scale(1.07);
}

/* Hover label overlay */
.narrative-item-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 22px;
    z-index: 2;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateY(8px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.narrative-item:hover .narrative-item-label {
    transform: translateY(0);
    opacity: 1;
}

.narrative-item-label-text {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.narrative-item-label-icon {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(4px);
    background: rgba(255,255,255,0.08);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.narrative-item:hover .narrative-item-label-icon {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.9);
}

.narrative-item-label-icon svg {
    width: 15px;
    height: 15px;
    stroke: #fff;
    fill: none;
}

.narrative-grid-masonry .narrative-item {
    break-inside: avoid;
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .narrative-grid-masonry {
        columns: 2 180px;
        column-gap: 12px;
    }
    .narrative-grid-masonry .narrative-item {
        margin-bottom: 12px;
    }
}

@media (max-width: 600px) {
    .narrative-grid-masonry {
        columns: 1;
    }
}

/* =============================
   GALLERY LIGHTBOX
   ============================= */
#gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(5, 5, 5, 0.97);
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s;
}

#gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lb-close {
    position: absolute;
    top: 28px;
    right: 32px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.lb-close:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.5);
    transform: rotate(90deg);
}

.lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.lb-nav:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-50%) scale(1.08);
}

.lb-prev { left: 28px; }
.lb-next { right: 28px; }

.lb-image-wrapper {
    width: 100%;
    max-width: 1100px;
    max-height: 78vh;
    padding: 0 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#lb-img {
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 10px;
    display: block;
    box-shadow: 0 40px 120px rgba(0,0,0,0.6);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#lb-img.transitioning {
    opacity: 0;
    transform: scale(0.97);
}

.lb-info {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 12px 28px;
    border-radius: 40px;
    backdrop-filter: blur(8px);
    white-space: nowrap;
}

.lb-category {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--lake-blue, #4a90c4);
}

.lb-divider {
    width: 1px;
    height: 14px;
    background: rgba(255,255,255,0.2);
}

.lb-counter {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .lb-image-wrapper {
        padding: 0 60px;
    }

    .lb-nav {
        width: 42px;
        height: 42px;
    }

    .lb-prev { left: 10px; }
    .lb-next { right: 10px; }

    .lb-info {
        bottom: 20px;
        padding: 10px 20px;
    }
}

/* 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;
        gap: 15px;
    }

    .lead-text {
        font-size: 16px;
        text-align: left;
    }
    
    .section-detail-intro {
        padding: 80px 0;
    }
}

.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;
}

@media (max-width: 768px) {
    .modal-info {
        padding: 30px 20px;
    }
    
    .modal-title {
        font-size: 28px;
    }
    
    .modal-desc p {
        font-size: 14px;
    }
    
    .modal-close {
        top: 15px;
        right: 15px;
        font-size: 30px;
    }
}

.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;
    }
}