/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Suvine kuuma/jaheda kontrast */
    --hot-color: #ff6b35;
    --cool-color: #0077be;
    --gradient-hot: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    --gradient-cool: linear-gradient(135deg, #0077be 0%, #00a8e8 100%);
    --gradient-sunset: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #0077be 100%);

    --primary-color: #003f7f;
    --secondary-color: #0077be;
    --accent-color: #ff6b35;
    --text-dark: #1a365d;
    --text-light: #4a5568;
    --white: #ffffff;
    --light-blue: #e6f4ff;
    --warm-white: #fdfbf7;
    --border-color: #bee3f8;
    --success-color: #38a169;
    --shadow-cool: 0 8px 32px rgba(0, 119, 190, 0.15);
    --shadow-warm: 0 8px 32px rgba(255, 107, 53, 0.15);
    
    --text-color: #003f7f;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-display: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --border-radius: 16px;
    --border-radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--warm-white);
}

a{
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.text-gradient {
    background: var(--gradient-cool);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight-text {
    background: var(--gradient-hot);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 16px 24px;
    border: 2px solid var(--white);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-spring);
    position: relative;
    overflow: hidden;
}

.btn.large {
    padding: 20px 32px;
    font-size: 1.125rem;
}

.btn-primary {
    background: var(--gradient-hot);
    color: var(--white);
    box-shadow: var(--shadow-warm);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background: var(--gradient-cool);
    color: var(--white);
    box-shadow: var(--shadow-cool);
}

.btn-secondary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 119, 190, 0.3);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border: 2px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--white);
    transform: translateY(-2px);
    border-color: var(--accent-color);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(0, 119, 190, 0.15);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 4px 30px rgba(0, 119, 190, 0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 20px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 80px;
}

.nav-logo {
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 70px;
    width: auto;
    max-height: calc(100% - 10px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-cta .nav-phone {
    background: var(--gradient-hot);
    color: var(--white);
    padding: 12px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-warm);
    transition: var(--transition);
}

.nav-cta .nav-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

/* Keelevalik - uus kompaktne lahendus */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-switcher {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 4px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-btn {
    display: flex;
    align-items: center;
        color: black;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 0.8rem;
    transition: var(--transition);
    opacity: 0.7;
}

.lang-btn:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lang-btn.active {
    opacity: 1;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

.nav-dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 10px 40px rgba(0, 119, 190, 0.15);
    border-radius: var(--border-radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.nav-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-content a:hover {
    background: var(--light-blue);
    color: var(--secondary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
    border-radius: 4px;
    background: transparent;
    border: none;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--accent-color);
    transition: var(--transition);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 0;
        box-shadow: 0 10px 40px rgba(0, 119, 190, 0.2);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        border-top: 3px solid var(--accent-color);
        list-style: none;
        margin: 0;
        display: none;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

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

    .nav-menu li {
        margin: 0;
        border-bottom: 1px solid rgba(0, 119, 190, 0.08);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu .nav-link,
    .nav-menu a {
        display: flex;
        align-items: center;
        padding: 1.5rem 2rem;
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--text-dark);
        text-decoration: none;
        transition: all 0.3s ease;
        position: relative;
    }

    .nav-menu .nav-link::before,
    .nav-menu a::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: var(--accent-color);
        transform: scaleY(0);
        transition: transform 0.3s ease;
    }

    .nav-menu .nav-link:hover,
    .nav-menu a:hover {
        color: var(--accent-color);
        background: linear-gradient(90deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 107, 53, 0.05) 100%);
        transform: translateX(8px);
    }

    .nav-menu .nav-link:hover::before,
    .nav-menu a:hover::before {
        transform: scaleY(1);
    }

    .nav-dropdown .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0, 119, 190, 0.03);
        border: none;
        padding: 0;
        margin: 0;
        border-radius: 0;
    }

    .nav-dropdown .dropdown-content a {
        padding: 1rem 3rem;
        font-size: 0.95rem;
        color: var(--text-light);
        border-bottom: 1px solid rgba(0, 119, 190, 0.05);
        font-weight: 500;
    }

    .nav-dropdown .dropdown-content a:hover {
        color: var(--secondary-color);
        background: rgba(0, 119, 190, 0.08);
    }

    /* Keep nav-right visible but adjust layout */
    .nav-right {
        display: flex;
        gap: 0.5rem;
        align-items: center;
    }

    .lang-switcher {
        padding: 3px;
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(0, 119, 190, 0.2);
    }

    .lang-btn {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }

    .nav-cta .nav-phone {
        padding: 8px 12px;
        font-size: 0.8rem;
        background: var(--gradient-hot);
        box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
    }
}

/* Hero Section - Suvine kuuma/jaheda teema */
.hero {
    min-height: 140vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #87ceeb 0%, #e0f6ff 50%, #ffa500 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(135, 206, 235, 0.9) 0%,
            rgba(224, 246, 255, 0.8) 50%,
            rgba(255, 165, 0, 0.9) 100%);
    z-index: 1;
}

/* Päikesekiired animatsioon */
.sun-rays {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: repeating-conic-gradient(from 0deg at 50% 50%,
            rgba(255, 165, 0, 0.1) 0deg,
            rgba(255, 165, 0, 0.05) 5deg,
            rgba(255, 165, 0, 0.1) 10deg);
    animation: rotateSun 20s linear infinite;
    z-index: 2;
}

@keyframes rotateSun {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Kuumus osakesed */
.heat-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 107, 53, 0.3) 2px, transparent 2px),
        radial-gradient(circle at 60% 70%, rgba(247, 147, 30, 0.2) 1px, transparent 1px),
        radial-gradient(circle at 80% 30%, rgba(255, 107, 53, 0.25) 1.5px, transparent 1.5px);
    background-size: 100px 100px, 150px 150px, 80px 80px;
    animation: floatHeat 8s ease-in-out infinite;
    z-index: 2;
}

@keyframes floatHeat {

    0%,
    100% {
        transform: translateY(0px);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-20px);
        opacity: 1;
    }
}

.hero-content {
    text-align: center;
    color: var(--text-dark);
    z-index: 10;
    padding: 2rem 0;
    position: relative;
    padding-top: 120px; 
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 12px 24px;
    border-radius: 50px;
    margin-bottom: 2rem;
    font-weight: 600;
    color: var(--accent-color);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.badge-icon {
    font-size: 1.2rem;
    animation: bounce 1.5s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.hero-title {
    margin-bottom: 2rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Temperatuuri näidik */
.temperature-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.temp-before,
.temp-after {
    text-align: center;
}

.temp-display {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.temp-display.hot {
    background: var(--gradient-hot);
    animation: heatPulse 2s ease-in-out infinite;
}

.temp-display.cool {
    background: var(--gradient-cool);
    animation: coolPulse 2s ease-in-out infinite;
}

@keyframes heatPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
    }

    50% {
        box-shadow: 0 0 40px rgba(255, 107, 53, 0.8);
    }
}

@keyframes coolPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 119, 190, 0.5);
    }

    50% {
        box-shadow: 0 0 40px rgba(0, 119, 190, 0.8);
    }
}

.temp-arrow {
    font-size: 2rem;
    color: var(--text-dark);
    font-weight: bold;
    animation: slideArrow 2s ease-in-out infinite;
}

@keyframes slideArrow {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(10px);
    }
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

/* Hero benefits */
.hero-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 4rem auto;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 119, 190, 0.1);
    transition: var(--transition);
}

.benefit:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 119, 190, 0.2);
}

