/* ==========================================================================
   1. RESET, GLOBÁLNÍ PROMĚNNÉ A ZÁKLADNÍ STYL STRÁNKY
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #093498;   
    --secondary-color: #1e272e;  
    --light-bg: #ececeb;        
    --text-dark: #2f3640;       
    --text-light: #2f3640;      
    --transition: all 0.3s ease; 
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* ZÁKAZ HORIZONTÁLNÍHO SCROLLU */
}

body {
    color: var(--text-dark);
    background-color: var(--light-bg);
    line-height: 1.6;
}

/* ==========================================================================
   2. HLAVNÍ NAVIGAČNÍ LIŠTA (NAVBAR) & STRUKTURA MENU
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: transparent; 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 4%; 
}

.logo-container img {
    height: 35px;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 1002; 
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    height: 100%;
    
    
    position: absolute;
    margin-left: 1%;
    top: 0;
    left: 0;
    right: 0; 
    width: auto; 
    padding: 0 4%;
    justify-content: center;
    z-index: 1001;
    box-sizing: border-box; 
}

/* ==========================================================================
   DARK MODE TOGGLE (PŘEPÍNAČ VLEVO DOLE)
   ========================================================================== */
.dark-mode-container {
    position: fixed;
    bottom: 80px;
    left: 80px;
    z-index: 10000; 
}

.theme-switch input {
    display: none;
}

.theme-switch {
    display: inline-block;
    height: 30px;
    position: relative;
    width: 56px;
}

