* {
    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;
    display: flex;
    flex-direction: column;
}

h1, h2, h3 {
    font-family: 'Merriweather', serif;
    color: #111;
}

a {
    color: inherit;
    text-decoration: none;
}

header, .site-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0.8rem 2rem;
    background-color: #ffffff;
    border-bottom: 1px solid #eaeaea;
    width: 100%;
    box-sizing: border-box;
}
.header-actions {
   display: flex;
   justify-content: center;
   align-items: center;
   width: 100%;
}
.site-logo-link {
    justify-self: center;
    display: flex;
    align-items: center;
    text-decoration: none;
}

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

.site-logo-link:hover .site-logo {
    opacity: 0.85;
}

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

.site-nav ul {
    display: flex;
    align-items: center;
    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.05rem !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;
}

.site-nav a.active {
    color: #000000 !important;
    border-bottom-color: #000000 !important;
}
.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;
}
.checkbox-label {
   display: flex;
   align-items: center;
   gap: 0.6rem;
   margin-bottom: 0.5rem;
   cursor: pointer;
   font-weight: normal;
}
.checkbox-label:last-child {
   margin-bottom: 0;
}
.checkbox-custom {
   width: 18px;
   height: 18px;
}
.hero-announcement-link {
    display: block;
    text-decoration: none;
    color: inherit;
    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%;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}

.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;
}

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

.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;
}

.contact-page-container {
    max-width: 850px;
    margin: 3rem auto 4rem auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
    width: 100%;
}

.contact-main-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.contact-owner-section {
    margin-bottom: 2rem;
    padding-bottom: 1.8rem;
    border-bottom: 1px solid #f0f0f0;
}

.owner-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.2rem;
}

.owner-img-round {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #111111;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    flex-shrink: 0;
    filter: brightness(1.05) contrast(0.9) grayscale(20%);
}

.owner-intro h2 {
    font-family: 'Merriweather', serif;
    font-size: 1.35rem;
    margin-bottom: 0.3rem;
    color: #111;
}

.owner-greeting {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
}

.quick-contact-buttons {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.contact-form-section h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.25rem;
    margin-bottom: 1.2rem;
    color: #111;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: #333;
}

.form-group input, 
.form-group textarea,
.form-control {
    width: 100%;
    padding: 0.75rem 0.8rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    background-color: #ffffff;
    box-sizing: border-box;
}

.btn-contact,
.btn-small,
.btn-submit-full,
.btn-whatsapp-custom {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    background-color: #111111 !important;
    color: #ffffff !important;
    border: 2px solid #111111 !important;
    border-radius: 6px !important;
    padding: 0.75rem 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.15) !important;
}

.btn-contact:hover,
.btn-contact:focus,
.btn-small:hover,
.btn-small:focus,
.btn-submit-full:hover,
.btn-submit-full:focus,
.btn-whatsapp-custom:hover,
.btn-whatsapp-custom:focus {
    background-color: #ffffff !important;
    color: #111111 !important;
    border-color: #111111 !important;
    transform: translateY(-2px) !important;
}
.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;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #111111 !important;
    color: #ffffff !important;
    border-color: #111111 !important;
    transform: translateY(-2px) !important;
}
.btn-small {
    padding: 0.5rem 0.9rem !important;
    font-size: 0.85rem !important;
    border-width: 1.5px !important;
}

.btn-submit-full {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.85rem !important;
}

.info-box-card {
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 2rem 2.5rem;
}

.info-box-card h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #0f172a;
}

.info-box-card p {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 0.8rem;
}

.info-box-card p:last-child {
    margin-bottom: 0;
}

.bottom-banner-hero {
    position: relative;
    width: 100%;
    height: 450px;
    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: auto;
}

.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;
    margin-bottom: 1.25rem;
}

footer {
    background-color: #ffffff;
    border-top: 1px solid #eaeaea;
    padding: 2rem 1rem;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: #475569 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #111111 !important;
    text-decoration: underline !important;
}

.footer-copy {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

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

    .site-logo {
        height: 55px;
    }

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

    .site-nav a {
        font-size: 0.95rem !important;
    }

    .hero-compact h1 {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .owner-header {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }

    .quick-contact-buttons {
        flex-direction: column;
    }

    .btn-small {
        width: 100% !important;
    }

    .contact-main-card,
    .info-box-card {
        padding: 1.5rem;
    }
}
