
/* Yleiset tyylit */
body {
    font-family: 'Open Sans', sans-serif;
    background-color: rgba(229, 161, 13, 0.822);
    margin: 40px 20px;
}

h1, h2, h3, p {
    color: whitesmoke;
}

h1 { font-size: 56px; }
h2 { font-size: 32px; }
h3 { font-size: 24px; }
p  { font-size: 18px; }

.page-header {
    text-align: center;
    margin: 40px auto;
    max-width: 800px;
}
.cta {
    background-color: #ffcc00;
    color: #2a4d3f;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
}
/* Navigaatio */
.topnav {
    background-color: #2a4d3f;
    display: flex;
    gap: 20px;
    padding: 15px 20px;
}

.topnav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    padding: 8px 12px;
}

.topnav a:hover {
    background-color: #3b6a58;
    border-radius: 4px;
}

.topnav .active {
    background-color: #ffcc00;
    color: #2a4d3f;
    border-radius: 4px;
}
/* Hero */
.hero {
    background-image: url("images/tulivuorietusivu.jpg");
    background-size: cover;
    background-position: center;
    height: 70vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.hero h1 {
    color: white;
    font-size: 48px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}
.hero h2 {
    color: white;
    font-size: 24px;
    margin-top: 10px;
}
/* Matkapaketit */
.matkapaketti-kuva {
    position: relative;
    width: 100%;
    height: 180px;
    margin: 0 auto 15px auto;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
}
.kuva-alateksti {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}
.lisatiedot {
    background: whitesmoke;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    border: 1px solid #ddd;
}

.lisatiedot summary {
    cursor: pointer;
    font-weight: bold;
    padding: 10px;
    background: #2a4d3f;
    color: white;
    border-radius: 5px;
}

.lisatiedot[open] summary {
    background: #1f3a2f;
}

.lisatiedot summary:hover {
    background: #3b6a58;
}

.contact-form {
    background: #f7f7f7;
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin: 8px 0 16px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.kuvarivi {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.kuvarivi img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}
.matkapaketti-kortti h3,
.matkapaketti-kortti h4,
.matkapaketti-kortti p,
.matkapaketti-kortti li {
    color: #222;
}
.matkapaketti-kortti h2 {
    color: #222;
}
.raataloity-laatikko {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-top: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto; 
}

.raataloity-laatikko h2 {
    color: #2a4d3f;
    margin-bottom: 15px;
}

.raataloity-laatikko input,
.raataloity-laatikko textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 15px;
}

.raataloity-laatikko button {
    background: #2a4d3f;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.raataloity-laatikko button:hover {
    background: #3b6a58;
}
.matkapaketit {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.matkapaketti-kortti {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}
@media (max-width: 768px) {
    .topnav {
        flex-direction: column;
        align-items: flex-start;
    }
    .topnav a {
        width: 100%;
        padding: 10px 0;
    }

    .hero {
        height: 220px;
        padding: 20px;
    }

    .hero h1 {
        font-size: 26px;
    }

    .hero h2 {
        font-size: 18px;
    }
}
@media (max-width: 992px) {
    .matkapaketit {
        grid-template-columns: repeat(2, 1fr);
    }
        .hero {
        height: 350px;
    }
}
@media (max-width: 600px) {
    .matkapaketit {
        grid-template-columns: 1fr;

    }
        body {
        margin: 20px 10px;
    }
        h1 {
        font-size: 32px;
    }
}