/* Index page specific styles */

/* Hero section */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-10) 0;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    text-align: left;
    padding: var(--spacing-6);
    animation: fadeInLeft 1s ease-out;
    z-index: 1;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-content h1 {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-2);
    color: var(--color-primary);
}

.hero-content .subtitle {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-6);
    color: var(--color-text);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-4);
    margin-top: var(--spacing-6);
}

.hero-image {
    flex: 1;
    max-width: 500px;
    position: relative;
    animation: fadeInRight 1s ease-out;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-normal);
}

.hero-image:hover img {
    transform: scale(1.02);
}

/* Home content section */
.home-content {
    padding: var(--spacing-10) 0;
    background-color: var(--color-light);
}

.home-content .card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.home-content .card .btn {
    margin-top: auto;
    align-self: flex-start;
    margin-top: var(--spacing-4);
}

/* Responsive styles */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-6) 0;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
        padding: var(--spacing-4);
        margin-bottom: var(--spacing-6);
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: var(--font-size-3xl);
    }
    
    .hero-content .subtitle {
        font-size: var(--font-size-lg);
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: var(--spacing-2);
    }
    
    .home-content .row > div:first-child {
        margin-bottom: var(--spacing-6);
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: var(--font-size-2xl);
    }
    
    .hero-image {
        max-width: 100%;
    }
}
