﻿/* ====================== */
/* BODY A GLOBÁLNÍ STYLING */
/* ====================== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    scroll-behavior: smooth; /* smooth scroll pro anchor linky */
}

/* Nadpisy */
h1, h2, h3, h4, h5, h6 {
    color: #222;
}

/* Linky */
a {
    text-decoration: none;
}

/* Maximální šířka kontejneru */
.container {
    max-width: 1140px;
    margin: 0 auto;
}

/* ====================== */
/* HERO SECTION */
/* ====================== */
.hero {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.hero-title {
    font-family: inherit; /* použije stejný font jako body / subtitle */
    color: #fff;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #f1f1f1;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
}

    /* Tlačítka v hero */
    .hero-cta .btn-outline-light {
        border: 2px solid #fff;
        color: #fff;
        transition: all 0.3s;
    }

        .hero-cta .btn-outline-light:hover {
            background: #fff;
            color: #4facfe; /* tmavá modrá z gradientu */
        }

    .hero-cta .btn-light {
        background: #fff;
        color: #4facfe;
        border: none;
        transition: transform 0.2s, background 0.3s;
    }

        .hero-cta .btn-light:hover {
            background: #f1f1f1;
            transform: scale(1.05);
        }

/* Ikony v hero */

.hero {
    padding: 80px 0; 
  
    padding-bottom: 60px; 
}

.hero-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 3rem;
    opacity: 0.9;
    margin-bottom: 2rem; 
}

    .hero-icons span {
        display: inline-block;
        transition: transform 0.3s ease;
        cursor: default;
    }

        .hero-icons span:hover {
            transform: scale(1.3) rotate(10deg);
        }

/* ====================== */
/* SECTIONS VERTIKÁLNÍ ODSTUPY */
/* ====================== */
section {
    padding: 80px 0; 
}

    section.bg-light {
        padding: 60px 0; 
    }


/* ====================== */
/* SERVICES - karty / bubliny */
/* ====================== */

.services .card {
    border: none;
    background: #fff;
    border-radius: 1rem;
    padding: 2rem 1rem; 
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    cursor: default;
}

    .services .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    }

/* Seznam uvnitř karet */
.service-list {
    padding-left: 0;
    margin: 0;
    text-align: left;
}

    .service-list li {
        position: relative;
        padding-left: 26px;
        margin-bottom: 0.5rem;
        font-size: 0.95rem;
    }

        .service-list li::before {
            content: "✔";
            position: absolute;
            left: 0;
            top: 0;
            color: #4facfe;
            font-weight: bold;
        }

/* ====================== */
/* Odsazení spodních tří karet */
/* ====================== */
.services .row > .col-md-4:nth-child(n+4) {
    margin-top: 2rem; /* odsazení od horní řady */
}
/* ====================== */
/* GALLERY SECTION */
/* ====================== */
.gallery-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 2rem auto;
    padding: 1rem 0;
}

.gallery-carousel {
    display: flex;
    gap: 10px;
    overflow: hidden;
}

.gallery-thumb {
    flex: 0 0 auto;
    width: 150px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

    .gallery-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .gallery-thumb:hover {
        transform: scale(1.1);
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }

/* Šipky galerie */
.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 4px;
    z-index: 10;
    font-size: 1.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

    .gallery-btn.left {
        left: -50px;
    }

    .gallery-btn.right {
        right: -50px;
    }
/* ====================== */
/* KONTAKTNÍ FORMULÁŘ CSS */
/* ====================== */

/* Wrapper formuláře */
.contact-form-wrapper {
    max-width: 500px; /* šířka formuláře */
    margin: 0 auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

    /* Inputy a textarea */
    .contact-form-wrapper .form-control {
        font-size: 0.95rem;
        padding: 0.6rem 0.75rem;
        border-radius: 0.35rem;
        border: 1px solid #ced4da;
        transition: all 0.2s;
    }

        .contact-form-wrapper .form-control:focus {
            border-color: #4facfe;
            box-shadow: 0 0 5px rgba(79,172,254,0.3);
        }

    /* Tlačítko odeslat */
    .contact-form-wrapper button {
        background: #4facfe; /* tmavší modrá */
        color: #fff;
        border: none;
        padding: 0.5rem 1rem;
        border-radius: 0.35rem;
        font-size: 1rem;
        cursor: pointer;
        transition: background 0.3s, transform 0.2s;
    }

        .contact-form-wrapper button:hover {
            background: #3b92d6; /* ještě tmavší při hover */
            transform: scale(1.02);
        }

    /* Hlášky úspěchu a chyby */
    .contact-form-wrapper .alert {
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem;
        margin-top: 0.5rem;
        border-radius: 0.35rem;
        opacity: 1;
        transition: opacity 0.5s ease;
    }

        .contact-form-wrapper .alert.d-none {
            opacity: 0;
            display: none !important;
        }

        .contact-form-wrapper .alert:not(.d-none) {
            opacity: 1;
            display: block;
        }

    /* Validace – hezké červené ohraničení */
    .contact-form-wrapper .is-invalid {
        border-color: #dc3545 !important;
        box-shadow: 0 0 5px rgba(220,53,69,0.3);
    }
    /* stav odesílání */
button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* Honeypot pole – skryté mimo obrazovku */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ====================== */
/* RESPONSIVE */
/* ====================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-icons {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .contact-form-wrapper {
        padding: 1rem;
    }

        .contact-form-wrapper .form-control,
        .contact-form-wrapper button {
            font-size: 0.85rem;
        }
}
