:root {
    /* Farebná paleta */
    --primary-green: #2E8B57;      /* SeaGreen */
    --dark-green: #1e5f3b;
    --light-green-bg: #e8f5e9;     /* Veľmi svetlá zelená na pozadie */
    --text-dark: #2c3e50;
    --text-light: #666666;
    --white: #ffffff;
    --bg-light-gray: #f9f9f9;
    --border-color: #e1e1e1;
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-hover: 0 15px 35px rgba(46, 139, 87, 0.15);

    /* Rozmery a medzery */
    --container-width: 1100px;
    --header-height: 70px;
    --header-height-scrolled: 60px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

/* Globálny Reset a Typografia */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Globálna responzivita pre obrázky */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; 
    timeline-scope: --sluzba, --cennik, --postup, --galeria, --realizacie, --technika, --referencie;
    overflow-x: hidden; /* CRITICAL FIX: Prevent horizontal scroll */
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    font-size: 16px;
    margin: 0;
    width: 100%;
    overflow-x: hidden; /* CRITICAL FIX: Prevent horizontal scroll */
    position: relative;
}

h1, h2, h3, h4, .logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; color: var(--text-dark); }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
p { color: var(--text-light); margin-bottom: 1rem; }

a { text-decoration: none; color: inherit; transition: color 0.3s; }
ul { list-style: none; }

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.narrow-container {
    max-width: 800px;
}

.text-center { text-align: center; }

.section {
    padding: 80px 0;
}

/* Define View Timelines for ScrollSpy */
#sluzba { view-timeline-name: --sluzba; }
#cennik { view-timeline-name: --cennik; }
#postup { view-timeline-name: --postup; }
#technika { view-timeline-name: --technika; }
#referencie { view-timeline-name: --referencie; }
#galeria { view-timeline-name: --galeria; }
#realizacie { view-timeline-name: --realizacie; }

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.bg-light { background-color: var(--bg-light-gray); }
.bg-white { background-color: var(--white); }

/* SCROLL REVEAL ANIMATION */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-reveal {
    animation: fade-in-up linear both;
    animation-timeline: view();
    animation-range: entry 10% entry 40%;
}

/* Buttons */
.btn {
    display: inline-flex; /* Lepšie centrovanie textu */
    align-items: center;
    justify-content: center;
    padding: 12px 30px; /* Mierne širšie pre lepší vzhľad */
    border-radius: 50px; /* Jednotný pill shape */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* Moderný, plynulý prechod */
    font-size: 1rem;
    border: 2px solid transparent;
    line-height: 1.2;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(46, 139, 87, 0.2); /* Jemný tieň v základe */
}

.btn-primary:hover {
    background-color: var(--dark-green);
    box-shadow: 0 8px 20px rgba(46, 139, 87, 0.3); /* Výraznejší tieň pri hover */
    transform: translateY(-2px); /* Hmatateľný zdvih */
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.btn-outline:hover {
    background-color: var(--primary-green);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(46, 139, 87, 0.25);
    transform: translateY(-2px);
}

.btn-block {
    display: flex; /* Zmena na flex pre lepšie centrovanie v rámci formulára */
    width: 100%;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* HEADER & ANIMATION */
/* Definícia animácií pre scroll-driven effect */
@keyframes header-shrink {
    to {
        height: var(--header-height-scrolled);
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    }
}

@keyframes logo-shrink {
    to { font-size: 1.3rem; }
}

@keyframes nav-cta-shrink {
    to {
        padding: 6px 18px;
        font-size: 0.9rem;
    }
}

/* Keyframes for ScrollSpy Active State */
@keyframes nav-active-color {
    0%, 100% { 
        color: var(--primary-green); 
        font-weight: 600; 
    }
}

@keyframes nav-active-line {
    0%, 100% { width: 100%; }
}

.header {
    background-color: rgba(255, 255, 255, 0.95);
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: height 0.3s ease, box-shadow 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.6rem;
    color: var(--text-dark);
    font-weight: 800;
    transition: font-size 0.3s ease;
}

.logo .accent { color: var(--primary-green); }

/* MOBILE MENU TOGGLE - CHECKBOX HACK STYLES */
.nav-toggle {
    display: none; /* Hide checkbox always */
}

.nav-burger {
    display: none; /* Hidden on desktop */
}

.navbar ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.navbar a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.navbar a:not(.nav-cta):hover,
.navbar a.active:not(.nav-cta) { 
    color: var(--primary-green); 
}

/* Jemná animácia podčiarknutia pre odkazy */
.navbar a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-green);
    transition: width 0.3s ease;
}

