/* Modern Home Page Styles */

/* Hero Section */
.hero-modern {
    padding: 120px 0 80px;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
    margin-top: 0; /* Remove top gap */
}

.hero-modern.hero-fullwidth {
    padding: 150px 0 100px;
    background-color: transparent;
    min-height: 600px;
    display: flex;
    align-items: center;
}

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

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.85) 0%, rgba(233, 78, 78, 0.75) 100%);
    z-index: 2;
}

.hero-content-modern {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.hero-fullwidth .hero-content-modern {
    justify-content: center;
    text-align: center;
}

.hero-text-modern {
    flex: 1;
    color: #fff;
    padding: 60px 0;
    z-index: 3;
}

.hero-fullwidth .hero-text-modern {
    max-width: 900px;
    color: white;
    position: relative;
}


.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #2c3e50;
    position: relative;
}

.hero-fullwidth .hero-title {
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
    color: #e94e4e;
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(233, 78, 78, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.hero-fullwidth .hero-title .highlight {
    color: #ffffff;
}

.hero-fullwidth .hero-title .highlight::after {
    display: none;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons-modern {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-fullwidth .hero-buttons-modern {
    justify-content: center;
}

.hero-btn {
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
}

.hero-btn-primary {
    background-color: #e94e4e;
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(233, 78, 78, 0.2);
}

.hero-btn-primary:hover {
    background-color: #d43b3b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 78, 78, 0.4);
}

.hero-btn-outline {
    background-color: transparent;
    color: #333;
    border: 2px solid #ccc;
}

.hero-btn-outline:hover {
    background-color: #f8f9fa;
    border-color: #bbb;
    transform: translateY(-2px);
}

.hero-fullwidth .hero-btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.hero-fullwidth .hero-btn-outline:hover {
    background-color: white;
    color: #e94e4e;
}

.hero-image-modern {
    flex: 1;
    position: relative;
    max-width: 500px;
}

.hero-image-modern img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.hero-image-modern:hover img {
    transform: translateY(-10px);
}

.hero-fullwidth .hero-image-modern {
    display: none;
}

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

.hero-fullwidth .hero-stats {
    justify-content: center;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #e94e4e;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-fullwidth .stat-number {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-fullwidth .stat-label {
    color: rgba(255, 255, 255, 0.9);
}

/* Image Showcase Section */
.image-showcase-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.showcase-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    grid-column: span 6;
    min-height: 350px;
}

.showcase-card.showcase-large {
    grid-column: span 7;
    min-height: 450px;
}

.showcase-card.showcase-wide {
    grid-column: span 5;
    min-height: 450px;
}

.showcase-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-card:hover img {
    transform: scale(1.08);
}

.showcase-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(233, 78, 78, 0.95) 0%, rgba(44, 62, 80, 0.9) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.showcase-card:hover .showcase-overlay {
    opacity: 1;
}

.showcase-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.showcase-card:hover .showcase-content {
    transform: translateY(0);
}

.showcase-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.showcase-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

.showcase-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 28px;
    border: 2px solid white;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.showcase-link:hover {
    background-color: white;
    color: #e94e4e;
    gap: 12px;
}

/* Features Image Grid Section - 2x2 */
.features-image-grid-section {
    padding: 100px 0;
    background-color: white;
}

.features-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.feature-image-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 400px;
    aspect-ratio: 1 / 1;
}

.feature-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-image-card:hover img {
    transform: scale(1.08);
}

.feature-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(233, 78, 78, 0.95) 0%, rgba(44, 62, 80, 0.9) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.feature-image-card:hover .feature-image-overlay {
    opacity: 1;
}

.feature-image-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.feature-image-card:hover .feature-image-content {
    transform: translateY(0);
}

.feature-image-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.feature-image-content p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

.feature-image-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 28px;
    border: 2px solid white;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.feature-image-link:hover {
    background-color: white;
    color: #e94e4e;
    gap: 12px;
}

/* Features Section */
.features-modern {
    padding: 100px 0;
    background-color: white;
}

.section-header-modern {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-subtitle {
    display: inline-block;
    color: #e94e4e;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2c3e50;
    line-height: 1.2;
}

.section-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

.features-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card-modern {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon-modern {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(233, 78, 78, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #e94e4e;
    font-size: 1.8rem;
}

.feature-card-modern h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c3e50;
}

.feature-card-modern p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.feature-link {
    color: #e94e4e;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.feature-link:hover {
    gap: 10px;
}

/* Product Showcase Section */
.product-showcase {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.product-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.product-card-image {
    height: 200px;
    overflow: hidden;
}

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

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

.product-card-content {
    padding: 30px;
}

.product-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c3e50;
}

.product-card-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-features {
    margin-bottom: 20px;
}

.product-feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.product-feature-icon {
    color: #e94e4e;
    margin-right: 10px;
    font-size: 1rem;
}

.product-feature-text {
    font-size: 0.9rem;
    color: #666;
}

.product-card-cta {
    display: inline-block;
    background-color: #e94e4e;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.product-card-cta:hover {
    background-color: #d43b3b;
    transform: translateY(-3px);
}

/* Testimonials Section */
.testimonials-modern {
    padding: 100px 0;
    background-color: white;
}

.testimonials-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card-modern {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #e0e0e0;
}

.testimonial-quote {
    color: #e94e4e;
    font-size: 2rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

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

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

.testimonial-author-modern img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #2c3e50;
}

.testimonial-author-info span {
    font-size: 0.9rem;
    color: #888;
}

.client-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 60px;
}

.client-logo {
    max-width: 120px;
    height: auto;
    opacity: 0.7;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* CTA Section */
.cta-modern {
    padding: 80px 0;
    background: linear-gradient(135deg, #e94e4e 0%, #d43b3b 100%);
    color: white;
    text-align: center;
}

.cta-content-modern {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content-modern h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.cta-content-modern p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons-modern {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-btn-white {
    background-color: white;
    color: #e94e4e;
    border: 2px solid white;
}

.cta-btn-white:hover {
    background-color: transparent;
    color: white;
}

.cta-btn-outline-white {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .hero-content-modern {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text-modern {
        max-width: 100%;
    }
    
    .hero-buttons-modern {
        justify-content: center;
    }
    
    .hero-image-modern {
        max-width: 400px;
    }
    
    .hero-stats {
        justify-content: center;
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .showcase-card,
    .showcase-card.showcase-large,
    .showcase-card.showcase-wide {
        grid-column: span 12;
        min-height: 300px;
    }
    
    .features-image-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-image-card {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .hero-modern {
        padding: 100px 0 60px;
    }
    
    .hero-modern.hero-fullwidth {
        padding: 120px 0 80px;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-buttons-modern {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-btn {
        width: 100%;
    }
    
    .hero-stats {
        gap: 25px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .features-modern, .product-showcase, .testimonials-modern, .image-showcase-section, .features-image-grid-section {
        padding: 70px 0;
    }
    
    .feature-image-content h3 {
        font-size: 1.5rem;
    }
    
    .feature-image-content p {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .showcase-content h3 {
        font-size: 1.5rem;
    }
    
    .showcase-content p {
        font-size: 1rem;
    }
    
    .cta-content-modern h2 {
        font-size: 2rem;
    }
    
    .cta-buttons-modern {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-buttons-modern .hero-btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .showcase-content h3 {
        font-size: 1.3rem;
    }
    
    .showcase-content p {
        font-size: 0.95rem;
    }
    
    .showcase-overlay {
        padding: 25px;
    }
    
    .feature-image-overlay {
        padding: 25px;
    }
    
    .feature-image-content h3 {
        font-size: 1.3rem;
    }
    
    .feature-image-content p {
        font-size: 0.9rem;
    }
}
