* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #222222;
    line-height: 1.7;
    background-color: #fcfcfc;
    letter-spacing: 0.2px;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

header {
    text-align: center;
    padding: 2rem 1rem 1.2rem;
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
}

.site-title {
    font-family: 'Merriweather', serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: #111;
    letter-spacing: -0.5px;
}

.site-domain {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 1.2rem;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: #111;
    font-weight: 700;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

nav a.active, nav a:hover {
    color: #555;
    text-decoration: underline;
}

.hero {
    position: relative;
    height: 50vh;
    min-height: 50vh;
    background:linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 3rem 1.5rem;
    box-sizing: border-box;
}

.header-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.hero-compact {
    position: relative;
    width: 100%;
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 3rem 1.5rem;
    box-sizing: border-box;
    overflow: hidden;
}

.hero-compact h1 {
    font-family: 'Merriweather', serif;
    color: #ffffff;
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-compact p {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    z-index: 1;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 2;
}

.hero-content-compact {
    position: relative;
    z-index: 3;
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lang-toggle {
    position: relative;
    display: inline-block;
    width: 58px;
    height: 28px;
    cursor: pointer;
    margin: 0;
    }
.lang-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}
.lang-toggle .slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #0f172a;
    border-radius: 30px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    user-select: none;
    border: 1px solid #0f172a;
}
.lang-toggle .slider::before {
    position: absolute;
    content: "EN";
    display: flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    width: 26px;
    left: 30px;
    bottom: 2px;
    background-color: #ffffff;
    color: #0f172a;
    border-radius: 20px;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    z-index: 2;
    font-size: 0.65rem;
    font-weight: 800;
}
.lang-toggle .label-fi,
.lang-toggle .label-en {
    z-index: 1;
    color: #ffffff;
    line-height: 1;
}
.lang-toggle input:checked ~ .slider::before {
    transform: translateX(0);
    content: "EN";
}
.lang-toggle input:checked ~ .slider .label-en {
    visibility: hidden;
}
.lang-toggle input:checked ~ .slider .label-fi {
    visibility: visible;
}
.lang-toggle input:not(:checked) ~ .slider::before {
    transform: translateX(-28px);
    content: "FI";
}
.lang-toggle input:not(:checked) ~ .slider .label-fi {
    visibility: hidden;
}
.lang-toggle input:not(:checked) ~ .slider .label-en {
    visibility: visible;
}
.lang-toggle:hover .slider {
    background-color: #1e293b;
}
.container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

.spot-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
    align-items: stretch;
}

.spot-card.reverse {
    direction: rtl;
}
.spot-card.reverse > * {
    direction: ltr;
}

.spot-card .image-card, 
.spot-card .spot-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    width: 100%;
    height: 100%;
    min-height: 320px;
}

.image-card img, 
.spot-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.75) saturate(0.65) !important;
    transition: filter 0.4s ease, transform 0.4s ease !important;
}

.image-overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.2rem 1rem 0.8rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: center;
    
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    z-index: 2;
}

.image-card:hover img, 
.spot-image-wrapper:hover img {
    filter: brightness(1.0) saturate(1.0) !important;
    transform: scale(1.03);
}

.image-card:hover .image-overlay-text,
.spot-image-wrapper:hover .image-overlay-text {
    opacity: 1;
    transform: translateY(0);
}

.spot-content h2 {
    font-family: 'Merriweather', serif;
    font-size: 1.5rem;
    color: #111;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.spot-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 1.2rem 0 0.6rem 0;
    color: #333;
}

.spot-content p {
    margin-bottom: 1rem;
    color: #444;
    font-size: 0.95rem;
}

.spot-content ul {
    list-style: none;
    margin-top: 0.5rem;
}

.spot-content ul li {
    position: relative;
    padding-left: 1.3rem;
    margin-bottom: 0.6rem;
    color: #444;
    font-size: 0.92rem;
}

.spot-content ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #111;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

.callout {
    background-color: #f4f6f8;
    border-left: 4px solid #111111;
    padding: 1rem 1.2rem;
    margin-top: 1.5rem;
    font-style: italic;
    font-size: 0.92rem;
    border-radius: 0 6px 6px 0;
    color: #333;
}

.callout strong {
    font-style: normal;
    color: #111;
    display: block;
    margin-bottom: 0.3rem;
}

@media (max-width: 850px) {
    .spot-card, .spot-card.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        padding: 1.5rem;
    }
    .spot-card .image-card,
    .spot-card .spot-image-wrapper {
        min-height: 240px;
        height: 240px;
    }
}

.more-text {
    display: none;
    margin-top: 1rem;
}

.more-text.is-open {
    display: block;
}

