/* Custom Style Sheet for Archanam International LLP */

/* Override Bootstrap defaults to match our green/gold theme */
.bg-primary {
    background-color: #0F3D2E !important;
}
.text-primary {
    color: #0F3D2E !important;
}
.bg-gold {
    background-color: #C69C4D !important;
}
.text-gold {
    color: #C69C4D !important;
}
.border-primary {
    border-color: #0F3D2E !important;
}
.border-gold {
    border-color: #C69C4D !important;
}

/* Selection & Scrollbar Customization */
::selection {
    background-color: #C69C4D;
    color: #FFFFFF;
}

::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #F7F2E9;
}
::-webkit-scrollbar-thumb {
    background: #0F3D2E;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #C69C4D;
}

/* Base Transitions & Utilities */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #F7F2E9; /* Warm Ivory default */
    color: #2B2B2B;
    overflow-x: hidden;
}

/* Glassmorphism Classes */
.glass-nav {
    background: rgba(15, 61, 46, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(198, 156, 77, 0.2);
}

.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(198, 156, 77, 0.15);
}

.glass-dark {
    background: rgba(15, 61, 46, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(198, 156, 77, 0.2);
}

/* Button & Card Glows */
.btn-gold-glow {
    box-shadow: 0 0 0 0 rgba(198, 156, 77, 0.4);
    transition: all 0.3s ease-in-out;
}
.btn-gold-glow:hover {
    box-shadow: 0 0 15px 5px rgba(198, 156, 77, 0.4);
}

.product-card-glow {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.product-card-glow:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(15, 61, 46, 0.12), 0 0 20px 2px rgba(198, 156, 77, 0.15);
}

/* Custom Image Zoom & Lift */
.img-zoom-hover {
    overflow: hidden;
}
.img-zoom-hover img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.img-zoom-hover:hover img {
    transform: scale(1.08);
}

/* Infinite Marquee Animation */
@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    display: flex;
}

.marquee-content {
    display: inline-flex;
    animation: marquee 20s linear infinite;
}

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

/* Floating Particles & Map Animation */
.floating-particle {
    position: absolute;
    pointer-events: none;
    background: radial-gradient(circle, rgba(198,156,77,0.6) 0%, rgba(198,156,77,0) 70%);
    border-radius: 50%;
    animation: floatParticle 8s infinite ease-in-out;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.2;
    }
    50% {
        transform: translateY(-40px) translateX(20px);
        opacity: 0.8;
    }
}

/* Custom Navigation transitions */
.nav-link-custom {
    position: relative;
}
.nav-link-custom::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #C69C4D;
    transition: width 0.3s ease;
}
.nav-link-custom:hover::after {
    width: 100%;
}

/* Page Loader styling */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0F3D2E;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-start: center;
    flex-direction: column;
    transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(198, 156, 77, 0.2);
    border-top: 3px solid #C69C4D;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Interactive Cursor Ripple styling (for custom cursor effects) */
.custom-cursor {
    width: 8px;
    height: 8px;
    background-color: #C69C4D;
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.custom-cursor-follower {
    width: 32px;
    height: 32px;
    border: 1px solid #C69C4D;
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease-out, width 0.2s, height 0.2s, border-color 0.2s;
}

/* Hide cursor on touch devices */
@media (max-width: 1024px) {
    .custom-cursor, .custom-cursor-follower {
        display: none !important;
    }
}

/* Smart Sticky Header States */
.header--sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background: #fff !important;
    box-shadow: 0 5px 20px rgba(0,0,0,.08) !important;
    transition: transform .3s ease !important;
}

.header--hidden {
    transform: translateY(-100%) !important;
}
