*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Poiret';
    src: url('../fonts/Poiret_One/PoiretOne-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Sekce HERO */
.section-hero{
    background-color: black;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.section-hero h1{
    color: white; 
    font-family: "Poiret", serif;
    font-size: 8rem;
    font-weight: 300;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-shadow: white 0px 0px 20px;
    z-index: 10; 
    text-align: center;
}

.section-hero img{
    height: 90vh;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1; 
    opacity: 0.8;
}

/* SEKCE 1*/

.section-1{
    background-color: black;
    height: 100vh;
    color: white;
    font-family: "Poiret", serif;
}

.container-section-1{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 6rem 10rem; 
}


.text-block{
    display: flex;
    flex-direction: column;
}

.text-block p{
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.6; 
    margin-top: 0.5rem; 
    text-align: justify;
}

.sub-heading{
    font-size: 1.4rem;
    font-weight: 400;
    position: relative;
    display: block;
}

.sub-heading::before{
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px; 
    height: 100%; 
    background-color: rgba(255, 255, 255, 0.7);
}

/* 1. HORNÍ ČÁST */
.sec1-cont-top{
    display: flex;
    justify-content: flex-start;
}

.text-block-top{
    width: 35%;
}

/* 2. STŘEDNÍ ČÁST */
.sec1-cont-mid{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

.section-1 h2{
    font-size: 7rem; 
    font-weight: 300;
    text-align: center;
    letter-spacing: 2px; 
    text-shadow: white 0px 0px 20px;
}

/* 3. SPODNÍ ČÁST */
.sec1-cont-bot{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.text-block-viz{
    width: 35%; 
}

.text-block-lore{
    width: 35%;
    text-align: right; 
}


.text-block-lore .sub-heading{
    padding-left: 0;
    padding-right: 1.5rem;
}

.text-block-lore .sub-heading::before{
    left: auto;
    right: 0;
}

.text-block-lore p{
    text-align: right; 
}

.text-block-top .sub-heading{
    position: relative;
    display: inline-block;
}


.text-block-top .sub-heading::before{
    content: '';
    position: absolute;
    left: -2%;
    top: 110%;
    transform: translateY(-50%);
    width: 1px;
    height: 180%; 
    background-color: rgba(255, 255, 255, 0.7);
}

.text-block-top .sub-heading::after{
    content: '';
    position: absolute;
    left: -8%;
    bottom: -0.3rem;
    width: 50%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.7);
}

.text-block-viz .sub-heading::before{
    content: '';
    position: absolute;
    left: -2%;
    top: 110%;
    transform: translateY(-50%);
    width: 1px;
    height: 180%; 
    background-color: rgba(255, 255, 255, 0.7);
}

.text-block-viz .sub-heading::after{
    content: '';
    position: absolute;
    left: -8%;
    bottom: -0.3rem;
    width: 50%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.7);
}

.text-block-lore .sub-heading::before{
    content: '';
    position: absolute;
    right: -2%;
    top: 110%;
    transform: translateY(-50%);
    width: 1px;
    height: 180%; 
    background-color: rgba(255, 255, 255, 0.7);
}

.text-block-lore .sub-heading::after{
    content: '';
    position: absolute;
    right: -8%;
    bottom: -0.3rem;
    width: 50%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.7);
}

.section-2{
    height: 100vh;
    background-color: black;
    color: white;
    font-family: "Poiret", serif;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.section-2 h2{
    font-size: 7rem;
    font-weight: 300;
    text-shadow: white 0px 0px 20px;
}

/* KONTEJNER PRO MEČ */
.mec{
    position: absolute;
    width: 120px;
    height: 60px;
}

.mec::after{
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 160%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.6);
}


.mec::before{
    content: '';
    position: absolute;
    left: -80%;
    top: -15%;
    width: 1px;
    height: 30%;
    background-color: rgba(255, 255, 255, 0.6);
}

.section-2{
    position: relative;
}


.section2-mec-topa{
    top: 15%;
    right: 15%;
}


.section2-mec-topb{
    top: 25%;
    right: 15%;
    rotate: 180deg; 
}


.section2-mec-bota{
    bottom: 25%;
    left: 15%;
}


.section2-mec-botb{
    bottom: 15%;
    left: 15%;
    rotate: 180deg;
}




.section-3{
    height: 100vh;
    background-color: black;
    color: white;
    font-family: "Poiret", serif;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* NADPIS */
.section-3 h2{
    font-size: 7rem;
    font-weight: 300;
    text-shadow: white 0px 0px 20px;
    text-align: center;
}

/* TEXTY */
.sec3-top-right{
    position: absolute;
    top: 15%;
    right: 10%;
    width: 25%;
    text-align: right;
}

.sec3-bottom-left{
    position: absolute;
    bottom: 15%;
    left: 10%;
    width: 25%;
}


.sec3-top-right .sub-heading::before{
    left: auto;
    right: 0;
}

.sec3-bottom-left .sub-heading::before{
    content: '';
    position: absolute;
    left: -2%;
    top: 110%;
    transform: translateY(-50%);
    width: 1px;
    height: 180%; 
    background-color: rgba(255, 255, 255, 0.7);
}

.sec3-bottom-left .sub-heading::after{
    content: '';
    position: absolute;
    left: -8%;
    bottom: -0.3rem;
    width: 50%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.7);
}

.sec3-top-right .sub-heading::before{
    content: '';
    position: absolute;
    right: -2%;
    top: 110%;
    transform: translateY(-50%);
    width: 1px;
    height: 180%; 
    background-color: rgba(255, 255, 255, 0.7);
}

.sec3-top-right .sub-heading::after{
    content: '';
    position: absolute;
    right: -8%;
    bottom: -0.3rem;
    width: 50%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.7);
}

