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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navigaatio */
.navbar {
    background-color: #1a3c5e;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #cce0ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
}

/* Hero-banneri */
.hero {
    background: linear-gradient(135deg, #1a3c5e 0%, #2a6a9e 100%);
    color: white;
    text-align: center;
    padding: 5rem 1rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Sivun otsikko */
.page-header {
    background-color: #2a6a9e;
    color: white;
    text-align: center;
    padding: 3rem 1rem;
}

.page-header h1 {
    font-size: 2rem;
}

/* Osiot */
.section {
    padding: 3rem 0;
}

.section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1a3c5e;
}

.section-desc {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

/* Taustavärit eri osioille */
.section-talvi {
    background-color: #e8f0fe;
}

.section-kesa {
    background-color: #fff8e7;
}

/* Korttiruudukko */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card h3 {
    color: #1a3c5e;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.card p {
    color: #555;
    font-size: 0.95rem;
}

/* Hintataulukko */
.price-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.price-table thead {
    background-color: #1a3c5e;
    color: white;
}

.price-table th,
.price-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.price-table tbody tr:hover {
    background-color: #f0f6ff;
}

.note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #888;
    text-align: center;
}

/* Yhteystiedot */
.section-contact {
    background-color: #e8f0fe;
}

.contact-info {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.contact-info p {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

/* Alatunniste */
footer {
    background-color: #1a3c5e;
    color: #cce0ff;
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.9rem;
}

/* Responsiivisuus */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }
    .logo {
        font-size: 1.2rem;
    }
    .section h2 {
        font-size: 1.5rem;
    }
    .price-table {
        font-size: 0.85rem;
    }
    .price-table th,
    .price-table td {
        padding: 0.6rem;
    }
}
