/* Styles specific to the homepage */

/* Hero Slider */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
}
.hero-slider {
    width: 100%;
    height: 100%;
}
.hero .swiper-slide {
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}
.hero .swiper-slide::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
}
.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.slide-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}
.slide-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
}
.hero .swiper-button-next, .hero .swiper-button-prev {
    color: var(--accent-color);
}
.hero .swiper-button-next:after, .hero .swiper-button-prev:after {
    font-size: 2rem;
}
.hero .swiper-pagination-bullet {
    background-color: var(--text-muted);
}
.hero .swiper-pagination-bullet-active {
    background-color: var(--accent-color);
}

/* Special Offer Slider */
.special-offer-section .section-title {
    color: var(--dark-text);
}
.offer-slider {
    width: 100%;
    height: auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.offer-slider .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
}
.offer-slider .swiper-slide img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}
.offer-slider .swiper-button-next,
.offer-slider .swiper-button-prev {
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.7);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: background-color 0.3s;
}
.offer-slider .swiper-button-next:hover,
.offer-slider .swiper-button-prev:hover {
    background-color: rgba(255, 255, 255, 1);
}
.offer-slider .swiper-button-next::after,
.offer-slider .swiper-button-prev::after {
    font-size: 1.5rem;
    font-weight: bold;
}
.offer-slider .swiper-pagination-bullet {
    background: #ccc;
    opacity: 1;
}
.offer-slider .swiper-pagination-bullet-active {
    background-color: var(--accent-color);
}

/* Products Preview */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.product-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #333;
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(250, 223, 14, 0.1);
}
.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.product-card .card-content {
    padding: 25px;
}
.product-card h3 {
    color: var(--accent-color);
    margin-bottom: 10px;
}
.product-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Why Choose Us */
.why-choose-us {
    background-color: var(--secondary-color);
}
.why-choose-us.section-light {
    background-color: var(--light-bg-alt);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}
.feature-card {
    background: var(--primary-color);
    padding: 40px 20px;
    border-radius: 10px;
    border-bottom: 4px solid transparent;
    transition: all 0.3s ease;
}
.section-light .feature-card {
    background-color: var(--light-bg);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--accent-color);
}
.section-light .feature-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.feature-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}
.feature-card h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 15px;
}
.section-light .feature-card h3 {
    color: var(--dark-text);
}
.feature-card p {
    color: var(--text-muted);
}
.section-light .feature-card p {
    color: var(--dark-text-muted);
}

/* Testimonials */
.testimonials {
    background-color: var(--secondary-color);
}
.testimonials-slider .swiper-slide {
    padding: 20px;
}
.testimonial-card {
    background: var(--primary-color);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    border-left: 5px solid var(--accent-color);
}
.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.testimonial-author {
    font-weight: bold;
    color: var(--text-color);
}
.testimonials .swiper-pagination-bullet {
    background-color: var(--text-muted);
}
.testimonials .swiper-pagination-bullet-active {
    background-color: var(--accent-color);
}

/* Materials Section */
.materials-section {
    background-color: var(--primary-color);
}
.materials-section.section-light {
    background-color: var(--light-bg);
}
.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}
.material-card {
    background: var(--secondary-color);
    padding: 40px 20px;
    border-radius: 10px;
    border-top: 4px solid var(--accent-color);
    transition: all 0.3s ease;
}
.section-light .material-card {
    background-color: var(--light-bg-alt);
    border-top: none;
    border-bottom: 4px solid var(--accent-color);
}
.material-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.material-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}
.material-card h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 15px;
}
.section-light .material-card h3 {
    color: var(--dark-text);
}
.material-card p {
    color: var(--text-muted);
}
.section-light .material-card p {
    color: var(--dark-text-muted);
}


/* Commitment/CTA Section */
.commitment-section {
    background: var(--primary-color) url('factory-2.png') no-repeat center center/cover;
    background-blend-mode: overlay;
    position: relative;
    text-align: center;
}
.commitment-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
}
.commitment-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}
.commitment-content .section-title {
    color: var(--text-color);
}
.commitment-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

@media (max-width: 992px) {
    .slide-content h1 {
        font-size: 2.5rem;
    }
}