html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    margin: 0;
    padding: 30px 30px 60px;
    font-family:  Arial, sans-serif;
    font-size: 20px;
    background: #220904;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 48px;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
}

.site-logo {
    position: fixed;
    top: 16px;
    left: 16px;
    margin: 0;
    width: 80px;
    z-index: 10;
    color: #f1dfdcf0;
    font-size: 20px;
    line-height: 1.2;
}

.site-logo img {
    display: block;
    width: 80px;
    height: 80px;
    object-fit: contain;
}

@media (max-width: 600px) {
    header {
        padding-top: 0;
    }

    .site-logo {
        top: 12px;
        left: 12px;
        width: 56px;
    }

    .site-logo img {
        height: 56px;
        width: 56px;
    }
}

h1, h2 {
    color: #f1dfdc;
    text-align: center;
    font-family: Arial, sans-serif;
    margin: 10px auto;
}

h1 {
    font-size: 44px;
    font-weight: bold;
    letter-spacing: 2px;
}

.brand-heading {
    font-family: Arial, sans-serif;
    font-size: 44px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-bottom: 2px solid #A51C1D;
    padding-bottom: 10px;
}

.brand-name {
    color: #ff3434;
    text-shadow: 0 0 4px rgba(255, 52, 52, 0.9), 0 0 12px rgba(255, 0, 0, 0.75), 0 0 24px rgba(255, 0, 0, 0.5);
}

.brand-heading .sub-heading {
    display: block;
    margin-top: 8px;
    font-size: 28px;
    font-weight: normal;
    letter-spacing: 6px;
}

h2 {
    font-size: 28px;
    letter-spacing: 6px;
    color: #f1dfdcf0;
    margin-bottom: 30px;
}

.myyntiteksti-säiliö,
.myyntiteksti-sailio {
    max-width: 760px;
    width: 100%;
    background: rgba(30, 12, 10, 0.92);
    padding: 30px 30px 20px;
    border-radius: 12px;
    margin: 0 auto 22px auto;
    text-align: center;
    font-family:  Arial, sans-serif;
    border: 1px solid rgba(243, 233, 233, 0.06);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
}

.pääotsikko,
.paaotsikko {
    font-size: 28px;
    font-weight: bold;
    color: #f1dfdcf0;
    margin-top: 0;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: Arial, sans-serif;
}

.kuvausteksti {
    font-size: 20px;
    line-height: 1.6;
    color: #f2dede;
    margin-bottom: 25px;
}

.painike-ryhma {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: min(100%, 760px);
    margin: 0 auto 20px auto;
    padding: 0 10px;
    box-sizing: border-box;
    font-family:  Arial, sans-serif;
}

body.product-page .painike-ryhma {
    margin-top: 10px;
}

.nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    max-width: none;
    flex: none;
    min-height: 48px;
    padding: 10px 16px;
    margin-right: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(241, 223, 220, 0.2);
    border-radius: 6px;
    color: #f1dfdcf0;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    text-align: center;
    line-height: 1.2;
    white-space: normal;
    box-sizing: border-box;
}
/* Tyylit, kun hiiri viedään linkin päälle */
.nav-link:hover {
    background: rgba(164, 28, 29, 0.25);
    border-color: rgba(164, 28, 29, 0.7); 
}

/* Tyylit, kun linkki on aktiivisena (valittuna) */
.nav-link.active {
    background: rgba(164, 28, 29, 0.25);
    border-color: rgba(164, 28, 29, 0.25); /* Tämä tekee reunasta haaleamman */
}


.cta-painike {
    display: inline-block;
    background-color: #4a0b0d;
    color: #f1dfdcf0;
    text-decoration: none;
    padding: 12px 24px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
    min-width: 200px;
}

@media (max-width: 600px) {
    .painike-ryhma {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        width: 100%;
        padding: 0 8px;
    }

    .nav-link {
        max-width: none;
        width: 100%;
        flex: none;
        font-size: 20px;
        padding: 12px 10px;
    }
}

.bar-scene {
    width: min(100%, 200px);
    margin: 10px auto 0 auto;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.45);
    background: #e0d8d6;
}

.bar-scene svg {
    width: 100%;
    height: auto;
    display: block;
}

