/* ==========================================================================
   MODERN LIGHT SERVICE — Case Study Luxury Experience Stylesheet
   Designed for High-Ticket Real Estate & Luxury Event Productions
   Awwwards / IsraDesign Benchmark
   ========================================================================== */

/* ── CASE STUDY HERO ── */
.cs-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: flex-end;
    padding: 140px 0 60px;
    background: var(--bg);
    overflow: hidden;
}

.cs-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.cs-hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.65) contrast(1.1);
    transform: scale(1.05);
    transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.cs-hero:hover .cs-hero__bg-img {
    transform: scale(1.08);
}

.cs-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.4) 0%,
        rgba(10, 10, 10, 0.75) 55%,
        rgba(10, 10, 10, 0.98) 100%
    );
    z-index: 2;
}

.cs-hero__vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 40%, transparent 20%, rgba(10, 10, 10, 0.8) 90%);
    z-index: 2;
    pointer-events: none;
}

.cs-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 2;
}

.cs-hero__glow--gold {
    top: 20%;
    right: 15%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, var(--gold-glow-soft) 0%, transparent 70%);
    animation: csPulseGlow 6s ease-in-out infinite alternate;
}

@keyframes csPulseGlow {
    0% { opacity: 0.35; transform: scale(0.95); }
    100% { opacity: 0.75; transform: scale(1.15); }
}

.cs-hero__container {
    position: relative;
    z-index: 3;
    width: 100%;
}

/* ── BREADCRUMB & BACK LINK ── */
.cs-breadcrumb-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
}

.cs-breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--text-dim);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cs-breadcrumbs a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.cs-breadcrumbs a:hover {
    color: var(--gold);
}

.cs-breadcrumbs__sep {
    color: var(--border-gold);
    font-size: 0.7rem;
}

.cs-breadcrumbs__current {
    color: var(--gold-light);
    font-weight: 500;
}

.cs-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    padding: 8px 18px;
    background: rgba(201, 169, 110, 0.08);
    border: 1px solid var(--border-gold);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.35s ease;
}

.cs-back-link:hover {
    background: rgba(201, 169, 110, 0.2);
    color: #fff;
    border-color: var(--gold);
    transform: translateX(-4px);
    box-shadow: 0 0 20px var(--gold-glow-soft);
}

/* ── HERO CONTENT ── */
.cs-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid var(--border-gold);
    padding: 6px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    margin-bottom: 20px;
}

.cs-hero__badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 8px var(--gold);
    animation: csDotPulse 2s infinite;
}

@keyframes csDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

.cs-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5.5vw, 4.8rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 20px;
    max-width: 1050px;
    letter-spacing: -0.01em;
}

.cs-hero__title em {
    font-style: italic;
    color: var(--gold-light);
    text-shadow: 0 0 30px var(--gold-glow-soft);
}

.cs-hero__subtitle {
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    font-weight: 300;
    line-height: 1.65;
    color: #dedede;
    max-width: 820px;
    margin-bottom: 36px;
}

/* ── META INFO PILLS BAR ── */
.cs-meta-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 24px;
    background: rgba(17, 17, 17, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
    .cs-meta-bar {
        grid-template-columns: repeat(4, 1fr);
        padding: 24px 32px;
    }
}

.cs-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cs-meta-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
}

.cs-meta-value {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text);
    line-height: 1.4;
}

/* ── CASE STUDY SECTIONS COMMON ── */
.cs-section {
    padding: 90px 0;
    position: relative;
}

.cs-section--darker {
    background: #060606;
}

/* ── EDITORIAL STORY SECTION ── */
.cs-story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: start;
}

@media (min-width: 992px) {
    .cs-story-grid {
        grid-template-columns: 1.1fr 1fr;
        gap: 80px;
    }
}

.cs-story__lead {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.2vw, 2.2rem);
    line-height: 1.35;
    color: #f5f5f5;
    font-weight: 400;
    margin-bottom: 28px;
    position: relative;
    padding-left: 24px;
    border-left: 2px solid var(--gold);
}

.cs-story__text {
    font-size: 1.02rem;
    font-weight: 300;
    line-height: 1.85;
    color: #b8b8b8;
    margin-bottom: 22px;
}

.cs-story__text strong {
    color: #ffffff;
    font-weight: 600;
}

.cs-quote-card {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.8), rgba(12, 12, 12, 0.9));
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    padding: 36px 32px;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(201, 169, 110, 0.05);
}

.cs-quote-card__icon {
    font-family: var(--font-display);
    font-size: 5rem;
    line-height: 1;
    color: var(--gold);
    opacity: 0.35;
    position: absolute;
    top: 10px;
    right: 24px;
    pointer-events: none;
}

.cs-quote-card__quote {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-style: italic;
    line-height: 1.5;
    color: #ede8dc;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.cs-quote-card__author {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid var(--border);
    padding-top: 18px;
}

.cs-quote-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.15);
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold-light);
}

.cs-quote-card__name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
}

.cs-quote-card__role {
    font-size: 0.75rem;
    color: var(--text-dim);
    letter-spacing: 0.05em;
}

