/* ==========================================================================
   CSS Variables & Base Setup
   ========================================================================== */
:root {
    --bg-black: #050505;
    --card-dark: rgba(20, 20, 20, 0.7);
    --gold-primary: #d4af37;
    --gold-light: #f3e5ab;
    --gold-dark: #aa8529;
    --text-light: #e0e0e0;
    --text-muted: #9e9e9e;
    --glass-border: rgba(212, 175, 55, 0.2);
    --glass-bg: rgba(10, 10, 10, 0.6);
    
    --font-primary: 'Poppins', sans-serif;
    --font-tamil: 'Noto Sans Tamil', sans-serif;
}

body.dark-theme {
    background-color: var(--bg-black);
    color: var(--text-light);
    font-family: var(--font-primary);
    overflow-x: hidden;
}

body.lang-ta {
    font-family: var(--font-tamil);
}

/* Typography & Colors */
.text-gold { color: var(--gold-primary) !important; }
.text-gradient-gold {
    background: linear-gradient(45deg, var(--gold-dark), var(--gold-light), var(--gold-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hover-gold:hover { color: var(--gold-primary) !important; transition: 0.3s; }

/* Buttons */
.btn-gold {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--bg-black);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
    color: var(--bg-black);
    transform: translateY(-2px);
}
.btn-outline-gold {
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    background: transparent;
    transition: all 0.3s ease;
}
.btn-outline-gold:hover {
    background: var(--gold-primary);
    color: var(--bg-black);
}
.shadow-gold {
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* Glassmorphism Utilities */
.glass-nav {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}
.glass-card {
    background: var(--card-dark);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.glass-footer {
    background: linear-gradient(to top, #000000, var(--glass-bg));
}
.gold-divider {
    height: 3px;
    width: 60px;
    background: var(--gold-primary);
    border-radius: 2px;
}

/* Navbar */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
}
.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}
.nav-link:hover, .nav-link.active {
    color: var(--gold-primary) !important;
}
.custom-toggler { border-color: var(--gold-primary); }
.custom-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(212, 175, 55, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

/* Layout */
.section-padding { padding: 80px 0; }
.hero-section {
    min-height: 100vh;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000 100%);
    overflow: hidden;
}
.z-index-1 { z-index: 1; }

/* Floating Actions */
.floating-whatsapp, .floating-call {
    position: fixed;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #fff;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: transform 0.3s;
}
.floating-whatsapp {
    bottom: 30px;
    background-color: #25D366;
}
.floating-call {
    bottom: 100px;
    background-color: var(--gold-primary);
}
.floating-whatsapp:hover, .floating-call:hover {
    transform: scale(1.1);
    color: #fff;
}

/* Loader */
#loader-wrapper {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-black);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}