/* 
   Seven Star Wellness Trade Link - Design System
   Color Palette: Deep Purple, Violet, Cyan Icons, Golden Accents
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-bg: #300D4F;
    --accent-cyan: #00FFFF;
    --accent-gold: #FFD700;
    --gradient-purple: linear-gradient(135deg, #4E148C 0%, #7B2CBF 100%);
    --gradient-cyan: linear-gradient(90deg, #00FFFF 0%, #4CC9F0 100%);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-white: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-white);
    background: var(--primary-bg);
    overflow-x: hidden;
}

/* --- Bold Typography Hero --- */
.hero-content h1 {
    font-size: clamp(4rem, 10vw, 110px);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
}

.stroke-text {
    -webkit-text-stroke: 1.5px white;
    color: transparent;
}

.hero-subtitle {
    color: var(--accent-cyan);
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    font-weight: 600;
}

/* --- Themed Navbar --- */
.navbar {
    background: var(--gradient-purple);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 2s ease-in-out;
    padding: 1rem 0;
}

.navbar.navbar-scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    background: rgba(48, 13, 79, 0.98);
    backdrop-filter: blur(15px);
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    position: relative;
    padding: 0.5rem 1rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--accent-cyan);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
}

.nav-link:hover {
    color: var(--accent-cyan) !important;
}

.nav-link.active {
    color: var(--accent-cyan) !important;
}

.glass-panel {
    transition: all 0.3s ease;
}

.glass-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* --- Social Icons --- */
.social-icons a {
    color: white;
    margin-left: 15px;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.social-icons a:hover {
    transform: translateY(-5px) scale(1.2);
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

/* --- Enhanced Components --- */
.dark-section p, .dark-section .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

.dark-section h1, .dark-section h2, .dark-section h3, .dark-section h4, .dark-section h5, .dark-section h6 {
    color: var(--text-white) !important;
}

.bg-skyblue {
    background-color: #e3f2fd !important;
    background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 100%);
    color: #1a0a2e !important;
}

.bg-skyblue h1, .bg-skyblue h2, .bg-skyblue h3, .bg-skyblue h4, .bg-skyblue h5, .bg-skyblue h6 {
    color: #1a0a2e !important;
}

.bg-skyblue p, .bg-skyblue .text-muted {
    color: #444 !important;
}

.bg-skyblue .product-card {
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    color: #333;
}

.btn-gradient {
    background: var(--gradient-cyan);
    color: var(--primary-bg);
    border: none;
    box-shadow: 0 10px 20px rgba(0, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-gradient:hover {
    transform: translateY(-3px) scale(1.05);
    background: var(--accent-cyan);
    color: var(--primary-bg);
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.4);
}

.product-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: white;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    height: 100%;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-cyan);
}

