/* Clean Partner Oy - Shared Styles */

:root {
    --white: #FFFFFF;
    --off-white: #FAFBFC;
    --cream: #F5F7F8;
    --teal: #0A9396;
    --teal-light: #0AB4B8;
    --mint: #94D2BD;
    --mint-soft: #E8F5F1;
    --charcoal: #1A1A2E;
    --charcoal-light: #2D2D44;
    --gold: #C9A962;
    --gold-soft: #F5EDD8;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-soft: 0 4px 30px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.08);
    --shadow-lift: 0 20px 60px rgba(0, 0, 0, 0.12);
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, sans-serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--off-white);
    color: var(--charcoal);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--mint);
    color: var(--charcoal);
}

/* Logo Image */
.logo-img {
    height: 50px;
    width: auto;
}

.footer-brand .logo-img {
    height: 60px;
    margin-bottom: 15px;
}

/* Service Images */
.service-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 15px;
    margin-bottom: 20px;
    display: block;
}

/* Service Card Images (homepage) */
.service-card-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 16px;
    margin-bottom: 20px;
    display: block;
}

/* Testimonials Image */
.testimonials-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 20px;
    margin: 30px auto;
    display: block;
}

/* Featured Project Image */
.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: inherit;
}

/* Gallery Image */
.gallery-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
    display: block;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 20px;
}

.lang-switcher button {
    background: none;
    border: none;
    color: var(--charcoal);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    padding: 5px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.lang-switcher button:hover {
    opacity: 0.8;
}

.lang-switcher button.active {
    opacity: 1;
    color: var(--teal);
}

.lang-divider {
    color: var(--charcoal);
    opacity: 0.3;
    font-size: 0.85rem;
}

/* Mobile language switcher */
.mobile-lang-switcher {
    display: none;
}

.mobile-lang-switcher .lang-switcher {
    margin-right: 15px;
}


.mobile-menu-toggle {
    background: none;
    border: none;
    padding: 10px;
}

.mobile-menu-toggle:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 4px;
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 120px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 998;
    display: none;
    flex-direction: column;
    padding: 30px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.mobile-menu.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-links li {
    margin-bottom: 20px;
}

.mobile-menu-links a {
    font-size: 1.2rem;
    color: var(--charcoal);
    text-decoration: none;
    font-weight: 500;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--cream);
    transition: color 0.3s ease;
}

.mobile-menu-links a:hover,
.mobile-menu-links a.active {
    color: var(--teal);
}

.mobile-menu .nav-cta {
    display: inline-block;
    margin-top: 20px;
    text-align: center;
}

.mobile-menu .lang-switcher {
    margin-top: 30px;
    justify-content: center;
}

/* Responsive */
@media (max-width: 900px) {
    .lang-switcher {
        display: none;
    }

    .mobile-lang-switcher {
        display: flex;
    }

    .mobile-lang-switcher .lang-switcher {
        display: flex;
    }
}

@media (max-width: 600px) {
    .mobile-lang-switcher .lang-switcher button {
        font-size: 0.8rem;
        padding: 4px 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}
