/* ==========================================================================
   ELNAV.CZ - ČISTÝ A VZDUŠNÝ B2B STYLING (LIGHT & PREMIUM NAVY/GOLD)
   ========================================================================== */

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

html {
    scroll-behavior: smooth;
}

body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; 
    line-height: 1.6; 
    color: #334155; 
    background-color: #f8fafc; 
}

section[id] {
    scroll-margin-top: 80px;
}

.container { 
    max-width: 1120px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

/* ROZVRŽENÍ */
.grid-2 { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 40px; 
}

.grid-3 { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 25px; 
}

.grid-4 { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 20px; 
}

.align-center {
    align-items: center;
}

/* TLAČÍTKA */
.btn { 
    display: inline-block; 
    padding: 12px 24px; 
    border-radius: 4px; 
    text-decoration: none; 
    font-weight: 600; 
    font-size: 0.95rem;
    border: none; 
    cursor: pointer; 
    transition: all 0.2s ease;
}

.btn-primary { 
    background: #eab308; 
    color: #0f172a; 
}

.btn-primary:hover { 
    background: #ca8a04; 
    color: #000000;
}

.btn-secondary { 
    background: transparent; 
    color: #ffffff; 
    border: 1px solid rgba(234, 179, 8, 0.8);
}

.btn-secondary:hover {
    background: rgba(234, 179, 8, 0.15);
    color: #eab308;
}

.btn-small { 
    padding: 8px 18px; 
    font-size: 0.88rem; 
    background: #eab308; 
    color: #0f172a; 
}

.btn-small:hover {
    background: #ca8a04;
}

.btn-block { 
    width: 100%; 
    text-align: center; 
}

/* HLAVIČKA (Tmavá s rozostřením) */
.site-header { 
    background: rgba(15, 23, 42, 0.85); 
    backdrop-filter: blur(10px);         
    -webkit-backdrop-filter: blur(10px); 
    color: #ffffff; 
    padding: 12px 0; 
    position: sticky; 
    top: 0; 
    z-index: 100; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-bottom: 2px solid rgba(234, 179, 8, 0.8);
}

.header-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.logo a { 
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff; 
    text-decoration: none; 
}

.logo-img {
    height: 42px;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.5px;
}

.logo-text span { 
    color: #eab308; 
    font-size: 0.75rem; 
    font-weight: 400; 
    display: block;
    letter-spacing: 0.5px;
}

.main-nav a { 
    color: #cbd5e1; 
    text-decoration: none; 
    margin-left: 20px; 
    font-weight: 500;
    font-size: 0.92rem;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: #eab308;
}

/* HERO BANNER S ROTACÍ FOTEK */
.hero { 
    position: relative;
    padding: 110px 0 100px; 
    text-align: center; 
    overflow: hidden;
    background: #0f172a;
}

.hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fadeSlider 25s infinite ease-in-out;
}

.slide-1 { background-image: url('img/hero1.jpg'); animation-delay: 0s; }
.slide-2 { background-image: url('img/hero2.jpg'); animation-delay: 5s; }
.slide-3 { background-image: url('img/hero3.jpg'); animation-delay: 10s; }
.slide-4 { background-image: url('img/hero4.jpg'); animation-delay: 15s; }
.slide-5 { background-image: url('img/hero5.jpg'); animation-delay: 20s; }

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.78);
    z-index: 2;
}

.hero-content { 
    position: relative;
    z-index: 3;
}

