/* ============================================================
   OUR DREAM — Capondel
   v1.1
   Prefix: od-
   ============================================================ */

/* ============ 1. HERO ============ */
.od-hero {
    position: relative;
    padding: 140px 24px 60px;
    background: #0d0d0b;
    text-align: center;
    overflow: hidden;
}

.od-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 90%;
    background: radial-gradient(ellipse at center,
                rgba(168, 120, 69, 0.08) 0%,
                transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.od-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.od-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 4px;
    color: #c49a68;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.od-eyebrow-line {
    display: inline-block;
    width: 40px;
    height: 1px;
    background: currentColor;
    opacity: 0.6;
}

.od-eyebrow-line.gold { color: #a87845; opacity: 1; }

.od-hero-title {
    font-family: 'Cormorant Garamond', 'Amiri', serif;
    font-size: clamp(38px, 6vw, 76px);
    font-weight: 400;
    line-height: 1.1;
    color: #eee8df;
    margin: 0 0 24px;
    letter-spacing: -0.5px;
}

.od-hero-title .gold-text,
.od-hero-title .gold,
.od-hero-title span.gold-text {
    color: #c49a68;
    font-style: italic;
}

.od-hero-desc {
    font-family: 'Inter', 'Tajawal', sans-serif;
    font-size: clamp(14px, 1.4vw, 17px);
    font-weight: 300;
    line-height: 1.7;
    color: rgba(238, 232, 223, 0.72);
    max-width: 640px;
    margin: 0 auto;
}

/* ============ 2. CINEMA VIDEO ============ */
.od-cinema {
    position: relative;
    padding: 60px 24px 100px;
    background: #0d0d0b;
}

.od-cinema-frame {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
}

.od-cinema-bar {
    height: 14px;
    background: linear-gradient(90deg,
        transparent,
        rgba(168, 120, 69, 0.35),
        transparent);
    opacity: 0.7;
}
.od-cinema-bar-top { margin-bottom: 0; }
.od-cinema-bar-bottom { margin-top: 0; }

.od-cinema-screen {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    border: 1px solid rgba(168, 120, 69, 0.28);
    box-shadow:
        0 0 0 1px rgba(168, 120, 69, 0.08),
        0 0 80px rgba(168, 120, 69, 0.18),
        0 30px 80px rgba(0, 0, 0, 0.75);
    overflow: hidden;
    isolation: isolate;
}

.od-cinema-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
    z-index: 1;
}

.od-cinema-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center,
            rgba(0, 0, 0, 0.15) 0%,
            rgba(0, 0, 0, 0.65) 100%),
        linear-gradient(180deg,
            rgba(13, 13, 11, 0.4) 0%,
            rgba(13, 13, 11, 0.55) 100%);
    z-index: 2;
    transition: opacity 0.55s ease;
    pointer-events: none;
}

.od-cinema.is-playing .od-cinema-overlay {
    opacity: 0;
}

/* REC indicator */
.od-cinema-recdot {
    position: absolute;
    top: 22px;
    inset-inline-start: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: rgba(238, 232, 223, 0.9);
    z-index: 4;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.od-cinema-recdot span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e63946;
    box-shadow: 0 0 10px rgba(230, 57, 70, 0.9);
    animation: od-blink 1.6s infinite;
}

@keyframes od-blink {
    0%, 45%  { opacity: 1; }
    55%, 100% { opacity: 0.2; }
}

/* Title chip */
.od-cinema-title {
    position: absolute;
    top: 22px;
    inset-inline-end: 22px;
    font-family: 'Cormorant Garamond', 'Amiri', serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 5px;
    color: #c49a68;
    text-transform: uppercase;
    z-index: 4;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.od-cinema.is-playing .od-cinema-recdot,
.od-cinema.is-playing .od-cinema-title {
    opacity: 0;
}

/* Play button */
.od-cinema-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a87845 0%, #c49a68 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d0d0b;
    z-index: 5;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s ease,
                box-shadow 0.35s ease;
    box-shadow:
        0 0 0 8px rgba(168, 120, 69, 0.14),
        0 0 0 16px rgba(168, 120, 69, 0.06),
        0 20px 50px rgba(0, 0, 0, 0.7);
    -webkit-tap-highlight-color: transparent;
}

.od-cinema-play:hover {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow:
        0 0 0 10px rgba(168, 120, 69, 0.2),
        0 0 0 20px rgba(168, 120, 69, 0.08),
        0 24px 60px rgba(0, 0, 0, 0.8);
}

.od-cinema-play:active {
    transform: translate(-50%, -50%) scale(0.98);
}

.od-cinema-play svg {
    width: 34px;
    height: 34px;
    margin-inline-start: 5px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.od-cinema-play::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(196, 154, 104, 0.55);
    animation: od-pulse 2.6s ease-out infinite;
    pointer-events: none;
}

