/* =====================================================
   da-home.css — D.A Studio Home Page Styles
   Covers: cinematic banner, marquee, testimonial
   carousel. Extracted from index.html.
===================================================== */

/* ═══════════════════════════════════════════════
   CINEMATIC HERO BANNER
═══════════════════════════════════════════════ */
.da-hero-banner {
    position: relative;
    height: 76vh;
    min-height: 480px;
    max-height: 780px;
    overflow: hidden;
}

/* Ken Burns — slow, subtle zoom+drift on the bg div.
   The div is oversized (108%) so the edges never show
   when it drifts, keeping the image fully visible.    */
.da-hero-bg {
    position: absolute;
    top: -4%;
    left: -4%;
    width: 108%;
    height: 108%;
    background-image: url('photos/index.webp');
    background-size: cover;
    background-position: center center;
    animation: kenBurns 22s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes kenBurns {
    0%   { transform: scale(1.00) translateX(0px); }
    100% { transform: scale(1.06) translateX(-18px); }
}

/* Layered overlay — heavier at bottom so text pops */
.da-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom,
            rgba(0,0,0,0.22) 0%,
            rgba(0,0,0,0.38) 40%,
            rgba(0,0,0,0.62) 75%,
            rgba(0,0,0,0.72) 100%);
    z-index: 2;
}

/* Top bar: INTERIOR | ARCHITECTURE  ·  EST. 2018  ·  BENGALURU */
.da-hero-topbar {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px clamp(24px, 5vw, 72px);
    border-bottom: 1px solid rgba(255,241,141,0.18);
    font-family: 'Josefin Sans', sans-serif;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.70);
}

/* Main copy block — left-aligned, editorial */
.da-hero-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 clamp(24px, 6vw, 88px) clamp(52px, 7vh, 80px);
}

.da-hero-eyebrow {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #FFF18D;
    margin: 0 0 16px;
    opacity: 0;
    transform: translateY(12px);
    animation: heroFadeUp 0.9s 0.3s cubic-bezier(0.16,1,0.3,1) forwards;
}

.da-hero-headline {
    font-family: 'Crimson Pro', serif;
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.12;
    color: #ffffff;
    margin: 0 0 6px;
    max-width: 680px;
    opacity: 0;
    transform: translateY(16px);
    animation: heroFadeUp 1s 0.5s cubic-bezier(0.16,1,0.3,1) forwards;
}

.da-hero-headline em {
    font-style: italic;
    color: #FFF18D;
}

.da-hero-subline {
    font-family: 'Josefin Sans', sans-serif;
    font-size: clamp(10px, 1.3vw, 12px);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin: 14px 0 32px;
    opacity: 0;
    transform: translateY(12px);
    animation: heroFadeUp 0.9s 0.75s cubic-bezier(0.16,1,0.3,1) forwards;
}

.da-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(10px);
    animation: heroFadeUp 0.9s 0.95s cubic-bezier(0.16,1,0.3,1) forwards;
}

.da-hero-btn-primary {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    background: #FFF18D;
    color: #312D27;
    border: none;
    padding: 14px 32px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.22s ease, transform 0.22s ease;
    font-weight: 600;
}

.da-hero-btn-primary:hover {
    background: #f7e97c;
    transform: translateY(-2px);
}

.da-hero-btn-ghost {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    background: transparent;
    color: rgba(255,255,255,0.88);
    border: 1px solid rgba(255,255,255,0.45);
    padding: 14px 32px;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.da-hero-btn-ghost:hover {
    border-color: #FFF18D;
    color: #FFF18D;
    transform: translateY(-2px);
}

/* Scroll indicator */
.da-hero-scroll {
    position: absolute;
    bottom: 28px;
    right: clamp(24px, 5vw, 72px);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: heroFadeUp 0.8s 1.4s ease forwards;
}

.da-hero-scroll span {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    writing-mode: vertical-rl;
}

.da-hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,241,141,0.6), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50%       { opacity: 1;   transform: scaleY(1.15); }
}

@keyframes heroFadeUp {
    to { opacity: 1; transform: translateY(0); }
}


/* ═══════════════════════════════════════════════
   MARQUEE STRIP
═══════════════════════════════════════════════ */
.da-marquee-wrap {
    background: #312D27;
    border-top: 1px solid rgba(255,241,141,0.25);
    border-bottom: 1px solid rgba(255,241,141,0.25);
    overflow: hidden;
    padding: 13px 0;
    white-space: nowrap;
}

.da-marquee-track {
    display: inline-flex;
    animation: marqueeScroll 28s linear infinite;
}

.da-marquee-track:hover {
    animation-play-state: paused;
}

.da-marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 10px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(255,241,141,0.75);
    padding: 0 28px;
}

