:root {
    --primary-color: #00BFA6;
    /* Teal/Fresh green color commonly used in cleaning */
    --secondary-color: #2F4858;
    /* Dark elegant blue-grey */
    --accent-color: #F8F9FA;
    /* Light grey background */
    --text-color: #333333;
    --white: #ffffff;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hide scrollbar for Chrome, Safari and Opera */
html::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
html {
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-behavior: smooth;
    /* Smooth scrolling for anchor links */
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.9em;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.top-bar a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s;
}

.top-bar a:hover {
    opacity: 0.8;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-right: auto;
    /* Pushes nav links to the right */
    margin-left: 30px;
    font-size: 18px;
    /* Prominent size */
}

.header-phone i {
    color: var(--primary-color);
}

.header-phone a {
    color: var(--secondary-color);
    /* Keep text dark in white header */
    text-decoration: none;
}

.header-phone a:hover {
    color: var(--primary-color);
}

.header-social {
    margin-left: 15px;
    color: #3b5998;
    /* Facebook Blue */
    font-size: 24px;
    display: flex;
    align-items: center;
}

.header-social:hover {
    color: var(--primary-color);
}


/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}


.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    /* More padding on sides */
    height: 80px;
    /* 15% bigger */
    max-width: 100%;
    /* Allows logo to go further left */
    gap: 20px;
    /* Prevents overlapping between flex items */
}


.logo {
    position: relative;
    top: 35px;
    /* Push down to overlap hero */
    z-index: 1100;
}

.logo a {
    display: block;
    /* Removes bottom spacing from inline-block images */
}

.logo img {
    height: 90px;
    /* ~20% bigger */
    /* Matches the image height, fits within 80px container */
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    /* Reduced gap to save space */
}


.nav-links li a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s;
    display: inline-block;
}

.cta-button:hover {
    background-color: #009e8a;
}

.cta-button.mobile-hidden {
    display: block;
    /* Show by default, hide on small screens if needed */
}

