/* === Reset & Base === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    background: #f5f9ff;
    color: #1d1d1f;
    font-size: 18px;
}

.container {
    width: 95%;
    max-width: 1300px;
    margin: 0 auto;
}

/* === Navbar === */
.navbar {
    background: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.7rem;
    font-weight: 700;
    color: #003366;
    text-transform: uppercase;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #003366;
    font-weight: 500;
    position: relative;
}

nav a::after {
    content: '';
    display: block;
    height: 2px;
    background: #005bbb;
    width: 0;
    transition: 0.3s;
    position: absolute;
    bottom: -5px;
    left: 0;
}

nav a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #003366;
}

#nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 1rem;
    top: 70px;
    background: white;
    padding: 1rem;
    border: 1px solid #ccc;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* === Hero === */
.hero {
    background: linear-gradient(135deg, #005bbb, #66ccff);
    color: white;
    padding: 8rem 0 6rem;
    text-align: center;
    margin-top: 80px;
}

.hero h1 {
    font-size: 3.5rem;
    animation: glow 3s infinite;
}

.hero p {
    font-size: 1.4rem;
    margin-top: 1rem;
}

@keyframes glow {
    0%, 100% { text-shadow: 0 0 10px #ffffff33; }
    50% { text-shadow: 0 0 20px #ffffffaa; }
}

/* === Sections === */
section {
    padding: 4rem 0;
    background: white;
    border-radius: 12px;
    margin: 2rem auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    max-width: 1100px;
}


@keyframes pulseGlow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}



h2 {
    font-size: 2.2rem;
    color: #003366;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    background: linear-gradient(to right, #005bbb, #00b4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulseGlow 3s ease-in-out infinite;
    text-shadow: none;
}

h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #005bbb, #00b4ff);
    display: block;
    margin: 1rem auto 0;
    border-radius: 2px;
}

.service-item {
    max-width: 800px;
    margin: 2rem auto;
    text-align: center; /* nebo left */
}


.service-item h3 {
    font-size: 1.5rem;
    color: #005bbb;
    margin-bottom: 0.5rem;
}

.service-item p {
    max-width: 800px;
    margin: 0 auto;
}

/* === Gallery === */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-item {
    background: linear-gradient(135deg, #d0eaff, #ffffff);
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #005bbb;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.03);
}

/* === Ceník === */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
}

table thead {
    background: #005bbb;
    color: white;
}

table th, table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ccc;
}

table tbody tr:hover {
    background-color: #f0f8ff;
}

.note {
    font-size: 0.9rem;
    color: #555;
    margin-top: 1rem;
    text-align: center;
}

/* === Kontakt === */
.contact a {
    color: #005bbb;
    text-decoration: none;
    font-weight: 600;
}
#contact .container {
    text-align: center;
}

.contact a:hover {
    text-decoration: underline;
}

/* === Footer === */
footer {
    text-align: center;
    padding: 1.5rem 0;
    background: #e5f1fc;
    color: #333;
    font-size: 0.9rem;
}

/* === Responsive === */
@media (max-width: 768px) {
    nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

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

    h2 {
        font-size: 1.6rem;
    }
}.gallery-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
     gap: 1rem;
     margin-top: 2rem;
 }

.gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* Lightbox styl */
.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0; right:0; bottom:0;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 2000;
    cursor: zoom-out;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
}
.hero-logo {
    max-width: 250px; /* velikost loga */
    width: 100%;
    height: auto;
    margin: 0 auto 1rem;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
}
