﻿/* ========================================
   DR. SOOD AYURVEDA - COMPLETE STYLES
   Fantasy + Colorful + Professional
   ======================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* ========================================
   BASE STYLES
   ======================================== */
* {
    font-family: 'Poppins', sans-serif;
}

body {
    font-family: 'Poppins', sans-serif;
    padding-top: 76px;
    overflow-x: hidden;
}

/* ========================================
   FANTASY ANIMATIONS
   ======================================== */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes glow {
    0% {
        text-shadow: 0 0 5px #d4af37;
    }

    100% {
        text-shadow: 0 0 20px #ffd700, 0 0 30px #ffed4a;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Animation Classes */
.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite alternate;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-fade-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-rotate {
    animation: rotate 10s linear infinite;
}

/* Delay classes */
.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* ========================================
   GRADIENTS (Fantasy Colorful Backgrounds)
   ======================================== */
.gradient-bg {
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 50%, #74c69d 100%);
}

.gradient-gold {
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 50%, #ffed4a 100%);
}

.gradient-magic {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.gradient-sunset {
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 50%, #ff9ff3 100%);
}

.gradient-ayurveda {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    background-color: #2d6a4f !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

    .navbar.scrolled {
        padding: 5px 0;
        background-color: #1b4332 !important;
    }

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .navbar-brand:hover {
        transform: scale(1.05);
        text-shadow: 0 0 10px rgba(255,255,255,0.5);
    }

.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

    .nav-link:hover {
        transform: translateY(-2px);
        color: #d4af37 !important;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 50%;
        background-color: #d4af37;
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }

    .nav-link:hover::after {
        width: 80%;
    }

/* ========================================
   BUTTONS
   ======================================== */
.btn-success {
    background-color: #2d6a4f;
    border-color: #2d6a4f;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .btn-success:hover {
        background-color: #1b4332;
        border-color: #1b4332;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(45,106,79,0.3);
    }

.btn-outline-success {
    color: #2d6a4f;
    border-color: #2d6a4f;
    transition: all 0.3s ease;
}

    .btn-outline-success:hover {
        background-color: #2d6a4f;
        border-color: #2d6a4f;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(45,106,79,0.3);
    }

.btn-ayurveda {
    background-color: #2d6a4f;
    color: white;
    transition: all 0.3s ease;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
}

    .btn-ayurveda:hover {
        background-color: #1b4332;
        transform: scale(1.05);
        box-shadow: 0 5px 20px rgba(45,106,79,0.4);
    }

.btn-warning {
    transition: all 0.3s ease;
}

    .btn-warning:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(212,175,55,0.3);
    }

/* ========================================
   CARDS & PRODUCTS
   ======================================== */
.card {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
}

.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    animation: fadeInUp 0.6s ease-out;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    }

.card-hover {
    transition: all 0.3s ease;
}

    .card-hover:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    }

.card-icon {
    font-size: 3rem;
    color: #2d6a4f;
    transition: all 0.3s ease;
}

.card:hover .card-icon {
    transform: scale(1.1);
    color: #d4af37;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    position: relative;
    overflow: hidden;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
        background-size: cover;
        opacity: 0.3;
        pointer-events: none;
    }

/* ========================================
   SECTIONS
   ======================================== */
section {
    position: relative;
}

    section::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, transparent, #d4af37, #2d6a4f, #d4af37, transparent);
    }

/* ========================================
   FOOTER
   ======================================== */
footer {
    background-color: #1b4332;
    position: relative;
}

    footer::before {
        content: '❦';
        position: absolute;
        top: -20px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 40px;
        color: #d4af37;
        background-color: #1b4332;
        padding: 0 20px;
    }

    footer a:hover {
        color: #ffc107 !important;
        transition: color 0.3s ease;
        transform: translateX(5px);
        display: inline-block;
    }

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

    .testimonial-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }

    .testimonial-card i {
        color: #d4af37;
        font-size: 2rem;
        opacity: 0.5;
    }

/* ========================================
   BADGES & LABELS
   ======================================== */
.badge {
    transition: all 0.3s ease;
}

    .badge:hover {
        transform: scale(1.1);
    }

/* ========================================
   FORM CONTROLS
   ======================================== */
.form-control:focus {
    border-color: #2d6a4f;
    box-shadow: 0 0 0 0.2rem rgba(45,106,79,0.25);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    .display-4 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    .hero-section .row {
        text-align: center;
    }

    .d-flex {
        justify-content: center;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .card {
        margin-bottom: 20px;
    }
}

/* ========================================
   SCROLLBAR CUSTOMIZATION
   ======================================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #2d6a4f, #d4af37);
    border-radius: 5px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(135deg, #1b4332, #ffd700);
    }

/* ========================================
   LOADING SPINNER
   ======================================== */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2d6a4f;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: rotate 1s linear infinite;
}

/* ========================================
   TOOLTIPS
   ======================================== */
[data-tooltip] {
    position: relative;
    cursor: pointer;
}

    [data-tooltip]:before {
        content: attr(data-tooltip);
        position: absolute;
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%);
        background: #1b4332;
        color: white;
        padding: 5px 10px;
        border-radius: 5px;
        font-size: 12px;
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }

    [data-tooltip]:hover:before {
        opacity: 1;
        transform: translateX(-50%) translateY(-5px);
    }

.login-badge {
    background: linear-gradient(135deg, var(--gold-vibrant) 0%, var(--orange-vibrant) 100%);
    padding: 8px 16px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

    .login-badge:hover {
        transform: scale(1.05);
        background: linear-gradient(135deg, var(--orange-vibrant) 0%, var(--gold-vibrant) 100%);
    }

    .login-badge i {
        margin-right: 8px;
    }

.bg-ayurveda-gradient {
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
}

