:root {
    --primary-color: #007BFF;
    --primary-color-hover: #0056b3;
    --secondary-color: #f0f6ff;
    --secondary-color-hover: #e0e9f8;
    --text-color: #343a40;
    --light-text-color: #f8f9fa;
    --background-color: #ffffff;
    --light-gray-bg: #f8f9fa;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    background-color: var(--background-color);
    color: var(--text-color);
}
body.no-scroll {
    overflow: hidden;
}

/* === HEADER & NAVIGATION === */
#main-header {
    width: 100%;
    height: var(--header-height);
    background-color: transparent;
    position: fixed;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

#main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}
#main-header.scrolled .logo h1, #main-header.scrolled nav a, #main-header.scrolled .header-contact a:not(.button){
    color: var(--text-color);
}
#main-header.scrolled .hamburger span {
    background-color: var(--text-color);
}
#main-header.scrolled .hamburger.active span {
    background-color: var(--light-text-color);
}

.header-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--light-text-color);
    transition: color 0.3s ease;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--light-text-color);
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}
.header-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}
.header-contact a:not(.button){
    color: var(--light-text-color);
}

/* === ÚVODNÍ SEKCE === */
.intro {
    min-height: 100vh;
    /* OPRAVENÁ CESTA K OBRÁZKU NA POZADÍ */
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3)), url('obrazky/clean.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}
.intro-text { color: var(--light-text-color); max-width: 800px; }
.intro h1 { font-size: 64px; font-weight: 700; margin-bottom: 20px; letter-spacing: 2px; }
.intro p { font-size: 20px; font-weight: 400; margin-bottom: 40px; }

/* === BUTTONS === */
.button {
    display: inline-block; padding: 12px 28px; border-radius: 50px;
    font-weight: 500; font-size: 16px; text-decoration: none;
    transition: all 0.3s ease; border: none; cursor: pointer;
}
.button-primary {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}
.button-primary:hover {
    background-color: var(--primary-color-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}
.button-secondary {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--light-text-color);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.button-secondary:hover { background-color: rgba(255, 255, 255, 0.25); }
#main-header.scrolled .button-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: transparent;
}

/* === OBSAHOVÉ SEKCE === */
.content-section { padding: 100px 20px; max-width: 1200px; margin: 0 auto; }
.content-section.bg-light { background-color: var(--light-gray-bg); }
.content-section h2 { font-size: 42px; text-align: center; margin-bottom: 20px; color: var(--text-color); }
.section-intro { font-size: 18px; max-width: 800px; margin: 0 auto 60px; text-align: center; color: #6c757d; }

/* === O NÁS SEKCE === */
.values {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
}
.values h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--text-color);
}
.values ul {
    list-style: none;
}
.values li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 18px;
    margin-bottom: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    /* PŘIDANÁ TRANSITION PRO HOVER EFEKT */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* NOVÝ HOVER EFEKT */
.values li:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.values li:last-child {
    margin-bottom: 0;
}
.values .icon {
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.5;
}
.value-text {
    flex: 1;
}


/* === SLUŽBY SEKCE === */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { background-color: var(--background-color); padding: 30px; border-radius: 15px; text-align: center; box-shadow: 0 5px 20px rgba(0,0,0,0.04); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
.service-icon { width: 60px; height: 60px; margin-bottom: 20px; object-fit: contain; }
.service-card h3 { font-size: 22px; margin-bottom: 10px; }
.service-card p { color: #6c757d; }

/* === KONTAKT SEKCE === */
.contact-box { max-width: 600px; margin: 0 auto; background-color: var(--background-color); padding: 50px; border-radius: 15px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.contact-icon { width: 80px; height: 80px; margin-bottom: 20px; }
.contact-box h3 { font-size: 28px; margin-bottom: 10px; }
.contact-details { margin: 20px 0 30px; }
.contact-details p { margin-bottom: 10px; }
.contact-details a { color: var(--text-color); text-decoration: none; font-weight: 500; }
.contact-details a:hover { color: var(--primary-color); }

/* === FOOTER === */
footer { background-color: #111827; color: #9ca3af; padding: 60px 20px 20px; text-align: left; }
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
.footer-column h4 { color: #fff; font-size: 18px; margin-bottom: 20px; font-weight: 500; }
.logo-footer { font-size: 24px !important; font-weight: 700 !important; color: var(--primary-color) !important; }
.footer-column p { line-height: 1.8; }
.footer-column ul { list-style: none; }
.footer-column ul li { margin-bottom: 10px; }
.footer-column a { color: #9ca3af; text-decoration: none; transition: color 0.3s ease; }
.footer-column a:hover { color: #fff; }
.footer-bottom { max-width: 1200px; margin: 60px auto 0; padding-top: 20px; border-top: 1px solid #374151; text-align: center; font-size: 14px; }

/* === ANIMACE === */
.fade-in-load { opacity: 0; transform: translateY(20px); animation: fadeIn 1.2s ease-out forwards; }
.fade-in-load:nth-child(2) { animation-delay: 0.2s; }
.fade-in-load:nth-child(3) { animation-delay: 0.4s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }

/* === HAMBURGER A MOBILNÍ NAVIGACE === */
.hamburger { display: none; border: none; background: none; cursor: pointer; z-index: 1001; }
.hamburger span { display: block; width: 25px; height: 3px; background-color: var(--light-text-color); margin: 5px 0; transition: all 0.3s ease; }

@media (max-width: 768px) {
    .header-contact,
    nav { display: none; }
    
    .hamburger { display: block; }
    
    .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); }
    .hamburger.active span { background-color: var(--light-text-color); }
    
    nav#main-nav.mobile-active {
        display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
        background-color: rgba(17, 24, 39, 0.98); backdrop-filter: blur(5px);
    }
    #main-nav.mobile-active ul {
        display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100%; gap: 0;
    }
    #main-nav.mobile-active li { margin: 20px 0; }
    #main-nav.mobile-active a { color: var(--light-text-color); font-size: 24px; }
    
    /* Ostatní responzivní úpravy */
    .intro h1 { font-size: 40px; } .intro p { font-size: 16px; }
    .content-section { padding: 60px 15px; }
    .content-section h2 { font-size: 32px; }
    .values { padding: 30px 20px; }
}