/* Front Page Specific Styles */

/* --- HERO SECTION --- */
.hero-section {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-image-placeholder {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
    opacity: 0.1;
    border-radius: 50%;
    z-index: 1;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-buttons .button.outline {
    background: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
}

.hero-buttons .button.outline:hover {
    background: var(--color-white);
    color: var(--color-primary);
}


/* --- SECTIONS GENERAL --- */
.front-page-section {
    padding: 5rem 0;
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 600px;
}


/* --- SERVICES GRID (Images Grid) --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    height: 300px;
    background-color: var(--color-bg);
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem;
    color: white;
}

.service-title {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}


/* --- CTA STRIP --- */
.cta-strip {
    background-color: var(--color-primary);
    color: white;
    padding: 3rem 0;
    margin: 4rem 0;
}

.cta-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.cta-text h2 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.cta-text p {
    opacity: 0.9;
    margin: 0;
}

.cta-strip .button {
    background-color: var(--color-accent);
    color: var(--color-primary);
}


/* --- SPLIT CONTENT --- */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-image {
    position: relative;
}

.split-image img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.split-content h3 {
    font-size: 1.2rem;
    color: var(--color-accent);
    /* Small tag styling */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.split-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.feature-list li::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--color-accent);
    color: var(--color-primary);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: bold;
}


/* --- STATS GRID (Blue Section) --- */
.stats-section {
    background-color: var(--color-primary);
    color: white;
    padding: 5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: left;
}

.stat-item h3 {
    color: var(--color-accent);
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: white;
    opacity: 0.8;
}

.stat-item h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}


/* --- BLOG GRID --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    margin-bottom: 1.5rem;
}


/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .header-image-placeholder {
        display: none;
    }

    .split-section {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}