:root {
    --purple-deep: #2B0B35;
    --gold-bright: #C89B52;
    --gold-dark: #8C6A32;
    --gold-gradient: linear-gradient(135deg, #C89B52 0%, #8C6A32 100%);
    --ivory: #F5F1EB;
    --bronze: #6B3A16;
    --bg-dark: #0D0A10; /* Refined Black */
    --glass-bg: rgba(43, 11, 53, 0.5);
    --glass-border: rgba(200, 155, 82, 0.25);
    
    --font-heading: 'Playfair Display', 'Cormorant Garamond', serif;
    --font-body: 'Inter', 'Poppins', sans-serif;
    
    --transition-smooth: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    --luxury-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important; /* Custom cursor used */
}

html {
    scroll-behavior: initial; /* Lenis handles this */
}

body {
    background-color: var(--bg-dark);
    color: var(--ivory);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.gold-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.section-tagline {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--gold-bright);
    opacity: 0.8;
}

/* --- UTILITIES --- */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 100px 0;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    border-radius: 0; /* Sharp corporate edges */
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.btn-gold {
    background: var(--gold-gradient);
    color: var(--purple-deep);
    font-weight: 700;
}

.btn-outline {
    border: 1px solid var(--gold-bright);
    color: var(--gold-bright);
}

.btn-gold-outline {
    border: 1px solid rgba(200, 155, 82, 0.4);
    color: var(--gold-bright);
    background: transparent;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(200, 155, 82, 0.2);
}

/* --- CUSTOM CURSOR --- */
.custom-cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--gold-bright);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.1s;
}

.cursor-glow {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid var(--gold-bright);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* --- PRELOADER --- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001;
}

.loader-logo {
    width: 120px;
    opacity: 0.8;
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    position: relative;
}

.loader-progress {
    position: absolute;
    height: 100%;
    width: 0;
    background: var(--gold-gradient);
}

/* --- BACKGROUND ELEMENTS --- */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.ambient-glow {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% 50%, rgba(43, 11, 53, 0.3) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.cinematic-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    opacity: 0.03;
    pointer-events: none;
    z-index: 1000;
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(13, 10, 16, 0.95);
    backdrop-filter: blur(20px);
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-logo img {
    height: 50px;
}

.nav-links a {
    color: var(--ivory);
    text-decoration: none;
    margin: 0 1.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: var(--transition-smooth);
    opacity: 0.7;
}

.nav-links a:hover, .nav-links a.active {
    opacity: 1;
    color: var(--gold-bright);
}

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

.hero-bg-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, var(--bg-dark) 100%);
    z-index: -1;
}

.gold-streaks {
    position: absolute;
    width: 150%;
    height: 150%;
    background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(200, 155, 82, 0.05) 10deg, transparent 20deg, transparent 180deg, rgba(200, 155, 82, 0.05) 190deg, transparent 200deg);
    animation: rotate 40s linear infinite;
    filter: blur(40px);
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    text-align: center;
}

.hero-logo-container {
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.hero-logo-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(200, 155, 82, 0.2) 0%, transparent 70%);
    z-index: -1;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-logo {
    width: 200px;
    filter: drop-shadow(0 0 30px rgba(200, 155, 82, 0.3));
}

.hero-logo.floating {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-title {
    font-size: 6rem;
    margin-bottom: 1.5rem;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.8;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    margin-bottom: 4rem;
    font-family: var(--font-body);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0.5;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--ivory);
    border-radius: 15px;
    display: block;
    margin: 0 auto 10px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--gold-bright);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: mouse-scroll 2s infinite;
}

@keyframes mouse-scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 20px; }
}

/* --- LEGACY SECTION --- */
.editorial-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    max-width: 900px;
    margin: 4rem auto;
    text-align: center;
    line-height: 1.4;
    color: var(--ivory);
    opacity: 0.9;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 6rem;
}

.timeline-card {
    padding: 4rem 2rem;
    text-align: center;
    border: 1px solid rgba(200, 155, 82, 0.1);
}

.timeline-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--gold-bright);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.timeline-card p {
    font-size: 0.95rem;
    opacity: 0.7;
    font-weight: 300;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(200, 155, 82, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

/* --- GALLERY SECTION --- */
.gallery-section {
    padding: 150px 0;
    overflow: hidden;
    position: relative;
    background: #08060a;
}

.gallery-track {
    display: flex;
    gap: 40px;
    padding: 0 15vw;
}

.gallery-item {
    min-width: 35vw;
    height: 70vh;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--gold-bright);
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
    margin: 20px;
}

.gallery-item:hover::after {
    opacity: 0.5;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 2s cubic-bezier(0.19, 1, 0.22, 1);
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem;
    background: linear-gradient(to top, rgba(13, 10, 16, 1), transparent);
    transform: translateY(10px);
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

/* --- STATS SECTION --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-circle {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stat-circle svg {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.stat-circle circle {
    fill: none;
    stroke-width: 4;
}

.stat-circle circle.bg {
    stroke: rgba(255, 255, 255, 0.05);
}

.stat-circle circle.progress {
    stroke: var(--gold-bright);
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 2s ease-out;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--gold-bright);
}

/* --- INITIATIVES --- */
.initiatives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.initiative-card {
    padding: 4rem 2rem;
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.gold-edge {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: width 0.6s ease;
}

.initiative-card:hover .gold-edge {
    width: 100%;
}

/* --- FOOTER --- */
.footer {
    background: #0a050b;
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
}

.footer-brand .brand-tagline {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--gold-bright);
    opacity: 0.8;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(200, 155, 82, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: var(--ivory);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--gold-gradient);
    color: var(--purple-deep);
    border-color: transparent;
}

.footer-nav a {
    color: var(--ivory);
    text-decoration: none;
    opacity: 0.6;
    display: block;
    margin-bottom: 0.8rem;
    transition: var(--transition-smooth);
}

.footer-nav a:hover {
    opacity: 1;
    color: var(--gold-bright);
    padding-left: 5px;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-dark), transparent);
    margin: 40px 0 20px;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .hero-title { font-size: 3.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .section-title { font-size: 2.5rem; }
    .nav-links { display: none; }
}
