:root {
    --primary-color: #0056b3;
    --dark-bg: #1a1a1a;
    --light-text: #ecf0f1;
    --section-padding: 50px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    background-color: var(--dark-bg); 
    color: var(--light-text);
    overflow-x: hidden;
}


header {
    background: var(--dark-bg);
    color: white;
    padding: 0.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
}

.logo img {
    height: 80px;
    width: auto;
    display: block;
}

.logo a {
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo a:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li { margin-left: 20px; }
nav ul li a { color: white; text-decoration: none; font-weight: bold; transition: all 0.3s ease;}

nav ul li a:hover { 
    color: var(--primary-color);
    opacity: 1;
}

.hero {
    height: 70vh;
    background:	#383838;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.btn {
    background: var(--primary-color);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    transition: background 0.3s;
}

.btn:hover {
    background: #004494;
}

.services, 
.contact-section-new, 
.map-section {
    padding: var(--section-padding) 0;
    width: 100%;
    box-sizing: border-box;
}

h2 {
    text-align: center;
    font-size: 35px;
    margin: 0 0 50px 0;
}

/* --- Služby --- */
.service-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-card {
    flex: 0 1 calc(33.333% - 20px);
    min-width: 300px;
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.service-card:hover { transform: scale(1.02); }

.service-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex; align-items: center; justify-content: center;
    transition: background 0.3s ease;
}

.service-card:hover .service-overlay { background: rgba(0, 0, 0, 0.7); }

.service-info { color: white; text-align: center; padding: 20px; }

.description {
    opacity: 0;
    max-height: 0;
    transition: all 0.4s ease;
    font-size: 1rem;
}

.service-card:hover .description { opacity: 1; max-height: 100px; margin-top: 10px; }

.contact-section-new {
    background-color: #383838;
    color: white;
}

.contact-box.dark-variant {
    background: transparent;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-box h2 {
    margin-bottom: 20px;
    padding-top: 0;
}

.contact-box h3 { font-size: 2.5rem;}
.contact-box h3 span { color: var(--primary-color); }

.name {
    font-size: 1.3rem;
    color: #bbb;
    border-bottom: 1px solid #444;
    display: inline-block;
    padding-bottom: 10px;
}

.info-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.info-item strong {
    display: block;
    color: #888;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.info-item a {
    color: white;
    font-size: 1.8rem;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.info-item a:hover {
    color: var(--primary-color);
}

.services-footer {
    border-top: 1px solid #444;
    color: #bbb;
    width: 80%;
}

.map-section {
    background-color: var(--dark-bg);
    text-align: center;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.address-box { margin-bottom: 30px; }
.address-box p { font-size: 1.2rem; margin: 0; }
.address-box strong { color: var(--primary-color); display: block; margin-bottom: 5px; }

.map-container {
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.map-link{
    color: var(--primary-color);
}

.map-container iframe { display: block; }

.pricing-section {
    background-color: var(--dark-bg);
    padding: var(--section-padding) 0;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 1.1rem;
    color: var(--light-text);
    background-color: #111;
    border-radius: 15px;
    overflow: hidden;
}

.pricing-table thead tr {
    background-color: var(--primary-color);
    color: white;
    text-align: left;
    font-weight: bold;
}

.pricing-table th, 
.pricing-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #333;
}

.pricing-table tbody tr:hover {
    background-color: #1a1a1a;
    transition: background-color 0.3s ease;
}

.pricing-table tbody tr:last-of-type {
    border-bottom: none;
}

.pricing-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 15px;
    font-style: italic;
    text-align: center;
}

.footer-main {
    background-color: #111;
    color: white;
    padding: 60px 0 20px 0;
    border-top: 2px solid #333;
    text-align: center; /* Všechno v patičce bude na střed */
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Vycentruje sloupce vodorovně */
    gap: 60px; /* Mezera mezi firmou a otevíračkou */
    max-width: 1200px;
    margin: 0 auto 40px auto;
}

.footer-col {
    min-width: 250px;
}

.footer-col h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
}

.footer-col p {
    margin: 8px 0;
    color: #bbb;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 20px;
    width: 90%;
    margin: 0 auto;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 15px;
    }
    nav ul {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    nav ul li { margin: 0 10px; }

    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 1rem; }

    .service-grid {
        grid-template-columns: 1fr;
    }
    .service-card {
        flex: 0 1 100%;
        height: 250px;
    }

    .info-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    .contact-box h3 { font-size: 1.6rem; }
    .info-item a { font-size: 1.3rem; }

    .pricing-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .footer-grid {
        text-align: center;
    }
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}