/* Custom CSS for Radhe Ayurvedic */

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Banner Styles */
.hero-banner {
    position: relative;
    overflow: hidden;
}

.banner-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.banner-image {
    position: relative;
    z-index: 1;
    transition: transform 0.5s ease;
}

.banner-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Title Styles */
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #4CAF50;
    border-radius: 3px;
}

/* Top Bar Styles */

/* Top Bar */
.top-bar {
    font-size: 14px;
}

.top-bar a {
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.top-bar a:hover {
    opacity: 0.8;
}

/* Header */
.header {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background: #fff;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

/* Product Card Styles */
.product-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 12px;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card .card-img-top {
    transition: transform 0.3s ease;
}

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

/* Product Badge Styles */
.product-badge {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Product Rating Styles */
.product-rating .fa-star {
    font-size: 0.8rem;
}

/* Product Price Styles */
.product-price .text-decoration-line-through {
    font-size: 0.85rem;
}

/* Assured Badge Styles */
.badge.border-success {
    border-width: 1px;
    font-weight: normal;
    font-size: 0.7rem;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-image-container {
    position: relative;
    overflow: hidden;
}

/* Why Choose Us Section */
.why-choose-section {
    position: relative;
    overflow: hidden;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.why-choose-item {
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.hover-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.why-choose-item .icon {
    transition: all 0.3s ease;
}

.why-choose-item:hover .icon {
    transform: scale(1.1);
}

/* Customer Testimonials */
.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.testimonial-author img {
    border: 3px solid #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.testimonial-author img:hover {
    transform: scale(1.05);
}

/* About Us Page Styles */
.about-section .about-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.5s ease;
}

.about-section .about-image:hover {
    transform: scale(1.02);
}

.about-section .experience-badge {
    right: 20px;
    bottom: 20px;
    transition: transform 0.3s ease;
}

.about-section .experience-badge:hover {
    transform: rotate(5deg) scale(1.05);
}

.about-section .section-title h2 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-section .lead {
    font-size: 1.1rem;
    font-weight: 400;
    color: #444;
}

.about-section .founder-quote {
    position: relative;
    transition: transform 0.3s ease;
}

.about-section .founder-quote:hover {
    transform: translateY(-5px);
}

.about-section .story-image-container img {
    transition: transform 0.5s ease;
}

.about-section .story-image-container img:hover {
    transform: scale(1.05);
}

.product-image-container img {
    transition: transform 0.3s ease;
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.product-card:hover .product-image-container img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    z-index: 2;
}

.product-price {
    font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 100px 0;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 20px;
}

/* Categories Section */
.categories-section {
    padding: 80px 0;
}

.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 200px;
    background: linear-gradient(45deg, #28a745, #20c997);
    transition: transform 0.3s ease;
}

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

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(40, 167, 69, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    text-decoration: none;
    transition: background 0.3s ease;
}

.category-overlay:hover {
    background: rgba(40, 167, 69, 0.9);
    color: white;
}

/* Footer */
.footer {
    background: #2c3e50 !important;
}

.footer a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #28a745;
}

.btn-floating {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #28a745;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background: #218838;
    color: white;
    transform: translateY(-2px);
}

/* Owl Carousel Custom Styles */
.owl-nav {
    margin-top: 20px;
}

.owl-nav button {
    background: #28a745 !important;
    color: white !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 5px !important;
    font-size: 18px !important;
}

.owl-nav button:hover {
    background: #218838 !important;
}

.owl-dots {
    text-align: center;
    margin-top: 20px;
}

.owl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    margin: 0 5px;
    transition: background 0.3s ease;
}

.owl-dot.active {
    background: #28a745;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .features-section,
    .categories-section {
        padding: 60px 0;
    }
    
    .feature-item {
        margin-bottom: 30px;
    }
    
    .category-card {
        height: 150px;
        margin-bottom: 20px;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Cart Badge */
.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Button Animations */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Form Styles */
.form-control:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Alert Styles */
.alert {
    border: none;
    border-radius: 10px;
}

/* Testimonial Styles */
.testimonial-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    margin: 15px;
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    object-fit: cover;
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #666;
}

.testimonial-author {
    font-weight: 600;
    color: #333;
}

.owl-prev-custom, .owl-next-custom {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.owl-prev-custom:hover, .owl-next-custom:hover {
    background-color: #28a745;
    color: white;
}

.owl-prev-custom:hover i, .owl-next-custom:hover i {
    color: white;
}

/* Rounded Corners Utilities */
.rounded-4 {
    border-radius: 0.75rem !important;
}

.rounded-5 {
    border-radius: 1rem !important;
}

/* Animation Classes */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1) translate(20%, -20%);
    }
    50% {
        transform: scale(1.05) translate(20%, -20%);
    }
    100% {
        transform: scale(1) translate(20%, -20%);
    }
}

.animate-pulse {
    animation: animatePulse 2s infinite;
}

@keyframes animatePulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

.rotating {
    animation: rotate 20s linear infinite;
}

.rotating-reverse {
    animation: rotateReverse 15s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateReverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}