/* =========================================
   1. ZÁKLADNÍ NASTAVENÍ A RESET
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #333;
    line-height: 1.6;
}

/* =========================================
   2. NAVIGACE (HLAVIČKA - MODERNÍ PROSVÍTÁNÍ)
   ========================================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    color: #fff;
    position: fixed; 
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}

.navbar.scrolled {
    background: rgba(18, 18, 18, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 12px 5%; 
}
.logo {
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1.2;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none; 
}
.logo-sub {
    font-size: 0.75rem;
    font-weight: normal;
    letter-spacing: 4px;
    color: #f39c12; 
    display: block;
    text-decoration: none; 
}
.logo-link {
    text-decoration: none;
}
.navbar nav {
    flex: 1;
    text-align: left; 
    margin-left: 30px;
}
.nav-right {
    flex: 1; 
    display: flex;
    justify-content: flex-end; 
}
.navbar nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px; 
    transition: color 0.3s;
}
.navbar nav a:hover {
    color: #f39c12;
}
@media (max-width: 768px) {
    .navbar nav {
        margin-left: 0;
        text-align: center; 
    }
    .nav-right {
        display: none;
    }
}
/* =========================================
   3. ÚVODNÍ HERO SEKCE
   ========================================= */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('uploads/3.jpg');
    background-size: cover;
    background-position: center;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.hero-subtitle {
    display: block;
    color: #f39c12;
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 10px; 
    flex-wrap: wrap; 
}

/* Hlavní tlačítka */
.btn {
    display: inline-block;
    background: #f39c12;
    color: #fff;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid #f39c12;
}

.btn:hover {
    background: #d68910;
    border-color: #d68910;
}

/* Průhledné tlačítko vedle hlavního */
.btn-outline {
    background: transparent ;
    border: 2px solid #fff;
    color: #fff;
}
.btn-outline:hover {
    background: #fff;
    color: #333;
}

/* Menší tlačítko v hlavičce */
.btn-small {
    padding: 8px 18px;
    font-size: 0.9rem;
}

/* =========================================
   MOBILNÍ VERZE
   ========================================= */
@media (max-width: 768px) {
    .nav-right {
        display: none; 
    }
    .hero { 
        padding-top: 140px ; 
        align-items: flex-start;
        height: auto; 
        padding-bottom: 60px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .hero-buttons .btn {
        width: 100%; 
        box-sizing: border-box;
        margin-bottom: 5px; 
    }
    .hero-buttons .btn:last-child {
        margin-bottom: 0; 
    }
}
/* =========================================
   3,5. INFORMAČNÍ PRUH POD HERO
   ========================================= */
.info-bar {
    background-color: #fafafa;
    padding: 30px 5%;
    border-bottom: 1px solid #eaeaea;
}

.info-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1; 
}

.info-icon svg {
    width: 42px;
    height: 42px;
}

.info-text h3 {
    font-size: 1.1rem;
    margin: 0 0 5px 0;
    color: #222;
}

.info-text p {
    font-size: 0.9rem;
    margin: 0;
    color: #555;
}
@media (max-width: 768px){ 
    .info-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
} 
/* =========================================
   4. SPOLEČNÉ STYLY PRO SEKCE
   ========================================= */
.section {
    padding: 80px 10%;
    text-align: center;
}

.section h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.subtitle {
    color: #666;
    margin-bottom: 40px;
}

.bg-light {
    background-color: #f9f9f9;
}

/* =========================================
   5. SLUŽBY
   ========================================= */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 30px;
    margin-top: 40px;
}
.service-card {
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 4px solid #f39c12;
    width: calc(20% - 24px); 
    min-width: 250px; 
}
.service-card h3 {
    margin-bottom: 15px;
}
/* =========================================
   6. GALERIE (REFERENCE) 
   ========================================= */
.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
    max-width: 1200px; 
    margin-left: auto;
    margin-right: auto;
}

.gallery-item {
    width: calc(33.333% - 17px); 
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 260px; 
    object-fit: cover; 
    object-position: center; 
    display: block;
}

.caption {
    padding: 15px;
    font-weight: 500;
    text-align: center;
    background: #fff;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Stránkování galerie */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}
.page-link {
    display: inline-block;
    padding: 8px 16px;
    background: #fff;
    color: #333;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
}
.page-link:hover {
    background: #f1f1f1;
}
.page-link.active {
    background: #f39c12; 
    color: #fff;
    border-color: #f39c12;
}
@media (max-width: 992px) {
    .gallery-item {
        width: calc(50% - 13px);
    }
}
@media (max-width: 768px) {
    .gallery-item {
        width: 100%;
    }
}
/* =========================================
   7. KONTAKT & FORMULÁŘ
   ========================================= */
#kontakt { padding-bottom: 10px; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 40px;
    max-width: 1100px;
    margin: 40px auto 0;
    text-align: left;
}

