/* Custom style sheet for Aaryavam Consultancy */

/* Page & Layout Defaults */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #1e293b;
    overflow-x: hidden;
}

/* Glassmorphism Styles */
.glass {
    background: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(14px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

.glass-light {
    background: rgba(255, 255, 255, 0.35) !important;
    backdrop-filter: blur(8px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(8px) saturate(140%) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.glass-dark {
    background: rgba(15, 23, 42, 0.75) !important;
    backdrop-filter: blur(16px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(160%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Color Gradients */
.accent-gradient {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 50%, #0f766e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Sticky Nav Scrolled State */
#main-nav {
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease, -webkit-backdrop-filter 0.3s ease, height 0.3s ease;
    will-change: background-color, border-color, box-shadow, backdrop-filter, height;
}
nav.navbar-scrolled {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    height: 5.5rem !important; /* height shrink on scroll */
}
nav.navbar-scrolled #hamburger-btn span {
    background-color: #0f172a !important;
}

/* 3D background wrapper layout */
#three-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.85;
}

/* Mouse spotlight tracking glow */
#mouse-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.08) 0%, rgba(20, 184, 166, 0.01) 50%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: transform 0.15s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/* Scroll Trigger Data-Reveal classes */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Vignette overlay */
.vignette {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(circle, transparent 50%, rgba(255, 255, 255, 0.25) 100%);
}

/* Custom premium container utilities */
.container-premium {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

@media (min-width: 640px) {
    .container-premium {
        max-width: 640px;
    }
}
@media (min-width: 768px) {
    .container-premium {
        max-width: 768px;
    }
}
@media (min-width: 1024px) {
    .container-premium {
        max-width: 1024px;
        padding-right: 2.5rem;
        padding-left: 2.5rem;
    }
}
@media (min-width: 1280px) {
    .container-premium {
        max-width: 1280px;
    }
}

/* Section paddings spacing */
.section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
}
@media (min-width: 1024px) {
    .section-padding {
        padding-top: 7.5rem;
        padding-bottom: 7.5rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Slideshow animations */
.home-slide {
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Nav Dropdown hover bridge to maintain hover status across the margin gap */
#main-nav .group::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 12px;
    z-index: 10;
    pointer-events: auto;
}

/* Animated background bubbles matching React Framer-Motion */
.bubble-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.bubble {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    will-change: transform;
}
.bubble-1 {
    width: 200px;
    height: 200px;
    left: 10%;
    top: 10%;
    background-color: rgba(20, 184, 166, 0.1); /* bg-accent-500/10 */
    animation: float-bubble-1 12s infinite ease-in-out;
}
.bubble-2 {
    width: 300px;
    height: 300px;
    left: 30%;
    top: 25%;
    background-color: rgba(59, 130, 246, 0.08); /* bg-blue-500/8 */
    animation: float-bubble-2 15s infinite ease-in-out 1.5s;
}
.bubble-3 {
    width: 400px;
    height: 400px;
    left: 50%;
    top: 40%;
    background-color: rgba(16, 185, 129, 0.08); /* bg-emerald-500/8 */
    animation: float-bubble-3 18s infinite ease-in-out 3s;
}

@keyframes float-bubble-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -20px) scale(1.1); }
    50% { transform: translate(0, 30px) scale(0.95); }
    75% { transform: translate(-20px, 0) scale(1.05); }
}
@keyframes float-bubble-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -35px) scale(1.15); }
    50% { transform: translate(0, 40px) scale(0.95); }
    75% { transform: translate(-30px, 0) scale(1.05); }
}
@keyframes float-bubble-3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(70px, -50px) scale(1.2); }
    50% { transform: translate(0, 50px) scale(0.95); }
    75% { transform: translate(-40px, 0) scale(1.05); }
}