.navbar a:not(.nav-cta):hover::after,
.navbar a.active:not(.nav-cta)::after {
    width: 100%;
}

/* Scroll-driven Active State Linking */
.navbar a[href="#sluzba"] {
    animation: nav-active-color linear both;
    animation-timeline: --sluzba;
    animation-range: entry 20% exit 20%;
}
.navbar a[href="#sluzba"]::after {
    animation: nav-active-line linear both;
    animation-timeline: --sluzba;
    animation-range: entry 20% exit 20%;
}

.navbar a[href="#cennik"] {
    animation: nav-active-color linear both;
    animation-timeline: --cennik;
    animation-range: entry 20% exit 20%;
}
.navbar a[href="#cennik"]::after {
    animation: nav-active-line linear both;
    animation-timeline: --cennik;
    animation-range: entry 20% exit 20%;
}

.navbar a[href="#postup"] {
    animation: nav-active-color linear both;
    animation-timeline: --postup;
    animation-range: entry 20% exit 20%;
}
.navbar a[href="#postup"]::after {
    animation: nav-active-line linear both;
    animation-timeline: --postup;
    animation-range: entry 20% exit 20%;
}

.navbar a[href="#technika"] {
    animation: nav-active-color linear both;
    animation-timeline: --technika;
    animation-range: entry 20% exit 20%;
}
.navbar a[href="#technika"]::after {
    animation: nav-active-line linear both;
    animation-timeline: --technika;
    animation-range: entry 20% exit 20%;
}

.navbar a[href="#referencie"] {
    animation: nav-active-color linear both;
    animation-timeline: --referencie;
    animation-range: entry 20% exit 20%;
}
.navbar a[href="#referencie"]::after {
    animation: nav-active-line linear both;
    animation-timeline: --referencie;
    animation-range: entry 20% exit 20%;
}

.navbar a[href="#galeria"] {
    animation: nav-active-color linear both;
    animation-timeline: --galeria;
    animation-range: entry 20% exit 20%;
}
.navbar a[href="#galeria"]::after {
    animation: nav-active-line linear both;
    animation-timeline: --galeria;
    animation-range: entry 20% exit 20%;
}

.navbar a[href="#realizacie"] {
    animation: nav-active-color linear both;
    animation-timeline: --realizacie;
    animation-range: entry 20% exit 20%;
}
.navbar a[href="#realizacie"]::after {
    animation: nav-active-line linear both;
    animation-timeline: --realizacie;
    animation-range: entry 20% exit 20%;
}

.nav-cta {
    display: inline-flex; /* Zjednotenie s .btn */
    align-items: center;
    justify-content: center;
    background-color: var(--primary-green);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 50px; /* Zjednotenie radiusu s ostatnými tlačidlami */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-weight: 600;
    border: 2px solid transparent; /* Aby veľkosť sedela s outline tlačidlami */
    box-shadow: 0 4px 10px rgba(46, 139, 87, 0.15);
}

.nav-cta:hover { 
    background-color: var(--dark-green); 
    transform: translateY(-2px); 
    box-shadow: 0 6px 15px rgba(46, 139, 87, 0.25);
}

/* Aplikácia Scroll Timeline animácií pre desktop */
@media (min-width: 769px) {
    .header {
        animation: header-shrink linear both;
        animation-timeline: scroll();
        animation-range: 0px 150px;
    }

    .logo {
        animation: logo-shrink linear both;
        animation-timeline: scroll();
        animation-range: 0px 150px;
    }

    .nav-cta {
        animation: nav-cta-shrink linear both;
        animation-timeline: scroll();
        animation-range: 0px 150px;
    }
}

