/* --- Hero Section (Homepage Only) --- */
.hero {
    background-image: 
        linear-gradient(135deg, rgba(107, 142, 35, 0.1), rgba(217, 166, 164, 0.1)),
        url('../images/kyoto-hero.jpg'); /* <<< ADD A HERO IMAGE HERE */
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2rem 4rem;
    border-radius: 10px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: white;
}

.hero p {
    font-size: 1.2rem;
}

/* --- Specific Override for Homepage Content --- */
#home-content {
    margin-top: -50px; /* Pulls the content up over the hero image */
    position: relative;
    z-index: 10;
}

.intro {
    text-align: center;
    margin-bottom: 40px;
}

/* --- Highlights & Cards (Homepage Only) --- */
.highlights h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
}

.card-container {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.card {
    background-color: rgba(255, 255, 255, 0.96);
    background-image: 
        linear-gradient(135deg, rgba(107, 142, 35, 0.05) 0%, rgba(217, 166, 164, 0.05) 100%);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    flex-basis: 30%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card h3, .card p {
    padding: 0 20px;
}

.card h3 {
    color: var(--accent-green);
    margin-top: 15px;
}

.card p {
    padding-bottom: 20px;
}

/* --- Responsive Design --- */
/* Tablets (1024px and below) */
@media (max-width: 1024px) {
    .hero {
        height: 50vh;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-content {
        padding: 1.5rem 3rem;
    }

    .card-container {
        gap: 20px;
    }

    .card {
        flex-basis: 32%;
    }

    .highlights h2 {
        font-size: 1.8rem;
    }

    .intro {
        margin-bottom: 30px;
    }

    .intro p {
        font-size: 0.95rem;
    }
}

/* Mobile Devices (768px and below) */
@media (max-width: 768px) {
    .hero {
        height: 40vh;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .hero-content {
        padding: 1.5rem 2rem;
    }

    #home-content {
        margin-top: -30px;
    }

    .card-container {
        flex-direction: column;
        gap: 20px;
    }

    .card {
        flex-basis: 100%;
    }

    .card img {
        height: 250px;
    }

    .card h3, .card p {
        padding: 0 15px;
    }

    .card h3 {
        margin-top: 12px;
    }

    .highlights h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .intro h1 {
        font-size: 1.5rem;
    }

    .intro p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
}

/* Small Mobile Devices (480px and below) */
@media (max-width: 480px) {
    .hero {
        height: 35vh;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.8rem;
    }

    .hero-content {
        padding: 1rem 1.5rem;
    }

    #home-content {
        margin-top: -20px;
    }

    .card img {
        height: 200px;
    }

    .card h3, .card p {
        padding: 0 12px;
    }

    .card p {
        padding-bottom: 15px;
        font-size: 0.9rem;
    }

    .card h3 {
        font-size: 1.1rem;
    }

    .highlights h2 {
        font-size: 1.3rem;
    }

    .intro h1 {
        font-size: 1.3rem;
    }
}