.kuva-keski {
    margin: 0 auto;
    width: min(100%, 900px);
    text-align: center;
}

.kuva-keski img {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 900px;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

        body.product-page {
            background-color: #220904;
            color: #f1dfdcf0;
            font-family: Arial, sans-serif;
            font-size: 20px;
            margin: 0;
            padding: 20px;
            line-height: 1.6;
        }

        body.product-page h1,
        body.product-page h2,
        body.product-page h3,
        body.product-page h4,
        body.product-page h5,
        body.product-page h6 {
            font-family: Arial, sans-serif;
        }

        body.product-page h1 {
            font-size: 44px;
            text-transform: uppercase;
            border-bottom: 2px solid #A51C1D;
            padding-bottom: 10px;
        }

        body.product-page h2,
        body.product-page h3,
        body.product-page h4,
        body.product-page h5,
        body.product-page h6 {
            font-size: 28px;
            margin-top: 0;
        }

        body.product-page p,
        body.product-page li {
            font-size: 20px;
        }

        body.product-page > header + p {
            font-size: 28px;
        }

        figcaption {
            font-size: 18px;
        }

        body.product-page figcaption {
            font-size: 18px;
            font-style: italic;
            margin-top: 5px;
        }

        body.product-page nav {
            margin-bottom: 20px;
        }

        body.product-page nav a {
            text-decoration: none;
            font-weight: bold;
            font-size: 20px;
            margin-right: 20px;
        }

        body.product-page nav a:hover,
        body.product-page nav a.active {
            text-decoration: none;
        }

        .service-section {
            margin-bottom: 0;
        }

        .upcoming-events {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 16px;
            margin-top: 24px;
            text-align: left;
        }

        .upcoming-event {
            display: grid;
            grid-template-rows: 156px 3.5em 3.5em minmax(0, 1fr) auto;
            min-width: 0;
            padding: 16px;
            border: 1px solid rgba(241, 223, 220, 0.18);
            border-radius: 5px;
            background: rgba(255, 255, 255, 0.06);
        }

        .upcoming-event-image {
            display: block;
            width: min(100%, 140px);
            aspect-ratio: 1 / 1;
            margin: 0 auto;
            border-radius: 5px;
            object-fit: cover;
        }

        .upcoming-event h3 {
            display: flex;
            align-items: flex-start;
            margin: 0;
            color: #f1dfdcf0;
            font-size: 28px;
            line-height: 1.3;
        }

        .upcoming-event p {
            margin: 0;
            color: rgba(241, 223, 220, 0.86);
            font-size: 20px;
            line-height: 1.55;
        }

        .upcoming-event .upcoming-event-time {
            color: #f1dfdcf0;
            padding-top: 4px;
            box-sizing: border-box;
        }

        .upcoming-event .upcoming-event-admission {
            color: #f1dfdcf0;
            font-weight: bold;
        }

        .upcoming-event-link {
            align-self: start;
            margin-top: 0;
            color: #f1dfdcf0;
            font-size: 20px;
            font-weight: bold;
            text-decoration: none;
        }

        .upcoming-event-link:hover,
        .upcoming-event-link:focus-visible {
            color: #ffffff;
            text-decoration: underline;
        }

        @media (max-width: 800px) {
            .upcoming-events {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (max-width: 540px) {
            .upcoming-events {
                grid-template-columns: 1fr;
            }
        }

        .grid-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }

        .drink-grid {
            grid-template-columns: repeat(5, minmax(0, 1fr));
            gap: 12px;
        }

        .grid-item.drink-card {
            display: flex;
            flex-direction: column;
            overflow: hidden;
            padding: 14px;
            border: 1px solid rgba(241, 223, 220, 0.18);
            background-color: rgba(255, 255, 255, 0.08);
        }

        body.product-page .drink-card h3 {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 80px;
            box-sizing: border-box;
            font-size: 24px;
            line-height: 1.2;
            margin-top: 0;
            margin-bottom: 8px;
            padding-bottom: 12px;
            border-bottom: 1px solid rgba(241, 223, 220, 0.2);
        }

        .drink-card ul {
            display: grid;
            grid-auto-rows: minmax(120px, auto);
            gap: 0;
            margin: 0;
            padding: 0;
            list-style: none;
        }

        body.product-page .drink-card li {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            align-content: center;
            gap: 4px 8px;
            min-height: 120px;
            padding: 8px 0;
            box-sizing: border-box;
            border-bottom: 1px solid rgba(241, 223, 220, 0.12);
            font-size: 16px;
            line-height: 1.25;
            overflow-wrap: anywhere;
        }

        .drink-card li:last-child {
            border-bottom: 0;
            padding-bottom: 0;
        }

        .drink-name {
            grid-column: 1;
            font-weight: bold;
            font-size: 14px;
            line-height: 1.2;
        }

        .drink-price {
            grid-column: 2;
            grid-row: 1;
            white-space: nowrap;
            font-weight: bold;
            font-size: 14px;
            line-height: 1.2;
        }

        .drink-description {
            grid-column: 1 / -1;
            color: rgba(241, 223, 220, 0.76);
            font-size: 11px;
            line-height: 1.25;
        }

        .drink-card img {
            width: min(100%, 112px);
            aspect-ratio: 1 / 1;
            object-fit: cover;
            margin: auto auto 0;
        }

        @media (max-width: 1200px) {
            .drink-grid {
                grid-template-columns: repeat(4, minmax(0, 1fr));
            }
        }

        @media (max-width: 1000px) {
            .drink-grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }

        @media (max-width: 700px) {
            .drink-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (max-width: 480px) {
            .drink-grid {
                grid-template-columns: 1fr;
            }
        }

        .grid-item {
            background-color: rgba(255, 255, 255, 0.15);
            padding: 20px;
            border-radius: 5px;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
            border-radius: 4px;
        }

        .service-section .grid-container:not(.drink-grid) .grid-item img {
            width: 100%;
            aspect-ratio: 1 / 1;
            object-fit: cover;
        }

        .btn-collab {
            display: inline-block;
            background-color: #340F09F0;
            color: #DBCABD;
            padding: 12px 24px;
            text-decoration: none;
            font-size: 20px;
            border-radius: 25px;
            margin-top: 15px;
            transition: background-color 0.3s;
        }

        .btn-collab:hover {
            background-color: #A51C1D;
        }

        form {
            background-color: rgba(255, 255, 255, 0.2);
            padding: 25px;
            border-radius: 5px;
            max-width: 600px;
            width: 100%;
            box-sizing: border-box;
            margin: 0 auto;
        }

        #varauslomake {
            width: min(100%, 900px);
        }

        .booking-with-contact {
            display: grid;
            grid-template-columns: minmax(0, 600px) 144px;
            align-items: center;
            justify-content: center;
            gap: 28px;
            width: min(100%, 900px);
            margin: 0 auto;
        }

        .booking-with-contact #varauslomake-form {
            width: 100%;
            max-width: 600px;
            margin: 0;
        }

        .contact-hours-button {
            display: grid;
            place-items: center;
            width: 144px;
            aspect-ratio: 1;
            box-sizing: border-box;
            border: 2px solid #A51C1D;
            border-radius: 50%;
            background: rgba(165, 28, 29, 0.24);
            box-shadow: 0 0 18px rgba(165, 28, 29, 0.2);
            color: #f1dfdcf0;
            font-size: 16px;
            font-weight: bold;
            text-align: center;
            text-decoration: none;
        }

        .contact-hours-button:hover,
        .contact-hours-button:focus-visible {
            background: rgba(165, 28, 29, 0.42);
            box-shadow: 0 0 24px rgba(165, 28, 29, 0.42);
        }

        @media (max-width: 800px) {
            .booking-with-contact {
                grid-template-columns: minmax(0, 600px);
                gap: 18px;
            }

            .contact-hours-button {
                width: 128px;
            }
        }

        .availability-calendar {
            width: min(100%, 520px);
            max-width: 520px;
            margin: 28px auto 0;
            text-align: left;
        }

        .calendar-header {
            display: grid;
            grid-template-columns: 42px 1fr 42px;
            align-items: center;
            gap: 10px;
            margin-bottom: 18px;
        }

        .calendar-header h3 {
            margin: 0;
            color: #f1dfdcf0;
            font-size: 28px;
            text-align: center;
            text-transform: capitalize;
        }

        .calendar-nav {
            display: grid;
            place-items: center;
            width: 42px;
            height: 42px;
            margin: 0;
            padding: 0;
            border: 1px solid rgba(241, 223, 220, 0.24);
            border-radius: 5px;
            background: rgba(255, 255, 255, 0.06);
            color: #f1dfdcf0;
            font-size: 20px;
        }

        .calendar-weekdays,
        .calendar-days {
            display: grid;
            grid-template-columns: repeat(7, minmax(0, 1fr));
            gap: 6px;
        }

        .calendar-weekdays {
            margin-bottom: 6px;
        }

        .calendar-weekdays span {
            display: grid;
            place-items: center;
            min-height: 28px;
            color: rgba(241, 223, 220, 0.65);
            font-size: 20px;
        }

        .calendar-day,
        .calendar-empty {
            aspect-ratio: 1;
            min-width: 0;
        }

        .calendar-day {
            display: grid;
            place-items: center;
            width: 100%;
            min-height: 0;
            margin: 0;
            padding: 0;
            border: 1px solid rgba(241, 223, 220, 0.16);
            border-radius: 4px;
            background: rgba(255, 255, 255, 0.04);
            color: #f1dfdcf0;
            font-size: 20px;
        }

        .calendar-day.is-available {
            border-color: rgba(104, 155, 86, 0.55);
        }

        .calendar-day.is-available:hover,
        .calendar-day.is-available:focus-visible {
            background: rgba(104, 155, 86, 0.25);
        }

        .calendar-day.is-event {
            border-color: rgba(165, 28, 29, 0.8);
            background: rgba(165, 28, 29, 0.38);
            color: rgba(255, 255, 255, 0.72);
            cursor: not-allowed;
        }

        .calendar-day.is-booked {
            border-color: rgba(210, 130, 52, 0.8);
            background: rgba(210, 130, 52, 0.3);
            color: rgba(255, 255, 255, 0.78);
            cursor: not-allowed;
        }

        .calendar-day.is-closed {
            border-color: rgba(241, 223, 220, 0.08);
            background: rgba(0, 0, 0, 0.16);
            color: rgba(241, 223, 220, 0.4);
            cursor: not-allowed;
        }

        .calendar-day.is-past {
            opacity: 0.42;
            cursor: not-allowed;
        }

        .calendar-day.is-selected {
            outline: 2px solid #f1dfdcf0;
            outline-offset: 2px;
        }

        .calendar-legend {
            display: flex;
            flex-wrap: wrap;
            gap: 10px 20px;
            margin-top: 18px;
            color: rgba(241, 223, 220, 0.78);
            font-size: 20px;
        }

        .calendar-legend span {
            display: inline-flex;
            align-items: center;
            gap: 7px;
        }

        .calendar-hours {
            margin: 14px 0 0;
            color: rgba(241, 223, 220, 0.78);
            font-size: 20px;
            line-height: 1.5;
        }

        .calendar-hours strong {
            color: #f1dfdcf0;
        }

        .calendar-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
        }

        .calendar-dot.is-available {
            background: #689b56;
        }

        .calendar-dot.is-event {
            background: #a51c1d;
        }

        .calendar-dot.is-booked {
            background: #d28234;
        }

        .calendar-dot.is-closed {
            background: rgba(241, 223, 220, 0.35);
        }

        .calendar-dot.is-selected {
            border: 1px solid #f1dfdcf0;
            background: transparent;
        }

        .calendar-selection {
            min-height: 24px;
            margin: 20px 0 8px;
            color: #f1dfdcf0;
            font-weight: bold;
        }

        body.product-page .availability-calendar {
            width: min(100%, 700px);
            max-width: 700px;
            box-sizing: border-box;
        }

        body.product-page .calendar-legend {
            justify-content: center;
            gap: 8px 16px;
        }

        body.product-page .calendar-hours,
        body.product-page .calendar-selection {
            font-size: 15px;
            line-height: 1.5;
        }

        body.product-page .calendar-hours {
            max-width: 600px;
            margin: 14px auto 0;
        }

        .calendar-note {
            margin: 0;
            color: rgba(241, 223, 220, 0.68);
            font-size: 20px;
            line-height: 1.5;
        }

        .calendar-submit {
            max-width: 100%;
        }

        label {
            display: block;
            font-size: 20px;
            margin-top: 15px;
            font-weight: bold;
        }

        input, textarea, select {
            width: 100%;
            padding: 10px;
            font-size: 20px;
            font-family: Arial, sans-serif;
            margin-top: 5px;
            box-sizing: border-box;
        }

        button {
            background-color: #A51C1D;
            color: white;
            border: none;
            padding: 12px 24px;
            font-size: 20px;
            font-family: Arial, sans-serif;
            cursor: pointer;
            margin-top: 20px;
            width: 100%;
        }

        button:hover {
            background-color: #340F09F0;
        }

        body.product-page h1,
        body.product-page h2,
        body.product-page h3,
        body.product-page h4,
        body.product-page h5,
        body.product-page h6,
        body.product-page p,
        body.product-page li,
        body.product-page figcaption,
        body.product-page label,
        body.product-page nav a {
            color: #f1dfdcf0;
        }

        body.product-page input,
        body.product-page textarea,
        body.product-page select,
        body.product-page option {
            color: #2d2a29;
            -webkit-text-fill-color: #2d2a29;
        }

        body.product-page input,
        body.product-page textarea,
        body.product-page select,
        body.product-page option {
            background-color: #e7dada;
        }

        body.product-page input::placeholder,
        body.product-page textarea::placeholder {
            color: #2d2a29;
            -webkit-text-fill-color: #2d2a29;
            opacity: 1;
        }

        body.product-page select {
            color-scheme: light;
        }

