/* ============================================
   Home Page Styles
   ============================================ */

.home-page {
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-lightest) 0%, var(--primary-lighter) 100%);
    padding: var(--spacing-xxl) 0 var(--spacing-xl);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(20, 129, 157, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: scaleIn 2s ease-out infinite alternate;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    font-weight: 900;
}

.hero-subtitle {
    font-size: 2rem;
    color: var(--primary-dark);
    font-weight: 600;
    line-height: 1.4;
}

.hero-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 100"><path d="M0,50 Q300,0 600,50 T1200,50 L1200,100 L0,100 Z" fill="%23FFFFFF"/></svg>') no-repeat bottom;
    background-size: cover;
}

/* Introduction Section */
.intro-section {
    background-color: var(--bg-white);
    padding: var(--spacing-xl) 0;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.intro-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: rotate(-2deg);
    transition: transform var(--transition-normal);
}

.intro-image-wrapper:hover {
    transform: rotate(0deg) scale(1.02);
}

.intro-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(20, 129, 157, 0.1) 0%, rgba(20, 129, 157, 0.3) 100%);
    pointer-events: none;
}

.intro-text {
    padding: var(--spacing-md);
}

.intro-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    text-align: justify;
}

/* Features Section */
.features-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--primary-lightest) 100%);
    padding: var(--spacing-xl) 0;
}

.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.feature-image-wrapper {
    order: 2;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: rotate(2deg);
    transition: transform var(--transition-normal);
}

.feature-image-wrapper:hover {
    transform: rotate(0deg) scale(1.02);
}

.feature-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.feature-text {
    order: 1;
    padding: var(--spacing-md);
}

.feature-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    text-align: justify;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: scaleIn 3s ease-out infinite alternate;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.cta-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--white);
    margin-bottom: var(--spacing-lg);
    text-align: justify;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background-color: var(--accent-yellow);
    color: var(--text-primary);
    border-color: var(--accent-yellow);
}

.btn-primary:hover {
    background-color: var(--accent-orange);
    border-color: var(--accent-orange);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.75rem;
    }
    
    .intro-content,
    .features-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .feature-image-wrapper {
        order: 1;
    }
    
    .feature-text {
        order: 2;
    }
    
    .intro-image,
    .feature-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: var(--spacing-xl) 0 var(--spacing-lg);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .intro-paragraph,
    .feature-paragraph,
    .cta-text {
        font-size: 1rem;
        text-align: left;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