.benefit-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.benefit-content {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.benefit-title {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.benefit-desc {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-dark);
    z-index: 10;
}

.scroll-arrow {
    margin-top: 0.5rem;
    font-size: 1.5rem;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--light-blue) 0%, rgba(224, 246, 255, 0.7) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.services-grid .service-card:nth-child(1) { grid-column: 1; grid-row: 1; }
.services-grid .service-card:nth-child(2) { grid-column: 2; grid-row: 1; }
.services-grid .service-card:nth-child(3) { grid-column: 3; grid-row: 1; }
.services-grid .service-card:nth-child(4) { grid-column: 1; grid-row: 2; }
.services-grid .service-card:nth-child(5) { grid-column: 2; grid-row: 2; }
.services-grid .service-card:nth-child(6) { grid-column: 3; grid-row: 2; }

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 2rem;
    }
    
    .services-grid .service-card {
        grid-column: unset !important;
        grid-row: unset !important;
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 119, 190, 0.12);
    transition: var(--transition-spring);
    cursor: pointer;
    position: relative;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 119, 190, 0.08);
}

.service-card.highlight {
    border: 3px solid var(--accent-color);
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.2);
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 119, 190, 0.25);
}

.service-card.highlight:hover {
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.3);
}

.service-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--gradient-hot);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.service-image {
    position: relative;
    height: 260px;
    overflow: hidden;
    flex-shrink: 0;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: var(--white);
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1.3;
}

.service-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.service-features span {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: var(--text-dark);
    padding: 0.75rem 1rem;
    background: rgba(0, 119, 190, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
    font-weight: 500;
}

.service-card.highlight .service-features span {
    background: rgba(255, 107, 53, 0.05);
    border-left-color: var(--accent-color);
}

.service-cta {
    margin-top: auto;
}

.service-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 600;
    background: var(--gradient-cool);
    border: none;
    color: var(--white);
    font-size: 1rem;
}

.service-card.highlight .service-cta .btn {
    background: var(--gradient-hot);
}

.service-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 119, 190, 0.3);
}

.service-card.highlight .service-cta .btn:hover {
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

/* Remove overlay entirely since we now use a separate content section */
.service-overlay {
    display: none;
}

/* Why Choose Us */
.why-choose-us {
    padding: 6rem 0;
    background: var(--warm-white);
}

.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-text h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    background: rgba(0, 119, 190, 0.05);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.feature:hover {
    background: rgba(0, 119, 190, 0.1);
    transform: translateX(10px);
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.why-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 40px rgba(0, 119, 190, 0.2);
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: var(--gradient-sunset);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.cta-buttons .btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.cta-buttons .btn-primary:hover {
    background: var(--warm-white);
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition-spring);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.social-links a i {
    font-size: 1.5rem;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-3px) scale(1.1);
    background: var(--white);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.social-links a:hover i {
    color: var(--primary-color);
}

.social-links a.facebook:hover {
    background: #1877f2;
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
}

.social-links a.facebook:hover i {
    color: var(--white);
}

.social-links a.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 8px 25px rgba(225, 48, 108, 0.4);
}

.social-links a.instagram:hover i {
    color: var(--white);
}

.social-links a.youtube:hover {
    background: #ff0000;
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
}

.social-links a.youtube:hover i {
    color: var(--white);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.25rem;
}

.footer-section a {    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-color);
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

/* Dekoratiivkilede lehekülg */
.decorative-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--light-blue) 0%, rgba(224, 246, 255, 0.7) 100%);
    text-align: center;
}

.decorative-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.decorative-hero .hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.feature-highlight {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 32px rgba(0, 119, 190, 0.12);
    transition: var(--transition);
}

.feature-highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 119, 190, 0.2);
}

.feature-highlight .feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-highlight h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.feature-highlight p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.decorative-benefits {
    padding: 6rem 0;
    background: var(--warm-white);
}

.decorative-benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 32px rgba(0, 119, 190, 0.12);
    transition: var(--transition);
    border: 1px solid rgba(0, 119, 190, 0.08);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 119, 190, 0.2);
}

.benefit-card .benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
}

.decorative-gallery {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.decorative-types {
    padding: 6rem 0;
    background: var(--light-blue);
}

.decorative-types h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4rem;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.type-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 32px rgba(0, 119, 190, 0.12);
    transition: var(--transition);
}

.type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 119, 190, 0.2);
}

.type-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.type-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.type-card ul {
    list-style: none;
    padding: 0;
}

.type-card li {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.type-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.installation-process {
    padding: 6rem 0;
    background: var(--warm-white);
}

.installation-process h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.process-steps .step {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 119, 190, 0.12);
    transition: var(--transition);
}

.process-steps .step:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 119, 190, 0.2);
}

.process-steps .step-number {
    background: var(--gradient-hot);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.process-steps .step h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.process-steps .step p {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 0.95rem;
}

.product-selection-decorative {
    padding: 6rem 0;
    background: rgba(0, 119, 190, 0.05);
}

.product-selection-decorative h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.product-selection-decorative > .container > .selection-content > p {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

.product-selection-decorative .selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-selection-decorative .selection-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 119, 190, 0.12);
    transition: var(--transition);
}

.product-selection-decorative .selection-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 119, 190, 0.2);
}

.product-selection-decorative .selection-item h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-selection-decorative .selection-item p {
    color: var(--text-light);
    line-height: 1.5;
}

.product-selection-decorative .external-link-notice {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 119, 190, 0.12);
    border-left: 4px solid var(--accent-color);
}

.product-selection-decorative .external-link-notice p {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin: 0;
}

.product-selection-decorative .external-link-notice a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.product-selection-decorative .external-link-notice a:hover {
    text-decoration: underline;
    color: var(--accent-color);
}

.cta-decorative {
    padding: 6rem 0;
    background: var(--gradient-sunset);
    color: var(--white);
    text-align: center;
}

.cta-decorative h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta-decorative p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-decorative .cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-decorative .btn.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.cta-decorative .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
}

.cta-decorative .btn-primary:hover {
    background: var(--warm-white);
    transform: translateY(-3px) scale(1.02);
}

.cta-decorative .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-decorative .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--white);
    transform: translateY(-3px) scale(1.02);
}

.phone-icon, .email-icon {
    font-size: 1.2rem;
}