/* HERO SECTION */
.hero {
    /* Tmavý overlay + Obrázok záhrady */
    /* Increased opacity to 0.75 for better text contrast */
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
                url('https://images.unsplash.com/photo-1585320806297-9794b3e4eeae?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax efekt */
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.hero-content {
    max-width: 800px;
    z-index: 1;
    padding: 20px;
    /* Optional: Add a very subtle blur backdrop for maximum readability */
    /* backdrop-filter: blur(2px); */
    /* border-radius: 20px; */
}

.hero h1 {
    color: var(--white);
    text-shadow: 0 4px 10px rgba(0,0,0,0.6); /* Stronger text shadow */
}

.highlight {
    color: #4ade80; /* Svetlejšia zelená pre kontrast na tmavom pozadí */
    position: relative;
}

/* Dekoratívna podčiarknutie pod highlight */
.highlight::after {
    content: '';
    display: block;
    width: 100%;
    height: 8px;
    background-color: rgba(74, 222, 128, 0.3);
    position: absolute;
    bottom: 5px;
    left: 0;
    z-index: -1;
    border-radius: 4px;
}

.hero-subtext {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.95); /* Whiter text */
    text-shadow: 0 2px 5px rgba(0,0,0,0.5); /* Added shadow to subtext */
}

/* O SLUŽBE (ROI GRID UPDATE) */
.roi-box {
    background-color: var(--light-green-bg);
    border: 2px solid var(--primary-green);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 1000px; /* Wider for 3 columns */
    margin: 0 auto 50px auto;
    box-shadow: var(--shadow-soft);
}

.roi-box h3 {
    color: var(--primary-green);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.roi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.roi-item {
    background-color: var(--white);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.3s ease;
}

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

.roi-item h4 {
    color: var(--dark-green);
    margin-bottom: 15px;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--light-green-bg);
    padding-bottom: 10px;
}

.highlight-item {
    border: 2px solid var(--primary-green);
    background-color: #fff;
    position: relative;
}

.roi-content p {
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.roi-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-light) !important;
    font-weight: 600;
    margin-bottom: 2px !important;
}

.roi-arrow {
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.2rem;
    margin: 10px 0;
}


/* Grid Columns */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* NEW: Grid 2 Columns for Contact */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid transparent;
}

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

.benefit-card:hover {
    box-shadow: var(--shadow-soft);
}

/* HORIZONTAL FEATURE CARD (New Section) */
.feature-card {
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
    padding: 30px;
}

.feature-card .icon-box {
    flex-shrink: 0;
    margin-bottom: 0;
}

/* ICON BOX STYLES (UPDATED) */
.icon-box {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-green-bg);
    border-radius: 50%;
    color: var(--primary-green);
    transition: transform 0.3s ease, background-color 0.3s ease;
    position: relative; /* Pre tooltip */
}

.icon-box:hover {
    transform: scale(1.1);
    background-color: #dceedd;
}

.icon-box svg {
    width: 36px;
    height: 36px;
    stroke-width: 2;
    stroke: currentColor;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* CENNÍK */
.pricing-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: stretch;
    flex-wrap: wrap;
}

.pricing-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    width: 300px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, z-index 0s;
}

/* Lift card on hover and ensure it stays above others */
.pricing-card:hover {
    z-index: 10;
    border-color: var(--primary-green);
}

.pricing-card.featured {
    border: 2px solid var(--primary-green);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: var(--shadow-hover);
}

/* Ensure featured stays above unless another is hovered */
.pricing-card.featured:hover {
    z-index: 11;
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-green);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.package-name { font-size: 1.4rem; margin-bottom: 5px; }
.package-desc { font-size: 0.9rem; margin-bottom: 20px; min-height: 60px; /* Increased min-height for longer descriptions */ }
.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 30px;
}

.features-list {
    text-align: left;
    margin-bottom: 10px; /* Menší margin pre spojenie s detailmi */
    flex-grow: 1;
}

.features-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-size: 0.95rem;
    color: var(--text-dark);
    cursor: help; /* Indikuje, že je tu tooltip */
}

/* Remove default outline for focus interaction */
.features-list li:focus {
    outline: none;
}