.slider {
    background-color: #cbd5e1; 
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: 0.4s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
    border-radius: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.slider:before {
    background-color: #ffffff;
    bottom: 3px;
    content: "";
    height: 24px;
    left: 3px;
    position: absolute;
    transition: 0.4s;
    width: 24px;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked + .slider {
    background-color: #475569;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider i {
    font-size: 12px;
    z-index: 1;
    transition: 0.3s ease;
}
.icon-sun { color: #eab308; }
.icon-moon { color: #94a3b8; opacity: 0.3; }

input:checked + .slider .icon-sun { opacity: 0.3; color: #94a3b8; }
input:checked + .slider .icon-moon { opacity: 1; color: #38bdf8; }



.dark-tire {
    display: none !important;
}


body.dark-mode .light-tire {
    display: none !important;
}
body.dark-mode .dark-tire {
    display: block !important;
}




.dark-logo {
    display: none !important;
}


body.dark-mode .light-logo {
    display: none !important;
}
body.dark-mode .dark-logo {
    display: block !important;
}

/* ==========================================================================
   STYLY PRO DARK MODE (KOMPLETNÍ ROZŠÍŘENÁ OPRAVA BAREV)
   ========================================================================== */
body.dark-mode {
    background-color: #000000 !important;
    color: #ffffff !important; 
}

/* Sjednocení tmavého pozadí pro všechny obsahové sekce */
body.dark-mode .contact-section,
body.dark-mode .order-container,
body.dark-mode #form-wrapper,
body.dark-mode .bg-white,
body.dark-mode .bg-light-gray,
body.dark-mode .section,
body.dark-mode .section-map,
body.dark-mode #o-nas,
body.dark-mode .about-section {
    background-color: #000000 !important;
}

/* Globální vynucení bílé barvy pro textové prvky v Dark Mode */
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode p,
body.dark-mode li,
body.dark-mode .contact-subtitle,
body.dark-mode .stat-clean-label,
body.dark-mode .service-clean-item p,
body.dark-mode .price-list p {
    color: #ffffff !important;
}


body.dark-mode .hero {
    background-image: url('matro/bg3.png') !important; 
}


body.dark-mode .wrench-wrapper i {
    color: #ffffff !important;
    opacity: 0.9;
}

/* Kontaktní boxy / dlaždice v tmavém režimu */
body.dark-mode .contact-item {
    background-color: #141516 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
body.dark-mode .contact-item h3,
body.dark-mode .contact-item p,
body.dark-mode .contact-item a {
    color: #ffffff !important; 
}
body.dark-mode .contact-item a:hover {
    color: var(--primary-color) !important;
}

/* Vnitřní karty/boxy v sekci O nás */
body.dark-mode #o-nas .about-card,
body.dark-mode #o-nas .stat-box {
    background-color: #1e293b !important; 
    color: #ffffff !important;
}




body.dark-mode .btn-secondary {
    color: #ffffff !important;
    border-color: #ffffff !important;
}
body.dark-mode .btn-secondary:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
}

/* Formuláře v order.html */
body.dark-mode fieldset {
    border-color: #334155 !important;
    color: #ffffff !important; 
}
body.dark-mode input, 
body.dark-mode select, 
body.dark-mode textarea {
    background-color: #10b842 !important;
    color: #ffffff !important; 
    border-color: #334155 !important;
}
body.dark-mode input:focus, 
body.dark-mode select:focus, 
body.dark-mode textarea:focus {
    border-color: #093498 !important;
}

/* Interaktivní mapa v Dark Mode */
body.dark-mode #mapa,
body.dark-mode .map-section,
body.dark-mode .map-container {
    background-color: #000000 !important;
}
body.dark-mode #mapa iframe,
body.dark-mode .map-section iframe,
body.dark-mode .map-container iframe {
    filter: invert(90%) hue-rotate(180deg) brightness(85%) contrast(90%);
    opacity: 0.85;
    transition: filter 0.3s ease, opacity 0.3s ease;
}
body.dark-mode #mapa iframe:hover,
body.dark-mode .map-section iframe:hover,
body.dark-mode .map-container iframe:hover {
    opacity: 1;
    filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(90%);
}


body.dark-mode .order-footer {
    background-color: #080808 !important;
    border-top-color: #1e293b !important;
    color: #ffffff !important; 
}
body.dark-mode .footer-column h3,
body.dark-mode .footer-links a,
body.dark-mode .footer-links a:hover,
body.dark-mode .footer-bottom-content,
body.dark-mode .designer-credit span {
    color: #ffffff !important;
}
body.dark-mode .footer-bottom {
    border-top-color: #2b2b2b !important;
}



/* Bílé písmo pro navigaci v Dark Mode */
body.dark-mode nav a,
body.dark-mode .nav-link,
body.dark-mode .navbar a {
    color: #ffffff !important;
}


body.dark-mode nav a:hover,
body.dark-mode .nav-link:hover {
    color: #093498 !important; 
}


/* ==========================================================================
   3. ANIMOVANÉ ODKAZY V MENU (HOVER EFEKT S OBRÁZKEM)
   ========================================================================== */
.nav-link {
    color: #000000; 
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s ease, transform 0.3s ease; 
    padding: 8px 0;
    position: relative;
    display: inline-block;
    overflow: visible; 
}

.nav-link:hover {
    color: var(--primary-color);
    transform: scale(1.05); 
}


.nav-link::after {
    content: '';
    position: absolute;
    bottom: -25px; 
    left: 50%;
    width: 30px;   
    height: 47px;  
    background-image: url('matro/car1.png'); 
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none; 
    transform: translate(-50%, 0) translateX(-30px);
    opacity: 0;
    animation: moveOutRight 0.6s forwards ease-in-out;
}

.nav-link:hover::after {
    animation: moveInLeft 0.6s forwards ease-in-out;
}

.nav-link.active::after {
    transform: translate(-50%, 0) translateX(-30px);
    opacity: 0;
}
.nav-link.active:hover::after {
    animation: moveInLeft 0.6s forwards ease-in-out;
}


.nav-menu > li:last-child {
    position: absolute;
    right: 4%; 
    z-index: 1002;
}


.btn-nav {
    background-color: var(--primary-color);
    color: #ffffff !important; 
    padding: 10px 20px;
    border-radius: 4px;
    overflow: visible;
    transition: var(--transition);
    display: inline-block;
}

.btn-nav:hover {
    background-color: #072a7a;
    color: #ffffff !important; 
    transform: translateY(-2px) scale(1.05) !important; 
}

.btn-nav::after, .btn-nav:hover::after, .btn-nav.active::after { 
    display: none !important; 
}

/* ==========================================================================
   4. KLÍČOVÉ SNÍMKY (KEYFRAMES) PRO ANIMACI HOVERU
   ========================================================================== */
@keyframes moveInLeft {
    0% {
        transform: scale(0.95) translate(-50%, 0) translateX(-30px);
        opacity: 0;
    }
    100% {
        transform: scale(0.95) translate(-50%, 0) translateX(0);
        opacity: 1;
    }
}

@keyframes moveOutRight {
    0% {
        transform: translate(-50%, 0) translateX(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 0) translateX(30px);
        opacity: 0;
    }
}


/* ==========================================================================
   5. LANDING PAGE (HERO SEKCE NA ÚVODU)
   ========================================================================== */
.hero {
    height: calc(100vh);
    background: url('matro/bg4.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    padding: 0 10%;
    color: var(--text-dark);
    overflow: hidden;
    background-position: center;
    position: relative;
    transition: background-position 0.1s ease-out;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 400px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    color: var(--text-dark);
    animation: fadeInUp 1s ease;
}

.hero h1 span {
    color: var(--primary-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    color: #4b5563;
    animation: fadeInUp 1s ease;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1.4s ease;
}

.hero-interactive-side {
    position: relative;
    z-index: 20; 
}

.hero-tire-link {
    display: inline-block; 
    position: relative;
    z-index: 30; 
    cursor: pointer !important; 
}

.hero-tire-img {
    cursor: pointer !important; 
    pointer-events: auto; 
    transition: transform 0.3s ease;
}

.hero-tire-link:hover .hero-tire-img {
    transform: scale(1.05); 
}


.hero-interactive-side {
    position: absolute;
    right: 12%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column; 
    align-items: center; 
    gap: 30px;
    z-index: 10;
}

.hero-wrench-link {
    text-decoration: none;
    cursor: pointer;
    display: block;
}

.wrench-wrapper {
    position: relative;
    width: 200px;              
    height: 140px;              
}

.wrench-wrapper i {
    font-size: 7.5rem;          
    color: #000000;             
    opacity: 0.8;               
    position: absolute;         
    top: 0;
    left: 20%;                  
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.wrench-left {
    transform: rotate(-20deg) translateX(-60px);
}

.wrench-right {
    transform: rotate(20deg) translateX(60px);
}

.hero-tire-img {
    width: 170px;               
    height: auto;
    opacity: 0.8;
    margin-left: 25%;
    transition: transform 0.4s ease, opacity 0.3s ease;
    margin-top: 20%;
}


.hero-wrench-link:hover i {
    opacity: 1;
}
.hero-wrench-link:hover .wrench-left {
    transform: rotate(2deg) translateX(60px) translateY(23px);
}
.hero-wrench-link:hover .wrench-right {
    transform: rotate(-90deg) translateX(-25px) translateY(20px);
}

.hero-tire-img:hover {
    opacity: 1;
    transform: scale(1.1) rotate(15deg); 
    cursor: default; 
}


/* ==========================================================================
   SEKCE O NÁS - ČISTÝ ANIMOVANÝ DESIGN (BEZ RÁMEČKŮ)
   ========================================================================== */
.bg-light-gray {
    background-color: var(--light-bg); 
}

.about-clean-container {
    display: flex;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-clean-text {
    flex: 1.2;
    opacity: 0;
    transform: translateX(-40px); 
    transition: opacity 1.4s cubic-bezier(0.25, 1, 0.5, 1), transform 1.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.about-clean-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
    opacity: 0;
    transform: translateX(40px); 
    transition: opacity 1.4s cubic-bezier(0.25, 1, 0.5, 1), transform 1.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.animate-on-scroll.visible .about-clean-text,
.animate-on-scroll.visible .about-clean-stats {
    opacity: 1;
    transform: translateX(0);
}

.section-title.left-align {
    text-align: left;
    margin-bottom: 30px;
}
.section-title.left-align::after {
    left: 40px;
}

.stat-clean-item {
    display: flex;
    flex-direction: column;
    border: none; 
    background: none; 
    padding: 0;
}

.stat-clean-number, .stat-clean-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color); 
    line-height: 1.1;
}

.stat-clean-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
    font-weight: 600;
    margin-top: 5px;
}


/* ==========================================================================
   SEKCE MAPA
   ========================================================================== */
.section-map {
    padding: 40px 10%; 
    background-color: var(--light-bg); 
}

.map-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 8px; 
    overflow: hidden; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
}

.map-container iframe {
    display: block; 
}


/* ==========================================================================
   6. GLOBÁLNÍ STYLING TLAČÍTEK (BUTTONS)
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.95rem;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff; 
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #072a7a;
    border-color: #072a7a;
    color: #ffffff; 
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark); 
    border: 2px solid var(--text-dark); 
}

.btn-secondary:hover {
    background-color: var(--text-dark); 
    color: #ffffff; 
    transform: translateY(-2px);
}

.btn-full {
    width: 100%; 
}


/* ==========================================================================
   7. STRUKTURA OBSAHOVÝCH SEKCÍ & NAŠE SLUŽBY
   ========================================================================== */
.section {
    padding: 100px 10%;
}

.bg-white {
    background-color: #ececeb;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    text-transform: uppercase;
    color: var(--text-dark);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    max-width: 1200px;
    margin: 40px auto 0;
    scroll-snap-type: y mandatory; 
}

.service-clean-item h3 { 
    font-size: 1.8rem; 
    margin-bottom: 20px; 
    position: relative; 
    padding-bottom: 10px; 
    color: var(--text-dark);
}

.service-clean-item h3::after { 
    content: ''; 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 40px; 
    height: 3px; 
    background-color: var(--primary-color); 
    transition: 0.4s; 
}

.service-clean-item:hover h3::after { 
    width: 80px; 
}

.service-clean-item p {
    margin-bottom: 20px;
    color: #576574;
}

.service-clean-item ul { 
    list-style: none; 
    padding: 0; 
}

.service-clean-item ul li { 
    margin-bottom: 10px; 
    padding-left: 20px; 
    position: relative; 
    color: var(--text-dark);
}

.service-clean-item ul li::before { 
    content: ''; 
    position: absolute; 
    left: 0; 
    top: 8px; 
    width: 8px; 
    height: 8px; 
    background-color: var(--primary-color); 
}

.price-list { 
    border-left: 2px solid var(--primary-color); 
    padding-left: 15px; 
}

.price-list p {
    font-size: 0.95rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.service-clean-item {
    scroll-snap-align: start; 
    opacity: 0.3;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.service-clean-item.is-visible {
    opacity: 1;
    transform: scale(1);
}


/* ==========================================================================
   9. POMOCNÉ ANIMACE STRUČNÝCH PRVKŮ (FADE IN)
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ==========================================================================
   MODERNÍ SEKCE KONTAKT
   ========================================================================== */
.contact-section {
    padding: 80px 0;
    background-color: #ececeb; 
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4%;
}

.contact-section h2 {
    font-size: 2.2rem;
    text-transform: uppercase;
    color: #2f3640;
    margin-bottom: 10px;
    font-weight: 800;
}

.contact-subtitle {
    color: #718096;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

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

.contact-item {
    background-color: #f8fafc;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.contact-icon {
    font-size: 2.2rem;
    color: #093498; 
    margin-bottom: 20px;
}

.contact-item h3 {
    font-size: 1.2rem;
    color: #2f3640;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.contact-item p, 
.contact-item a {
    font-size: 1.1rem;
    color: #4a5568;
    text-decoration: none;
    line-height: 1.6;
    font-weight: 600;
}

.contact-item a:hover {
    color: #093498;
}

.contact-cta-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.btn-contact-order {
    display: inline-block;
    background-color: #093498;
    color: #ffffff;
    text-decoration: none;
    padding: 16px 45px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    border: 2px solid #093498;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(9, 52, 152, 0.3);
}

.btn-contact-order:hover {
    background-color: #072a7a;
    border-color: #072a7a;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(7, 42, 122, 0.4);
}


/* ==========================================================================
   MODERNÍ VÍCESLOUPCOVÁ PATIČKA (S OBRÁZKEM LOGA)
   ========================================================================== */
.order-footer {
    background-color: #f3f4f6; 
    color: #6b7280;
    padding: 60px 0 20px 0;
    margin-top: 80px;
    border-top: 1px solid #e5e7eb;
    font-family: 'Segoe UI', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    flex: 2;
    margin-left: 0%;
    margin-top: 4%;
}

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

.footer-column h3 {
    font-size: 0.85rem;
    font-weight: 800;
    color: #000000;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
    text-transform: uppercase;
}

.footer-links a:hover {
    color: #000000;
}

.footer-bottom {
    margin-top: 20px;
    border-top: 1px solid #e5e7eb;
    padding: 1%;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #9ca3af;
    letter-spacing: 0.5px;
}

.designer-credit {
    text-transform: uppercase;
}

.designer-credit span {
    color: #4b5563;
    font-weight: 700;
}


/* ==========================================================================
   10. RESPONSIVITA (STYLING PRO MOBILY A TABLETY)
   ========================================================================== */
@media (max-width: 992px) {
    .navbar { padding: 0 5%; }
    .hero h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .hamburger { display: block; }
    
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%; 
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--secondary-color);
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        transition: var(--transition);
        gap: 40px;
    }

    .nav-menu.active { 
        left: 0; 
    }
    
    .hero { align-items: center; text-align: center; padding: 0 5%; }
    .cta-buttons { flex-direction: column; width: 100%; gap: 15px; }
    .btn { text-align: center; width: 100%; }

    .nav-link { padding: 10px 0; color: #ffffff; }
    .nav-link::after { display: none !important; }

    .about-clean-container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    .about-clean-text, .about-clean-stats {
        transform: translateY(30px); 
    }
    .section-title.left-align {
        text-align: center;
    }
    .section-title.left-align::after {
        left: 50%;
    }
    .stat-clean-item {
        align-items: center;
    }

    .section-map {
        padding: 20px 5%;
    }
    .map-container iframe {
        height: 350px; 
    }

    .contact-section {
        padding: 50px 0;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .btn-contact-order {
        width: 100%;
        max-width: 350px;
        padding: 14px 20px;
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        align-items: center;
    }
    .footer-brand {
        align-items: center;
    }
    .footer-bottom-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}





/* ==========================================================================
   RESPONSIVNÍ STYLY & OPRAVY (PŘIDEJTE NA KONEC SOUBORU SÝLŮ)
   ========================================================================== */


html.dark-mode body {
    background-color: #1a1a1a; 
    color: #ffffff;
}


@media (max-width: 991px) {
    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }

   
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        bottom: 0;
        width: 280px;
        background-color: inherit; 
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        flex-direction: column;
        padding: 80px 20px 20px 20px;
        transition: right 0.3s ease-in-out;
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
}


@media (max-width: 991px) {
    .hero-interactive-side {
        display: none !important;
    }
    
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero-content {
        max-width: 100%;
    }

    .cta-buttons {
        justify-content: center;
    }
}





/* ==========================================================================
   ZMENŠENÍ TEXTU NA LANDING PAGE PRO MENŠÍ ZAŘÍZENÍ
   ========================================================================== */

@media (max-width: 991px) {
   
    .hero h1 {
        
        line-height: 1.3 !important;
        margin-bottom: 40% !important;
    }
    
 
}

@media (max-width: 480px) {
   
    .hero h1 {
        font-size: 1.75rem !important;
    }
    
    
    .hero .cta-buttons {
        flex-direction: column;
        gap: 10px !important;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .hero .btn {
        width: 100%;
        text-align: center;
    }
}




@media (max-width: 991px) {

   .dark-mode-container {
        left: auto !important;   
        right: 10px !important;   
        bottom: 20px !important;   
    }
    
    /* Zobrazení hamburger tlačítka */
    .hamburger {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        z-index: 1005;
        margin-left: auto;
    }

    .hamburger span {
        display: block;
        width: 28px;
        height: 3px;
        background-color: var(--text-dark);
        margin: 5px 0;
        transition: all 0.3s ease;
    }

   
    .hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 280px;
        height: 100vh;
        background-color: #000000; 
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 100px;
        gap: 30px;
        transition: right 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    }

    /* Vysunutí menu na scénu */
    .nav-menu.active {
        right: 0; 
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    
    .nav-menu li:last-child {
        position: relative;
        right: auto;
        width: 80%;
        margin: 0 auto;
    }

    .nav-link {
        color: #ffffff !important; 
        font-size: 1.1rem;
        display: block;
        width: 100%;
    }

    .nav-link::after {
        display: none !important; 
    }

    .logo-container {
        z-index: 10;
    }


    .footer-logo-img {
        height: 60px !important; 
        width: auto;
    }
}


/* ==========================================================================
   KONEČNÁ A VYČIŠTĚNÍ OPRAVA POZICE TEXTU PRO MOBILY (VČETNĚ IPHONE MINI)
   ========================================================================== */

@media (max-width: 991px) {
    
    .hero h1 {
        margin-bottom: 20px !important;
    }

    
    .hero h1, 
    .hero p {
        transform: translateY(-130px) !important;
        margin-top: 0 !important; 
    }
}

@media (max-width: 480px) {
    /* 3. Agresivnější posun textu nahoru přímo pro displeje jako iPhone 13 mini */
    .hero h1, 
    .hero p {
        transform: translateY(-110px) !important; /* Bezpečně vystřelí text výše nad tlačítka */
        margin-top: 0 !important;
    }
}