/* Dekoratiivkilede responsive stiilid */
@media (max-width: 1024px) {
    .hero-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .types-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .decorative-hero {
        padding: 6rem 0 3rem;
    }
    
    .decorative-hero h1 {
        font-size: clamp(2rem, 5vw, 2.5rem);
    }
    
    .decorative-hero .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-highlight {
        padding: 1.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefit-card {
        padding: 2rem;
    }
    
    .types-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .type-card {
        padding: 2rem;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .product-selection-decorative .selection-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-decorative .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-decorative .btn.large {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .decorative-hero {
        padding: 5rem 0 2rem;
    }
    
    .feature-highlight {
        padding: 1.25rem;
    }
    
    .feature-highlight h3 {
        font-size: 1.2rem;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
    
    .benefit-card h3 {
        font-size: 1.3rem;
    }
    
    .type-card {
        padding: 1.5rem;
    }
    
    .type-card h3 {
        font-size: 1.3rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .process-steps .step {
        padding: 1.5rem;
    }
    
    .process-steps .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .product-selection-decorative .selection-item {
        padding: 1.5rem;
    }
    
    .cta-decorative h2 {
        font-size: 2rem;
    }
    
    .cta-decorative p {
        font-size: 1.1rem;
    }
    
    .cta-decorative .btn.large {
        padding: 1rem 2rem;
        font-size: 1rem;
        max-width: 280px;
    }
}

/* Responsive Design */
@media (max-width: 1440px) {
    .container {
        max-width: 1200px;
        padding: 0 30px;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 1000px;
        padding: 0 25px;
    }
    
    .hero-benefits {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .why-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .temperature-showcase {
        gap: 1rem;
    }

    .temp-display {
        width: 100px;
        height: 100px;
        font-size: 1.5rem;
    }
    
    .hero-benefits {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-cta .nav-phone {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}

/* Tablet responsive */
@media (max-width: 820px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-container {
        padding: 0.5rem 15px;
    }
    
    .hero-content {
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .benefit {
        padding: 1.25rem;
    }
    
    .service-content {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-right {
        gap: 0.5rem;
    }

    .lang-switcher {
        padding: 3px;
    }

    .lang-btn {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }

    .nav-cta .nav-phone {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-benefits {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-card {
        min-height: 450px;
    }

    .service-image {
        height: 200px;
    }

    .service-content {
        padding: 1.5rem;
    }

    .service-content h3 {
        font-size: 1.3rem;
    }

    .service-content p {
        font-size: 0.95rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

/* Mobile responsive */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content {
        padding: 100px 0 1rem 0;
    }
    
    .nav-container {
        padding: 0.5rem 10px;
        min-height: 70px;
    }
    
    .nav-logo img {
        height: 60px;
    }
    
    .lang-btn {
        width: 26px;
        height: 26px;
        font-size: 0.9rem;
    }
    
    .nav-cta .nav-phone {
        padding: 6px 10px;
        font-size: 0.75rem;
    }

    .temperature-showcase {
        flex-direction: column;
        gap: 1rem;
    }

    .benefit {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .benefit-icon {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .service-content {
        padding: 1.25rem;
    }
    
    .service-content h3 {
        font-size: 1.2rem;
    }
    
    .service-features span {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
    }
}

/* Väga väikesed ekraanid / vanad mobiilid */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .nav-container {
        padding: 0.4rem 8px;
        min-height: 65px;
    }
    
    .nav-logo img {
        height: 55px;
    }
    
    .hero-content {
        padding: 90px 0 1rem 0;
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 7vw, 2.5rem);
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .btn {
        padding: 12px 16px;
        font-size: 0.9rem;
        max-width: 250px;
    }
    
    .temp-display {
        width: 80px;
        height: 80px;
        font-size: 1.2rem;
    }
    
    .benefit {
        padding: 0.75rem;
    }
    
    .benefit-title {
        font-size: 1rem;
    }
    
    .benefit-desc {
        font-size: 0.85rem;
    }
    
    .service-content {
        padding: 1rem;
    }
    
    .service-content h3 {
        font-size: 1.1rem;
    }
    
    .service-content p {
        font-size: 0.9rem;
    }
    
    .service-features span {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
    }
    
    .social-links a i {
        font-size: 1.2rem;
    }
}

/* Blog Page Styles */
.blog-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--light-blue) 0%, rgba(224, 246, 255, 0.7) 100%);
    text-align: center;
}

.blog-content {
    padding: 4rem 0;
    background: var(--warm-white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.blog-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 119, 190, 0.12);
    transition: var(--transition-spring);
    position: relative;
    border: 1px solid rgba(0, 119, 190, 0.08);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 119, 190, 0.2);
}

.blog-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-hot);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.blog-content-area {
    padding: 2rem;
}

.blog-category {
    display: inline-block;
    background: rgba(0, 119, 190, 0.1);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.blog-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.blog-read-more:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.blog-featured {
    border: 3px solid var(--accent-color);
    transform: scale(1.02);
}

.blog-featured .blog-category {
    background: rgba(255, 107, 53, 0.1);
    color: var(--accent-color);
}

.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.page-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background: var(--white);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.page-btn:hover,
.page-btn.active {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.blog-sidebar {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 32px rgba(0, 119, 190, 0.12);
    height: fit-content;
    position: sticky;
    top: 6rem;
}

.sidebar-section {
    margin-bottom: 2rem;
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 119, 190, 0.1);
}

.category-list a:hover {
    color: var(--secondary-color);
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: start;
}

/* About Page Styles */
.about-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--light-blue) 0%, rgba(224, 246, 255, 0.7) 100%);
    text-align: center;
}

.about-content {
    padding: 4rem 0;
    background: var(--warm-white);
}

.about-section {
    margin-bottom: 4rem;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-dark);
    text-align: left;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.partners-section {
    background: var(--white);
    padding: 4rem 0;
    margin: 4rem 0;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 32px rgba(0, 119, 190, 0.12);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.partner-item {
    padding: 1.5rem;
    background: rgba(0, 119, 190, 0.05);
    border-radius: var(--border-radius);
    font-weight: 600;
    color: var(--primary-color);
    transition: var(--transition);
}

.partner-item:hover {
    background: rgba(0, 119, 190, 0.1);
    transform: translateY(-2px);
}

.contact-info-section {
    background: var(--gradient-cool);
    color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    margin-top: 3rem;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.contact-item h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.contact-item p, .contact-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--white);
}

.showroom-info {
    background: rgba(255, 107, 53, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
    border-left: 4px solid var(--accent-color);
}

.values-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px rgba(0, 119, 190, 0.1);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 119, 190, 0.2);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-desc {
    color: var(--text-light);
    line-height: 1.6;
}

/* Reklaam- ja tahvlkilede galerii stiilid */
.advertising-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--light-blue) 0%, rgba(224, 246, 255, 0.7) 100%);
    text-align: center;
}

.advertising-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.advertising-hero .hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

.product-info {
    padding: 6rem 0;
    background: var(--warm-white);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.info-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 32px rgba(0, 119, 190, 0.12);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 119, 190, 0.2);
}

.info-card .info-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.info-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card li {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.info-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.tahvli-types {
    margin-top: 2rem;
}

.type-item {
    background: rgba(0, 119, 190, 0.05);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    border-left: 4px solid var(--secondary-color);
}

.type-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.type-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.examples-gallery {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.services-section {
    padding: 6rem 0;
    background: var(--warm-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 32px rgba(0, 119, 190, 0.12);
    text-align: center;
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 119, 190, 0.2);
}

.service-item .service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Galerii modal stiilid */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.modal-main {
    position: relative;
    max-width: 80vw;
    max-height: 70vh;
}

.modal-main img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    width: 100%;
    pointer-events: none;
}

.modal-nav-btn {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-nav-btn:hover {
    background: rgba(0, 119, 190, 0.8);
    transform: scale(1.1);
}

.modal-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.modal-nav-btn:disabled:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1);
}

#modalPrev {
    left: -70px;
}

#modalNext {
    right: -70px;
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.7);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
}

.modal-close:hover {
    background: rgba(255, 107, 53, 0.8);
    transform: scale(1.1);
}

.modal-thumbnails {
    max-width: 80vw;
    overflow-x: auto;
    padding: 1rem 0;
}

.thumbnails-container {
    display: flex;
    gap: 1rem;
    padding: 0 1rem;
}

.thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail.active {
    opacity: 1;
    border-color: var(--accent-color);
    transform: scale(1.05);
}

/* Responsive galerii modal */
@media (max-width: 768px) {
    .modal-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    #modalPrev {
        left: -60px;
    }
    
    #modalNext {
        right: -60px;
    }
    
    .modal-close {
        top: -45px;
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
    
    .modal-main {
        max-width: 90vw;
        max-height: 60vh;
    }
    
    .thumbnail {
        width: 60px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .modal-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    #modalPrev {
        left: -50px;
    }
    
    #modalNext {
        right: -50px;
    }
    
    .modal-close {
        top: -40px;
        width: 32px;
        height: 32px;
        font-size: 1.3rem;
    }
    
    .modal-main {
        max-width: 95vw;
        max-height: 50vh;
    }
    
    .thumbnail {
        width: 50px;
        height: 40px;
    }
    
    .thumbnails-container {
        gap: 0.5rem;
        padding: 0 0.5rem;
    }
}

