/* =========================================
   DESIGN SYSTEM - LIQUID GLASS AESTHETIC
   ========================================= */
   :root {
    /* Colors */
    --clr-primary-light: #ffffff;
    --clr-bg-base: #eaf2ed; /* soft misty fog */
    
    /* Accents */
    --clr-emerald: rgba(39, 174, 96, 0.8);
    --clr-gold: rgba(212, 175, 55, 0.9);
    --clr-sky: rgba(135, 206, 235, 0.6);
    
    /* Glassmorphism Variables */
    --glass-bg: rgba(235, 255, 240, 0.15);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-blur: blur(20px);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: all 0.3s ease-out;
}

/* =========================================
   RESET & BASE STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg-base);
    color: #1a1a1a;
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 300;
}

/* Custom Cursor Overlay Effect */
.cursor-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(39, 174, 96, 0.15) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s, height 0.3s, background 0.3s;
    mix-blend-mode: overlay;
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 200;
    letter-spacing: 1px;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #111;
}

.text-center { text-align: center; }
.mb-4 { margin-bottom: 1.5rem; }

/* Custom Glass HR Line */
.hr-glass {
    height: 2px;
    width: 60px;
    background: linear-gradient(90deg, transparent, var(--clr-emerald), transparent);
    margin: 0 auto 1.5rem auto;
}
.hr-glass.left {
    margin: 0 0 1.5rem 0;
    background: linear-gradient(90deg, var(--clr-emerald), transparent);
}

/* =========================================
   UTILITIES & CONTAINERS
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.container-fluid-right {
    max-width: 100%;
    padding-left: max(2rem, calc((100% - 1200px) / 2 + 2rem));
    padding-right: 0;
    position: relative;
    z-index: 2;
}

.section-padding {
    padding: 8rem 0;
    position: relative;
}

/* =========================================
   GLASS COMPONENTS
   ========================================= */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.glass-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
}

.glass-card:hover::before {
    opacity: 1;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 400;
    text-decoration: none;
    transition: var(--transition-fast);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--clr-emerald);
    color: #fff;
    box-shadow: 0 10px 20px rgba(39, 174, 96, 0.2);
}

.btn-primary:hover {
    background: #1e8449; /* Darker emerald */
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(39, 174, 96, 0.3);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: #111;
    border: 1px solid rgba(0,0,0,0.2);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(255,255,255,1);
}

.w-100 { width: 100%; }

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    height: 70px;
    border-radius: 100px;
    z-index: 100;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    transition: var(--transition-smooth);
}

/* When scrolled, make it stick to top */
.navbar.scrolled {
    top: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 300;
    text-decoration: none;
    color: #111;
    letter-spacing: 2px;
}
.logo span { font-weight: 500; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-size: 0.95rem;
    font-weight: 400;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-emerald);
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--clr-emerald);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.mobile-menu-btn, .close-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #111;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    border-radius: 0;
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.close-menu-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    display: block;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}
.mobile-links .nav-link { font-size: 1.5rem; }

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

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 120%; /* extra height for parallax */
    background-size: cover;
    background-position: center bottom;
    z-index: 0;
    will-change: transform;
    /* initial transform applied by js */
}

.mist-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(234, 242, 237, 1) 0%, rgba(234, 242, 237, 0) 40%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-glass-panel {
    padding: 4rem;
    border-radius: 30px;
    text-align: center;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    color: #111;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #444;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #555;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%; left: 0; width: 100%; height: 100%;
    background: #111;
    animation: scroll-down 2s infinite cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes scroll-down {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about {
    position: relative;
}

.section-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--clr-emerald);
    margin-bottom: 1rem;
}

.about-grid .glass-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* =========================================
   WHY INVEST
   ========================================= */
.invest {
    position: relative;
    overflow: hidden;
}

.blur-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    opacity: 0.6;
}

.orb-1 {
    width: 400px; height: 400px;
    background: var(--clr-sky);
    top: 10%; left: -10%;
}

.orb-2 {
    width: 500px; height: 500px;
    background: rgba(39, 174, 96, 0.2);
    bottom: -10%; right: -10%;
}

