:root {
    --ocean: #5e7684;
    --storm: #3f4f59;
    --sand: #d7c8ab;
    --grass: #7c8667;
    --white: #f5f5f3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, serif;
    background: #f3f4f2;
    color: #2d3436;
}

/* HERO SECTION */

.hero {
    min-height: 50vh;

    background:
        linear-gradient(
            rgba(30, 40, 50, 0.35),
            rgba(30, 40, 50, 0.35)
        ),
        url("/Images/hero.jpg");

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 40px;
}

.hero-content {
    max-width: 900px;
    color: white;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 300;
    margin-bottom: 20px;
}

.subtitle {
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.intro {
    font-size: 1.3rem;
    line-height: 1.8;
    max-width: 700px;
    margin: auto;
}

/* LANGUAGE CARDS */

.languages {
    width: min(1200px, 90%);

    margin-left: auto;
    margin-right: auto;

    margin-top: -80px;

    position: relative;
    z-index: 10;

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(280px, 1fr));

    gap: 30px;
}

.card {
    background: white;

    border-radius: 12px;

    overflow: hidden;

    text-decoration: none;
    color: inherit;

    box-shadow: 0 10px 30px rgba(0,0,0,0.15);

    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
}

.card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.card-content {
    padding: 30px;
}

.card h2 {
    color: var(--storm);
    margin-bottom: 10px;
}

.card p {
    color: #666;
    line-height: 1.6;
}

/* QUOTE */

.quote {
    text-align: center;

    padding: 80px 20px;

    font-style: italic;
    font-size: 1.4rem;

    color: var(--storm);
}

/* FOOTER */

footer {
    text-align: center;
    padding: 40px;
    color: #666;
}

/* MOBILE */

@media (max-width: 768px) {

    .hero h1 {
        font-size: 3rem;
    }

    .intro {
        font-size: 1.1rem;
    }

    .languages {
        margin-top: 40px;
    }

}
