:root {
    --primary: #39ff14;      /* Neonová zelená */
    --dark-bg: #121212;      /* Soft Black pozadí webu */
    --dark-card: #1a1a1a;    /* O něco světlejší pro karty */
    --text-main: #f0f0f0;    /* Bílá pro text */
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background-color: var(--dark-bg);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-padding { padding: 80px 0; }

h1, h2, h3 { font-family: var(--font-heading); text-transform: uppercase; }

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: #fff;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    padding-bottom: 10px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.neon-text {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.6);
}

/* --- PLOVOUCÍ BURGER (ZELENÉ KOLEČKO) --- */
.floating-burger {
    position: fixed;
    top: 40px; 
    right: 20px;
    width: 40px; 
    height: 40px;
    
    /* Vzhled: Průhledné s obrysem */
    background-color: transparent; 
    border: 2px solid var(--primary);
    
    border-radius: 25%;
    display: flex; 
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    z-index: 999; 
    cursor: pointer;
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.3), inset 0 0 10px rgba(57, 255, 20, 0.1);

    /* --- MAGIE PRO MIZENÍ DO LOGA --- */
    
    /* 1. Průhlednost (aby to při startu neprobliklo) */
    opacity: 0; 
    
    /* 2. Pozice ve skrytém stavu (Uprostřed loga):
       - translate: posune bublinu z pravého rohu doleva doprostřed (-50vw) a trochu dolů (+80px), kde je logo.
       - scale: zmenší ji na nulu. 
    */
    transform: translate(calc(-50vw + 50px), 80px) scale(0);
    
    /* Pomalý a plynulý přechod */
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.floating-burger:hover {
    background-color: rgba(57, 255, 20, 0.1);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.6);
}

.floating-burger .bar {
    background-color: var(--primary);
    width: 28px; 
    height: 2px;
    margin: 4px 0;
    transition: 0.3s;
}

/* --- STAV VIDITELNÝ (PŘI SCROLLOVÁNÍ) --- */
.floating-burger.visible {
    opacity: 1; /* Zviditelnit */
    transform: translate(0, 0) scale(1); /* Vrátit na původní místo vpravo nahoře a zvětšit */
}
/* --- HLAVNÍ HLAVIČKA --- */
.main-header {
    background: #000000; padding: 40px 0; width: 100%;
    position: relative; z-index: 10;
}
.header-content {
    display: flex; flex-direction: column; align-items: center; gap: 30px;
}
.big-logo img {
    height: 200px; width: auto; display: block; max-width: 90vw; object-fit: contain;
}

/* MENU GRID (2x2) */
.grid-menu {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 15px; width: 100%; max-width: 500px;
}
.menu-item {
    background: rgba(255, 255, 255, 0.05); border: 1px solid #333;
    display: flex; align-items: center; justify-content: center;
    padding: 10px; min-height: 60px;
    text-align: center; color: #fff; text-decoration: none;
    text-transform: uppercase; font-weight: 600; letter-spacing: 1px;
    transition: all 0.3s ease; border-radius: 4px; line-height: 1.2;
}
.menu-item:hover {
    border-color: var(--primary); color: var(--primary);
    background: rgba(57, 255, 20, 0.05); box-shadow: 0 0 15px rgba(57, 255, 20, 0.2);
}
.menu-item.highlight { border-color: var(--primary); color: var(--primary); }

