/* Globální nastavení pro celý web ------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Eagle+Lake&display=swap');
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}
[data-aos] {
    overflow: hidden;
}

.overflow-hidden {
    overflow: hidden !important;
}

body{
    font-family: "Eagle Lake", serif;
    background-image: url('data/pozadi.webp'); 
    background-size: cover;
}
.section-title-img {
    max-width: min(600px, 95vw);  /* na PC max 600px, na mobilu max 95% šířky */
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto 20px;
}

/* SEKCE MENU --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
.navbar {
    position: absolute; 
    top: 0;
    left: 0;
    z-index: 1000;      
    background: transparent !important; 
}
.nav-link {
    font-size: 1.3rem;
    color: white;
    transition: all 0.3s ease-in-out;
}
body.menu-open main, 
body.menu-open footer,
body.menu-open section:not(.navbar) {
    filter: blur(8px);
    transition: filter 0.3s ease;
    pointer-events: none; 
}

/* SEKCE HERO - pozicování obrázku, nastavení vzhledu nadpisu a tlačítka ----------------------------------------------------------------------------------------------------------------------------*/

.hero-section {
    position: relative; 
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2)), url('data/heropozadi.png') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
}
h1 {
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}
.btn-primary-custom {
    background-color: #790409;
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}
        .btn-primary-custom:hover {
            background-color: #790409;
            color: white;
            transform: scale(1.05);
        }

/* SEKCE ČERVENÉHO PRUHU - stylování červeného pruhu ------------------------------------------------------------------------------------------------------------------------------------------------*/

.ribbon-text {
    display: inline-block;
    min-height: 1.2em; 
}
.modern-ribbon {
    min-height: 200px;
    background-color: #790409 !important; 
    width: 100%;
    position: relative;
    display: block; 
    padding-top: 1.5em;
    padding-bottom: 1.5em;
    color: white;
    font-size: 2em;
}

/* SEKCE O NÁS - úpravy vzhledu textu ---------------------------------------------------------------------------------------------------------------------------------------------------------------*/

.about-section {
    padding: 60px 0;
}
.historical-title {
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}
.historical-text {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #333;
    text-align: justify; 
}
.historical-text b a{
    color: #000;
    font-weight: 600;
    text-decoration: none;
}
.povestnik{
    color: black;
    text-decoration: none;
}

/* SEKCE FORMULÁŘ - nastavení vzhledu formuláře a jeho tlačítka--------------------------------------------------------------------------------------------------------------------------------------*/

.medieval-label {
    font-weight: bold;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.medieval-input {
    border: 1px solid #c0c0c0 !important;
    border-radius: 0 !important;
    font-size: 1.1rem;
    color: #1a1a1a !important;
}
        .medieval-input:focus {
            box-shadow: none !important;
            background: #fff !important;
        }
.btn-medieval {
    background-color: #790409;
    color: white;
    font-weight: bold;
    padding: 12px 30px;
    text-transform: uppercase;
    transition: 0.3s;
}
        .btn-medieval:hover {
        background-color: #af0810;
        color: white;
        }

/* SEKCE UKÁZKA PRÁCE - kartyčky s obrázky a textem--------------------------------------------------------------------------------------------------------------------------------------------------*/

.work-card {
    margin-bottom: 20px;
    transition: all 0.3s ease-in-out;
}
        .work-card:hover {
            margin-bottom: 20px;
            transform: scale(1.05);
        }
.work-card-inner img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
    display: block;
    margin-bottom: 10px; 
}
.work-info {
    padding: 0;
    text-align: center;
}
        .work-info h4 {
            font-size: 1.4rem;
            color: #1a1a1a;
            margin-bottom: 8px;
            font-weight: bold;
        }

/* SEKCE PATIČKA - ztlumení barev, odstraneni modre z odkazu----------------------------------------------------------------------------------------------------------------------------------------*/

.mini-medieval-footer {
    background-color: #790409;
    color: white;
}
.footer-heading {
    font-size: 1.4rem; 
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}
.footer-text, .footer-copy {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}
.footer-socials a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}
        .footer-socials a:hover {
            color: #ffffff; 
        }
.footer-socials .dot {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 8px;
}
.export-link {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: 0.3s;
}
        .export-link:hover {
            color: #ffffff;
        }

/* MEDIA QUERIES-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

@media (max-width: 768px) {
    .modern-ribbon {
        font-size: 1.2em;
        min-height: auto;
        padding: 1.2em 1em;
    }
    .section-title-img {
        max-width: 95vw;  
        width: auto;
        height: auto;
    }
    .hero-section {
        background-position: 70% center;
    }
    h1 {
        font-size: 2.5rem;
    }
    .historical-title {
        font-size: 1.8rem;
        text-align: left;
    }
    .historical-text {
        text-align: left;
    }
    .about-section .row .col-lg-5,
    .find-photographer-section .row .col-lg-5 {
        order: -1;
    }
    .medieval-form {
        padding: 1rem !important;
    }
    .medieval-form .col-md-4,
    .medieval-form .col-md-8 {
        width: 100%;
    }
    .custom-border-img,
    .custom-border {
        max-width: 100%;
        width: 100%;
        }
    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    .mini-medieval-footer .col-md-4 {
        text-align: center !important;
    }
}
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: transparent;
        padding-top: 20px;
    }
    .nav-link {
        font-size: 1.8rem;
        text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    }
}
@media (max-width: 576px) {
    .modern-ribbon {
        font-size: 1em;
    }
    h1 {
        font-size: 2rem;
    }
    .historical-title {
        font-size: 1.5rem;
    }
    .btn-primary-custom,
    .btn-medieval {
        width: 100%;
        text-align: center;
    }
}