body { height: 400vh; }

.space-section {
    position: absolute;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 0 8%; opacity: 0; transform: translateY(60px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none; z-index: 20; text-align: left;
}

.space-section.active {
    opacity: 1; transform: translateY(0) scale(1); pointer-events: auto;
}

.space-section h1 {
    font-size: 3rem; font-weight: 900; margin-bottom: 10px;
    background: linear-gradient(45deg, var(--text-color), var(--luxury-gold));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px var(--luxury-gold-glow); max-width: 800px; line-height: 1.2;
}

.space-section p {
    font-size: 1.1rem; color: var(--desc-color); max-width: 650px; line-height: 1.5; margin-bottom: 20px;
}

.cards-container {
    display: flex; flex-direction: column; gap: 15px; width: 100%; max-width: 630px;
}

.cards-grid {
    display: flex; gap: 18px; width: 100%;
}

.interactive-card {
    background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 14px;
    padding: 18px 22px; width: 200px; text-decoration: none; color: var(--text-color);
    backdrop-filter: blur(12px); transition: 0.3s ease; box-shadow: 0 10px 30px rgba(0,0,0,0.15); cursor: pointer;
}

.interactive-card:hover {
    border-color: var(--luxury-gold); transform: translateY(-8px); background: var(--card-hover); box-shadow: 0 0 25px var(--luxury-gold-glow);
}

.interactive-card h3 { font-size: 16px; margin-bottom: 6px; color: var(--luxury-gold); }
.interactive-card span { font-size: 12px; color: var(--desc-color); opacity: 0.8; }

.info-dropdown {
    width: 100%; background: rgba(15, 15, 25, 0.85); border: 1px solid var(--luxury-gold);
    border-radius: 14px; padding: 0 25px; max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height 0.6s ease, opacity 0.4s ease, padding 0.4s ease; backdrop-filter: blur(16px);
}

.info-dropdown.show {
    max-height: 480px; opacity: 1; padding: 22px 25px; overflow-y: auto;
}

.info-dropdown h4 { color: var(--luxury-gold); font-size: 18px; margin-bottom: 12px; }
.info-dropdown ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.info-dropdown ul li { color: var(--desc-color); font-size: 14px; position: relative; padding-left: 20px; }
.info-dropdown ul li::before { content: "✦"; color: var(--luxury-gold); position: absolute; left: 0; font-size: 12px; }

.form-group { margin-bottom: 10px; }
.form-group label { display: block; font-size: 12px; color: var(--desc-color); margin-bottom: 3px; }
.form-group input, .form-group textarea {
    width: 100%; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 8px; padding: 8px 12px; color: var(--text-color); font-size: 13px; outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--luxury-gold); box-shadow: 0 0 10px var(--luxury-gold-glow); }
.form-group textarea { resize: none; height: 60px; }

.submit-btn {
    width: 100%; background: linear-gradient(135deg, var(--luxury-gold), #f3e5ab); color: #050508;
    border: none; border-radius: 8px; padding: 9px; font-weight: 700; font-size: 13px; cursor: pointer; margin-top: 4px;
}
.whatsapp-submit-btn {
    width: 100%; background: #25d366; color: #ffffff; border: none; border-radius: 8px;
    padding: 9px; font-weight: 700; font-size: 13px; cursor: pointer; margin-top: 6px;
    display: flex; justify-content: center; align-items: center; gap: 8px; text-decoration: none;
}

.six-projects-horizontal-scroll {
    width: 100%; max-width: 88vw; display: flex; gap: 24px; overflow-x: auto; padding: 15px 5px 25px 5px; scroll-snap-type: x mandatory;
}
.six-projects-horizontal-scroll::-webkit-scrollbar { height: 6px; }
.six-projects-horizontal-scroll::-webkit-scrollbar-thumb { background: var(--luxury-gold); border-radius: 6px; }

.mega-project-card {
    background: var(--card-bg); border: 2px solid var(--border-color); border-radius: 18px;
    min-width: 420px; width: 420px; height: 380px; display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: var(--text-color);
    transition: all 0.4s ease; position: relative; scroll-snap-align: start;
}
.mega-project-card:hover {
    border-color: var(--luxury-gold); transform: translateY(-8px) scale(1.02); background: var(--card-hover); box-shadow: 0 0 30px var(--luxury-gold-glow);
}
.mega-img-box { width: 100%; height: 240px; overflow: hidden; position: relative; }
.mega-img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.mega-project-card:hover .mega-img-box img { transform: scale(1.1); }
.mega-content-box { padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.mega-content-box h4 { font-size: 18px; color: var(--luxury-gold); font-weight: 900; }
.mega-content-box span { font-size: 13.5px; color: var(--desc-color); }
.mega-visit-tag {
    position: absolute; top: 12px; right: 12px; background: rgba(5, 5, 8, 0.85); border: 1px solid var(--luxury-gold);
    color: var(--luxury-gold); font-size: 11px; padding: 4px 10px; border-radius: 12px; opacity: 0; transition: 0.3s ease;
}
.mega-project-card:hover .mega-visit-tag { opacity: 1; }

#sec-1 { top: 0vh; }
#sec-2 { top: 100vh; }
#sec-3 { top: 200vh; }
#sec-4 { top: 300vh; }

footer { position: fixed; bottom: 0; left: 0; }

@media (max-width: 900px) {
    .cards-grid { flex-direction: column; }
    .interactive-card { width: 100%; max-width: 280px; }
    .mega-project-card { min-width: 280px; width: 280px; height: 340px; }
}