/* --- HERO SEKCE --- */
.hero {
    position: relative; height: 80vh; min-height: 500px;
    background: url('../img/pozadi.webp') no-repeat center center/cover;
    display: flex; align-items: center; justify-content: center; text-align: center;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.7); z-index: 1;
}
.hero-text-content { position: relative; z-index: 2; max-width: 800px; }
.hero h1 { font-size: 4rem; margin-bottom: 20px; line-height: 1.1; }
.hero p { font-size: 1.2rem; color: #ccc; margin-bottom: 40px; }
.hero-buttons {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 15px; width: 100%; max-width: 500px; margin: 0 auto;
}

/* --- SLUŽBY & TECHNOLOGIE --- */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-item {
    background: rgba(255,255,255,0.03); padding: 30px;
    border-radius: 8px; border-left: 3px solid var(--primary);
}
.service-item h3 { margin-bottom: 15px; color: #fff; }
.service-item p { color: #aaa; line-height: 1.6; }

/* --- GALERIE --- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; }
.gallery-item {
    position: relative; cursor: pointer; overflow: hidden; border-radius: 8px; aspect-ratio: 1/1;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6); display: flex; align-items: center;
    justify-content: center; opacity: 0; transition: opacity 0.3s;
    font-weight: bold; color: var(--primary);
}
.gallery-item:hover .overlay { opacity: 1; }

/* --- POPTÁVKA --- */
.contact { background: var(--dark-card); }
.form-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 30px; }
.tab-btn {
    padding: 10px 20px; background: transparent; border: 1px solid #555;
    color: #fff; cursor: pointer; border-radius: 4px; font-family: var(--font-heading);
    text-transform: uppercase; font-weight: bold;
}
.tab-btn.active, .tab-btn:hover {
    background: var(--primary); color: #000; border-color: var(--primary);
}
.main-form {
    max-width: 600px; margin: 0 auto; background: rgba(0,0,0,0.2);
    padding: 30px; border-radius: 8px;
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: bold; color: #ddd; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 12px; background: #222; border: 1px solid #444;
    color: #fff; border-radius: 4px; font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.file-upload-wrapper {
    margin: 20px 0; text-align: center; border: 2px dashed #444;
    padding: 20px; border-radius: 4px;
}
.file-upload-label { cursor: pointer; color: var(--primary); font-weight: bold; }
#file-upload { display: none; }
.small-text { font-size: 0.8rem; color: #777; margin-top: 5px; }
.btn-primary {
    background: var(--primary); color: #000; border: none; padding: 15px 30px;
    font-weight: bold; text-transform: uppercase; cursor: pointer;
    transition: 0.3s; border-radius: 4px; font-family: var(--font-heading);
}
.btn-primary:hover { background: #fff; }
.full-width { width: 100%; }

/* --- LIGHTBOX --- */
.lightbox {
    display: none; position: fixed; z-index: 9999; left: 0; top: 0;
    width: 100%; height: 100%; background-color: rgba(0,0,0,0.9);
    justify-content: center; align-items: center;
}
.lightbox-content {
    max-width: 90%; max-height: 90%; border: 2px solid var(--primary);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.5);
}
.close-lightbox {
    position: absolute; top: 20px; right: 30px; color: #fff;
    font-size: 40px; font-weight: bold; cursor: pointer; z-index: 10000;
}

/* --- FOOTER --- */
footer {
    background: #000; padding: 30px 0; text-align: center;
    border-top: 1px solid #222; color: #777;
}
.socials { margin-top: 10px; }
.socials a { color: #fff; margin: 0 10px; text-decoration: none; }

/* --- RESPONZIVITA (MOBIL) --- */
.overlay-nav {
    height: 100%; width: 0; position: fixed; z-index: 1000; top: 0; right: 0;
    background-color: rgba(0,0,0, 0.95); overflow-x: hidden; transition: 0.3s;
}
.overlay-content {
    position: relative; top: 25%; width: 100%; text-align: center; margin-top: 30px;
}
.overlay-nav a {
    padding: 8px; text-decoration: none; font-size: 36px; color: #818181;
    display: block; transition: 0.3s; text-transform: uppercase;
    font-family: var(--font-heading);
}
.overlay-nav a:hover { color: var(--primary); }
.overlay-nav .closebtn {
    position: absolute; top: 20px; right: 45px; font-size: 60px;
}

@media (max-width: 768px) {
    /* Mřížka menu je vidět i na mobilu */
    .grid-menu {
        display: grid; grid-template-columns: 1fr 1fr;
        width: 100%; gap: 10px; margin-top: 20px;
    }
    .menu-item { font-size: 0.9rem; padding: 8px; min-height: 50px; }

    /* Zmenšení loga */
    .big-logo img { height: 120px; }
    .main-header { padding: 20px 0; }

    /* Hero sekce - posun dolů */
    .hero {
        align-items: flex-start; padding-top: 40px; 
        height: auto; min-height: 600px; background-position: center top;
    }
    .hero-text-content { margin-top: 10px; padding: 0 15px; }
    .hero h1 { font-size: 2.5rem; }
    .hero-buttons { grid-template-columns: 1fr; }
}