/**
 * Homepage Styles
 * Main stylesheet for homepage layout and components
 */

/* ===========================
   HERO SECTION
   =========================== */

.hero-section {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
    max-width: 1200px;
    background: white;
	margin-bottom: 50px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-repeat: no-repeat;
    background-size: cover;
	background-image: url('/assets/images/hero.webp');
}

.hero-overlay {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    width: 100%;
}

.hero-container {
    width: 50%;
    margin-left: 200px;
}

.hero-content {
    text-align: right;
    max-width: 500px;
    margin: 50px;
    border-radius: 15px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #7a5b9d;
    margin-top: 160px;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #333;
    width: 300px;
    margin-left: 200px;
    padding: 0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
	margin-left: 50px;
  	margin-top: 200px;
}

/* ===========================
   FEATURES SECTION
   =========================== */

.features-section {
    padding: 50px 0 200px 0;
    background-color: var(--color-white);
    background-size: cover;
    background-repeat: no-repeat;
    max-height: 483px;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--color-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding-left: 60px;
    padding-right: 60px;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 0 0 25px 25px;
    text-align: center;
    margin-top: -60px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--color-white);
}

.feature-icon img {
    width: 100%;
    height: auto;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--color-primary);
}

/* ===========================
   TESTIMONIALS SECTION
   =========================== */

.testimonials-section {
    padding: 1rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.testimonial-rating {
    margin-bottom: 1rem;
}

.testimonial-rating .fa-star {
    color: #ddd;
    margin: 0 2px;
}

.testimonial-rating .fa-star.active {
    color: #ffc107;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
    border: none;
    padding: 0;
}

.testimonial-author {
    color: var(--color-primary);
    font-weight: 500;
}

/* ===========================
   CONTENT SECTION (CMS)
   =========================== */

.content-section {
    padding: 0;
	background-image: url('/assets/images/buble_l.webp');
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    max-width: 1200px;
    background-color: white;
    margin: 0;
    height: 642px;
}

.content-section-left {
    padding-top: 220px;
    padding-left: 100px;
}

.content-section-left h1 {
    color: white;
}

.content-section-right {
    width: 380px;
    margin-left: 60%;
    margin-top: -320px;
}

.content-section-right p {
    font-size: 1.3rem;
}

.cms-content {
    margin: 0 auto;
}

.cms-content h1,
.cms-content h2,
.cms-content h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.cms-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* ===========================
   CTA SECTION
   =========================== */

.cta-section {
    padding: 0;
    background-color: var(--color-white);
	background-image: url('/assets/images/books.webp');
    color: var(--color-dark);
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    max-width: 1200px;
    margin: 0;
    height: 452px;
}

.cta-section-left {
    padding-top: 220px;
    padding-left: 100px;
}

.cta-section-right {
    width: 380px;
    margin-left: 65%;
    margin-top: -160px;
}

.cta-section-right h2 {
    color: white;
}

.cta-section-right p {
    color: white;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--color-dark);
}

.btn-primary-cta {
    border: 1px solid #fff;
    margin-left: 50px;
    margin-top: 50px;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.25rem;
}

.cta-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--color-dark);
}