/* dubai.css - Ultra Premium Styles for Dubai Properties (v3.0) */

/* Reset & Variables */
:root {
    --gold: #C9A84C;
    --gold-light: #e6cd7c;
    --dark-bg: #1c2025;
    --dark-card: #2a2e35;
    --text-main: #fcfcfc;
    --text-muted: #999999;
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
}

body {
    background-color: var(--dark-bg);
}

.dubai-experience {
    background-color: var(--dark-bg);
    color: var(--text-main);
    font-family: var(--font-body);
    font-weight: 300;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .colossal-text, .glitch, .dev-headline, .mag-title, .why-title, .step-title {
    font-family: var(--font-heading) !important;
}

p, span, div, a {
    font-family: var(--font-body);
}

.text-gold { color: var(--gold) !important; }
.text-white { color: var(--text-main) !important; }

/* Typography Utilities */
.colossal-text {
    font-size: 4.5rem;
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: 0;
}

.tracking-wide { letter-spacing: 4px; }
.uppercase { text-transform: uppercase; }

/* -------------------- HERO SECTION -------------------- */
.dubai-hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.dubai-video-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
}

.dubai-video-bg video {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.05);
}

.dubai-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(10,10,10,0.4) 0%, rgba(10,10,10,1) 100%);
    z-index: 1;
}

.dubai-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.glitch {
    font-size: 10rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 15px;
    margin-bottom: 20px;
    position: relative;
    color: #fff;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--gold);
    letter-spacing: 6px;
    text-transform: uppercase;
    font-weight: 300;
    margin-bottom: 60px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.75rem;
    transition: color 0.3s;
}

.scroll-indicator:hover { color: var(--gold); }
.scroll-indicator i {
    animation: dropArrow 2s infinite cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--gold);
    font-size: 20px;
}

@keyframes dropArrow {
    0%, 100% { transform: translateY(0); opacity: 0; }
    50% { transform: translateY(15px); opacity: 1; }
}

/* -------------------- STATS STRIP -------------------- */
.dubai-stats {
    padding: 80px 0;
    background: var(--dark-bg);
    border-top: 1px solid rgba(201,168,76,0.1);
    border-bottom: 1px solid rgba(201,168,76,0.1);
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* -------------------- DEVELOPERS (FULL BLEED STRIPS) -------------------- */
.dubai-developers {
    padding: 150px 0;
    background: var(--dark-bg);
}

.dev-strips-wrapper {
    display: flex;
    flex-direction: column;
}

.dev-strip {
    position: relative;
    padding: 120px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dev-strip:last-child {
    border-bottom: none;
}

.dev-strip-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.ghost-img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    opacity: 0.15;
    filter: grayscale(100%);
    transition: var(--transition);
}

.dev-strip:hover .ghost-img {
    opacity: 0.3;
    transform: translateY(-5%) scale(1.05);
}

.strip-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--dark-bg) 0%, rgba(10,10,10,0.5) 50%, var(--dark-bg) 100%);
}

.dev-strip-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.dev-strip-content.reverse-layout {
    flex-direction: row-reverse;
}

.dev-info-left {
    flex: 1.5;
}

.dev-stats-right {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    border-left: 1px solid rgba(201,168,76,0.2);
    padding-left: 40px;
}

.dev-strip-content.reverse-layout .dev-stats-right {
    border-left: none;
    border-right: 1px solid rgba(201,168,76,0.2);
    padding-left: 0;
    padding-right: 40px;
    text-align: right;
}

.dev-brand {
    font-family: var(--font-body) !important;
    font-size: 1rem;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.dev-headline {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.dev-desc {
    color: #aaa;
    font-size: 1.05rem;
    max-width: 500px;
    line-height: 1.6;
}

.dev-stat {
    display: flex;
    flex-direction: column;
}

.d-val {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 5px;
}

.d-lab {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* -------------------- WHY DUBAI GRID -------------------- */
.why-dubai {
    padding: 150px 0;
    background: var(--dark-card);
}

.why-dubai-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.why-card {
    padding: 50px 40px;
    background: var(--dark-bg);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 10px;
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-10px);
    border-color: rgba(201,168,76,0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.why-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 30px;
}

.why-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #fff;
}

.why-desc {
    color: #999;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* -------------------- ICONIC RESIDENCES (MAGAZINE GRID) -------------------- */
.dubai-properties {
    padding: 150px 0;
    background: var(--dark-bg);
}

.property-magazine-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    margin-top: 60px;
}

.mag-prop-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
}

.mag-stacked-col {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 30px;
}

.hero-card {
    height: 700px;
}

.stacked-card {
    height: 335px;
}

.mag-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 1.2s;
    filter: brightness(0.7) contrast(1.1);
}

.mag-prop-card:hover .mag-img {
    transform: scale(1.08);
    filter: brightness(0.9) contrast(1.1);
}

