/* ==================================
   HOMEPAGE - COMPLETE
   ================================== */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--murad-primary) 0%, var(--murad-accent) 50%, #e74c3c 100%);
    color: #fff;
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

.hero p {
    font-size: 24px;
    margin-bottom: 30px;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out;
}

.hero .btn {
    background: #fff;
    color: var(--murad-primary);
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 700;
    animation: fadeInUp 1.2s ease-out;
}

.hero .btn:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

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

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

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

.feature {
    background: #fff;
    padding: 40px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.feature i {
    font-size: 56px;
    color: var(--murad-primary);
    margin-bottom: 20px;
    display: block;
}

.feature h3 {
    font-size: 22px;
    color: var(--murad-dark);
    margin-bottom: 10px;
}

.feature p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* Categories Section */
.categories {
    padding: 80px 0;
    background: #fff;
}

.categories h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 15px;
    color: var(--murad-dark);
}

.categories > .container > p {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
}

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

.cat-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.cat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.cat-card a {
    display: block;
    padding: 40px 20px;
    text-align: center;
    text-decoration: none;
}

.cat-card i {
    font-size: 56px;
    color: var(--murad-primary);
    margin-bottom: 20px;
    display: block;
}

.cat-card h3 {
    font-size: 22px;
    color: var(--murad-dark);
    margin-bottom: 10px;
}

.cat-card span {
    color: var(--murad-primary);
    font-weight: 600;
    font-size: 14px;
}

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

.products-section h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 50px;
    color: var(--murad-dark);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--murad-secondary), var(--murad-dark));
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 42px;
    color: #fff;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-section .btn {
    padding: 18px 50px;
    font-size: 20px;
}

/* Responsive */
@media (max-width: 1200px) {
    .features-grid,
    .cat-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (max-width: 768px) {
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .features,
    .categories,
    .products-section,
    .cta-section {
        padding: 50px 0;
    }
    
    .features-grid,
    .cat-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .categories h2,
    .products-section h2,
    .cta-section h2 {
        font-size: 32px;
    }
}

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

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 42px;
    color: var(--murad-dark);
    margin-bottom: 10px;
}

.section-header p {
    font-size: 18px;
    color: #666;
}

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

.product-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

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

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}

.badge-sale {
    background: var(--murad-danger);
    color: #fff;
}

.badge-out {
    background: #95a5a6;
    color: #fff;
}

.product-info {
    padding: 20px;
}

.product-title a {
    font-size: 18px;
    color: var(--murad-dark);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    line-height: 1.4;
}

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

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

.btn-cart {
    width: 100%;
    padding: 12px;
    text-align: center;
    gap: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--murad-primary);
    color: var(--murad-primary);
}

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

.no-products {
    text-align: center;
    padding: 80px 20px;
}

.no-products i {
    font-size: 64px;
    color: #ccc;
    margin-bottom: 20px;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: #fff;
}

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

.testimonial-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-stars {
    color: #f39c12;
    margin-bottom: 15px;
}

.testimonial-stars i {
    font-size: 18px;
}

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

.testimonial-author {
    border-top: 2px solid #e0e0e0;
    padding-top: 15px;
}

.testimonial-author strong {
    display: block;
    color: var(--murad-dark);
    margin-bottom: 5px;
}

.testimonial-author span {
    font-size: 13px;
    color: #999;
}

/* Enhanced Hero */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

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

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

.btn-white {
    background: #fff;
    color: var(--murad-primary);
}

.btn-white:hover {
    background: #f8f9fa;
}

.hero-shape {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 100px;
    background: #fff;
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
}

/* CTA Enhanced */
.cta-content {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: space-between;
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-icon i {
    font-size: 36px;
    color: #fff;
}

.cta-text {
    flex: 1;
}

.cta-text h2 {
    color: #fff;
    margin-bottom: 10px;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
}