/* Responsive for blog and about */
@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-sidebar {
        position: static;
    }
    
    .values-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .product-selection {
        padding: 60px 0;
    }
    
    .solar-gallery {
        padding: 60px 0;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-hero, .about-hero {
        padding: 6rem 0 3rem;
    }
    
    .blog-hero h1, .about-hero h1 {
        font-size: clamp(2rem, 5vw, 2.5rem);
    }

    .about-text {
        font-size: 1rem;
    }

    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .contact-details {
        grid-template-columns: 1fr;
    }
    
    .values-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .value-card {
        padding: 1.5rem;
    }
    
    .showrooms-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .showroom-card {
        padding: 1.5rem;
    }
    
    /* Reklaam- ja tahvlkilede responsive */
    .advertising-hero {
        padding: 6rem 0 3rem;
    }
    
    .advertising-hero h1 {
        font-size: clamp(2rem, 5vw, 2.5rem);
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .info-card {
        padding: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-item {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .blog-hero, .about-hero {
        padding: 5rem 0 2rem;
    }
    
    .blog-card {
        margin-bottom: 1.5rem;
    }
    
    .blog-content-area {
        padding: 1.5rem;
    }
    
    .blog-title {
        font-size: 1.2rem;
    }
    
    .about-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .partners-section {
        padding: 3rem 0;
        margin: 3rem 0;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .partner-item {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .value-card {
        padding: 1.25rem;
    }
    
    .value-icon {
        font-size: 2.5rem;
    }
    
    .value-title {
        font-size: 1.2rem;
    }
    
    .showroom-card {
        padding: 1.25rem;
    }
    
    .contact-info-section {
        padding: 2rem;
    }
    
    /* Reklaam- ja tahvlkilede väikesed ekraanid */
    .advertising-hero {
        padding: 5rem 0 2rem;
    }
    
    .advertising-hero h1 {
        font-size: clamp(1.8rem, 6vw, 2.2rem);
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .info-card h3 {
        font-size: 1.3rem;
    }
    
    .service-item {
        padding: 1.25rem;
    }
    
    .service-item h3 {
        font-size: 1.2rem;
    }
    
    .type-item {
        padding: 1.25rem;
    }
    
    .type-item h4 {
        font-size: 1.1rem;
    }
}

/* Security Films Page Styles */
.security-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #69b4ff 0%, #34495e 50%, #4a5568 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.security-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    animation: securityPattern 20s linear infinite;
}

@keyframes securityPattern {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(50px) translateY(50px); }
}

.security-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 24px;
    border-radius: 50px;
    margin-bottom: 2rem;
    font-weight: 600;
    color: #e74c3c;
    box-shadow: 0 4px 20px rgba(231, 76, 60, 0.3);
    border: 2px solid rgba(231, 76, 60, 0.2);
    position: relative;
    z-index: 10;
}

.security-hero .hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 10;
}

.security-hero .hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
    position: relative;
    z-index: 10;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    position: relative;
    z-index: 10;
}

.stat {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #e74c3c;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
}

.security-info {
    padding: 6rem 0;
    background: var(--warm-white);
}

.usage-areas {
    padding: 6rem 0;
    background: var(--light-blue);
}

.usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.usage-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 119, 190, 0.12);
    transition: var(--transition);
}

.usage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 119, 190, 0.2);
}

.usage-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.usage-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.usage-item p {
    color: var(--text-light);
    line-height: 1.5;
}

.security-gallery {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.security-cta {
    padding: 6rem 0;
    background: var(--gradient-sunset);
    color: var(--white);
    text-align: center;
}

.security-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.security-cta p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Blog Post Styles */
.blog-post-hero {
    padding: 6rem 0 3rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.blog-post-breadcrumb {
    margin-bottom: 2rem;
}

.blog-post-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.blog-post-breadcrumb a:hover {
    color: var(--white);
}

.blog-post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.post-category {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
}

.post-date {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.blog-post-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.blog-post-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 800px;
    line-height: 1.6;
}

.blog-post-content {
    padding: 4rem 0;
    background: var(--warm-white);
}

.blog-post-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    align-items: start;
}

.blog-post-main {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 119, 190, 0.12);
}

.blog-post-image {
    height: 300px;
    overflow: hidden;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post-text {
    padding: 3rem;
}

.lead-paragraph {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(0, 119, 190, 0.05);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
}

.blog-post-text h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem 0;
    color: var(--primary-color);
}

.blog-post-text p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.checklist {
    margin: 2rem 0;
}

.check-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(0, 119, 190, 0.03);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 119, 190, 0.1);
}

.check-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.testimonials {
    margin: 2rem 0;
}

.testimonial {
    background: var(--warm-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--accent-color);
    font-style: italic;
}

.testimonial p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.testimonial cite {
    font-weight: 600;
    color: var(--secondary-color);
    font-style: normal;
}

.blog-post-cta {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin: 3rem 0;
}

.blog-post-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.blog-post-cta p {
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.blog-post-share {
    padding: 2rem 3rem;
    border-top: 1px solid rgba(0, 119, 190, 0.1);
    text-align: center;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.share-btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.share-btn.facebook {
    background: #3b5998;
    color: var(--white);
}

.share-btn.twitter {
    background: #1da1f2;
    color: var(--white);
}

.share-btn.linkedin {
    background: #0077b5;
    color: var(--white);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.blog-post-sidebar {
    position: sticky;
    top: 2rem;
}

.related-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-post {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(0, 119, 190, 0.1);
}

.related-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 119, 190, 0.15);
}

.related-post img {
    width: 60px;
    object-fit: cover;
    border-radius: var(--border-radius);
    flex-shrink: 0;
}

.related-post h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.related-post span {
    font-size: 0.8rem;
    color: var(--text-light);
}

.contact-widget {
    background: rgba(0, 119, 190, 0.05);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.contact-widget p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

@media (max-width: 1024px) {
    .blog-post-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .blog-post-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .blog-post-hero {
        padding: 4rem 0 2rem;
    }
    
    .blog-post-text {
        padding: 2rem;
    }
    
    .blog-post-cta {
        padding: 2rem;
    }
    
    .blog-post-share {
        padding: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .share-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Furniture Wrapping Page Styles */
.furniture-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 50%, #cd853f 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.furniture-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 60px 60px, 40px 40px;
    animation: woodPattern 25s linear infinite;
}

@keyframes woodPattern {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(60px) translateY(60px); }
}

.furniture-hero .hero-content {
    position: relative;
    z-index: 10;
}

.furniture-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 24px;
    border-radius: 50px;
    margin-bottom: 2rem;
    font-weight: 600;
    color: #8b4513;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.3);
    border: 2px solid rgba(139, 69, 19, 0.2);
}

.furniture-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.furniture-hero .hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

.wrapping-possibilities {
    padding: 6rem 0;
    background: var(--warm-white);
}

.possibilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.possibility-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.possibility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.possibility-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.furniture-gallery {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 80px 0;
}

.wrapping-benefits {
    padding: 6rem 0;
    background: var(--white);
}

.faq-section {
    padding: 6rem 0;
    background: var(--warm-white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.faq-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.certifications {
    padding: 6rem 0;
    background: var(--white);
    text-align: center;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.cert-item {
    background: var(--warm-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 2px solid var(--accent-color);
}

.cert-item h4 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.official-dealer {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius);
}

.product-selection {
    padding: 6rem 0;
    background: var(--warm-white);
    text-align: center;
}

.cta-furniture {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    text-align: center;
}

/* Car Tinting Page Styles */
.page-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 40%, rgba(0, 119, 190, 0.1) 50%, transparent 60%),
        radial-gradient(circle at 30% 40%, rgba(255, 107, 53, 0.1) 20%, transparent 21%),
        radial-gradient(circle at 70% 60%, rgba(255, 107, 53, 0.08) 15%, transparent 16%);
    animation: carPattern 15s ease-in-out infinite;
}

@keyframes carPattern {
    0%, 100% { opacity: 0.7; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(-20px); }
}

.page-hero .hero-content {
    position: relative;
    z-index: 10;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-hero .hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.services-overview {
    padding: 6rem 0;
    background: var(--warm-white);
}

.content-block {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 119, 190, 0.1);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 119, 190, 0.15);
}

.feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.feature-item p {
    margin: 0;
    line-height: 1.5;
}

.protection-films {
    padding: 6rem 0;
    background: var(--light-blue);
}

.ppf-finishes {
    margin-top: 4rem;
}

.ppf-finishes h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.finishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.finish-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 32px rgba(0, 119, 190, 0.12);
    transition: var(--transition);
}