.read-more-btn {
    background: none;
    border: none;
    color: #0056b3;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0.4rem 0;
    margin-bottom: 1rem;
    display: inline-block;
    text-decoration: underline;
}

.read-more-btn:hover {
    color: #003366;
}

footer {
    background-color: #ffffff;
    border-top: 1px solid #eee;
    padding: 1.5rem 1rem;
    text-align: center;
    margin-top: auto;
    flex-shrink: 0;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}
.footer-logo-link {
    display: inline-block;
    line-height: 0;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-logo-link:hover {
    opacity: 0.8;
}

.footer-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links a {
    color: #000000 !important;
    text-decoration: none !important;
    font-weight: 700 !important; /* Lihavointi samaan tyyliin kuin headerissa */
    font-size: 0.85rem !important;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #111;
}

.footer-copy {
    font-size: 0.85rem;
    color: #888;
}

.hero-announcement-link {
    display: block !important;
    text-decoration: none !important;
    color: inherit !important;
    width: 100%;
    background-color: #0f172a;
    position: relative;
    z-index: 999;
    cursor: pointer;
}

.hero-announcement-bar {
    width: 100%;
    background-color: #111111;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 1rem;
    border-top: 1px solid #111111;
    border-bottom: 1.5px solid #111111;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.hero-announcement-link:hover .hero-announcement-bar {
    background-color: #ffffff;
    color: #111111;
}

.hero-announcement-link:hover .marquee-text {
    color: #111111;
    text-decoration: underline;
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.marquee-text {
    display: inline-block;
    padding-left: 100%;
    animation: marquee-scroll 22s linear infinite;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    color: #f0f0f0;
    transition: color 0.2s ease;
    pointer-events: auto;
}

@keyframes marquee-scroll {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

.bottom-banner-hero {
    position: relative;
    width: 100%;
    height: 500px;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 2rem 1.5rem;
    box-sizing: border-box;
    overflow: hidden;
    margin-top: 0.1rem;
}

.bottom-banner-img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    z-index: 1;
    transform: translate(-50%, -50%);
    object-fit: cover;
    object-position: center 83%;
}

.bottom-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 2;
}

.bottom-banner-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
}

.bottom-banner-content h2 {
    font-family: 'Merriweather', serif;
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.bottom-banner-content p {
    color: #ffffff;
    font-size: 1rem;
    opacity: 0.95;
    font-weight: 400;
    margin-bottom: 1.25rem;
}

.bottom-banner-content .btn-primary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    
    background-color: #ffffff !important;
    color: #111111 !important;
    border: 2px solid #111111 !important;
    border-radius: 6px !important;
    
    padding: 0.55rem 1.2rem !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-align: center !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
}

.bottom-banner-content .btn-primary:hover,
.bottom-banner-content .btn-primary:focus {
    background-color: #111111 !important;
    color: #ffffff !important;
    border-color: #111111 !important;
    transform: translateY(-2px) !important;
}

.read-more-btn {
    background: none !important;
    border: none !important;
    color: #111111 !important;
    font-weight: 700 !important;
    font-size: 0.92rem !important;
    cursor: pointer !important;
    padding: 0.4rem 0 !important;
    margin-bottom: 1rem !important;
    display: inline-block !important;
    text-decoration: underline !important;
    transition: color 0.2s ease !important;
}

.read-more-btn:hover {
    color: #555555 !important;
}

header, .site-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0.8rem 2rem;
    background-color: #ffffff;
    border-bottom: none;
}

.site-logo-link {
    justify-self: center;
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-left: 0; 
}

.site-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.site-nav {
    justify-self: center;
}

.site-nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.site-nav a {
    color: #000000 !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover {
    color: #64748b !important;
    text-decoration: none !important;
}

.site-nav a.active {
    color: #000000 !important;
    border-bottom-color: #000000 !important;
}

@media (max-width: 768px) {
    header, .site-header {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .site-logo {
        height: 50px;
    }

    .site-nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}

.img-comp-container {
    position: relative;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}

.img-comp-slider-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.img-comp-slider-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.img-comp-front {
    width: 50%;
    z-index: 2;
    border-right: 2px solid #ffffff;
    box-shadow: 2px 0 10px rgba(0,0,0,0.3);
}

.img-comp-handle {
    position: absolute;
    z-index: 9;
    cursor: ew-resize;
    width: 38px;
    height: 38px;
    background-color: #ffffff;
    color: #111111;
    border: 2px solid #111111;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.img-comp-handle::before {
    content: "↔";
}

@media (max-width: 768px) {

    header, .site-header {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .site-logo {
        height: 50px;
    }

    .site-nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        height: auto; 
        min-height: 40vh;
        padding: 2.5rem 1rem;
    }

    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
        word-break: break-word;
    }

    .hero h2 {
        font-size: 1.05rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
}