/* Home Page Styles */

:root {
    --primary-color: #6a11cb; /* Main purple theme color */
    --primary-color-light: #8a6caf;
    --primary-color-dark: #4a2c73;
    --primary-gradient: linear-gradient(to right, #6a11cb, #2575fc);
    --danger-color: #e63946;
    --success-color: #2a9d8f;
    --warning-color: #f4a261;
    --background-light: #f8f9fa;
    --text-color: #333;
    --border-color: #e0e0e0;
}

/* Hero Banner Carousel */
.hero-carousel {
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.hero-carousel-inner {
    display: flex;
    transition: transform 0.6s ease;
}

.hero-carousel-item {
    flex: 0 0 100%;
    position: relative;
}

.hero-img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.hero-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 15px 20px;
    text-align: center;
}

.hero-caption h3 {
    margin: 0;
    font-weight: 700;
    font-size: 24px;
}

.hero-caption p {
    margin: 8px 0 0;
    font-size: 16px;
}

.hero-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 25px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    color: white;
}

.hero-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}

.hero-control {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.hero-control:hover {
    background: white;
    transform: scale(1.1);
}

.hero-dots {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
    z-index: 10;
}

.hero-dot {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: white;
    transform: scale(1.3);
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

@media (max-width: 1199px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
}

.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.category-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.5s ease;
}

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

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    padding: 20px;
    color: white;
    transition: all 0.3s ease;
}

.category-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

.category-subtitle {
    margin: 5px 0 0;
    font-size: 14px;
    opacity: 0.9;
}

/* Section Titles */
.section-title {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 15px;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 3px;
}

.section-subtitle {
    text-align: center;
    margin-top: -20px;
    margin-bottom: 30px;
    color: #666;
    font-size: 16px;
}

/* New Arrivals */
.new-arrivals {
    margin-bottom: 50px;
}

.new-arrival-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-gradient);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    z-index: 5;
}

/* Testimonials */
.testimonial-section {
    padding: 50px 0;
    background-color: #f9f9f9;
    margin-bottom: 50px;
}

.testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    margin: 0 15px;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

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

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 3px solid var(--primary-color);
}

/* Banner Sections */
.banner-section {
    margin-bottom: 50px;
}

.banner-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.banner-item {
    flex: 1 1 calc(50% - 10px);
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    min-height: 200px;
}

@media (max-width: 767px) {
    .banner-item {
        flex: 1 1 100%;
    }
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.banner-item:hover .banner-img {
    transform: scale(1.05);
}

.banner-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    background: rgba(0,0,0,0.3);
    color: white;
}

.banner-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.banner-text {
    font-size: 16px;
    margin-bottom: 20px;
    max-width: 80%;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.banner-btn {
    display: inline-block;
    padding: 8px 20px;
    background: white;
    color: #333;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    align-self: flex-start;
}

.banner-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Newsletter Section */
.newsletter-section {
    background: var(--primary-gradient);
    padding: 50px 0;
    margin-bottom: 50px;
    color: white;
}

.newsletter-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.newsletter-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.newsletter-subtitle {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.9;
    max-width: 600px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    width: 100%;
}

.newsletter-input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-size: 16px;
}

.newsletter-button {
    padding: 12px 25px;
    background: #333;
    color: white;
    border: none;
    border-radius: 0 30px 30px 0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-button:hover {
    background: #000;
}

/* Footer CTA */
.cta-section {
    text-align: center;
    margin-bottom: 50px;
    padding: 50px 0;
    background: #f9f9f9;
}

.cta-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.cta-text {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #666;
}

.cta-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    font-size: 18px;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    color: white;
}

/* Animation for numbers */
.number-counter {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.counter-title {
    font-size: 16px;
    color: #666;
}

.counter-item {
    text-align: center;
    padding: 20px;
}
