/* Hero Section */
.hero {
    padding: 60px 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(249, 247, 242, 1));
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
    background: #fff;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.hero-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 400px;
    /* Limit height on desktop */
    width: auto;
}

.hero-text {
    flex: 1.5;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    border-bottom: 3px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 10px;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--subtext-color);
    white-space: pre-line;
}

/* Intro Page Image */
.intro-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* RWD */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-image {
        min-width: auto;
        width: 100%;
    }

    .hero-image img {
        max-height: 300px;
        /* Smaller max height on mobile */
        width: 100%;
    }
}