.section-4{
    height: 100vh;
    background-color: black;
    color: white;
    font-family: "Poiret", serif;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    position: relative;
}

.container-section-4{
    display: flex;
    flex-direction: column;
    width: 75%;
    gap: 5rem;
}

.section-4 h2{
    font-size: 7rem;
    font-weight: 300;
    text-shadow: white 0px 0px 20px;
    text-align: center;
}

.section-4 p{
    position: relative;
    left: 10%;
    top: 25%;
    font-size: 2rem;
}

.autori{
    display: flex;
    justify-content: space-between;
    padding: 0 5rem;
}

.autori img {
    width: 200px;
    height: 300px;
    object-fit: cover;
    margin: 0 20px;
    border-radius: 20px;
}

.autori > div{
    position: relative;
}

/* HORNÍ */
.ST::after{
    content: '';
    position: absolute;
    top: -25px;
    left: 35%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: rgba(255,255,255,0.6);
}

.ST::before{
    content: '';
    position: absolute;
    top: -45px;
    left: calc(50% - 110px);
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.6);
}

/* DOLNÍ */
.ST span::after{
    content: '';
    position: absolute;
    bottom: -25px;
    left: 35%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: rgba(255,255,255,0.6);
}

.ST span::before{
    content: '';
    position: absolute;
    bottom: -45px;
    left: calc(50% - 110px);
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.6);
}

.ES{
    position: relative;
}

/* HORNÍ LEVÝ MEČ */
.ES::before{
    content: '';
    position: absolute;
    top: -45px;
    left: calc(50% - 110px);
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.6);
}

.ES::after{
    content: '';
    position: absolute;
    top: -25px;
    left: calc(50% - 150px);
    width: 150px;
    height: 1px;
    background: rgba(255,255,255,0.6);
}

/* HORNÍ PRAVÝ MEČ */
.ES span::before{
    content: '';
    position: absolute;
    top: -45px;
    right: calc(50% - 110px);
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.6);
}

.ES span::after{
    content: '';
    position: absolute;
    top: -25px;
    left: calc(50% - 0px);
    width: 150px;
    height: 1px;
    background: rgba(255,255,255,0.6);
}
/* DOLNÍ LEVÝ MEČ */

