/* Základní nastavení */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #222;
    background-color: #f8f9fa;
    line-height: 1.6;
}

header img {
    max-height: 70px;
    margin: center;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigace */
.navbar {
    background-color: #1a1a1a;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 18px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo span {
    color: #f39c12;
}

nav a {
    color: #e0e0e0;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 600;
    transition: color 0.3s;
}

nav a:hover {
    color: #f39c12;
}

.btn-nav {
    background-color: #f39c12;
    color: #1a1a1a !important;
    padding: 8px 16px;
    border-radius: 4px;
}

.btn-nav:hover {
    background-color: #e08e0b;
}

/* Hero sekce */
.hero {
    position: relative;
    background: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.65);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ddd;
}

/* Tlačítka */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #f39c12;
    color: #1a1a1a;
}

.btn-primary:hover {
    background-color: #d6870a;
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    margin-left: 10px;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #1a1a1a;
}

.btn-full {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

/* Sekce O nás */
.about {
    padding: 80px 0 40px;
}

.about-card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 5px solid #f39c12;
}

.about-card h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.about-card p {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #555;
}

/* Nadpisy sekcí */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.text-white {
    color: white;
}

/* Služby */
.services {
    padding: 60px 0 80px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.service-body {
    padding: 25px;
}

.service-body h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.service-body p {
    color: #666;
    font-size: 0.95rem;
}

/* Galerie */
.gallery {
    padding: 60px 0;
    background: #eaeaea;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 220px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 10px;
    font-size: 0.9rem;
    text-align: center;
}

/* Kontakt */
.contact {
    background-color: #1a1a1a;
    color: white;
    padding: 80px 0;
}

.contact-subtitle {
    text-align: center;
    color: #ccc;
    margin-top: -30px;
    margin-bottom: 50px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.info-item {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.info-item a {
    color: #f39c12;
    text-decoration: none;
}

.guarantee-box {
    margin-top: 30px;
    background: #2a2a2a;
    padding: 20px;
    border-radius: 6px;
    color: #f39c12;
    font-weight: 600;
    line-height: 1.8;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border-radius: 4px;
    border: 1px solid #444;
    background-color: #2a2a2a;
    color: white;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #f39c12;
}

/* Patička */
footer {
    background-color: #111111;
    color: #9E9E9E;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

/* Responzivita pro mobily */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    nav a {
        margin: 0 8px;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Styly pro oznámení formuláře */
.alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-weight: 600;
}

.alert-success {
    background-color: #27ae60;
    color: white;
}

.alert-error {
    background-color: #e74c3c;
    color: white;
}