.od-cinema-play::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(196, 154, 104, 0.35);
    animation: od-pulse 2.6s ease-out infinite 1.3s;
    pointer-events: none;
}

@keyframes od-pulse {
    0%   { transform: scale(1);    opacity: 0.9; }
    100% { transform: scale(1.65); opacity: 0; }
}

.od-cinema.is-playing .od-cinema-play {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.7);
}

/* Caption under the screen */
.od-cinema-caption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 28px;
    font-family: 'Inter', 'Tajawal', sans-serif;
    font-size: 12px;
    letter-spacing: 3px;
    color: rgba(238, 232, 223, 0.55);
    text-transform: uppercase;
    text-align: center;
}

.od-cinema-caption-line {
    display: inline-block;
    width: 30px;
    height: 1px;
    background: rgba(196, 154, 104, 0.4);
}

/* ============ 3. ABOUT ============ */
.od-about {
    padding: 100px 24px;
    background: #0d0d0b;
    position: relative;
}

.od-about-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.od-about-title {
    font-family: 'Cormorant Garamond', 'Amiri', serif;
    font-size: clamp(30px, 4.5vw, 54px);
    font-weight: 400;
    line-height: 1.15;
    color: #eee8df;
    margin: 0 0 32px;
    letter-spacing: -0.3px;
}

.od-about-p {
    font-family: 'Inter', 'Tajawal', sans-serif;
    font-size: clamp(14px, 1.3vw, 16px);
    font-weight: 300;
    line-height: 1.9;
    color: rgba(238, 232, 223, 0.72);
    margin: 0 0 20px;
}

.od-about-p:last-child { margin-bottom: 0; }

/* ============ 4. MISSION & VISION ============ */
.od-mv {
    padding: 40px 24px 100px;
    background: #0d0d0b;
}

.od-mv-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.od-mv-card {
    position: relative;
    padding: 48px 36px;
    background: linear-gradient(160deg,
        rgba(168, 120, 69, 0.06) 0%,
        rgba(13, 13, 11, 0.4) 100%);
    border: 1px solid rgba(168, 120, 69, 0.22);
    border-radius: 2px;
    transition: border-color 0.4s ease, transform 0.4s ease;
}

.od-mv-card:hover {
    border-color: rgba(196, 154, 104, 0.5);
    transform: translateY(-4px);
}

.od-mv-icon {
    width: 52px;
    height: 52px;
    color: #c49a68;
    margin-bottom: 24px;
}

.od-mv-icon svg {
    width: 100%;
    height: 100%;
}

.od-mv-title {
    font-family: 'Cormorant Garamond', 'Amiri', serif;
    font-size: 30px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #eee8df;
    margin: 0 0 16px;
    text-transform: uppercase;
}

.od-mv-desc {
    font-family: 'Inter', 'Tajawal', sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(238, 232, 223, 0.68);
    margin: 0;
}

/* ============ 5. VALUES ============ */
.od-values {
    padding: 100px 24px;
    background: linear-gradient(180deg, #0d0d0b 0%, #0a0a08 100%);
}

.od-values-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.od-values-title {
    font-family: 'Cormorant Garamond', 'Amiri', serif;
    font-size: clamp(30px, 4.5vw, 52px);
    font-weight: 400;
    line-height: 1.15;
    color: #eee8df;
    margin: 0;
    letter-spacing: -0.3px;
}

.od-values-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.od-value {
    padding: 32px 24px;
    border-top: 1px solid rgba(168, 120, 69, 0.25);
    transition: border-color 0.4s ease;
}

.od-value:hover {
    border-top-color: #c49a68;
}

.od-value-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 44px;
    font-weight: 400;
    font-style: italic;
    color: #a87845;
    opacity: 0.5;
    line-height: 1;
    margin-bottom: 20px;
}

.od-value-title {
    font-family: 'Cormorant Garamond', 'Amiri', serif;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #eee8df;
    margin: 0 0 14px;
    text-transform: uppercase;
}

.od-value-desc {
    font-family: 'Inter', 'Tajawal', sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.75;
    color: rgba(238, 232, 223, 0.65);
    margin: 0;
}

/* ============ 6. CTA ============ */
.od-cta {
    position: relative;
    padding: 140px 24px;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}

.od-cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.od-cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.od-cta-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center,
            rgba(13, 13, 11, 0.55) 0%,
            rgba(13, 13, 11, 0.92) 100%),
        linear-gradient(180deg,
            rgba(13, 13, 11, 0.9) 0%,
            rgba(13, 13, 11, 0.7) 50%,
            rgba(13, 13, 11, 0.95) 100%);
    z-index: 1;
}