.invest-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.invest-desc {
    font-size: 1.1rem;
    color: #444;
}

.invest-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.tile {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tile i {
    font-size: 2rem;
    color: var(--clr-emerald);
}

/* =========================================
   HIGHLIGHTS (Horizontal Scroll)
   ========================================= */
.horizontal-scroll-container {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 2rem 0 4rem 0;
    margin-top: 2rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.2) transparent;
}

.horizontal-scroll-container::-webkit-scrollbar { height: 6px; }
.horizontal-scroll-container::-webkit-scrollbar-track { background: transparent; }
.horizontal-scroll-container::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.2); border-radius: 10px; }

.highlight-card {
    min-width: 350px;
    height: 450px;
    padding: 0;
    scroll-snap-align: start;
}

.card-bg-img {
    width: 100%; height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0; left: 0;
    z-index: 0;
}

.card-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    z-index: 1;
}

/* =========================================
   GALLERY (Auto Scrolling Marquee)
   ========================================= */
.marquee-gallery {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.marquee-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll-marquee 40s linear infinite;
}

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

@keyframes scroll-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 1rem)); }
}

.gallery-item {
    padding: 0;
    height: 500px;
    width: clamp(280px, 80vw, 400px);
    border-radius: 30px;
    cursor: pointer;
    flex-shrink: 0;
}

.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 2rem; left: 50%;
    transform: translateX(-50%);
    padding: 1rem 2rem;
    border-radius: 50px;
    color: #111;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
    bottom: 3rem;
}

/* =========================================
   CONTACT / LOCATION
   ========================================= */
.location-contact {
    position: relative;
    overflow: hidden;
}

.gradient-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.1), transparent 50%),
                radial-gradient(circle at bottom left, rgba(135, 206, 235, 0.2), transparent 50%);
    z-index: 0;
}

.layout-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.map-container {
    height: 400px;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.3);
    overflow: hidden;
}

.map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: #444;
}

.map-pin {
    font-size: 3rem;
    color: #111;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

.glass-form {
    background: rgba(255, 255, 255, 0.4);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #333;
}

.glass-input {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: #111;
    transition: var(--transition-fast);
}

.glass-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 15px rgba(255,255,255,0.5);
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    padding: 4rem 0 2rem 0;
    border-radius: 40px 40px 0 0;
    border-bottom: none;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    margin-top: 1rem;
    color: #555;
    max-width: 300px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    text-decoration: none;
    color: #333;
    transition: var(--transition-fast);
}

.footer-links a:hover { color: #111; padding-left: 5px; }

.footer-social {
    display: flex;
    gap: 1rem;
}

.icon-link {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    color: #111;
    text-decoration: none;
    transition: var(--transition-fast);
}

.icon-link:hover {
    background: #111;
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    color: #777;
    font-size: 0.9rem;
}

.border-top-glass {
    border-top: 1px solid rgba(0,0,0,0.1);
}

/* =========================================
   ANIMATIONS & REVEAL CLASSES
   ========================================= */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* =========================================
   RESPONSIVE (Mobile First / Adjustments)
   ========================================= */
@media (max-width: 992px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    
    .hero-title { font-size: 3.5rem; }
    .hero-glass-panel { padding: 2.5rem; }
    
    .invest-layout, .layout-split { grid-template-columns: 1fr; gap: 3rem; }
    
    .horizontal-scroll-container { padding-right: 2rem; }
}

@media (max-width: 768px) {
    .container { padding: 0 1rem; }
    .hero-content { padding: 0 1rem; }
    .section-title { font-size: 2rem; }
    .hero-title { font-size: 2.2rem; }
    .hero-glass-panel { padding: 1.5rem; }
    .section-padding { padding: 4rem 0; }
    
    .about-grid { grid-template-columns: 1fr; }
    .invest-tiles { grid-template-columns: 1fr; gap: 1rem; }
    
    .gallery-item { height: 350px; }
    .highlight-card { min-width: 280px; height: 350px; }
    .map-container { height: 250px; }
    
    .footer-content { flex-direction: column; gap: 2rem; }
    
    .cursor-glow { display: none; } /* Disable custom cursor on mobile */
}
