/* Decor Animation Kashmir - Global Professional Styles */

:root {
    --navy: #0A1128;
    --gold: #D4AF37;
    --bg: #050505;
    --strip-color-1: #4ce0e2;
    --strip-color-2: #bbe643;
    --strip-color-3: #61aa5f;
    --strip-color-4: #e5c045;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg);
    color: white;
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.font-serif {
    font-family: 'Playfair Display', serif;
}

/* Glassmorphism */
.glass {
    background: rgba(10, 17, 40, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.text-gradient-gold {
    background: linear-gradient(to bottom right, #D4AF37, #F9D976, #B38728);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Logo Glow */
.logo-glow {
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

/* Hero Backgrounds */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 1.5s ease;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-img-mobile {
    display: none !important;
}

@media (max-width: 768px) {
    .hero-bg img.hero-img-desktop {
        display: none !important;
    }

    .hero-bg img.hero-img-mobile {
        display: block !important;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(5, 5, 5, 0.6) 0%,
            rgba(5, 5, 5, 0.3) 40%,
            rgba(5, 5, 5, 0.9) 100%);
    z-index: 5;
}

/* Marquee Masking */
.marquee-mask {
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-content {
    display: flex;
    animation: marquee-scroll 30s linear infinite;
    width: max-content;
}

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

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Strip Lighting */
.strip-light {
    position: relative;
    height: 5px;
    width: 100%;
    overflow: hidden;
    opacity: 0.9;
    pointer-events: none;
}

.strip-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--strip-color-1) 15%,
            var(--strip-color-2) 30%,
            var(--strip-color-3) 45%,
            var(--strip-color-4) 60%,
            transparent 80%);
    animation: stripFlow var(--strip-speed, 4s) linear infinite;
}

.strip-light-thick {
    height: 4px;
}

.strip-light-glow {
    height: 5px;
    box-shadow: 0 0 15px var(--strip-color-1), 0 0 30px var(--strip-color-2), 0 0 60px var(--strip-color-3);
}

@keyframes stripFlow {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }
}

/* Card hover glow */
.card-glow {
    transition: all 0.5s ease;
}

.card-glow:hover {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.15), 0 0 60px rgba(212, 175, 55, 0.05);
    border-color: rgba(212, 175, 55, 0.3);
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    color: #111;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), 0 1px 4px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: #D4AF37;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 20px rgba(212, 175, 55, 0.2);
}

.product-img {
    height: 240px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-img img {
    transform: scale(1.08);
}

@media (max-width: 768px) {
    .product-img {
        height: 180px;
    }
}

/* WhatsApp V2 */
.whatsapp-v2-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: none;
}

.whatsapp-v2-bubble {
    width: 280px;
    background: white;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    margin-bottom: 16px;
    position: relative;
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: bottom right;
}

.whatsapp-v2-bubble.active {
    transform: scale(1) translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.v2-bubble-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    background: #f0f2f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #666;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.v2-bubble-close:hover {
    background: #e4e6eb;
    color: #1a1a1a;
}

.v2-chat-btn {
    display: block;
    width: 100%;
    background: #25D366;
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.v2-chat-btn:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.whatsapp-v2-fab {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
}

.whatsapp-v2-fab:hover {
    transform: scale(1.1) rotate(10deg);
}

@media (max-width: 768px) {
    .whatsapp-v2-container {
        bottom: 24px;
        right: 16px;
    }

    .whatsapp-v2-fab {
        width: 54px;
        height: 54px;
    }
}

/* Aurora Border */
@keyframes rotate-aurora {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.aurora-border {
    position: absolute;
    inset: -3px;
    padding: 3px;
    border-radius: 9999px;
    overflow: hidden;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    pointer-events: none;
}

.aurora-border::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 500%;
    top: 50%;
    left: 50%;
    background: conic-gradient(from 0deg, #4ce0e2, #bbe643, #61aa5f, #e5c045, #4ce0e2);
    animation: rotate-aurora 4s linear infinite;
}

/* Hamburger Menu */
.hamburger {
    width: 28px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 200;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: white;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center center;
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(10, 17, 40, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 150;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    transform: translateY(-10px);
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.mobile-menu a {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin: 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.mobile-menu a:hover,
.mobile-menu a.text-yellow-500 {
    color: #D4AF37;
}

/* Hide scrollbar */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.halo-pill {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.15);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Mobile Tab Bar Enhancements */
.mobile-tab-bar {
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.1);
}

.mobile-tab-bar a.active {
    pointer-events: none;
}

.mobile-tab-bar a.active .active-dot {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

.mobile-tab-bar a.active svg {
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.5));
}

@media (max-width: 768px) {

    /* Adjust page padding to account for fixed bottom nav */
    body {
        padding-bottom: 100px;
    }

    /* Hide desktop-only elements in footer if needed */
    .footer-bottom {
        padding-bottom: 120px !important;
    }
}

.logo-pop-glow {
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    z-index: 2;
}

.group\/logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}