.ES .mec-bottom-left::before{
    content: '';
    position: absolute;
    bottom: -45px;
    left: calc(50% - 110px);
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.6);
}

.ES .mec-bottom-left::after{
    content: '';
    position: absolute;
    bottom: -25px;
    left: calc(50% - 150px);
    width: 150px;
    height: 1px;
    background: rgba(255,255,255,0.6);
}

/* DOLNÍ PRAVÝ MEČ */
.ES .mec-bottom-right::before{
    content: '';
    position: absolute;
    bottom: -45px;
    left: calc(50% + 110px);
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.6);
}

.ES .mec-bottom-right::after{
    content: '';
    position: absolute;
    bottom: -25px;
    left: calc(50% - 0px);
    width: 150px;
    height: 1px;
    background: rgba(255,255,255,0.6);
}


/* HORNÍ */
.OZ::after{
    content: '';
    position: absolute;
    top: -25px;
    right: 35%;
    transform: translateX(50%);
    width: 200px;
    height: 1px;
    background: rgba(255,255,255,0.6);
}

.OZ::before{
    content: '';
    position: absolute;
    top: -45px;
    right: calc(50% - 110px);
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.6);
}

/* DOLNÍ */
.OZ span::after{
    content: '';
    position: absolute;
    bottom: -25px;
    right: 35%;
    transform: translateX(50%);
    width: 200px;
    height: 1px;
    background: rgba(255,255,255,0.6);
}

.OZ span::before{
    content: '';
    position: absolute;
    bottom: -45px;
    right: calc(50% - 110px);
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.6);
}