/* Add a subtle indicator for focus/hover */
.features-list li:hover,
.features-list li:focus {
    color: var(--primary-green);
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

/* TOOLTIP STYLES - UPDATED */
/* Používa sa aj v sekcii Cenník aj v sekcii Benefity (icon-box) */
.features-list li .tooltip,
.icon-box .tooltip {
    visibility: hidden;
    width: 220px; /* Fixná šírka pre lepšiu čitateľnosť */
    max-width: 90vw; /* Ochrana pre malé displeje */
    background-color: rgba(44, 62, 80, 0.95); /* Jemná priehľadnosť */
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 10px 15px;
    
    /* Poziciovanie */
    position: absolute;
    z-index: 100;
    bottom: 100%; /* Zobrazí sa nad prvkom */
    left: 50%;
    margin-bottom: 12px; /* Odstup od textu */
    
    /* Efekty prechodu - Start State */
    transform: translateX(-50%) translateY(10px) scale(0.95);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.3s;
    
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.4;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    pointer-events: none; /* Aby tooltip neprekážal myši */
    white-space: normal;
}

/* Šípka pre tooltip */
.features-list li .tooltip::after,
.icon-box .tooltip::after {
    content: "";
    position: absolute;
    top: 100%; /* Úplne dole na tooltipe */
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: rgba(44, 62, 80, 0.95) transparent transparent transparent;
}

/* Hover AND Focus efekt pre tooltip - Active State */
.features-list li:hover .tooltip,
.features-list li:focus .tooltip,
.icon-box:hover .tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
}

/* PRICING DETAILS (EXPANDABLE CSS-ONLY) */
.details-wrapper {
    margin-bottom: 30px;
    text-align: center;
}

/* Skrytie checkboxu */
.details-toggle {
    display: none;
}

/* Skrytie obsahu (default stav) */
.details-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out, margin-top 0.3s;
    opacity: 0;
    text-align: left;
    font-size: 0.9rem;
    color: var(--text-light);
    border-top: 1px dashed var(--border-color);
    margin-top: 0;
}

.details-content p {
    margin: 8px 0;
    line-height: 1.4;
}

/* Tlačidlo (Label) */
.details-btn {
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    display: inline-block;
    margin-top: 10px;
    transition: color 0.3s;
    user-select: none;
}

.details-btn:hover {
    color: var(--primary-green);
    text-decoration: underline;
}

/* Text tlačidla pomocou pseudo-elementov */
.details-btn::after {
    content: "▼ Viac detailov";
    display: inline-block;
}

/* STAV: Rozbalené (:checked) */
.details-toggle:checked ~ .details-content {
    max-height: 300px; /* Dostatočná výška pre obsah */
    opacity: 1;
    margin-top: 15px;
    padding-top: 10px;
}

.details-toggle:checked ~ .details-btn::after {
    content: "▲ Menej detailov";
}

.details-toggle:checked ~ .details-btn {
    color: var(--primary-green);
}

/* PROCES (Timeline/Steps) */
.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
}

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

/* CSS RADIO SLIDER (STABLE GALLERY) */
.css-slider {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.css-slider input {
    display: none;
}

.slides-track {
    display: flex;
    width: 600%; /* 6 slides * 100% */
    transition: margin-left 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.slide {
    width: 16.6666%; /* 100% / 6 */
    position: relative;
}

.slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-top: 4px solid var(--primary-green);
}

.slide-content h3 {
    margin: 0 0 5px 0;
    color: var(--primary-green);
}

.slide-content p {
    margin: 0;
    font-size: 0.95rem;
}

/* SLIDER NAVIGATION ARROWS */
.slider-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none; /* Click through container */
}

.arrow {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    position: absolute;
    top: 0; /* relative to container */
    cursor: pointer;
    pointer-events: auto;
    display: none; /* Hidden by default */
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.arrow:hover {
    background: var(--primary-green);
    color: white;
}

.arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    border-top: 3px solid #333;
    border-right: 3px solid #333;
    transform: translate(-50%, -50%);
}

.arrow:hover::before {
    border-color: white;
}

.arrow.prev { left: 20px; }
.arrow.prev::before { transform: translate(-30%, -50%) rotate(-135deg); }

.arrow.next { right: 20px; }
.arrow.next::before { transform: translate(-70%, -50%) rotate(45deg); }