.contact-card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 4px solid #f39c12;
}

.contact-card h3 { margin-bottom: 20px; color: #222; }
.contact-card p { margin-bottom: 12px; font-size: 1.05rem; }
.contact-card a { color: #333; text-decoration: none; font-weight: bold; }
.contact-card a:hover { color: #f39c12; }
.contact-card .ico { color: #777; font-size: 0.9rem; margin-top: 20px; border-top: 1px solid #ddd; padding-top: 10px; }

.benefits ul { list-style: none; }
.benefits ul li { margin-bottom: 12px; font-size: 1.05rem; }

/* Styly pro samotný formulář */
.contact-form-wrapper {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-form-wrapper h3 {
    margin-bottom: 20px;
    color: #222;
}

.form-group {
    margin-bottom: 15px;
}

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #f39c12;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: #555;
}

.checkbox-group input {
    margin-top: 4px;
}

.btn-submit {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   9. PLOVOUPCÍ TLAČÍTKO PRO VOLÁNÍ
   ========================================= */
.floating-call {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #27ae60;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
    z-index: 999;
    transition: transform 0.3s, background-color 0.3s;
}

.floating-call:hover {
    background-color: #219150;
    transform: scale(1.1);
}

/* =========================================
   10. RESPONZIVITA (MOBILNÍ ZAŘÍZENÍ)
   ========================================= */
@media (max-width: 600px) {
    .hero h1 {
        font-size: 2rem;
    }
    .navbar {
        flex-direction: column;
        gap: 15px;
    }
}
/* =========================================
   11. LIGHTBOX 
   ========================================= */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

/* Zvětšení plochy fotky na naprosté maximum */
.lightbox-content {
    max-width: 98%;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 0 25px rgba(0,0,0,0.8);
    object-fit: contain;
}

/* Popisek pod fotkou */
.lightbox-caption {
    color: #fff;
    font-size: 1.2rem;
    margin-top: 15px;
    text-align: center;
    max-width: 80%;
}

/* Křížek */
.lightbox-close {
    position: absolute;
    top: 30px;
    right: 45px;
    color: #fff;
    font-size: 60px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2010;
    line-height: 1;
    transition: color 0.3s, transform 0.2s;
}

.lightbox-close:hover {
    color: #f39c12;
    transform: scale(1.15);
}

/* Šipky pro listování (vlevo a vpravo) */
.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-weight: bold;
    font-size: 50px;
    padding: 15px 25px;
    user-select: none;
    transition: color 0.3s, background-color 0.3s;
    border-radius: 5px;
    z-index: 2005;
    text-decoration: none;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: #f39c12;
    background-color: rgba(255, 255, 255, 0.15);
}

@media (max-width: 600px) {
    .lightbox-prev, .lightbox-next {
        font-size: 35px;
        padding: 10px 15px;
    }
    .lightbox-close {
        top: 20px;
        right: 25px;
        font-size: 50px;
    }
}

.gallery-item img {
    cursor: pointer;
}
/* =========================================
   12. ANIMACE PŘI SCROLLOVÁNÍ (REVEAL)
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(40px); 
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
/* =========================================
   14. RECENZE (HODNOCENÍ KLIENTŮ)
   ========================================= */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.review-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 4px solid #27ae60; 
    display: flex;
    flex-direction: column;
}

.review-card h4 {
    color: #222;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.review-card blockquote {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1; 
    position: relative;
}

.review-card .author {
    font-weight: bold;
    color: #222;
    font-size: 0.95rem;
    border-top: 1px solid #eee;
    padding-top: 15px;
}
/* =========================================
   14,5. JAK TO PROBÍHÁ (PROCES)
   ========================================= */
.process-section {
    background-color: #ffffff;
    padding: 0px 5%;
}
.process-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}
.process-step {
    display: flex;
    align-items: flex-start;
    flex: 1;
    position: relative;
    gap: 15px;
}

.step-icon svg {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.1rem;
    margin: 0 0 5px 0;
    color: #222;
}

.step-content p {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
}
.step-content {
    text-align: left;
}
.step-arrow {
    color: #f39c12;
    font-size: 1.5rem;
    margin-left: auto;
    margin-right: 15px;
    align-self: center;
}
@media (max-width: 868px){ 
    .process-grid {
        flex-direction: column;
        gap: 30px;
    }
    .step-arrow {
        display: none;
    }
}
/* =========================================
   15. PROFESIONÁLNÍ PATIČKA
   ========================================= */
.main-footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 60px 5% 20px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-col h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col h3 span {
    color: #f39c12;
}

.footer-col p {
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul a:hover {
    color: #f39c12;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
    color: #777;
}

.footer-to-top {
    color: #f39c12;
    text-decoration: none;
    font-weight: bold;
    margin-left: 10px;
}

.footer-to-top:hover {
    color: #fff;
    text-decoration: underline;
}