.mag-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.2) 50%, transparent 100%);
}

.mag-content {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 40px;
    z-index: 2;
}

.stacked-card .mag-content {
    padding: 30px;
}

.mag-price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.mag-meta {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ccc;
    margin-bottom: 15px;
}

.mag-title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 15px;
}

.stacked-card .mag-title {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.mag-excerpt {
    color: #aaa;
    font-size: 0.95rem;
    margin-bottom: 20px;
    max-width: 90%;
    opacity: 0;
    max-height: 0;
    transition: opacity 0.5s ease, max-height 0.5s ease;
}

.hero-card:hover .mag-excerpt {
    opacity: 1;
    max-height: 100px;
}

.mag-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: color 0.3s;
}

.mag-link:hover {
    color: var(--gold);
}

.mag-link i {
    transition: transform 0.3s;
}

.mag-link:hover i {
    transform: translateX(10px);
}

/* -------------------- 5-STEP INVESTMENT PROCESS -------------------- */
.dubai-process {
    padding: 150px 0;
    background: var(--dark-card);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 60px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 30px; left: 10%; right: 10%;
    height: 1px;
    background: rgba(201,168,76,0.2);
    z-index: 1;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    background: var(--dark-card);
    display: inline-block;
    padding: 0 15px;
    margin-bottom: 20px;
}

.step-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.step-desc {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* -------------------- FINAL CTA (ULTRA SEXY) -------------------- */
.dubai-cta-ultra {
    position: relative;
    padding: 250px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-ultra-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.parallax-cta-img-slow {
    width: 100%; height: 130%;
    object-fit: cover;
    filter: brightness(0.4) contrast(1.2);
    animation: slowPan 30s linear infinite alternate;
}

@keyframes slowPan {
    0% { transform: scale(1.05) translateY(0); }
    100% { transform: scale(1.15) translateY(-5%); }
}

.cta-ultra-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.4) 50%, rgba(10,10,10,0.8) 100%);
    backdrop-filter: blur(2px);
}

.cta-ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    z-index: 1;
    opacity: 0.4;
}

.glow-1 {
    top: -20%; left: -10%;
    background: rgba(201,168,76,0.3);
    animation: floatGlow 10s ease-in-out infinite alternate;
}

.glow-2 {
    bottom: -20%; right: -10%;
    background: rgba(255,255,255,0.1);
    animation: floatGlow 15s ease-in-out infinite alternate-reverse;
}

@keyframes floatGlow {
    0% { transform: translate(0,0); }
    100% { transform: translate(50px, 50px); }
}

.cta-glass-panel {
    position: relative;
    z-index: 2;
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-top: 1px solid rgba(201,168,76,0.3);
    border-radius: 30px;
    padding: 80px 60px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), inset 0 0 40px rgba(255,255,255,0.02);
    transform: translateY(0);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.cta-glass-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.8), inset 0 0 60px rgba(201,168,76,0.05);
}

.cta-subtext-lux {
    font-size: 1.15rem;
    color: #bbb;
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto;
}

.cta-action-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-top: 40px;
}

.btn-ultra-gold {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(90deg, #d4af37 0%, #aa8529 100%);
    color: #0a0a0a;
    padding: 18px 45px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
    box-shadow: 0 10px 30px rgba(201,168,76,0.3);
}

.btn-ultra-gold::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-25deg);
    transition: all 0.6s;
}

.btn-ultra-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(201,168,76,0.5);
    color: #000;
}

.btn-ultra-gold:hover::before {
    left: 200%;
}

.btn-ultra-gold i {
    transition: transform 0.3s;
}
.btn-ultra-gold:hover i {
    transform: translateX(5px);
}

.btn-ultra-glass {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 18px 45px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    transition: all 0.4s;
}

.btn-ultra-glass:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(201,168,76,0.5);
    color: var(--gold);
    transform: translateY(-3px);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .dev-strip-content, .dev-strip-content.reverse-layout { flex-direction: column; text-align: center; gap: 40px; }
    .dev-stats-right { border: none !important; padding: 0 !important; text-align: center !important; grid-template-columns: repeat(3, 1fr); }
    .why-dubai-grid { grid-template-columns: repeat(2, 1fr); }
    .property-magazine-grid { grid-template-columns: 1fr; }
    .mag-stacked-col { grid-template-rows: auto; }
    .process-timeline { grid-template-columns: 1fr; gap: 40px; }
    .process-timeline::before { display: none; }
    .cta-buttons { flex-direction: column; }
    .colossal-text { font-size: 3rem; }
}

@media (max-width: 768px) {
    .stats-grid { grid-template-columns: 1fr; }
    .dev-stats-right { grid-template-columns: 1fr; }
    .why-dubai-grid { grid-template-columns: 1fr; }
}