.autori > div {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.autori > div:hover {
    transform: translateY(-12px);
}

.autori > div:hover img {
    box-shadow: 0 0 30px rgba(255,255,255,0.25);
    transition: box-shadow 0.3s ease;
}

.autori img {
    transition: box-shadow 0.3s ease;
}


.tools-desc {
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    text-align: center;
    color: rgba(255,255,255,0.6);
    position: static;
    left: unset;
    top: unset;
    margin-top: 0.5rem;
}

.autori > div:hover .tools-desc {
    opacity: 1;
    transform: translateY(0);
}
.section-5{
    height: 100vh;
    background-color: black;
    color: white;
    font-family: "Poiret", serif;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* --- SECTION 5 KONTAKT --- */
.section-5 {
    position: relative;
    width: 100%;
    height: 100vh; /* Nebo podle potřeby tvé sekce */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Společný styl pro textové bloky v kontaktu */
.section-5 .text-block {
    position: absolute;
    width: 25%;
}

.contact-top-right {
    top: 20%;
    right: 0%;
    width: 25%;
    text-align: right;
}


.contact-bottom-left {
    top: 65%;
    left: 10%;
    text-align: left;
}

.contact-top-right {
    top: 20%;
    right: 10%;
    width: 25%;
    text-align: right;
}

/* Svislá čára posunutá doprava */
.contact-top-right .sub-heading::before {
    content: '';
    position: absolute;
    right: -15px; 
    top: 110%;
    transform: translateY(-50%);
    width: 1px;
    height: 180%; 
    background-color: rgba(255, 255, 255, 0.7);
    left: auto;
}

.contact-top-right p{
    text-align: right;
}
/* Vodorovná čára posunutá doprava */
.contact-top-right .sub-heading::after {
    content: '';
    position: absolute;
    /* Tady je změna: ukotvení vpravo */
    right: -8%; 
    bottom: -0.3rem;
    width: 50%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.7);
    left: auto; /* Resetujeme případný left */
}

.contact-bottom-left .sub-heading::before {
    content: '';
    position: absolute;
    left: -2%;
    top: 110%;
    transform: translateY(-50%);
    width: 1px;
    height: 180%; 
    background-color: rgba(255, 255, 255, 0.7);
}

.contact-bottom-left .sub-heading::after {
    content: '';
    position: absolute;
    left: -8%;
    bottom: -0.3rem;
    width: 50%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.7);
}

/* Styl pro nadpis KONTAKT, aby byl uprostřed */
.section-5 h2 {
    font-size: 7rem;
    font-weight: 300;
    letter-spacing: 10px;
    font-family: "Poiret", cursive;
    color: #fff;
    z-index: 1;
}


/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

@media (max-width: 1024px) {
    .section-hero h1, .section-1 h2, .section-2 h2, .section-3 h2, .section-4 h2, .section-5 h2 {
        font-size: 5rem; /* Zmenšení obřích nadpisů pro tablety */
    }
}

@media (max-width: 768px) {
    /* 1. OBECNÉ ÚPRAVY */
    .section-hero, .section-1, .section-2, .section-3, .section-4, .section-5 {
        height: auto; /* Povolíme sekcím růst podle obsahu */
        min-height: 100vh;
        padding: 4rem 1rem;
        overflow-x: hidden;
    }

    /* 2. HERO SEKCE */
    .section-hero h1 {
        font-size: 3.5rem;
        width: 90%;
    }
    .section-hero img {
        width: 150%; /* Obrázek lva na mobilu zvětšíme, aby nebyl jen malá tečka */
        height: auto;
    }

    /* 3. SEKCE 1 (Tři bloky) */
    .container-section-1 {
        padding: 2rem 1rem;
        display: block; /* Zrušíme flex-column space-between */
    }
    .text-block-top, .text-block-viz, .text-block-lore {
        width: 100% !important;
        text-align: left !important;
        margin-bottom: 3rem;
    }
    .text-block-lore .sub-heading::before {
        left: -2% !important; /* Přesuneme linku lore textu doleva k ostatním */
        right: auto !important;
    }
    .text-block-lore .sub-heading::after {
        left: -8% !important;
        right: auto !important;
    }
    .text-block-lore p { text-align: left !important; }

    .section-1 h2 { font-size: 3rem; margin: 2rem 0; }

    /* 4. SEKCE 2 & 3 (Meč a texty) */
    /* Skryjeme dekorativní mečíky v rozích, na mobilu dělají chaos */
    .mec { display: none; }

    .sec3-top-right, .sec3-bottom-left {
        position: relative; /* Přepneme z absolute na flow */
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        width: 100%;
        margin-bottom: 3rem;
        text-align: left !important;
    }
    /* Srovnáme linky v sekci 3 na levou stranu */
    .sec3-top-right .sub-heading::before { left: -2% !important; right: auto !important; }
    .sec3-top-right .sub-heading::after { left: -8% !important; right: auto !important; }

    /* 5. SEKCE 4 (Autoři) */
    .container-section-4 { width: 100%; }
    .autori {
        flex-direction: column;
        align-items: center;
        padding: 0;
    }
    .autori > div { margin-bottom: 4rem; }
    /* Skryjeme složité linky u autorů na mobilu pro čistotu */
    .ST::before, .ST::after, .ES::before, .ES::after, .OZ::before, .OZ::after, .ST span::before, .ST span::after {
        display: none;
    }

    /* 6. SEKCE 5 (Kontakt) */
    .section-5 {
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 5rem;
    }
    .section-5 h2 { font-size: 3.5rem; order: -1; margin-bottom: 3rem; }
    
    .contact-top-right, .contact-bottom-left {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        width: 90%;
        text-align: left !important;
        margin-bottom: 4rem;
    }
    /* Srovnání linek kontaktu na levou stranu */
    .contact-top-right .sub-heading::before { left: -15px !important; right: auto !important; }
    .contact-top-right .sub-heading::after { left: -8% !important; right: auto !important; }
}

@media (max-width: 480px) {
    .section-hero h1, .section-1 h2, .section-2 h2, .section-3 h2, .section-4 h2, .section-5 h2 {
        font-size: 2.5rem;
    }
    .sub-heading { font-size: 1.2rem; }
    .text-block p { font-size: 1.1rem; }
}