/* Global Styles */
:root {
    --primary-color: #FF6B6B;
    --secondary-color: #4ECDC4;
    --dark-color: #292F36;
    --light-color: #F7FFF7;
    --accent-color: #FFE66D;
    --peach-color: #FFAAA5;
    --blush-color: #FFD3B6;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    background-color: #f8f9fa;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

a:hover {
    color: var(--dark-color);
}

/* Navbar Styles */
.navbar-brand {
    font-size: 1.8rem;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
}

/* Hero Section */
.hero-banner {
    background-color: var(--blush-color);
    background-image: linear-gradient(to right, var(--blush-color), var(--peach-color));
}

/* Enhanced Hero Carousel Styles */
.hero-carousel {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, var(--blush-color), var(--peach-color));
}

.hero-carousel .carousel-indicators,
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    display: none;
}

.hero-slide {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    transition: all 0.6s ease-in-out;
}

.min-vh-75 {
    min-height: 80vh;
}

/* Enhanced slide animations */
.carousel-item {
    transition: transform 0.8s ease-in-out;
}

.carousel-item.active {
    transform: translateX(0);
}

.carousel-item-next,
.carousel-item-prev {
    transform: translateX(100%);
}

.carousel-item-prev {
    transform: translateX(-100%);
}

/* Content animations */
.hero-content .text-animate {
    opacity: 0;
    transform: translateY(50px);
    animation: slideInUp 1s ease forwards;
}

.hero-content .text-animate:nth-child(1) {
    animation-delay: 0.3s;
}

.hero-content .text-animate:nth-child(2) {
    animation-delay: 0.6s;
}

.hero-content .btn-animate {
    opacity: 0;
    transform: translateY(50px);
    animation: slideInUp 1s ease forwards;
    animation-delay: 0.9s;
}

.hero-image img {
    opacity: 0;
    transform: scale(1.2) rotate(5deg);
    animation: zoomInRotate 1.2s ease forwards;
    animation-delay: 0.4s;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    max-width: 100%;
    height: auto;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomInRotate {
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Enhanced Hero Section */
.min-vh-90 {
    min-height: 90vh;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge .badge {
    font-size: 0.9rem;
    border-radius: 20px;
    animation: bounceIn 1s ease;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.85) !important;
}

.hero-image-container {
    position: relative;
    perspective: 1000px;
}

.hero-main-image {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.6s ease;
    transform-style: preserve-3d;
}

.hero-main-image:hover {
    transform: rotateY(5deg) rotateX(5deg) scale(1.02);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
}

.float-1 {
    width: 60px;
    height: 60px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.float-2 {
    width: 40px;
    height: 40px;
    bottom: 20%;
    left: 15%;
    animation-delay: 2s;
}

.float-3 {
    width: 80px;
    height: 80px;
    top: 50%;
    left: 5%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Features Section */
.feature-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon i {
    transform: scale(1.1);
    color: var(--secondary-color) !important;
}

/* Enhanced Categories */
.category-item {
    transition: all 0.3s ease;
}

.category-link {
    text-decoration: none;
    color: inherit;
}

.category-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 107, 107, 0.8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.category-item:hover .category-circle {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 20px 40px rgba(255, 107, 107, 0.3);
}

.category-item:hover .category-overlay {
    opacity: 1;
}

.category-item:hover .category-image {
    transform: scale(1.2);
}

.category-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.category-item:hover .category-title {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Enhanced Product Cards */
.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: none;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image-container {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.product-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transition: all 0.3s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
}

.product-info {
    padding: 1.5rem;
}

.product-rating .stars {
    font-size: 0.9rem;
}

.rating-text {
    color: #666;
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.product-price {
    margin-bottom: 1rem;
}

.current-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.original-price {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.btn-add-to-cart {
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

/* Promotional Banner */
.promo-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.countdown {
    gap: 1rem !important;
}

.time-unit {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1rem;
    text-align: center;
    backdrop-filter: blur(10px);
    min-width: 80px;
}

.time-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.time-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.25rem;
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-text {
    font-style: italic;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.author-title {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.newsletter-form .input-group {
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form .form-control {
    border: none;
    border-radius: 25px 0 0 25px;
    padding: 1rem 1.5rem;
}

.newsletter-form .btn {
    border-radius: 0 25px 25px 0;
    padding: 1rem 2rem;
    border: none;
}

/* Size dropdown styling */
.dropdown-toggle.border-danger {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.btn-add-to-cart:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.dropdown-item.size-option:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .min-vh-90 {
        min-height: 70vh;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .category-circle {
        width: 100px;
        height: 100px;
    }
    
    .product-image-container {
        height: 200px;
    }
    
    .countdown {
        gap: 0.5rem !important;
    }
    
    .time-unit {
        min-width: 60px;
        padding: 0.75rem 0.5rem;
    }
    
    .time-value {
        font-size: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .category-circle {
        width: 80px;
        height: 80px;
    }
    
    .btn-animate .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Additional Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomInRotate {
    from {
        opacity: 0;
        transform: scale(1.2) rotate(5deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Enhanced scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Admin Dashboard Styles */
.sidebar {
    min-height: 100vh;
    background-color: var(--dark-color);
    color: white;
}

.sidebar .nav-link {
    color: rgba(255,255,255,0.8);
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    margin-bottom: 0.25rem;
}

.sidebar .nav-link:hover {
    color: white;
    background-color: rgba(255,255,255,0.1);
}

.sidebar .nav-link.active {
    color: white;
    background-color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-slide {
        min-height: 60vh;
    }
    
    .min-vh-75 {
        min-height: 60vh;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}