/* DOTS NAVIGATION */
.slider-nav {
    position: absolute;
    bottom: 100px; /* Above text content */
    width: 100%;
    text-align: center;
    z-index: 10;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    border: 1px solid #fff;
    transition: all 0.3s;
}

.dot:hover { background: #fff; }


/* LOGIC - TRACK MOVEMENT */
#slide1:checked ~ .slides-track { margin-left: 0; }
#slide2:checked ~ .slides-track { margin-left: -100%; }
#slide3:checked ~ .slides-track { margin-left: -200%; }
#slide4:checked ~ .slides-track { margin-left: -300%; }
#slide5:checked ~ .slides-track { margin-left: -400%; }
#slide6:checked ~ .slides-track { margin-left: -500%; }


/* LOGIC - ACTIVE DOT */
#slide1:checked ~ .slider-nav label:nth-child(1),
#slide2:checked ~ .slider-nav label:nth-child(2),
#slide3:checked ~ .slider-nav label:nth-child(3),
#slide4:checked ~ .slider-nav label:nth-child(4),
#slide5:checked ~ .slider-nav label:nth-child(5),
#slide6:checked ~ .slider-nav label:nth-child(6) {
    background: var(--primary-green);
    border-color: var(--primary-green);
}

/* LOGIC - ARROW VISIBILITY */
#slide1:checked ~ .slider-arrows .prev-1,
#slide1:checked ~ .slider-arrows .next-1 { display: block; }

#slide2:checked ~ .slider-arrows .prev-2,
#slide2:checked ~ .slider-arrows .next-2 { display: block; }

#slide3:checked ~ .slider-arrows .prev-3,
#slide3:checked ~ .slider-arrows .next-3 { display: block; }

#slide4:checked ~ .slider-arrows .prev-4,
#slide4:checked ~ .slider-arrows .next-4 { display: block; }

#slide5:checked ~ .slider-arrows .prev-5,
#slide5:checked ~ .slider-arrows .next-5 { display: block; }

#slide6:checked ~ .slider-arrows .prev-6,
#slide6:checked ~ .slider-arrows .next-6 { display: block; }


/* REFERENCIE / TESTIMONIALS */
.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
}

.testimonial-card::before {
    content: '“';
    font-size: 4rem;
    color: var(--light-green-bg);
    position: absolute;
    top: 0;
    left: 20px;
    line-height: 1;
    font-family: serif;
}

.stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-green);
    font-size: 0.9rem;
}

/* GALÉRIA / VÍZIA (Text Cards) */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.vision-item {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius-lg);
    border-left: 5px solid var(--primary-green);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
}

.vision-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.vision-item h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-family: 'Montserrat', sans-serif;
}

.vision-item p {
    margin-bottom: 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* REALIZÁCIE / GALLERY GRID */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    height: 250px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

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


/* FAQ - UPDATED (INTERACTIVE CSS-ONLY) */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background-color: var(--bg-light-gray);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-green);
    overflow: hidden; /* Needed for smooth height transition */
}

/* Hide checkbox */
.faq-toggle {
    display: none;
}

/* Question Label */
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    color: var(--primary-green);
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    background-color: transparent;
    transition: background-color 0.3s ease, color 0.3s ease;
    user-select: none;
    margin: 0;
}

.faq-question:hover {
    background-color: rgba(46, 139, 87, 0.05);
}

/* Icon */
.faq-icon {
    font-size: 1.5rem;
    font-weight: 400;
    transition: transform 0.3s ease;
    line-height: 1;
    margin-left: 15px;
}

/* Answer Content */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out, padding 0.4s ease;
    opacity: 0;
    padding: 0 25px;
}

.faq-answer p {
    margin-bottom: 20px; /* Add margin only when visible */
    color: var(--text-dark);
    margin-top: 0;
}

/* ACTIVE STATE (:checked) */
.faq-toggle:checked ~ .faq-question {
    background-color: var(--primary-green);
    color: var(--white);
}

.faq-toggle:checked ~ .faq-question .faq-icon {
    transform: rotate(45deg) scale(1.1); /* Turn + into x and scale up */
    color: var(--white);
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 500px; /* Sufficient height for content */
    opacity: 1;
    padding-bottom: 20px;
    background-color: var(--white); /* Contrast background for answer */
}