/* ── PILLARS / HIGHLIGHTS GRID ── */
.cs-pillars-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 50px;
}

@media (min-width: 768px) {
    .cs-pillars-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cs-pillar-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 28px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.cs-pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cs-pillar-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px var(--gold-glow-soft);
}

.cs-pillar-card:hover::before {
    opacity: 1;
}

.cs-pillar-card__num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--gold);
    opacity: 0.7;
    margin-bottom: 14px;
    line-height: 1;
}

.cs-pillar-card__title {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: 0.01em;
}

.cs-pillar-card__desc {
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.7;
    color: #9c9c9c;
}

/* ── CURATED GALLERY SECTION ── */
.cs-gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.cs-gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .cs-gallery-grid--2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .cs-gallery-grid--3 {
        grid-template-columns: 1.4fr 1fr;
    }
}

.cs-gallery-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #111;
    border: 1px solid var(--border);
    cursor: pointer;
    group: cs-gallery-card;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cs-gallery-card:hover {
    border-color: var(--border-gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 25px var(--gold-glow-soft);
}

.cs-gallery-card__img-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 380px;
    overflow: hidden;
}

.cs-gallery-card--span-2 {
    grid-column: 1 / -1;
}

@media (min-width: 992px) {
    .cs-gallery-card--span-2 .cs-gallery-card__img-wrap {
        min-height: 520px;
    }
}

.cs-gallery-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
}

.cs-gallery-card:hover .cs-gallery-card__img {
    transform: scale(1.05);
}

.cs-gallery-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 10, 10, 0.85) 100%);
    display: flex;
    align-items: flex-end;
    padding: 24px 28px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.cs-gallery-card__caption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.cs-gallery-card__title {
    font-size: 1.05rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 4px;
}

.cs-gallery-card__tag {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
}

.cs-gallery-card__zoom-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.2);
    border: 1px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.cs-gallery-card:hover .cs-gallery-card__zoom-btn {
    background: var(--gold);
    color: #000;
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--gold-glow);
}

/* ── SPECS & TECHNICAL BREAKDOWN ── */
.cs-specs-wrap {
    background: linear-gradient(145deg, #111111, #0b0b0b);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .cs-specs-wrap {
        padding: 50px 48px;
    }
}

.cs-specs-wrap::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--gold-glow-soft) 0%, transparent 70%);
    pointer-events: none;
}

.cs-specs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 36px;
}

@media (min-width: 768px) {
    .cs-specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (min-width: 1024px) {
    .cs-specs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cs-spec-box {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.cs-spec-box:hover {
    border-color: var(--border-gold);
    background: rgba(201, 169, 110, 0.04);
}

.cs-spec-box__icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(201, 169, 110, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

.cs-spec-box__label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 4px;
}

.cs-spec-box__val {
    font-size: 0.92rem;
    color: #fff;
    font-weight: 400;
    line-height: 1.4;
}

/* ── OTHER PROJECTS NAVIGATION ── */
.cs-next-projects {
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

.cs-next-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .cs-next-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.cs-next-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.cs-next-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--gold-glow-soft);
}

.cs-next-card__thumb {
    width: 110px;
    height: 90px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.cs-next-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.cs-next-card:hover .cs-next-card__thumb img {
    transform: scale(1.1);
}

.cs-next-card__info {
    flex: 1;
}

.cs-next-card__category {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 4px;
}

.cs-next-card__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.cs-next-card:hover .cs-next-card__title {
    color: var(--gold-light);
}

.cs-next-card__arrow {
    color: var(--gold);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    padding-right: 8px;
}

.cs-next-card:hover .cs-next-card__arrow {
    transform: translateX(6px);
}

/* ── LUXURY CTA BANNER ── */
.cs-cta-banner {
    position: relative;
    padding: 90px 40px;
    border-radius: 24px;
    background: radial-gradient(circle at 50% 30%, #1c1813 0%, #0d0d0d 100%);
    border: 1px solid var(--border-gold);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 50px var(--gold-glow-soft);
    text-align: center;
    overflow: hidden;
    margin: 40px 0;
}

.cs-cta-banner__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--gold-glow-soft) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(60px);
}

.cs-cta-banner__content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    margin: 0 auto;
}

.cs-cta-banner__tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.cs-cta-banner__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    font-weight: 400;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
}

.cs-cta-banner__title em {
    font-style: italic;
    color: var(--gold-light);
}

.cs-cta-banner__desc {
    font-size: 1.05rem;
    font-weight: 300;
    color: #b5b5b5;
    line-height: 1.7;
    margin-bottom: 36px;
}

.cs-cta-banner__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ── STICKY BACK TO TOP & WHATSAPP OVERRIDE ── */
.cs-floating-contact {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-gold);
    padding: 10px 18px;
    border-radius: 40px;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
}

.cs-floating-contact:hover {
    background: rgba(201, 169, 110, 0.2);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px var(--gold-glow-soft);
}

@media (max-width: 768px) {
    .cs-floating-contact {
        display: none;
    }
}
