/**
 * Home Page Styles
 * Styles for front-page.php template
 *
 * @package Teachers_Planit
 */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--tp-primary) 0%, var(--tp-secondary) 100%);
    color: var(--tp-white);
    min-height: calc(100vh - var(--header-height, 80px));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section.has-background-image {
    position: relative;
    background: none;
}

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

.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(0, 0, 0, 0.88) 0%, rgba(20, 8, 40, 0.82) 100%) */
    /* background: linear-gradient(135deg, rgba(132, 88, 179, 0.85) 0%, rgba(160, 210, 235, 0.85) 100%); */
    z-index: 1;
}

.hero-section.has-background-image .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
}

.hero-heading {
    font-size: 56px;
    font-weight: 500;
    margin-bottom: 24px;
    text-transform: capitalize;
    text-align: left;
    line-height: 1.2;
    color: var(--tp-white);
}

.hero-intro {
    font-size: 20px;
    margin-bottom: 40px;
    line-height: 1.6;
    opacity: 0.95;
    text-align: left;
    width: 45%;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-heading {
        font-size: 36px;
        text-align: center;
    }

    .hero-intro {
        font-size: 18px;
        text-align: center;
        width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    .hero-background-image img {
        object-position: right;
    }
    .hero-overlay {
        opacity: 0.7;
        background:linear-gradient(135deg, rgb(0 0 0 / 85%) 0%, rgb(0 0 0 / 55%) 100%);
    }
}

/* Featured Lessons Section - Page Specific */
/* (Common styles moved to style.css) */

/* Quick Consultation Section */
.quick-consultation {
    text-align: center;
}

.quick-consultation p {
    font-size: 18px;
}

.quick-consultation .btn-secondary {
    font-size: 18px;
    padding: 18px 40px;
}

/* Latest Posts Section */
.latest-posts {
    background-color: var(--tp-light);
}

.latest-posts .blog-most-read-item-content h3 {
    margin-bottom: 12px;
}

.latest-posts .blog-most-read-item-content h3 a {
    color: var(--tp-dark);
    text-decoration: none;
}
