﻿/* Home Page Styles */

/* Hero Slider */
.hero-slider {
    height: 60vh;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

.hero-slider .carousel {
    height: 100%;
}

.hero-slider .carousel-inner {
    height: 100%;
}

.hero-slider .carousel-item {
    height: 100%;
}

.hero-slider .slide-content {
    position: relative;
    height: 100%;
}

.hero-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.5);
}

.hero-slider .carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    max-width: 800px;
    padding: 2rem;
}

.hero-slider .carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
}

.hero-slider .carousel-caption p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
}

.hero-slider .btn {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hero-slider .btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.hero-slider .btn-primary:hover {
    background: #0a8a5a;
    border-color: #0a8a5a;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(11, 163, 105, 0.3);
}

/* Carousel Controls */
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

/* Carousel Indicators */
.hero-slider .carousel-indicators {
    bottom: 3rem;
    margin: 0;
}

.hero-slider .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    margin: 0 8px;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.hero-slider .carousel-indicators button.active {
    opacity: 1;
    background: white;
    transform: scale(1.2);
}

/* Products Section */
.products-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 4rem;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.product-image {
    height: 500px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-badge .badge {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    -webkit-text-decoration: none;
    text-decoration: none;
}

.product-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
}

.product-features .feature-item {
    font-size: 1rem;
    color: var(--text-dark);
}

.product-features .feature-item i {
    color: var(--primary-color);
    min-width: 24px;
}

.product-price h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

.product-price p {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
}

.product-actions .btn {
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.product-actions .btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.product-actions .btn-primary:hover {
    background: #0a8a5a;
    border-color: #0a8a5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(11, 163, 105, 0.3);
}

.product-actions .btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-width: 2px;
}

.product-actions .btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(11, 163, 105, 0.2);
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--text-dark) 0%, #1a202c 100%);
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-section .lead {
    font-size: 1.5rem;
    opacity: 0.9;
}

.cta-buttons .btn {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cta-buttons .btn-light {
    background: white;
    color: var(--primary-color);
}

.cta-buttons .btn-light:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.cta-buttons .btn-outline-light {
    border-width: 2px;
}

.cta-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    /* Hero Slider */
    .hero-slider {
        height: 70vh;
    }
    
    .hero-slider .carousel-caption h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-slider .carousel-caption p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-slider .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-slider .carousel-control-prev,
    .hero-slider .carousel-control-next {
        width: 40px;
        height: 40px;
        margin: 0 1rem;
    }
    
    .hero-slider .carousel-indicators {
        bottom: 1.5rem;
    }
    
    .hero-slider .carousel-indicators button {
        width: 8px;
        height: 8px;
        margin: 0 4px;
    }
    
    /* Products Section */
    .products-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    /* Product Cards */
    .product-card {
        margin-bottom: 2rem;
    }
    
    .product-card .row {
        flex-direction: column !important;
    }
    
    .product-image {
        height: 300px;
        order: -1;
    }
    
    .product-content {
        padding: 2rem !important;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .product-description {
        font-size: 1rem;
    }
    
    .product-features .feature-item {
        font-size: 0.9rem;
    }
    
    .product-price h3 {
        font-size: 2rem;
    }
    
    .product-actions .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .product-actions .btn:last-child {
        margin-bottom: 0;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 4rem 0;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-section .lead {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        margin-bottom: 1rem;
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .cta-buttons .btn:last-child {
        margin-bottom: 0;
    }
}