/* =========================
   PERUSASETUKSET
   ========================= */

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

:root {
    --black: #252321;
    --dark: #35312e;
    --cream: #f7f3ed;
    --beige: #e8ddd0;
    --brown: #98704a;
    --brown-light: #b18a60;
    --white: #ffffff;
    --text: #2d2a27;
    --muted: #756f69;
    --border: #dcd2c7;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
    /* Perusteksti suuremmaksi */
    font-size: 17px;
}

a {
    color: inherit;
}


/* =========================
   YLÄPALKKI
   ========================= */

.header {
    background: white;
    border-bottom: 1px solid var(--border);
}

.header-inner {
    width: min(1100px, calc(100% - 40px));
    min-height: 92px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


/* Logo */

.logo img {
    width: 205px;
    height: auto;
    display: block;
}


/* Navigointi */

nav {
    display: flex;
    gap: 28px;
}

    nav a {
        text-decoration: none;
        font-size: 16px;
        font-weight: bold;
        transition: color 0.2s;
    }

        nav a:hover {
            color: var(--brown);
        }


/* =========================
   ETUSIVU
   ========================= */

.hero {
    background: var(--black);
    color: white;
}

.hero-inner {
    width: min(1100px, calc(100% - 40px));
    min-height: 560px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 350px;
    align-items: center;
    gap: 80px;
    padding: 80px 0;
}


/* Pienet otsikot */

.small-title {
    color: var(--brown-light);
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}


/* Pääotsikko */

.hero h1 {
    max-width: 700px;
    font-size: clamp(48px, 7vw, 76px);
    line-height: 1.02;
    letter-spacing: -2px;
    margin-bottom: 25px;
}


/* Etusivun esittelyteksti */

.intro {
    max-width: 620px;
    font-size: 20px;
    line-height: 1.7;
    color: #f0ece8;
}


/* Napit */

.buttons {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    padding: 12px 21px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid transparent;
    transition: 0.2s;
}

    .button:hover {
        transform: translateY(-1px);
    }


/* Ruskea nappi */

.brown {
    background: var(--brown);
    color: white;
}

    .brown:hover {
        background: var(--brown-light);
    }


/* Valkoinen nappi */

.white {
    border-color: #8a8580;
    color: white;
}

    .white:hover {
        border-color: white;
    }


/* =========================
   167 PÖYTÄÄ
   ========================= */

.hero-info {
    background: white;
    color: var(--black);
    padding: 35px;
    border-left: 7px solid var(--brown);
}

    .hero-info > span {
        display: block;
        font-size: 86px;
        font-weight: bold;
        line-height: 0.9;
        margin-bottom: 15px;
    }

    .hero-info > p {
        font-weight: bold;
        font-size: 20px;
        line-height: 1.3;
    }

    .hero-info .line {
        width: 50px;
        height: 3px;
        background: var(--brown);
        margin: 20px 0;
    }

    .hero-info .info-text {
        font-size: 17px;
        font-weight: normal;
        color: #4f4a46;
        line-height: 1.6;
    }


/* =========================
   HINNAT
   ========================= */

.section {
    padding: 90px 0;
}

.section-inner {
    width: min(1000px, calc(100% - 40px));
    margin: auto;
}

.section-title {
    text-align: center;
    margin-bottom: 45px;
}

    .section-title .small-title {
        color: var(--brown);
    }

h2 {
    font-size: clamp(36px, 5vw, 52px);
    line-height: 1.1;
    margin-bottom: 12px;
}

.section-title p:last-child {
    color: var(--muted);
    font-size: 18px;
}


/* Hintalaatikot */

.price-area {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.price-box {
    background: white;
    border: 1px solid var(--border);
    padding: 35px;
}


/* Hintalaatikon otsikko */

.price-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
}

    .price-heading h3 {
        font-size: 27px;
    }

.recommended {
    background: var(--brown);
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 6px 10px;
    white-space: nowrap;
}


/* Hinta */

.price {
    font-size: 55px;
    font-weight: bold;
    line-height: 1;
}

.commission {
    color: #514b46;
    font-size: 17px;
    font-weight: bold;
    margin-top: 9px;
}

.separator {
    height: 1px;
    background: var(--border);
    margin: 25px 0;
}


/* Hintojen lista */

.price-box ul {
    list-style: none;
    margin-bottom: 30px;
}

.price-box li {
    padding: 11px 0;
    border-bottom: 1px solid #ddd5cd;
    font-size: 17px;
    line-height: 1.6;
}

    .price-box li::before {
        content: "✓";
        color: var(--brown);
        font-weight: bold;
        margin-right: 10px;
    }


/* Tumma nappi */

.dark {
    background: var(--black);
    color: white;
}

    .dark:hover {
        background: var(--dark);
    }

.full {
    width: 100%;
}


/* =========================
   AUKIOLOAJAT
   ========================= */

.hours {
    background: var(--black);
    color: white;
    padding: 80px 0;
}

.hours-inner {
    width: min(1000px, calc(100% - 40px));
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hours-text .small-title {
    color: var(--brown-light);
}

.hours-text p:last-child {
    max-width: 500px;
    color: #e0dbd6;
    font-size: 18px;
    line-height: 1.7;
}


/* Aukioloajat */

.opening-times {
    border-top: 1px solid #504b47;
}

.time-row {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid #625c57;
    font-size: 18px;
}

    .time-row span {
        color: #e5e0db;
    }

    .time-row strong {
        color: #d0aa7c;
        font-size: 19px;
    }


/* =========================
   KIRPPARIKALLE
   ========================= */

.booking {
    background: var(--beige);
    padding: 80px 0;
}

.booking-inner {
    width: min(1000px, calc(100% - 40px));
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 70px;
    align-items: center;
}

    .booking-inner .small-title {
        color: var(--brown);
    }

    .booking-inner p:not(.small-title) {
        max-width: 650px;
        color: #4f4944;
        font-size: 18px;
        line-height: 1.7;
    }


/* KirppariKalle-napit */

.booking-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.outline {
    border-color: var(--black);
    color: var(--black);
}

    .outline:hover {
        border-color: var(--brown);
        color: var(--brown);
    }


/* =========================
   YHTEYSTIEDOT
   ========================= */

.contact {
    background: white;
    padding: 85px 0;
}

.contact-inner {
    width: min(1000px, calc(100% - 40px));
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
}

.contact-main .small-title {
    color: var(--brown);
}

.address {
    font-size: 21px;
    font-weight: bold;
    margin-top: 25px;
}


/* Yhteystiedot */

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .contact-details a {
        text-decoration: none;
        padding: 18px;
        border-bottom: 1px solid var(--border);
        font-weight: bold;
        font-size: 18px;
        line-height: 1.5;
    }

        .contact-details a:hover {
            background: var(--cream);
        }

    .contact-details span {
        display: block;
        color: var(--brown);
        font-size: 13px;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 5px;
    }


/* =========================
   FOOTER
   ========================= */

footer {
    background: var(--black);
    color: #aaa;
    padding: 30px 0;
}

.footer-inner {
    width: min(1000px, calc(100% - 40px));
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .footer-inner img {
        width: 165px;
        filter: invert(1);
    }


/* =========================
   PUHELIN / TABLETTI
   ========================= */

@media (max-width: 800px) {

    body {
        font-size: 17px;
    }


    .header-inner {
        flex-direction: column;
        padding: 18px 0;
    }


    nav {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px 18px;
    }


    .hero-inner {
        grid-template-columns: 1fr;
        gap: 45px;
        padding: 60px 0;
    }


    .hero h1 {
        font-size: 48px;
        letter-spacing: -1px;
    }


    .intro {
        font-size: 18px;
    }


    .small-title {
        font-size: 14px;
    }


    .hero-info {
        max-width: 430px;
    }


        .hero-info .info-text {
            font-size: 17px;
        }


    .price-area {
        grid-template-columns: 1fr;
    }


    .price-box li {
        font-size: 17px;
    }


    .hours-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }


    .hours-text p:last-child {
        font-size: 18px;
    }


    .time-row {
        font-size: 18px;
    }


        .time-row strong {
            font-size: 18px;
        }


    .booking-inner {
        grid-template-columns: 1fr;
        gap: 35px;
    }


        .booking-inner p:not(.small-title) {
            font-size: 18px;
        }


    .contact-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }


    .contact-details a {
        font-size: 18px;
    }


    .booking-links {
        width: 100%;
    }


    .footer-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
