/*
   GLASSMORPHISM DESIGN PRO TVOJE-AUTOSKOLA.CZ
   Styl: Elegantní, vzdušný, prémiový
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

:root {
    --primary: #ef4444;
    --primary-dark: #dc2626;
    --secondary: #0f172a;
    --text-dark: #ffffff;
    --text-muted: #cbd5e1;
    --glass-bg: rgba(255, 255, 255, 0.35);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-blur: 20px;
    --radius: 24px;
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background: #000; /* Základ pod sliderem */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    position: relative;
    z-index: 10;
}

/* Background Slider */
#bg-slider {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active { opacity: 1; }

#bg-slider::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%);
}

/* Navigation */
nav {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-inner { display: flex; justify-content: space-between; align-items: center; }

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--secondary);
    text-decoration: none;
    text-transform: uppercase;
}
.logo span { color: var(--primary); }

.nav-links { display: flex; align-items: center; gap: 25px; }
.nav-links a:not(.btn) {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.8rem;
    transition: 0.2s;
}
.nav-links a:hover { color: var(--primary); }

/* Hero Section */
.hero {
    padding: 140px 0 100px;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero p {
    font-size: 1.3rem;
    color: #fff;
    max-width: 800px;
    margin: 0 auto 50px;
    font-weight: 500;
    background: rgba(0,0,0,0.2);
    padding: 10px 20px;
    border-radius: 100px;
    display: inline-block;
    backdrop-filter: blur(5px);
}

.img-previews {
    margin-top: 80px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.img-previews img {
    max-width: 220px;
    border-radius: 30px;
    border: 6px solid var(--glass-border);
    box-shadow: var(--shadow-glass);
    transition: 0.4s;
    cursor: pointer;
}

.img-previews img:hover { transform: translateY(-15px) scale(1.05); }

/* Experience Strip */
.exp-strip {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 25px 0;
    display: flex;
    justify-content: center;
    gap: 60px;
    font-weight: 700;
    font-size: 0.85rem;
}

.exp-strip i { color: var(--primary); margin-right: 10px; }

/* Section Styling */
section { padding: 100px 0; }

h2 {
    font-size: 2.3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    color: #fff;
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    padding: 50px 30px;
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-glass);
    text-align: center;
    transition: 0.3s;
}

.card:hover { transform: translateY(-10px); background: rgba(255,255,255,0.85); }

.card i { font-size: 2.5rem; color: var(--primary); margin-bottom: 25px; }

.card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 15px; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 35px;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 0.8rem;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 20px -5px rgba(239, 68, 68, 0.4);
}
.btn-primary:hover { transform: scale(1.05); filter: brightness(1.1); }

.btn-outline {
    background: rgba(255,255,255,0.1);
    border: 2px solid #fff;
    color: #fff;
}
.btn-outline:hover { background: #fff; color: var(--secondary); }

/* Promo Box */
.promo-box {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    padding: 80px 40px;
    border-radius: 40px;
    border: 1px solid var(--glass-border);
    text-align: center;
    box-shadow: var(--shadow-glass);
    margin-top: 60px;
    margin-bottom: 80px;
}

/* Footer */
footer {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; }

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0; top: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
}
.modal-content { margin: auto; display: block; max-width: 90%; max-height: 80%; border-radius: 20px; border: 4px solid var(--glass-border); }
.close { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 40px; cursor: pointer; }

@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .exp-strip { flex-direction: column; align-items: center; gap: 15px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
}
