/* Home Page Styles */

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for better text visibility */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 650px;
}

.hero-title {
    color: var(--white);
    margin-bottom: var(--space-lg);
    font-size: 3.5rem;
}

.hero-title span {
    color: var(--primary-red);
}

.hero-subtitle {
    color: var(--light-gray);
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
}

/* Intro Section */
.intro {
    position: relative;
    background-color: var(--white);
    padding: var(--space-xxl) 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.intro-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-medium);
}

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

.intro-icon {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: var(--space-md);
}

.intro-title {
    margin-bottom: var(--space-sm);
    font-size: 1.5rem;
}

/* Products Preview */
.products-preview {
    background-color: var(--light-gray);
    padding: var(--space-xxl) 0;
}

.product-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.product-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-medium);
}

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

.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-content {
    padding: var(--space-lg);
}

.product-title {
    margin-bottom: var(--space-sm);
    font-size: 1.25rem;
}

.product-link {
    display: inline-block;
    margin-top: var(--space-md);
    color: var(--primary-red);
    font-weight: 500;
}

.product-link:hover {
    text-decoration: underline;
}

/* Testimonials Section */
.testimonials {
    padding: var(--space-xxl) 0;
    background-color: #f8f8f8;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(243, 0, 0, 0.03) 0%, rgba(255, 255, 255, 0.1) 100%);
    z-index: 0;
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
}

.testimonials h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-red);
    z-index: 1;
}

/* Testimonial Slider */
.testimonial-slider {
    max-width: 900px;
    margin: 0 auto 30px;
    position: relative;
    overflow: hidden;
    height: 340px;
}

.testimonial-item {
    background-color: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    text-align: center;
    margin: 0 auto;
    transition: all 0.5s ease-in-out;
    border: 1px solid #f2f2f2;
    border-radius: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
    visibility: hidden;
    box-sizing: border-box;
    height: 100%;
}

.testimonial-item.active {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
    position: relative;
    transition: transform 0.7s ease-in-out, opacity 0.7s ease-in-out;
    z-index: 2;
}

.testimonial-item.prev {
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.7s ease-in-out, opacity 0.7s ease-in-out;
    z-index: 1;
}

.testimonial-item.next {
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.7s ease-in-out, opacity 0.7s ease-in-out;
    z-index: 1;
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    position: relative;
}

.quote-icon {
    color: var(--primary-red);
    font-size: 40px;
    opacity: 0.2;
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    color: var(--dark-gray);
    position: relative;
    padding-top: 10px;
    flex-grow: 1;
}

.testimonial-author-info {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 2px solid var(--primary-red);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.author-details {
    text-align: left;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 5px;
    font-size: 1.05rem;
}

.testimonial-position {
    color: var(--primary-red);
    font-size: 0.9rem;
    margin: 0;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary-red);
    transform: scale(1.3);
}

/* CTA Section */
.cta {
    padding: var(--space-xl) 0;
    background: var(--red-gradient);
    color: var(--white);
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.cta-text {
    margin-bottom: var(--space-lg);
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    background-color: var(--white);
    color: var(--primary-red);
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background-color: var(--primary-black);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .intro-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .product-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 500px;
        height: auto;
        padding: 100px 0 50px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .intro-grid,
    .product-cards {
        gap: var(--space-md);
    }
    
    .testimonial-item {
        padding: 30px 20px;
    }
    
    .testimonial-quote {
        font-size: 0.95rem;
        padding-top: 30px;
    }
    
    .author-image {
        width: 50px;
        height: 50px;
    }
    
    .testimonial-author-info {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .author-details {
        text-align: center;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .testimonial-slider {
        padding-bottom: 50px;
        height: 400px;
    }
    
    .testimonial-item {
        padding: 20px 15px;
    }
    
    .testimonial-quote {
        font-size: 0.9rem;
    }
} 