/* Hero Section */
.hero {
    padding-top: 72px;
    /* +10% */
    /* Scaled down from 80px */
    padding-bottom: 0px;
    /* Image often sits at bottom */
    background: linear-gradient(180deg, #24a0ff 0%, #0077ff 100%);
    /* Gradient for better contrast and lighter feeling */
    text-align: center;
    overflow: hidden;
    /* Handle image sticking out */
}


.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content {
    max-width: 1100px;
    /* +10% */
    /* Increased from 800px to accommodate larger text */
    color: var(--white);
    margin-bottom: 33px;
    margin-top: 200px;
    /* Moved lower */
    /* Moves the text lower down */
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 70px;
    /* +10% */
    /* Increased from 56px (~40% bigger) */
    line-height: 1.1;
    font-weight: 800;
    /* Extra bold */
    color: var(--white);
    margin-bottom: 15px;
    text-transform: uppercase;
}




.hero-content p {
    font-size: 22px;
    /* +10% */
    /* Increased from 18px (~40% bigger) */
    margin-bottom: 28px;

    color: #e0f2ff;
    line-height: 1.6;
}


.big-cta {
    background-color: #ccff00;
    /* Neon Yellow/Green */
    color: #0088ff;
    /* Text color matches bg blue or dark blue */
    font-size: 18px;
    padding: 18px 45px;
    border-radius: 5px;
    /* Square/slightly rounded corners */
    text-transform: uppercase;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.big-cta:hover {
    background-color: #b3e600;
    color: #0056b3;
    transform: translateY(-2px);
}

.hero-image-centered {
    margin-top: -715px;
    /* +10% */
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.sponge-wrapper {
    position: relative;
    display: inline-block;
}

.main-sponge {
    max-width: none;
    width: auto;
    height: 880px;
    /* +10% */
    max-height: none;
    display: block;
}

.sponge-glow {
    position: absolute;
    top: 15px;
    /* Relative top position */
    left: 42%;
    /* Slightly left/center */
    transform: translateX(-50%);
    width: 352px;
    /* +10% */

    /* Adjust size */
    height: auto;
    opacity: 0.9;
    mix-blend-mode: screen;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    /* Start invisible for entrance animation */
}

/* Animations triggered when hero is visible */
.hero-image-centered.is-visible .main-sponge {
    animation: spongePop 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.hero-image-centered.is-visible .sponge-glow {
    animation: glowEntrance 1s ease-out forwards, glowPulse 3s infinite ease-in-out 1s;
}

@keyframes spongePop {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes glowEntrance {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0.5);
    }

    100% {
        opacity: 0.6;
        transform: translateX(-50%) scale(0.95);
    }
}

@keyframes glowPulse {
    0% {
        opacity: 0.6;
        transform: translateX(-50%) scale(0.95);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.05);
    }

    100% {
        opacity: 0.6;
        transform: translateX(-50%) scale(0.95);
    }
}




/* Override existing responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
    }
}


/* Features */
.features {
    padding: 80px 0;
    background-color: #d1f442;
    text-align: center;
}

.features h2,
.services h2,
.reviews h2,
.contact h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 50px;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 30px;
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 18px;
    color: var(--secondary-color);
}

/* Services */
.services {
    padding: 80px 0;
    background-color: var(--accent-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0;
    /* Tiles touch each other */
}

.service-item {
    padding: 60px 20px;
    text-align: center;
    transition: transform 0.3s;
    color: var(--white);
    /* White text for all */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 250px;
}

.service-item .icon-box {
    margin-bottom: 20px;
    color: var(--white);
    /* White icons */
    font-size: 40px;
}

.service-item h3 {
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
}

/* Specific Colors based on nth-child (approximate mapping to layout) */
.service-item:nth-child(1) {
    background-color: #ff99cc;
}

/* Pink - Domacnost */
.service-item:nth-child(2) {
    background-color: #0099ff;
}

/* Blue - Penziony */
.service-item:nth-child(3) {
    background-color: #70dbdb;
}

/* Teal - Firmy (HTML order) */
.service-item:nth-child(4) {
    background-color: #66ccff;
}

/* Light Blue - Okna (HTML order) */
.service-item:nth-child(5) {
    background-color: #aadd33;
}

/* Lime - Stehovani */
.service-item:nth-child(6) {
    background-color: #ee3366;
}

/* Red - Dovolene */

.service-item:hover {
    z-index: 10;
    transform: scale(1.05);
    /* Pop effect */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Reviews (References) */
.reviews {
    padding: 100px 0;
    min-height: 500px;
    background-color: #d1f442;
    /* Lime Green background from screenshot */
    text-align: center;
    color: #0088ff;
    /* Blue Heading */
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.carousel-slide h2 {
    font-size: 48px;
    font-weight: 700;
    color: #0099ff;
    /* Vibrant Blue Heading */
    margin-bottom: 30px;
    font-family: var(--font-heading);
    letter-spacing: -1px;
}

.review-card p {
    font-family: var(--font-body);
    font-size: 20px;
    line-height: 1.6;
    color: #40c0f0;
    /* Lighter blue for text */
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}

/* Dots */
.carousel-dots {
    margin-top: 50px;
    text-align: center;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 8px;
    background-color: #66ccff;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active-dot,
.dot:hover {
    background-color: #0088ff;
}

/* Footer (Contact) */
footer {
    background-color: #0088ff;
    /* Vibrant Blue background */
    color: var(--white);
    padding: 60px 0 0 0;
    /* Remove bottom padding */
    font-size: 16px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr auto 1fr;
    align-items: start;
    text-align: left;
    max-width: 1400px;
    padding-left: 15%;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 30px;
    grid-column: 1;
    justify-self: start;
}

.footer-logo img {
    height: 243px;
    /* 35% bigger (180 * 1.35 = 243) */
    width: auto;
}

.logo-divider {
    width: 2px;
    height: 243px;
    /* Match new logo height */
    background-color: #ff6699;
    /* Pink vertical line */
    display: block;
}

.footer-info {
    display: flex;
    gap: 80px;
    padding-top: 50px;
    grid-column: 2;
    justify-self: center;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    padding-bottom: 10px;
    /* Small padding at the very bottom */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #ccddff;
}

.footer-bottom a {
    color: #ccddff;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-column h3 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 700;
}

.footer-column p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 5px;
}

.footer-column a {
    color: var(--white);
    text-decoration: none;
    font-weight: 400;
}

.footer-social {
    margin-top: 30px;
}

.footer-social a {
    font-size: 20px;
    color: var(--white);
}

@media (max-width: 768px) {
    .footer-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
        padding-left: 0;
    }

    .logo-divider {
        display: none;
    }


    .footer-info {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        padding-right: 0;
        padding-top: 0;
    }
}

/* Hamburger Menu & Nav Content Defaults */
.hamburger-menu {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    z-index: 1200;
}

.hamburger-menu .bar {
    height: 3px;
    width: 100%;
    background-color: var(--secondary-color);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.nav-content {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 30px;
}

/* Responsive */
@media (max-width: 1161px) {
    .nav-links {
        /* display: none; Removed, handled by menu */
    }

    .hamburger-menu {
        display: flex;
        margin-right: 20px;
    }

    /* Hamburger Animation */
    .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .nav-content {
        position: absolute;
        left: 0;
        top: 80px;
        /* Header height */
        flex-direction: column;
        background: linear-gradient(180deg, #24a0ff 0%, #0077ff 100%);
        width: 100%;
        height: auto;

        /* Dropdown animation */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-out, padding 0.4s ease-out, box-shadow 0.4s;

        box-shadow: none;
        padding-top: 0;
        padding-bottom: 0;

        text-align: center;
        justify-content: flex-start;
    }

    .nav-content.active {
        max-height: 600px;
        padding-top: 30px;
        padding-bottom: 30px;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }

    .nav-links {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 30px;
    }

    .nav-links li a {
        font-size: 20px;
        color: var(--white);
    }

    .nav-links li a:hover {
        color: #ccff00;
    }

    .header-phone {
        margin: 0;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        order: 2;
        /* Below links */
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        width: 80%;
        color: var(--white);
    }

    .header-phone a {
        color: var(--white);
    }

    .header-phone i {
        color: var(--white);
    }

    .cta-button {
        /* Hide CTA in mobile menu if not needed, or style it */
        /* User request: "under the quicklinks is gonna be the 'volejte hned' contact info" */
        /* Keeping CTA button visible below nav links and above phone, or hidden? */
        /* I'll hide the explicit button if it was hidden before, but "mobile-hidden" class name suggests it. */
    }

    .cta-button.mobile-hidden {
        display: block;
        /* Let's show it in menu */
        margin-top: 20px;

        .hero-image-centered {
            display: flex;
            margin-top: -50px;
            width: 100%;
            justify-content: center;
        }

        .main-sponge {
            height: auto;
            width: 80%;
            max-width: 350px;
        }

        order: 3;
    }
}

@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 36px;
    }

}