:root {
    --primary: #8b5a2b; 
    --dark: #222;
    --light: #f4f4f4;
    --accent: #27ae60; 
}

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    line-height: 1.6;
    color: var(--dark);
    background-color: #fff;
    overflow-x: hidden;
}

header {
    background: #fff;
    padding: 15px 5%;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.logo span {
    color: var(--primary);
    font-weight: 400;
}

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

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: 0.3s;
}

nav a:hover {
    color: var(--primary);
}

.nav-btn {
    background: var(--primary);
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
}

#hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('IMG_3582.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.3rem;
    margin: 15px 0 35px 0;
    font-weight: 300;
}

.btn {
    background: var(--accent);
    color: white;
    padding: 18px 35px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    display: inline-block;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    background: #2ecc71;
}

section {
    padding: 100px 10%;
    max-width: 1300px;
    margin: 0 auto;
}

h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 15px auto;
}

.reveal {
    position: relative;
    transform: translateY(80px);
    opacity: 0;
    transition: 1s all ease;
}

.reveal.active {
    transform: translateY(0);
    opacity: 1;
}

.about-container {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
}

/* UPRAVENÁ MŘÍŽKA - Nastaveno na 2 sloupce pro efekt čtverce */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    padding: 45px 30px;
    border-radius: 12px;
    text-align: center;
    transition: 0.4s;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

#sluzby .service-card {
    background: #fff;
}

#reference .service-card {
    background: #fff;
    border-left: 5px solid var(--primary);
    text-align: left;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.service-card h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.4s;
    cursor: pointer;
}

.gallery-grid img:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
    z-index: 2;
}

#kontakt {
    text-align: center;
    background: #fff;
}

.contact-info {
    font-size: 1.6rem;
    margin-top: 30px;
}

.contact-info a {
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}

.contact-info a:hover {
    border-bottom: 2px solid var(--primary);
}

.anywhere {
    font-size: 1.1rem;
    color: #777;
    margin-top: 25px;
}

footer {
    text-align: center;
    padding: 50px;
    background: #111;
    color: #888;
    font-size: 0.9rem;
}

/* Mobilní zobrazení - zde se mřížka přepne na 1 sloupec pro čitelnost */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    nav ul { display: none; }
    section { padding: 60px 5%; }
    header { padding: 10px 5%; }
}