.finish-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 119, 190, 0.2);
}

.finish-item h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.finish-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.glass-films {
    padding: 6rem 0;
    background: var(--warm-white);
}

.glass-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.glass-benefit {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 119, 190, 0.1);
    transition: var(--transition);
}

.glass-benefit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 119, 190, 0.15);
}

.glass-benefit .benefit-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.glass-benefit p {
    margin: 0;
    font-weight: 600;
    color: var(--text-dark);
}

.additional-info {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-dark);
    background: rgba(0, 119, 190, 0.05);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
}

.additional-info a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.additional-info a:hover {
    text-decoration: underline;
    color: var(--accent-color);
}

.car-gallery {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.certification-section {
    padding: 6rem 0;
    background: var(--warm-white);
}

.certification-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cert-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.cert-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.cert-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0, 119, 190, 0.2);
}

/* Responsive stiilid */
@media (max-width: 1024px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .usage-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .certification-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .security-hero {
        padding: 6rem 0 3rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .usage-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .glass-benefits {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .finishes-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cert-text h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .security-hero .hero-title {
        font-size: clamp(2rem, 5vw, 2.5rem);
    }
    
    .stat {
        padding: 1.25rem;
    }
    
    .usage-item {
        padding: 1.5rem;
    }
    
    .feature-item {
        padding: 1.25rem;
    }
    
    .glass-benefit {
        padding: 1.25rem;
    }
    
    .finish-item {
        padding: 1.5rem;
    }
}

/* Accessibility */
.btn:focus,
.nav-link:focus,
a:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Näidissaalide sektsioon */
.showrooms-section {
    padding: 6rem 0;
    background: var(--warm-white);
}

.showrooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.showroom-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 119, 190, 0.12);
    transition: var(--transition);
    border: 1px solid rgba(0, 119, 190, 0.08);
}

.showroom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 119, 190, 0.2);
}

.showroom-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.showroom-header h3 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.3rem;
}

.location-badge {
    display: inline-flex;
    align-items: center;
    background: var(--gradient-hot);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    width: fit-content;
}