.product-page .brand-heading {
    margin-top: 10px;
    line-height: normal;
}

.product-page .sub-heading {
    display: block;
    margin-top: 8px;
    font-size: 28px;
    font-weight: normal;
    letter-spacing: 6px;
}

.esittely {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.yhteystieto-esittely {
    max-width: 750px;
    margin: 0 auto 35px auto;
    color: #f2dede;
    font-size: 20px;
    line-height: 1.6;
    text-align: center;
}

.yhteystiedot {
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 45px auto;
}

.yhteystieto-laatikko {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(242, 222, 222, 0.15);
    border-radius: 10px;
    padding: 25px;
    box-sizing: border-box;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.yhteystieto-laatikko h2 {
    font-size: 28px;
    color: #f1dfdcf0;
    margin-top: 0;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.yhteystieto-laatikko p {
    color: #f2dede;
    font-size: 20px;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.yhteystieto-laatikko p:last-child {
    margin-bottom: 0;
}

.yhteystieto-laatikko strong {
    color: #f1dfdcf0;
}

.yhteystieto-laatikko a {
    color: #f2dede;
    text-decoration: none;
}

.yhteystieto-laatikko a:hover {
    color: #A51C1D;
    text-decoration: underline;
}

.kartta-osio {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.kartta-osio h2 {
    color: #f1dfdcf0;
    font-size: 28px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

#kartta {
    display: block;
    width: 100%;
    max-width: 800px;
    height: 350px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

footer {
    position: relative;
    isolation: isolate;
    width: 100%;
    margin-top: 20px;
    padding: 30px 0 25px 0;
    color: #f2dede;
    text-align: center;
}

footer::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: -60px;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.38);
}

body.product-page footer::before {
    bottom: -20px;
}

footer p,
body.product-page footer p {
    color: #f2dede;
    font-size: 14px;
}

footer a {
    color: #f2dede;
}

footer a:hover {
    color: #A51C1D;
}

.some-ikonit {
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
    margin-bottom: 10px;
}

.some-ikonit a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #f2dede;
    font-size: 28px;
    margin: 0;
    text-decoration: none;
    border-radius: 50%;
}

.some-ikonit svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.some-ikonit a:hover {
    color: #A51C1D;
}

@media (max-width: 600px) {
    .yhteystiedot {
        flex-direction: column;
        gap: 20px;
        max-width: 500px;
    }

    .yhteystieto-laatikko {
        width: 100%;
    }

    .kartta-osio {
        width: 100%;
    }

    #kartta {
        height: 300px;
    }

    .yhteystieto-esittely {
        font-size: 20px;
    }
}