/* KONTAKT */
.contact-section {
    background-color: var(--dark-green);
    color: var(--white);
}

.text-white { color: var(--white); }
.text-white-opacity { color: rgba(255,255,255,0.8); }

.contact-form-wrapper {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    color: var(--text-dark);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    margin-bottom: 0;
    height: fit-content;
}

.contact-form {
    /* Form itself */
}

/* Success Message Styling */
.success-message {
    text-align: center;
    padding: 20px;
    animation: fade-in-up 0.5s ease;
}

.success-icon {
    width: 60px;
    height: 60px;
    background-color: var(--light-green-bg);
    color: var(--primary-green);
    border-radius: 50%;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    border: 2px solid var(--primary-green);
}

.success-message h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
}

/* Vylepšené inputy vo formulári */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
    background-color: #fcfcfc;
}

.form-group input[type="file"] {
    padding: 10px;
    background-color: #f8f9fa;
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.1);
    background-color: #fff;
}

/* Form Validation Styles */
.form-group.input-error input {
    border-color: #e74c3c;
    background-color: #fdf5f5;
}

.error-text {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
    font-weight: 500;
}

.help-text {
    display: block;
    color: #666;
    font-size: 0.8rem;
    margin-top: 5px;
}

.form-group.input-error .error-text {
    display: block;
    animation: fade-in-up 0.2s ease;
}

/* GDPR Checkbox Styles */
.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 25px;
}

.checkbox-wrapper input {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-wrapper label {
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 0;
    cursor: pointer;
    color: var(--text-light);
}

.checkbox-wrapper a {
    color: var(--primary-green);
    text-decoration: underline;
}

.checkbox-wrapper a:hover {
    color: var(--dark-green);
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}

.info-item h3 {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.info-item p {
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 600;
    margin: 0;
}

.info-item a:hover {
    text-decoration: underline;
}

/* MAP CONTAINER */
.map-container {
    margin-top: 40px;
    width: 100%;
    height: 350px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* FOOTER - REDESIGNED (3 COLUMNS) */
.footer {
    background-color: #222;
    color: #fff;
    padding: 60px 0 30px; /* Increased top padding */
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* Wider first col */
    gap: 40px;
    margin-bottom: 40px;
    text-align: left;
}

.footer-brand {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 15px;
    color: var(--primary-green);
}

.footer-desc {
    color: #aaa;
    margin-bottom: 20px;
    max-width: 350px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links-list, 
.footer-contact-list {
    list-style: none;
    padding: 0;
}

.footer-links-list li,
.footer-contact-list li {
    margin-bottom: 10px;
}

.footer-links-list a {
    color: #aaa;
    transition: color 0.3s, padding-left 0.3s;
}

.footer-links-list a:hover {
    color: var(--primary-green);
    padding-left: 5px; /* Slide effect on hover */
}

.footer-contact-list li {
    color: #aaa;
}

.footer-contact-list a {
    color: #fff;
}

/* Footer Bottom Section */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: #888;
    font-size: 0.85rem;
}

.legal-links a:hover {
    color: var(--white);
}

/* Social Media Icons Styles (in Footer) */
.social-links {
    display: flex;
    gap: 15px;
    margin: 10px 0;
}

.social-links a {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-green);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.copyright {
    color: #666;
    font-size: 0.85rem;
}

/* SCROLL TO TOP BUTTON */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-green);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 900;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* Zjednotenie prechodu */
    text-decoration: none; /* Ensure no underline */
    
    /* Animation settings */
    opacity: 0; /* Hidden by default */
    pointer-events: none;
    animation: reveal-scroll-btn linear both;
    animation-timeline: scroll();
    animation-range: 0px 300px; /* Zobrazí sa počas prvých 300px scrollovania */
}

.scroll-to-top:hover {
    background-color: var(--dark-green);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(46, 139, 87, 0.4); /* Výraznejší tieň */
    color: var(--white); /* Fix color on hover */
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}

@keyframes reveal-scroll-btn {
    to {
        opacity: 1;
        pointer-events: auto;
    }
}

/* FLOATING CALL BUTTON */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(46, 139, 87, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(46, 139, 87, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 139, 87, 0); }
}