.od-cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.od-cta-content h2 {
    font-family: 'Cormorant Garamond', 'Amiri', serif;
    font-size: clamp(30px, 4.5vw, 54px);
    font-weight: 400;
    line-height: 1.15;
    color: #eee8df;
    margin: 0 0 40px;
    letter-spacing: -0.3px;
}

.od-cta-content h2 .gold-text { color: #c49a68; font-style: italic; }

.od-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    font-family: 'Inter', 'Tajawal', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #0d0d0b;
    background: linear-gradient(135deg, #a87845 0%, #c49a68 100%);
    text-decoration: none;
    border-radius: 2px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 12px 32px rgba(168, 120, 69, 0.28);
}

.od-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 44px rgba(168, 120, 69, 0.42);
}

.od-cta-btn svg {
    transition: transform 0.35s ease;
}

.od-cta-btn:hover svg {
    transform: translateX(4px);
}

[dir="rtl"] .od-cta-btn svg {
    transform: scaleX(-1);
}

[dir="rtl"] .od-cta-btn:hover svg {
    transform: scaleX(-1) translateX(4px);
}

/* ============ 7. 🎬 FULLSCREEN FIX ============ */
/* لما العميل يدخل Fullscreen:
   - الفيديو يظهر كامل بدون قص (object-fit: contain)
   - الترجمة تبان كاملة
   - الـ overlay والمؤثرات المزخرفة تختفي */

/* --- الفيديو نفسه في وضع Fullscreen --- */
.od-cinema-video:fullscreen,
.od-cinema-video:-webkit-full-screen {
    object-fit: contain !important;
    background: #000 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
}

/* --- لو الـ screen container هو اللي في Fullscreen --- */
.od-cinema-screen:fullscreen,
.od-cinema-screen:-webkit-full-screen {
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
    background: #000 !important;
    border: none !important;
    box-shadow: none !important;
    aspect-ratio: auto !important;
}

.od-cinema-screen:fullscreen .od-cinema-video,
.od-cinema-screen:-webkit-full-screen .od-cinema-video {
    object-fit: contain !important;
    background: #000 !important;
    width: 100% !important;
    height: 100% !important;
}

/* إخفاء الـ overlay تماماً في Fullscreen */
.od-cinema-screen:fullscreen .od-cinema-overlay,
.od-cinema-screen:-webkit-full-screen .od-cinema-overlay {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* إخفاء عناصر الديكور (REC / Film label) */
.od-cinema-screen:fullscreen .od-cinema-recdot,
.od-cinema-screen:fullscreen .od-cinema-title,
.od-cinema-screen:-webkit-full-screen .od-cinema-recdot,
.od-cinema-screen:-webkit-full-screen .od-cinema-title {
    display: none !important;
}

/* إخفاء زر Play في Fullscreen */
.od-cinema-screen:fullscreen .od-cinema-play,
.od-cinema-screen:-webkit-full-screen .od-cinema-play {
    display: none !important;
}

/* الـ media controls تفضل شغالة */
.od-cinema-video::-webkit-media-controls {
    z-index: 10;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
    .od-mv-grid,
    .od-values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .od-mv-card { padding: 36px 28px; }
    .od-value   { padding: 26px 20px; }
}

@media (max-width: 768px) {
    .od-hero        { padding: 100px 20px 40px; }
    .od-cinema      { padding: 40px 16px 70px; }
    .od-about       { padding: 70px 20px; }
    .od-mv          { padding: 20px 20px 70px; }
    .od-values      { padding: 70px 20px; }
    .od-cta         { padding: 100px 20px; }

    .od-eyebrow     { font-size: 10px; letter-spacing: 3px; gap: 10px; }
    .od-eyebrow-line { width: 28px; }

    .od-cinema-play {
        width: 72px;
        height: 72px;
    }
    .od-cinema-play svg { width: 26px; height: 26px; }

    .od-cinema-recdot,
    .od-cinema-title { top: 14px; }
    .od-cinema-recdot { inset-inline-start: 14px; }
    .od-cinema-title  { inset-inline-end: 14px; font-size: 11px; letter-spacing: 4px; }

    .od-cinema-caption { font-size: 10px; letter-spacing: 2px; gap: 12px; }
    .od-cinema-caption-line { width: 22px; }

    .od-mv-title    { font-size: 24px; }
    .od-value-num   { font-size: 36px; }
    .od-value-title { font-size: 20px; }

    .od-cta-btn {
        padding: 14px 28px;
        font-size: 11px;
        letter-spacing: 2.5px;
    }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
    .od-cinema-play::before,
    .od-cinema-play::after,
    .od-cinema-recdot span {
        animation: none;
    }
    .od-cinema-play,
    .od-mv-card,
    .od-cta-btn {
        transition: none;
    }
}