.product-card img {
    max-width: 100%;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card:hover img {
    transform: scale(1.1) rotate(2deg);
}

.category-card {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    height: 350px;
    margin-bottom: 30px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.category-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.category-card:hover img {
    transform: scale(1.15);
}

.category-card .category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(48, 13, 79, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: all 0.4s ease;
}

.category-card:hover .category-overlay {
    background: linear-gradient(to top, rgba(75, 11, 204, 0.95), rgba(75, 11, 204, 0.2));
}

.bg-purple-gradient {
    background: var(--gradient-purple);
}

/* Background Blurs */
.bg-blur-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    opacity: 0.4;
}

.fs-huge {
    font-size: 15rem;
}

.fw-black {
    font-weight: 900;
}

.floating-plus {
    position: absolute;
    font-size: 2rem;
    color: rgba(255,255,255,0.3);
    animation: floating 3s infinite ease-in-out;
}

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

.product-hero-img {
    max-width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
    animation: floatProduct 5s infinite ease-in-out;
}

.animate-floating {
    animation: floatProduct 5s infinite ease-in-out;
}

@keyframes floatProduct {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

/* --- Hero Slider Background Slides --- */
.hero-slide {
    position: relative;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(48, 13, 79, 0.92) 0%, rgba(48, 13, 79, 0.65) 40%, rgba(48, 13, 79, 0.25) 100%);
    z-index: 1;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    padding-top: 100px;
    padding-bottom: 60px;
}

.hero-slide-content h1 {
    text-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
}

.max-w-lg {
    max-width: 560px;
}

@media (max-width: 768px) {
    .hero-slide {
        min-height: 85vh;
        background-position: center right;
    }
    .hero-slide-overlay {
        background: linear-gradient(180deg, rgba(48, 13, 79, 0.85) 0%, rgba(48, 13, 79, 0.7) 60%, rgba(48, 13, 79, 0.5) 100%);
    }
    .hero-slide-content h1 {
        font-size: 2.2rem;
    }
}

/* --- Carousel Refinement --- */
.carousel-item {
    transition: transform 1.2s cubic-bezier(0.7, 0, 0.3, 1);
}

.carousel-indicators [data-bs-target] {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background-color: var(--accent-cyan);
}

.carousel-control-prev, .carousel-control-next {
    width: 5%;
    opacity: 0.3;
}

.carousel-control-prev:hover, .carousel-control-next:hover {
    opacity: 1;
}

.btn-outline-primary {
    border-color: #7411cc;
    color: #7411cc;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: #7411cc;
    border-color: #7411cc;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(116, 17, 204, 0.3);
}

.btn-sm.btn-gradient {
    font-size: 0.8rem;
    padding: 8px 15px;
}

/* --- Dealer Filtering Logic (No JS) --- */
#filter-kathmandu:checked ~ .dealer-list .dealer-card-wrapper:not(.kathmandu) {
    display: none;
}
#filter-pokhara:checked ~ .dealer-list .dealer-card-wrapper:not(.pokhara) {
    display: none;
}
#filter-butwal:checked ~ .dealer-list .dealer-card-wrapper:not(.butwal) {
    display: none;
}
#filter-chitwan:checked ~ .dealer-list .dealer-card-wrapper:not(.chitwan) {
    display: none;
}

#filter-all:checked ~ .filter-controls label[for="filter-all"],
#filter-kathmandu:checked ~ .filter-controls label[for="filter-kathmandu"],
#filter-pokhara:checked ~ .filter-controls label[for="filter-pokhara"],
#filter-butwal:checked ~ .filter-controls label[for="filter-butwal"],
#filter-chitwan:checked ~ .filter-controls label[for="filter-chitwan"] {
    background: var(--gradient-purple);
    color: white;
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(123, 44, 191, 0.3);
}

.filter-btn {
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* --- Section Title --- */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-cyan);
    border-radius: 2px;
}



/* --- Footer --- */
footer {
    background: #150525;
    color: var(--text-white);
    padding: 80px 0 20px;
    position: relative;
    z-index: 10;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
    object-fit: contain;
}

.footer-links li {
    list-style: none;
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-cyan);
    transform: translateX(8px);
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.3);
}

footer .text-muted, footer p, footer li {
    color: rgba(255, 255, 255, 0.7) !important;
}

footer h5 {
    color: var(--accent-gold) !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 1.1rem;
}

.bg-light, .bg-skyblue {
    background-color: #e3f2fd !important;
    color: #1a0a2e !important;
}

.bg-light .text-muted, .bg-skyblue .text-muted {
    color: #6c757d !important;
}

.bg-light h1, .bg-light h2, .bg-light h3, .bg-light h4, .bg-light h5, .bg-light h6,
.bg-skyblue h1, .bg-skyblue h2, .bg-skyblue h3, .bg-skyblue h4, .bg-skyblue h5, .bg-skyblue h6 {
    color: #1a0a2e !important;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 50px;
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}



/* --- Raining Stars Effect --- */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0.3;
    animation: rain linear infinite;
}

@keyframes rain {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(calc(100vh + 100px)) rotate(360deg);
        opacity: 0;
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    .hero-section {
        text-align: center;
        padding: 60px 0;
    }
}
