/* ========================================
   PROBERTESE.CZ - Hlavní styly
   ======================================== */

/* Reset a základní nastavení */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS proměnné - barevná paleta */
:root {
    --cervena: #D7141A;
    --cervena-tmava: #8B0000;
    --modra: #11457E;
    --modra-svetla: #1e5ba8;
    --cerna: #000000;
    --bila: #FFFFFF;
    --seda: #F5F5F5;
    --seda-tmava: #333333;
    --seda-stredni: #666666;
    --zluta: #FFD700;
    --zelena-uspech: #22c55e;
    --oranzova: #f97316;
}

/* Základní styly pro body */
body {
    font-family: 'Segoe UI', 'Arial', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--cerna);
    background: var(--bila);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typografie */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

a {
    color: var(--modra);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--cervena);
}

/* ========================================
   NAVIGACE / HEADER
   ======================================== */
header {
    background: var(--cerna);
    color: var(--bila);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(45deg, var(--cervena), var(--modra));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: var(--bila);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cervena), var(--modra));
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hamburger menu pro mobily */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--bila);
    margin: 3px 0;
    transition: 0.3s;
}

/* ========================================
   HERO SEKCE
   ======================================== */
.hero {
    margin-top: 70px;
    background: linear-gradient(135deg, var(--modra) 0%, var(--cerna) 50%, var(--cervena) 100%);
    color: var(--bila);
    padding: 6rem 2rem;
    text-align: center;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,165.3C384,171,480,149,576,128C672,107,768,85,864,96C960,107,1056,149,1152,154.7C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    max-width: 1000px;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
    font-weight: 900;
}

.hero .subtitle {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 300;
}

/* ========================================
   CITÁTY
   ======================================== */
.quote {
    font-style: italic;
    font-size: 1.2rem;
    margin: 2rem auto;
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    border-left: 5px solid var(--cervena);
    text-align: left;
    background: rgba(0,0,0,0.3);
    border-radius: 5px;
    position: relative;
    max-width: 800px;
}

.quote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 4rem;
    color: var(--cervena);
    opacity: 0.3;
}

.quote-author {
    text-align: right;
    margin-top: 1rem;
    font-weight: bold;
    color: var(--zluta);
    font-style: normal;
}

/* ========================================
   TLAČÍTKA
   ======================================== */
.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--cervena);
    color: var(--bila);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin: 0.5rem;
    border: 3px solid var(--cervena);
    box-shadow: 0 5px 20px rgba(215,20,26,0.3);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(215,20,26,0.5);
}

.btn-secondary {
    background: transparent;
    border: 3px solid var(--bila);
}

.btn-secondary:hover {
    background: var(--bila);
    color: var(--modra);
}

.btn-warning {
    background: var(--oranzova);
    border-color: var(--oranzova);
}

/* ========================================
   SEKCE
   ======================================== */
.section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--modra);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1.5rem;
    text-transform: uppercase;
    font-weight: 900;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 5px;
    background: linear-gradient(to right, var(--modra), var(--cervena));
    border-radius: 3px;
}

/* ========================================
   VAROVÁNÍ BOX
   ======================================== */
.warning-box {
    background: linear-gradient(135deg, var(--cervena), var(--cervena-tmava));
    color: var(--bila);
    padding: 2.5rem;
    border-radius: 15px;
    margin: 3rem auto;
    max-width: 900px;
    box-shadow: 0 10px 40px rgba(215, 20, 26, 0.5);
    position: relative;
    overflow: hidden;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 10px 40px rgba(215, 20, 26, 0.5); }
    50% { box-shadow: 0 10px 60px rgba(215, 20, 26, 0.8); }
}

.warning-box::before {
    content: '??';
    position: absolute;
    top: -30px;
    right: -30px;
    font-size: 150px;
    opacity: 0.1;
}

.warning-box h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* ========================================
   RESPONZIVNÍ DESIGN
   ======================================== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        padding: 4rem 1rem;
    }
    
    .section {
        padding: 3rem 1rem;
    }
}

/* ========================================
   ANIMACE
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease;
}


/* ========================================
   OPRAVA NAVIGACE - zajistí viditelnost menu
   ======================================== */

/* Základní navigace */
header {
    background: #000000 !important;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 9999 !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.5);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
}

.nav-links {
    display: flex !important;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    color: #FFFFFF !important;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    display: block;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #D7141A !important;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
}

/* Skrýt hamburger na desktopu */
.hamburger {
    display: none !important;
}

/* Mobilní verze */
@media (max-width: 768px) {
    .nav-links {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0,0,0,0.95);
        flex-direction: column;
        padding: 1rem;
    }
    
    .nav-links.active {
        display: flex !important;
    }
    
    .hamburger {
        display: flex !important;
        flex-direction: column;
        cursor: pointer;
    }
    
    .hamburger span {
        width: 25px;
        height: 3px;
        background: #FFFFFF;
        margin: 3px 0;
        transition: 0.3s;
    }
}