.hero h1 { 
    font-size: 2.4rem; 
    margin-bottom: 16px; 
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero p { 
    font-size: 1.15rem; 
    max-width: 700px; 
    margin: 0 auto 30px; 
    color: #f1f5f9; 
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.hero-buttons { 
    display: flex; 
    gap: 14px; 
    justify-content: center; 
    flex-wrap: wrap; 
}

@keyframes fadeSlider {
    0% { opacity: 0; }
    8% { opacity: 1; }
    20% { opacity: 1; }
    28% { opacity: 0; }
    100% { opacity: 0; }
}

/* PŘEDNOSTI (Světlá karta na bílém podkladu) */
.features { 
    padding: 40px 0; 
    background: #ffffff; 
    border-bottom: 1px solid #e2e8f0;
}

.feature-card { 
    padding: 16px 20px; 
    border-left: 3px solid #eab308;
    background: #f8fafc;
    border-radius: 0 4px 4px 0;
}

.feature-title {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
    font-size: 1rem;
}

.feature-card p {
    color: #475569;
    font-size: 0.9rem;
}

/* TITULKY SEKCÍ */
.section-title { 
    text-align: center; 
    margin-bottom: 8px; 
    font-size: 2rem; 
    color: #0f172a;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 40px;
    font-size: 1rem;
}

/* SLUŽBY (Světlé karty) */
.services { 
    padding: 70px 0; 
    background: #f8fafc;
}

.service-card { 
    background: #ffffff; 
    padding: 28px; 
    border-radius: 6px; 
    border: 1px solid #e2e8f0; 
    border-top: 3px solid #eab308;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04); 
    display: flex;
    flex-direction: column;
}

.service-card h3 { 
    color: #0f172a; 
    margin-bottom: 10px; 
    font-size: 1.25rem;
}

.service-card p {
    color: #475569;
    margin-bottom: 16px;
    font-size: 0.94rem;
    line-height: 1.5;
}

.service-card ul { 
    list-style: none; 
    padding-left: 0; 
    margin-top: auto;
}

.service-card li { 
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px; 
    color: #334155;
    font-size: 0.9rem;
    line-height: 1.4;
}

.service-card li::before {
    content: "■";
    color: #eab308;
    position: absolute;
    left: 0;
    top: 1px;
    font-size: 0.7rem;
}

/* SEKCE O MNĚ (Čistá bílá sekce s výborným kontrastem) */
.about-section {
    padding: 80px 0;
    background-color: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.about-text {
    text-align: left;
}

.about-text h2 {
    color: #0f172a;
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-text .lead {
    font-size: 1.08rem;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 18px;
    line-height: 1.6;
}

.about-text p {
    color: #334155;
    margin-bottom: 16px;
    line-height: 1.6;
}

.about-text strong {
    color: #0f172a;
}

/* SEZNAM S FAJFKY */
.about-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.about-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    line-height: 1.6;
    color: #334155;
}

.about-list li strong {
    color: #0f172a;
}

.about-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #eab308;
    font-weight: bold;
    font-size: 1.1rem;
}

/* RÁMEČEK SÍDLA */
.about-footer-text {
    font-size: 0.95rem;
    color: #475569;
    background: #f8fafc;
    padding: 14px 18px;
    border-left: 3px solid #eab308;
    border-radius: 0 6px 6px 0;
    margin-top: 25px;
    border: 1px solid #e2e8f0;
    border-left: 3px solid #eab308;
}

/* FOTKA O MNĚ */
.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-img-file {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* REALIZACE / GALERIE */
.portfolio { 
    padding: 70px 0; 
    background: #f8fafc;
}

.gallery-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 20px; 
    margin-top: 30px; 
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    display: block;
    background-color: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item img:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

/* KONTAKT & CERTIFIKACE */
.contact { 
    padding: 80px 0; 
    background: #ffffff; 
}

.contact-info h2 {
    color: #0f172a;
    margin-bottom: 16px;
    font-size: 1.8rem;
}

.contact-info p {
    color: #475569;
}

.contact-info .info-item { 
    margin-top: 20px; 
    color: #334155;
    font-size: 0.98rem;
}

.contact-info a {
    color: #0f172a;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info a:hover {
    color: #ca8a04;
}

/* ODZNAKY CERTIFIKACE */
.partner-badges {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.partner-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8fafc;
    padding: 12px 16px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.partner-logo {
    height: 55px;
    width: auto;
    object-fit: contain;
}

.partner-badge span {
    font-size: 0.88rem;
    color: #64748b;
    font-weight: 500;
}

/* FORMULÁŘ */
.contact-form { 
    background: #f8fafc; 
    padding: 32px; 
    border-radius: 6px; 
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.form-group { 
    margin-bottom: 18px; 
}

.form-group label { 
    display: block; 
    margin-bottom: 8px; 
    font-weight: 600; 
    color: #0f172a;
    font-size: 0.9rem;
}

.form-group input, 
.form-group select, 
.form-group textarea { 
    width: 100%; 
    padding: 12px 14px; 
    border: 1px solid #cbd5e1; 
    border-radius: 4px; 
    font-family: inherit;
    font-size: 0.95rem;
    background: #ffffff;
    color: #0f172a;
    transition: border-color 0.2s ease;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #eab308;
}

/* PATIČKA (Tmavá) */
.site-footer { 
    background: #0f172a; 
    color: #94a3b8; 
    padding: 28px 0; 
    font-size: 0.88rem; 
    border-top: 1px solid rgba(234, 179, 8, 0.3);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-partners {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-partner-img {
    height: 28px;
    width: auto;
    opacity: 0.85;
    filter: brightness(0) invert(1);
}

/* MOBILNÍ ÚPRAVY */
@media (max-width: 768px) {
    .site-header {
        padding: 8px 0;
    }

    .header-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 8px 10px;
    }

    .logo-img {
        height: 32px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .logo-text span {
        font-size: 0.65rem;
    }

    .main-nav {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .main-nav a {
        margin-left: 0;
        font-size: 0.8rem;
        padding: 4px 6px;
    }

    .main-nav a.btn-small {
        padding: 6px 12px;
        font-size: 0.78rem;
        white-space: nowrap;
    }

    .about-section, .services, .portfolio, .contact {
        padding: 50px 0;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }
}