/* Modern Homepage Styles */

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* Modern Hero Section */
.modern-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 700px;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.modern-hero::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="%23ffffff" fill-opacity="0.05" 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;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: #fbbf24;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    opacity: 0.95;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-features {
    display: flex;
    gap: 25px;
    margin-bottom: 35px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.hero-feature i {
    font-size: 18px;
    color: #fbbf24;
}

.hero-cta {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.hero-cta .btn {
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.hero-cta .btn-primary {
    background: #fbbf24;
    color: #1f2937;
    border: none;
}

.hero-cta .btn-primary:hover {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(251, 191, 36, 0.3);
}

.hero-cta .btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.hero-cta .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: #fbbf24;
}

.stat-label {
    font-size: 13px;
    opacity: 0.9;
}

/* Hero Image */
.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image-wrapper {
    position: relative;
    text-align: center;
}

.hero-image-wrapper .main-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.floating-card {
    position: absolute;
    background: #fff;
    padding: 15px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 24px;
    color: var(--secondary-color);
}

.floating-card span {
    font-weight: 600;
    color: var(--text-dark);
}

.card-1 {
    top: 20%;
    left: -20px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20%;
    right: -20px;
    animation-delay: 1.5s;
}

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

/* Trust Bar */
.trust-bar {
    background: var(--bg-white);
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.trust-item:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.trust-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.trust-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 3px;
    color: var(--text-dark);
}

.trust-content p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
}

/* Section Styles */
.section-header {
    margin-bottom: 50px;
}

.section-header.text-center {
    text-align: center;
}

.section-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
}

/* Categories Section */
.categories-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.category-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.category-icon img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.category-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.category-count {
    font-size: 13px;
    color: var(--text-light);
    display: block;
    margin-bottom: 15px;
}

.category-arrow {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.category-card:hover .category-arrow {
    background: var(--primary-color);
    color: #fff;
}

/* Featured Products */
.featured-products {
    padding: 80px 0;
    background: var(--bg-white);
}

.featured-products .section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.btn-view-all {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background: var(--primary-color);
    color: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge-sale, .badge-featured {
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-sale {
    background: #ef4444;
    color: #fff;
}

.badge-featured {
    background: var(--secondary-color);
    color: #fff;
}

.product-image {
    position: relative;
    padding: 20px;
    background: var(--bg-light);
    overflow: hidden;
}

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

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

.product-actions {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: all 0.3s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
}

.action-btn {
    width: 40px;
    height: 40px;
    background: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.action-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.product-content {
    padding: 20px;
}

.product-category {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.product-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: var(--primary-color);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.product-rating .star-rating {
    color: #fbbf24;
}

.review-count {
    font-size: 12px;
    color: var(--text-light);
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.product-price del {
    font-size: 14px;
    color: var(--text-light);
    margin-right: 8px;
}

.product-price ins {
    text-decoration: none;
}

.btn-add-cart {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-add-cart:hover {
    background: var(--primary-dark);
}

/* Why Choose Us */
.why-choose-us {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.why-content {
    padding-right: 50px;
}

.section-description {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 30px;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.why-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.why-image {
    position: relative;
}

.why-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: linear-gradient(135deg, var(--secondary-color), #059669);
    color: #fff;
    padding: 25px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge .years {
    display: block;
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.9;
}

/* Testimonials */
.testimonials-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-avatar i {
    font-size: 50px;
    color: var(--text-light);
}

.author-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.author-info span {
    font-size: 13px;
    color: var(--text-light);
}

/* Newsletter */
.newsletter-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.newsletter-box {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-xl);
    padding: 50px;
    color: #fff;
}

.newsletter-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.newsletter-content p {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
}

.newsletter-form .input-group {
    display: flex;
    gap: 10px;
}

.newsletter-form .form-control {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
}

.newsletter-form .form-control:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.btn-subscribe {
    padding: 15px 30px;
    background: #fbbf24;
    color: #1f2937;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-subscribe:hover {
    background: #f59e0b;
    transform: translateY(-2px);
}

.privacy-note {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 10px;
    margin-bottom: 0;
}

.privacy-note i {
    margin-right: 5px;
}

/* Trust Logos */
.trust-logos {
    padding: 40px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
}

.trust-logos-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

.trust-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
}

.trust-logo i {
    font-size: 24px;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 44px;
    }
    
    .categories-grid,
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .modern-hero {
        padding: 80px 0 60px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-features {
        flex-wrap: wrap;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .trust-items {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .categories-grid,
    .products-grid,
    .testimonials-slider {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .trust-logos-wrap {
        flex-wrap: wrap;
        gap: 30px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .trust-items {
        grid-template-columns: 1fr;
    }
    
    .categories-grid,
    .products-grid,
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .newsletter-box {
        padding: 30px;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
    }
    
    .featured-products .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}