.da-marquee-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255,241,141,0.45);
    flex-shrink: 0;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}


/* ═══════════════════════════════════════════════
   TESTIMONIALS CAROUSEL
═══════════════════════════════════════════════ */
.da-reviews-section {
    background: #312D27;
    padding: clamp(36px, 5vw, 60px) 0 clamp(24px, 4vw, 44px);
    overflow: hidden;
}

.da-reviews-header {
    text-align: center;
    margin-bottom: 28px;
    padding: 0 clamp(24px, 5vw, 80px);
}

.da-reviews-header h2 {
    font-family: 'Crimson Pro', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 10px;
}

.da-reviews-header h2 span {
    color: #FFF18D;
    font-style: italic;
}

.da-reviews-header p {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.42);
}

.da-reviews-track-outer {
    overflow: hidden;
    cursor: grab;
    user-select: none;
    transition: height 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.da-reviews-track-outer:active { cursor: grabbing; }

.da-reviews-track {
    display: flex;
    gap: 28px;
    padding: 0 clamp(24px, 5vw, 80px) 12px;
    width: max-content;
    align-items: flex-start;
    /* animation removed — JS controls transform directly */
}

.da-review-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,241,141,0.14);
    padding: 24px 28px 20px;
    width: 360px;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.da-review-card:hover {
    border-color: rgba(255,241,141,0.35);
    background: rgba(255,255,255,0.08);
}

.da-review-quote-mark {
    font-family: 'Crimson Pro', serif;
    font-size: 52px;
    line-height: 0.5;
    color: #FFF18D;
    opacity: 0.35;
    margin-bottom: 14px;
    display: block;
}

.da-review-text {
    font-family: 'Crimson Pro', serif;
    font-size: 1rem;
    font-style: italic;
    line-height: 1.6;
    color: rgba(255,255,255,0.82);
    margin: 0 0 16px;
}

.da-review-divider {
    width: 32px;
    height: 1px;
    background: rgba(255,241,141,0.4);
    margin-bottom: 16px;
}

.da-review-author {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #FFF18D;
    margin: 0 0 4px;
}

.da-review-role {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 10px;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.40);
}

/* ═══════════════════════════════════════════════
   REVIEWS PREV / NEXT CONTROLS
═══════════════════════════════════════════════ */
.da-reviews-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 22px;
    padding: 0 clamp(24px, 5vw, 80px);
}

.da-reviews-btn {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255,241,141,0.28);
    background: transparent;
    color: rgba(255,241,141,0.75);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        background    0.22s ease,
        border-color  0.22s ease,
        color         0.22s ease,
        transform     0.22s ease;
    flex-shrink: 0;
}

.da-reviews-btn:hover {
    background: rgba(255,241,141,0.10);
    border-color: rgba(255,241,141,0.65);
    color: #FFF18D;
    transform: translateY(-2px);
}

.da-reviews-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.da-reviews-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.da-reviews-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255,241,141,0.25);
    transition: background 0.25s ease, transform 0.25s ease;
    cursor: pointer;
    border: none;
    padding: 0;
}

.da-reviews-dot.active {
    background: #FFF18D;
    transform: scale(1.4);
}


/* ═══════════════════════════════════════════════
   MOBILE ADJUSTMENTS
═══════════════════════════════════════════════ */
@media (max-width: 640px) {
    .da-hero-topbar  { display: none; }
    .da-hero-banner  { height: 72vh; min-height: 420px; }
    .da-hero-content { padding: 0 24px 52px; }
    .da-hero-scroll  { display: none; }

    /* ── Testimonials: fit card + buttons in one screen ── */
    .da-reviews-section {
        padding: 28px 0 20px;
    }

    .da-reviews-header {
        margin-bottom: 16px;
        padding: 0 16px;
    }

    .da-reviews-header h2 {
        font-size: 1.5rem;
        margin: 0 0 4px;
    }

    .da-reviews-header p {
        font-size: 10px;
    }

    .da-review-card {
        width: calc(100vw - 48px);
        padding: 18px 20px 16px;
    }

    .da-review-quote-mark {
        font-size: 38px;
        margin-bottom: 8px;
    }

    .da-review-text {
        font-size: 0.88rem;
        line-height: 1.55;
        margin: 0 0 10px;
    }

    .da-review-divider {
        margin-bottom: 10px;
    }

    .da-review-author {
        font-size: 10px;
    }

    .da-review-role {
        font-size: 9px;
    }

    .da-reviews-track {
        padding: 0 24px 8px;
        gap: 24px;
    }

    .da-reviews-controls {
        margin-top: 14px;
        gap: 12px;
    }

    .da-reviews-btn {
        width: 40px;
        height: 40px;
    }
}