.showroom-info .address {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.showroom-info .hours {
    line-height: 1.6;
}

.open-status {
    color: var(--success-color);
    font-weight: 600;
}

.closed-status {
    color: var(--text-light);
    font-style: italic;
}

.showrooms-note {
    background: rgba(255, 107, 53, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    border-left: 4px solid var(--accent-color);
}

.showrooms-note p {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* CTA nuppude ruudustik */
.cta-buttons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Näidissaalide mini-kaardid meist.html lehel */
.showrooms-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.showroom-mini-card {
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.showroom-mini-card:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.showroom-mini-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.showroom-mini-header h4 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.mini-location-badge {
    display: inline-flex;
    align-items: center;
    background: var(--gradient-hot);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.showroom-mini-card .address {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.showroom-mini-card .hours {
    line-height: 1.4;
}

.showroom-mini-card .open-status {
    color: var(--success-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.showroom-mini-card .closed-status {
    color: var(--text-light);
    font-style: italic;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .showrooms-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-buttons-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .showroom-card {
        padding: 1.5rem;
    }

    .showroom-header h3 {
        font-size: 1.2rem;
    }

    .showrooms-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .showroom-mini-card {
        padding: 1.25rem;
    }
}

/* Päikesekaitsekildede galerii stiilid */
.solar-gallery {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 80px 0;
}

.gallery-header {
    text-align: center;
    margin-bottom: 60px;
}

.gallery-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.gallery-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 60px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: white;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(60%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
    line-height: 1.4;
}

.gallery-cta {
    text-align: center;
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 0 auto;
}

.gallery-cta p {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.gallery-cta .btn {
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

/* Lightbox stiilid */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: -10px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    border: none;
    z-index: 10001;
}

.lightbox-close:hover {
    background: rgba(255, 107, 53, 0.8);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    user-select: none;
}

.lightbox-nav:hover {
    background: rgba(0, 119, 190, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

.lightbox-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.lightbox-nav:disabled:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: translateY(-50%) scale(1);
}

.lightbox-info {
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    color: white;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.lightbox-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.lightbox-description {
    font-size: 0.9rem;
    opacity: 0.9;
}

.lightbox-counter {
    position: absolute;
    top: -50px;
    left: 0;
    color: white;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* Galerii pildid klikitavad */
.gallery-item {
    cursor: pointer;
    position: relative;
}

.gallery-item::after {
    content: "🔍";
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Responsive lightbox */
@media (max-width: 768px) {
    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
    
    .lightbox-prev {
        left: -60px;
    }
    
    .lightbox-next {
        right: -60px;
    }
    
    .lightbox-close {
        top: -45px;
        right: -5px;
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
    
    .lightbox-info {
        bottom: -50px;
        padding: 0.75rem;
    }
    
    .lightbox-title {
        font-size: 1.1rem;
    }
    
    .lightbox-description {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .lightbox-content {
        max-width: 95vw;
        max-height: 85vh;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
    
    .lightbox-prev {
        left: -50px;
    }
    
    .lightbox-next {
        right: -50px;
    }
    
    .lightbox-close {
        top: -40px;
        width: 32px;
        height: 32px;
        font-size: 1.3rem;
    }
    
    .lightbox-info {
        bottom: -45px;
        padding: 0.5rem;
    }
    
    .lightbox-title {
        font-size: 1rem;
    }
    
    .lightbox-description {
        font-size: 0.8rem;
    }
    
    .lightbox-counter {
        top: -40px;
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Responsive galerii */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-item {
        min-height: 250px;
    }

    .gallery-item img {
        height: 220px;
    }

    .gallery-header h2 {
        font-size: 2rem;
    }

    .gallery-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .gallery-cta {
        margin: 0 1rem;
        padding: 2rem 1.5rem;
    }

    .gallery-overlay {
        transform: translateY(40%);
        padding: 1.5rem 1rem 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        gap: 1rem;
    }

    .gallery-item img {
        height: 200px;
    }

    .gallery-overlay h4 {
        font-size: 1.1rem;
    }

    .gallery-overlay p {
        font-size: 0.85rem;
    }
    
    .product-selection {
        padding: 40px 0;
    }
    
    .solar-gallery {
        padding: 40px 0;
    }
    
    .selection-content {
        padding: 0 1rem;
    }
    
    .gallery-cta {
        margin: 0 1rem;
        padding: 1.5rem;
    }
}

/* UV Protection Page Styles */
/* Solar Protection Hero - kuuma vs jaheduse kontrast */
.solar-protection-hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    padding-bottom: 2rem;
}

.hero-split {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    z-index: 1;
}

/* Kuuma pool - vasakul */
.hot-side {
    background: linear-gradient(45deg, #ff4500 0%, #ff6b35 30%, #ffa500 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.burning-effects {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.heat-waves {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 2%,
        transparent 4%
    );
    animation: heatWave 3s ease-in-out infinite;
}

@keyframes heatWave {
    0%, 100% { transform: translateX(-20px) skewX(0deg); }
    50% { transform: translateX(20px) skewX(5deg); }
}

.sun-glare {
    position: absolute;
    top: 10%;
    right: 10%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, transparent 70%);
    border-radius: 50%;
    animation: sunPulse 2s ease-in-out infinite;
}

@keyframes sunPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 0.9; }
}

.sweat-drops {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(135, 206, 250, 0.7) 2px, transparent 2px),
        radial-gradient(circle at 70% 60%, rgba(135, 206, 250, 0.6) 1.5px, transparent 1.5px),
        radial-gradient(circle at 40% 80%, rgba(135, 206, 250, 0.8) 1px, transparent 1px);
    background-size: 80px 100px, 120px 150px, 60px 80px;
    animation: sweatDrop 4s ease-in-out infinite;
}

@keyframes sweatDrop {
    0% { transform: translateY(-20px); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(20px); opacity: 0; }
}

.hot-content {
    z-index: 10;
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 350px;
    margin: 0 auto;
}

.suffering-emoji {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: suffer 2s ease-in-out infinite;
}

@keyframes suffer {
    0%, 100% { transform: scale(1) rotate(-2deg); }
    50% { transform: scale(1.1) rotate(2deg); }
}

.hot-content h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: white;
}

.hot-problems {
    margin-bottom: 2rem;
}

.problem {
    background: rgba(0, 0, 0, 0.2);
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 25px;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

/* Jaheduse pool - paremal */
.cool-side {
    background: linear-gradient(225deg, #0077be 0%, #00a8e8 30%, #87ceeb 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cooling-effects {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.cool-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 75% 50%, rgba(255, 255, 255, 0.3) 1.5px, transparent 1.5px),
        radial-gradient(circle at 50% 75%, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
    background-size: 60px 60px, 100px 100px, 80px 80px;
    animation: snowfall 6s linear infinite;
}

@keyframes snowfall {
    0% { transform: translateY(-20px); }
    100% { transform: translateY(20px); }
}

.refreshing-breeze {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.05) 3%,
        transparent 6%
    );
    animation: breeze 4s ease-in-out infinite;
}

@keyframes breeze {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    50% { transform: translateX(-10px) rotate(1deg); }
}

.comfort-glow {
    position: absolute;
    top: 20%;
    left: 20%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: gentleGlow 3s ease-in-out infinite;
}

@keyframes gentleGlow {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.6; }
}

.cool-content {
    z-index: 10;
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 350px;
    margin: 0 auto;
}

.happy-emoji {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: relax 3s ease-in-out infinite;
}

@keyframes relax {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.05) rotate(-1deg); }
}

.cool-content h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: white;
}

.cool-benefits {
    margin-bottom: 2rem;
}

.benefit {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 25px;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

/* Temperatuuri näidikud */
.temp-gauge {
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hot-gauge {
    border: 3px solid #ff4500;
}

.cool-gauge {
    border: 3px solid #0077be;
}

.temp-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #333;
}

.hot-gauge .temp-number {
    color: #ff4500;
}

.cool-gauge .temp-number {
    color: #0077be;
}

.temp-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
}

/* Keskne sisu */
.hero-center-content {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem 0;
}

.main-message {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 2rem;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    max-width: 700px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 20;
}

.main-message.closing {
    opacity: 0;
    transform: scale(0.8) translateY(-50px);
    pointer-events: none;
}





.solar-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hot-word {
    background: linear-gradient(45deg, #ff4500, #ff6b35);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 69, 0, 0.5);
}

.cool-word {
    background: linear-gradient(45deg, #0077be, #87ceeb);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 119, 190, 0.5);
}

.solar-subtitle {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.transformation-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.transform-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(0, 119, 190, 0.1);
    border-radius: 15px;
    font-weight: 600;
}

.transform-item .icon {
    font-size: 2rem;
}

.transform-arrow {
    font-size: 2rem;
    color: #ff4500;
    font-weight: bold;
    animation: slideTransform 2s ease-in-out infinite;
}

@keyframes slideTransform {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

.dual-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cta-hot, .cta-cool {
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 150;
}

.cta-hot {
    background: linear-gradient(45deg, #ff4500, #ff6b35);
    color: white;
}

.cta-hot:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 69, 0, 0.4);
}

.cta-cool {
    background: linear-gradient(45deg, #0077be, #87ceeb);
    color: white;
}

.cta-cool:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 119, 190, 0.4);
}

.instant-relief {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(45deg, #38a169, #68d391);
    color: white;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    margin-top: 1rem;
    animation: urgency 3s ease-in-out infinite;
}

@keyframes urgency {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.relief-icon {
    font-size: 1.3rem;
    animation: lightning 1s ease-in-out infinite;
}

@keyframes lightning {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

/* Keskse sisu laiuse reguleerimine suurematel ekraanidel */
@media (min-width: 1200px) {
    .main-message {
        max-width: 600px; /* Kitsam suurematel ekraanidel */
    }
    
    .hot-content, .cool-content {
        max-width: 320px; /* Veelgi kitsam, et näha oleks kuuma/jahedat sisu */
    }
}

@media (min-width: 1400px) {
    .main-message {
        max-width: 550px; /* Veelgi kitsam */
    }
    
    .hot-content, .cool-content {
        max-width: 300px;
    }
}

/* Solar protection responsive */
@media (max-width: 1024px) {
    .main-message {
        padding: 2.5rem 2rem;
        margin: 1rem;
    }
    
    .solar-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    
    .dual-cta {
        gap: 0.75rem;
    }
    
    .cta-hot, .cta-cool {
        padding: 0.85rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-split {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }

    .hot-content, .cool-content {
        padding: 1.5rem;
        max-width: none;
    }

    .hot-content h3, .cool-content h3 {
        font-size: 1.5rem;
    }

    .suffering-emoji, .happy-emoji {
        font-size: 3rem;
    }

    .main-message {
        padding: 2rem 1.5rem;
        margin: 1rem;
        max-width: none;
    }
    
    .solar-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    
    .solar-subtitle {
        font-size: 1.1rem;
    }

    .dual-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .cta-hot, .cta-cool {
        width: 100%;
        max-width: 280px;
        padding: 1rem 1.5rem;
    }

    .transformation-visual {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .temp-gauge {
        padding: 0.75rem;
    }
    
    .temp-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hot-content, .cool-content {
        padding: 1rem;
    }
    
    .hot-content h3, .cool-content h3 {
        font-size: 1.3rem;
    }
    
    .suffering-emoji, .happy-emoji {
        font-size: 2.5rem;
    }
    
    .main-message {
        padding: 1.5rem 1rem;
        margin: 0.5rem;
    }
    
    .before-after-badge {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .solar-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }
    
    .solar-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .cta-hot, .cta-cool {
        max-width: 250px;
        padding: 0.85rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .temp-gauge {
        padding: 0.5rem;
    }
    
    .temp-number {
        font-size: 1.3rem;
    }
    
    .temp-label {
        font-size: 0.8rem;
    }
    
    .problem, .benefit {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}

/* Replacing the old page-hero with the new solar-protection-hero */
/* UV Protection Page Styles */
.page-hero {
    background: linear-gradient(135deg, rgba(0, 119, 190, 0.9) 0%, rgba(0, 95, 152, 0.9) 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-hero .hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

.uv-protection-intro {
    padding: 80px 0;
    background: #f8f9fa;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.content-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.content-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #666;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.benefit-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.content-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.solar-screen-features {
    padding: 80px 0;
    background: white;
}

.solar-screen-features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--primary-color);
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #f8f9fa;
    padding: 35px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 119, 190, 0.1);
}

.feature-card .feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.working-principle {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.working-principle h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.principle-content p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.principle-image {
    text-align: center;
    margin-bottom: 50px;
}

.principle-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
}

.principle-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.step {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-number {
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.faq-section {
    padding: 80px 0;
    background: white;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--primary-color);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
}

.faq-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
}

.faq-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.faq-item ul {
    margin-top: 10px;
    padding-left: 20px;
}

.faq-item li {
    margin-bottom: 8px;
}

.product-selection {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 119, 190, 0.05) 0%, rgba(0, 95, 152, 0.05) 100%);
    margin-top: 0;
}

.selection-content h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.selection-content > p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.selection-item {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.selection-item h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.external-link-notice {
    text-align: center;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.external-link-notice a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.external-link-notice a:hover {
    text-decoration: underline;
}

.cta-solar {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #005f98 100%);
    color: white;
    text-align: center;
}

.cta-solar h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-solar p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .principle-steps {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .selection-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

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

/* ========================================================================
   Uus: "Tehtud tööd" sektsioon (Recent Works)
   ======================================================================== */

.recent-works {
    padding: 80px 0;
    background-color: #f8f9fa; /* Kerge taustavärv eristumiseks */
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.work-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.work-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.work-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.work-item img {
    width: 100%;
    height: 250px; /* Fikseeritud kõrgus */
    object-fit: cover; /* Katab ala, säilitades proportsioonid */
    display: block;
    transition: transform 0.3s ease;
}

.work-item:hover img {
    transform: scale(1.05);
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    padding: 30px 20px 20px;
    color: #fff;
    transition: opacity 0.3s ease;
}

.work-title {
    font-size: 1.1rem;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.work-category {
    font-size: 0.85rem;
    font-weight: 500;
    display: block;
    opacity: 0.8;
}

/* ========================================================================
   Uus: Blogi sektsioon (Blog Section)
   ======================================================================== */

.blog-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.blog-card-link {
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Tagab, et sisu täidab kaardi */
}

.blog-card-date {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 10px;
    font-weight: 500;
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    /* Piirame 2 reale */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.8em; /* 1.4 * 2 */
}

.blog-card-snippet {
    font-size: 1rem;
    color: #495057;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    /* Piirame 3 reale */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-link {
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    align-self: flex-start; /* Joondab nupu alla vasakule */
}

.btn-link .arrow {
    transition: transform 0.2s ease;
    display: inline-block;
}

.blog-card:hover .btn-link .arrow {
    transform: translateX(5px);
}

.section-footer-cta {
    text-align: center;
    margin-top: 40px;
}

/* ========================================================================
   Responsiivsus uutele sektsioonidele
   ======================================================================== */

@media (max-width: 992px) {
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .recent-works,
    .blog-section {
        padding: 60px 0;
    }
    
    .works-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .work-item img {
        height: 280px; /* Mobiilis veidi kõrgem */
    }
}








/* ========================================================================
   UUS: Tehtud tööd (Avaleht) - 1+4 paigutus
   ======================================================================== */
.home-works-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

/* Uus 1+4 grid */
.home-works-grid-new {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Suurem osa vasakul (1.2 osa) */
    gap: 30px;
}

/* Vasak pool - suur kaart */
.featured-work-large .work-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.featured-work-large .work-card-image {
    height: 350px; /* Kõrgem pilt */
}
.featured-work-large .work-card-content {
    flex-grow: 1;
}
.featured-work-large .work-card-title.large-title {
    font-size: 1.8rem;
    line-height: 1.3;
}

/* Parem pool - 4 väikest kaarti */
.other-works-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.small-work-card .work-card-image {
    height: 150px; /* Madalamad pildid */
}
.small-work-card .work-card-content {
    padding: 20px;
}
.small-work-card .work-card-title {
    font-size: 1.1rem;
    line-height: 1.4;
    /* Piira read kahele */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em; /* 1.4 * 2 */
}

/* Üldised kaardi stiilid (kehtivad kõigile) */
.work-card {
    display: block;
    text-decoration: none;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}
.work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.work-card-image {
    overflow: hidden;
    position: relative;
}
.work-card-image::after { /* Lisab kerge tumeda gradienti pildi alla */
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.15) 100%);
}
.work-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.work-card:hover .work-card-image img {
    transform: scale(1.05);
}
.work-card-content {
    padding: 25px 30px 30px;
    color: var(--text-color);
}
.work-card-category {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    display: block;
}
.work-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
    color: var(--text-color);
}
.work-card .btn-link {
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}
.work-card .btn-link .arrow {
    transition: transform 0.2s ease;
    display: inline-block;
}
.work-card:hover .btn-link .arrow {
    transform: translateX(5px);
}


/* ========================================================================
   UUS: Blogi (Avaleht) - Esiletõstetud paigutus
   ======================================================================== */
.home-blog-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.home-blog-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* 66% ja 33% paigutus */
    gap: 40px;
}

/* Vasak pool - Esiletõstetud */
.featured-post-card {
    display: block;
    text-decoration: none;
    color: var(--text-color);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}
.featured-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.featured-post-image {
    position: relative;
    height: 350px; /* Tõstame kõrgust */
    overflow: hidden;
}
.featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.featured-post-card:hover .featured-post-image img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

.featured-post-content {
    padding: 30px;
}

.featured-post-date {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 10px;
    font-weight: 500;
}

/* SUUREM BLOGI PEALKIRI (HTML-is h2) */
.featured-post-title-large {
    font-size: 2.2rem; /* Oluliselt suurem */
    font-weight: 700; /* Jämedam */
    line-height: 1.25;
    margin-bottom: 15px;
    color: var(--text-color);
}
.featured-post-card .btn-link {
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}
.featured-post-card .btn-link .arrow {
    transition: transform 0.2s ease;
    display: inline-block;
}
.featured-post-card:hover .btn-link .arrow {
    transform: translateX(5px);
}


.featured-post-snippet {
    font-size: 1rem;
    color: #495057;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Parem pool - Viimased postitused */
.recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recent-post-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--text-color);
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}
.recent-post-item:hover {
    background-color: #f8f9fa;
}

.recent-post-image {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 6px;
}
.recent-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-date {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 5px;
    font-weight: 500;
}

.recent-post-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-full-width {
    width: 100%;
    margin-top: 10px;
}

/* ========================================================================
   UUS: Projekti Modaal (Hüpikaken)
   ======================================================================== */
.work-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.work-modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

/* Modali sisu jagunemine */
.work-modal-gallery {
    position: relative;
    background: #f1f1f1;
}

.work-modal-details {
    padding: 40px;
    overflow-y: auto;
}

/* Modali sulgemise nupp */
.work-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 2rem;
    line-height: 38px;
    font-weight: 300;
    color: #333;
    cursor: pointer;
    z-index: 1020;
    transition: all 0.2s ease;
}
.work-modal-close:hover {
    background: #fff;
    transform: rotate(90deg);
}

/* Modali Galerii Liugur */
.modal-gallery-slider {
    width: 100%;
    height: 100%;
    min-height: 400px; /* Minimaalne kõrgus */
    position: relative;
    overflow: hidden;
}
.modal-gallery-slide {
    display: none; /* JS haldab kuvamist */
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    animation: modal-fade 0.5s ease;
}
.modal-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.modal-gallery-slide.active {
    display: block;
}

@keyframes modal-fade {
    from { opacity: 0.7; }
    to { opacity: 1; }
}

/* Galerii nupud (Eelmine/Järgmine) */
.modal-gallery-prev,
.modal-gallery-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1010;
    border: none;
}
.modal-gallery-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}
.modal-gallery-prev:hover,
.modal-gallery-next:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

/* Galerii täpid (navigatsioon) */
.modal-gallery-dots {
    text-align: center;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1010;
}
.modal-gallery-dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}
.modal-gallery-dot:hover,
.modal-gallery-dot.active {
    background-color: #fff;
}


/* Modali detailide sisu */
.modal-work-category {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    display: inline-block;
    text-decoration: none;
}
.modal-work-category:hover {
    text-decoration: underline;
}

#modal-work-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

#modal-work-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #495057;
    margin-bottom: 30px;
}
#modal-work-description p {
    margin-bottom: 15px;
}

.modal-cta-button {
    width: 100%;
}

/* ========================================================================
   Responsiivsus (Avaleht ja Modaal)
   ======================================================================== */
@media (max-width: 992px) {
    /* UUS 1+4 paigutus */
    .home-works-grid-new {
        grid-template-columns: 1fr; /* Läheb ühte veergu */
    }
    .other-works-grid {
        /* Jääb 2x2 gridiks tableti peal */
        margin-top: 30px; 
    }
    
    .home-blog-grid {
        grid-template-columns: 1fr; /* Blogi läheb ühte veergu */
    }
    .recent-posts-list {
        margin-top: 30px;
    }
    .work-modal-content {
        grid-template-columns: 1fr; /* Modaal läheb ühte veergu */
        max-height: 90vh;
        overflow-y: auto;
    }
    .work-modal-details {
        max-height: 40vh; /* Annab detailidele oma kerimisriba */
    }
}

@media (max-width: 768px) {
    .featured-post-title-large {
        font-size: 1.8rem; /* Väiksem pealkiri mobiilis */
    }
    .work-card-title.large-title {
        font-size: 1.5rem;
    }
    .featured-work-large .work-card-image {
        height: 280px;
    }
    .other-works-grid {
        gap: 20px; /* Vähem vahet */
        grid-template-columns: 1fr; /* Mobiilis lähevad ka väiksed üksteise alla */
    }
    .small-work-card .work-card-image {
        height: 180px; /* Mobiilis veidi kõrgemad */
    }

    .work-modal-content {
        max-height: 95vh;
        border-radius: 8px;
    }
    .work-modal-details {
        padding: 30px;
    }
    .modal-gallery-slider {
        min-height: 300px;
    }
}













/* See muudab h1 pealkirja värvi, et see vastaks ülejäänud tekstile.
   Võite selle eemaldada, kui teil on juba globaalne värv määratud. */
.hero-title {
    color: #333; /* Või mis iganes on teie vaikimisi tekstivärv */
}

/* Mähis, mis hoiab meie animeeritud sõnu.
  'inline-grid' on oluline:
  1. See käitub nagu tekst (inline), sobitudes lausesse.
  2. See lubab meil paigutada mõlemad sõnad täpselt üksteise peale (samas "ruudustiku lahtris").
*/
.animated-text-wrapper {
    display: inline-grid;
    vertical-align: bottom; /* Joondab teksti kenasti ülejäänud lausega */
}

/*
  Mõlemad sõnad ('word-1' ja 'word-2') paigutatakse samale kohale
  ruudustiku esimesse ritta ja veergu.
*/
.animated-text-wrapper > .word {
    grid-area: 1 / 1;
    /* Jätame siia tühiku, et tagada järjepidev joondus */
    padding-right: 0.25em; 
}

/* ... (teie .hero-title ja .animated-text-wrapper reeglid jäävad samaks) ... */

.animated-text-wrapper > .word {
    grid-area: 1 / 1;
    padding-right: 0.25em; 
}

/* MUUDETUD: Määrame igale sõnale oma animatsiooni ja kestvuse */
.word-1 {
    opacity: 1; /* Algab nähtavalt */
    animation: fadeWord1 12s infinite;
}

.word-2 {
    opacity: 0; /* Algab peidetult */
    animation: fadeWord2 12s infinite;
}

.word-3 {
    opacity: 0; /* Algab peidetult */
    animation: fadeWord3 12s infinite;
}

/* --- UUED KEYFRAMES ALAD --- */
/* Need on ümber kirjutatud kolme sõna jaoks (12s tsükkel) */

/* Sõna 1 ("oma kodu"): Nähtav 0-3.5s */
@keyframes fadeWord1 {
    0%, 30% { opacity: 1; }     /* Nähtav */
    33.3%, 100% { opacity: 0; } /* Peidetud (ülejäänud aeg) */
}

/* Sõna 2 ("kontorit"): Nähtav 4s-7.5s */
@keyframes fadeWord2 {
    0%, 30% { opacity: 0; }     /* Peidetud */
    33.3%, 63.3% { opacity: 1; } /* Nähtav (keskmine osa) */
    66.6%, 100% { opacity: 0; } /* Peidetud */
}

/* Sõna 3 ("autot"): Nähtav 8s-11.5s */
@keyframes fadeWord3 {
    0%, 63.3% { opacity: 0; } /* Peidetud */
    66.6%, 96.6% { opacity: 1; } /* Nähtav (viimane osa) */
    100% { opacity: 0; }        /* Peidetud (tsükli lõpp) */
}





/* --- Partnerite Logo Skroller --- */

/* Eemalda vana stiil, kui see on veel alles */
.partner-grid, 
.partner-grid-title {
  display: none; 
}

/* Uue sektsiooni stiilid */
.partner-section {
  padding: 2.5rem 0; /* Väiksem padding kui teistel sektsioonidel */
  background-color: #fcfcfc; /* Peaaegu valge taust eristumiseks */
  border-top: 1px solid #eef0f2;
  border-bottom: 1px solid #eef0f2;
}

.partner-section-title {
  text-align: center;
  font-size: 1.6rem; /* Veidi väiksem pealkiri kui "Tehtud tööd" */
  font-weight: 600;
  color: #555; /* Summutatud värv */
  margin-bottom: 1.5rem;
}

.partner-scroll-container {
  width: 100%;
  overflow: hidden; /* Peidab kõik, mis konteinerist välja liigub */
  
  /* Lisab sujuvad varjud/hajutused paremale ja vasakule servale */
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partner-track {
  display: flex;
  width: max-content; /* Laseb sisu laiusel määrata elemendi laiuse */
  list-style: none;
  padding: 0;
  margin: 0;
  
  /* Animatsioon: 
     - 40s on kiirus (mida suurem, seda aeglasem)
     - 'linear' tagab ühtlase kiiruse
     - 'infinite' kordab lõputult
  */
  animation: scroll-partners 40s linear infinite;
}

/* See peatab animatsiooni, kui hiir on logode peal */
.partner-scroll-container:hover .partner-track {
  animation-play-state: paused;
}

.partner-card {
  display: flex;
  justify-content: center;
  align-items: center;
  
  /* Fikseeritud laius tagab ühtlase välimuse */
  width: 180px; 
  height: 90px;
  
  margin: 0 1rem; /* Vahe logode vahel */
  flex-shrink: 0; /* Takistab logode kokku surumist */
  padding: 0.5rem;
}

.partner-card a {
  display: flex; /* Vajalik lingi sees oleva pildi jaoks */
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.partner-card img {
  max-width: 100%;
  max-height: 55px; /* Määrab logo maksimaalse kõrguse */
  object-fit: contain;
  
  /* Halltoonides logod */
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

/* Toob värvi tagasi, kui hiir on logo peal */
.partner-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Animatsiooni @keyframes */
@keyframes scroll-partners {
  0% {
    /* Alustab algusest */
    transform: translateX(0);
  }
  100% {
    /* * Liigub täpselt poole kogu 'partner-track' laiusest miinuspoolele.
     * Kuna 'partner-track' sisaldab kahte identset logokomplekti,
     * siis -50% liigutab selle täpselt esimese komplekti lõppu,
     * kus teine komplekt on valmis sujuvalt asemele tulema.
     */
    transform: translateX(-50%);
  }
}

/* Mobiilivaade - vastab sinu soovile */
@media (max-width: 768px) {
  .partner-section-title {
    font-size: 1.3rem;
  }

  .partner-card {
    /* Väiksemad ikoonid mobiilis */
    width: 140px; 
    height: 70px;
    margin: 0 0.75rem; /* Väiksem vahe */
  }

  .partner-card img {
    max-height: 40px; /* Väiksem logo max kõrgus */
  }

  /* Kiirem animatsioon mobiilis, et see ei tunduks liiga aeglane */
  .partner-track {
    animation: scroll-partners 30s linear infinite;
  }
}