.floating-call-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: var(--primary-green);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 900;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    animation: pulse 2s infinite;
    transition: transform 0.3s;
}

.floating-call-btn:hover {
    transform: scale(1.1);
    background-color: var(--dark-green);
}

/* COOKIE CONSENT BANNER - FIXED GLOBAL */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0; /* Span full width safely */
    width: auto;
    max-width: 100vw; /* No horizontal overflow */
    background-color: #fff;
    color: var(--text-dark);
    padding: 20px;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.1);
    z-index: 2000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    border-top: 3px solid var(--primary-green);
    box-sizing: border-box;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
    flex: 1;
}

/* Checkbox Logic for Cookies */
#cookie-accept {
    display: none;
}

#cookie-accept:checked ~ .cookie-banner {
    display: none;
}

/* RESPONSIVE MEDIA QUERIES */

@media (max-width: 1024px) {
    h1 { font-size: 2rem; }
    
    /* --- HEADER & NAVIGATION (Mobile/Tablet) --- */
    .header {
        position: absolute; /* Overlay on top of hero */
        width: 100%;
        background: rgba(255, 255, 255, 0.9); /* Semi-transparent background */
        height: auto;
        top: 0;
        z-index: 1000;
        box-shadow: none; 
        animation: none; /* Disable desktop scroll animation */
        backdrop-filter: blur(5px);
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .header-content {
        flex-direction: row; /* Row layout for burger and logo */
        justify-content: space-between;
        padding: 15px 20px;
        align-items: center;
    }

    /* Nav Burger (Visible) */
    .nav-burger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 0;
        cursor: pointer;
        z-index: 2000;
        width: 30px;
        height: 21px;
    }

    .nav-burger span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: var(--text-dark);
        transition: all 0.3s ease-in-out;
        border-radius: 3px;
    }

    /* Navbar Overlay */
    .navbar {
        position: fixed;
        top: 0;
        right: 0; /* Slide from right */
        width: 75%; /* Drawer style */
        height: 100vh;
        background-color: #fff;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 1999;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%); /* Hidden off-screen by default */
        transition: transform 0.3s ease-in-out;
    }

    .navbar ul {
        flex-direction: column;
        gap: 30px;
        margin-top: 0;
        width: 100%;
        text-align: center;
    }

    .navbar a {
        font-size: 1.2rem; 
        color: var(--text-dark);
        display: block;
        width: 100%;
    }

    /* Toggle Logic */
    .nav-toggle:checked ~ .navbar {
        transform: translateX(0); /* Slide in */
    }

    /* Burger Animation */
    .nav-toggle:checked ~ .header-content .nav-burger span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .nav-toggle:checked ~ .header-content .nav-burger span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle:checked ~ .header-content .nav-burger span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* --- LAYOUT ADJUSTMENTS --- */
    .pricing-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        overflow-x: visible;
        scroll-snap-type: none;
    }
    
    .pricing-card {
        width: 100%;
        max-width: 400px;
        min-width: auto;
        margin-right: 0;
    }
    
    .pricing-card.featured {
        transform: none;
        order: -1; 
    }

    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }

    .vision-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 40px;
    }

    .contact-form {
        padding: 25px;
    }
    
    /* --- FOOTER ADJUSTMENTS --- */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-brand, .footer-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-links-list a:hover {
        padding-left: 0; /* Disable slide on mobile */
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .legal-links {
        justify-content: center;
    }
    
    /* --- GALLERY & SLIDER --- */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .gallery-item {
        height: 160px;
    }
    
    .slide img {
        height: 300px;
    }
    
    .slider-arrows {
        display: none;
    }
    
    /* --- FLOATING ELEMENTS --- */
    .scroll-to-top {
        right: 20px;
        bottom: 80px; 
        width: 40px;
        height: 40px;
    }
    
    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
    
    .floating-call-btn {
        left: 20px;
        bottom: 20px;
    }
}

@media (max-width: 768px) {
    .feature-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .feature-card .icon-box {
        margin-bottom: 1.5rem;
    }
}