/* Obecné nastavení pro body */
   body {
    font-family: 'Eagle Lake', serif !important; 
    background: url('./data//pozadi/pozadi.webp') no-repeat center center fixed;
    background-size: cover;
    color: #212529;
    margin: 0;
    padding: 0;
    cursor: url("./data/./Angry\ Birds\ -\ Mighty\ Feather\ Handwriting.cur"), default;
}

/* Navbar */
.navbar {
    background: #740409;
    backdrop-filter: blur(5px);
    border-bottom: 2px solid #740409;
}
.navbar-brand {
    font-size: 1.8rem;
    color: white !important;
}
.nav-link {
    color:white !important;
    margin-right: 15px;
}
.nav-logo {
    height: 50px;
    width: auto;
}

/* hero sekce */
.hero-section {
    padding: 100px 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
}
.btn-more {
    background-color: #740409;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    transition: transform 0.3s;
}
.btn-more:hover {
    transform: scale(1.05);
    color: #ffffff;
}
.hero-img {
    max-width: 120%;
    height: auto;
    filter: drop-shadow(15px 15px 25px rgba(0,0,0,0.4));
    transform: rotate(2deg); 
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
    position: relative;
    z-index: 2;
}
.hero-img:hover {
    transform: rotate(0deg) scale(1.05);
    filter: drop-shadow(20px 20px 30px rgba(0,0,0,0.5));
}

/* Sekce s benefity */
.benefits-red-section {
    background-color: #740409;
    width: 100%;
    margin: 50px 0;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
}
.benefit-label {
    color: #ffffff;
    font-size: 1rem;
    text-transform: uppercase;
    opacity: 0.9;
    letter-spacing: 2px;
}
.benefit-number {
    color: #ffffff;
    font-size: 4rem;
    font-weight: bold;
    margin: 0;
}
.vertical-divider {
    width: 150px; 
    transform: rotate(90deg);
    filter: brightness(0) invert(1);
    opacity: 0.5;
}

/* Vše tvořené ve PS */
.custom-button-wrapper {
    text-decoration: none; 
    display: inline-block; 
}
.custom-button-img {
    max-width: 320px; 
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease-in-out, filter 0.3s ease;
    filter: drop-shadow(2px 2px 5px rgba(0,0,0,0.2)); 
}
.custom-button-wrapper:hover .custom-button-img {
    transform: scale(1.10) rotate(-1deg); 
    filter: brightness(1.05) drop-shadow(4px 4px 10px rgba(0,0,0,0.3)); 
}
.section-title-img {
    max-width: 60%; 
    height: auto;     
    display: block;  
    margin: 0 auto;   
    margin-bottom: 8%;
}

/* Team + ukázky */
.main-team-img {
    border: 8px solid #740409; 
    transform: rotate(2deg); 
    transition: transform 0.3s ease;
    max-height: 450px;
}
.main-team-img:hover {
    transform: rotate(0deg) scale(1.02); 
}
.ukazky-wrapper {
    overflow: hidden;
}
.card-paper {
    background: url('./data//pozadi/pozadi.webp') no-repeat center;
    background-size: cover;
    padding: 20px;
    box-shadow: 10px 15px 30px rgba(0,0,0,0.4);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
}
.card-left { transform: rotate(-5deg) translateY(10px); }
.card-center { transform: rotate(2deg) translateY(-5px); }
.card-right { transform: rotate(4deg) translateY(15px); }

.work-card:hover .card-paper {
    transform: rotate(0deg) scale(1.15) translateY(-20px);
    z-index: 100;
    box-shadow: 25px 40px 60px rgba(0,0,0,0.5);
    position: relative;
}
.card-paper img {
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 2px;
}
.card-paper h5 {
    color: #740409;
    font-weight: bold;
    margin-top: 15px;
}
.card-custom-btn {
    max-width: 150px; 
    height: auto;
    transition: transform 0.3s ease;
}
.work-card:hover .card-custom-btn {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* Nábor */
.wanted {
    display: inline-block;
    max-width: 1000px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.4));
    transform: rotate(-1deg);
    transition: transform 0.3s ease;
}
.wanted:hover {
    transform: rotate(0deg) scale(1.03);
}
.nabor-text-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
}
.nabor-text-container ul li {
    margin-bottom: 10px;
    padding-left: 10px;
    border-left: 3px solid #740409;
}

/* Formulář */
.form-pergamen {
    background: url('./data/pozadi/pergamen2.webp') no-repeat center;
    background-size: 100% 100%;
    border: none;
    padding: 60px !important;
}
.bards-label {
    font-weight: bold;
    color: #4a3427;
    margin-bottom: 8px;
    display: block;
}
.bards-input {
    background-color: rgba(255, 255, 255, 0.2) !important;
    border: none !important;
    border-bottom: 2px solid #740409 !important;
    border-radius: 0 !important;
    color: #4a3427 !important;
    padding: 10px 0 !important;
}
.bards-input:focus {
    background-color: rgba(255, 255, 255, 0.4) !important;
    box-shadow: none !important;
    border-bottom: 2px solid #4a3427 !important;
}
.btn-odeslat {
    background-color: #740409;
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 5px;
    font-family: 'Eagle Lake', serif;
    transition: 0.3s;
}
.btn-odeslat:hover {
    background-color: #4a0205;
    transform: scale(1.05);
}

/* Footer a mapa */
.final-line {
    width: 100%;
    background-color: #740409;
    padding: 15px 0;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border-top: 2px solid #4a0205;
    border-bottom: 2px solid #4a0205;
}
.line-content {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.line-text {
    color: #f4ecd8;
    font-family: 'Eagle Lake', serif;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.main-footer {
    color: black;
    border-top: 5px solid #740409;
}
.footer-title {
    font-family: 'Eagle Lake', serif;
    color: #740409;
    border-bottom: 1px solid rgba(116, 4, 9, 0.3);
    padding-bottom: 10px;
}
.social-img {
    width: 40px;
    transition: transform 0.2s;
}
.social-img:hover {
    transform: scale(1.1);
}
.btn-custom-svitek-small {
    background: none;
    border: none;
    padding: 0;
    transition: transform 0.2s;
}
.btn-custom-svitek-small img {
    max-width: 150px;
}
.btn-custom-svitek-small:hover {
    transform: scale(1.05);
}
#footer-map {
    height: 250px;
    border-radius: 15px;
    border: 3px solid #4a3427;
    filter: sepia(1) hue-rotate(-15deg) contrast(1.2) brightness(0.8) saturate(0.8);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}
.leaflet-marker-icon {
    filter: hue-rotate(15deg) brightness(0.7);
}

/* Media queries */
@media (max-width: 768px) {

    .hero-img {
    display: none
    }

    .lead {
        text-align: center;
    }
    
    .section-title-img, .nabor-img { 
        max-width: 90% !important;
        height: auto !important;
        margin: 0 auto;
        display: block;
    }

    .final-line {
        padding: 10px 5px !important;
    }
    .line-text {
        font-size: 0.9rem !important; 
        white-space: normal !important; 
        text-align: center;
        letter-spacing: 1px;
    }

    .btn-scroll-hero-container { 
        text-align: center !important;
        display: flex;
        justify-content: center;
        width: 100%;
    }
    #hero .btn-custom-svitek { 
        margin: 0 auto !important;
        display: block !important;
    }
    .custom-button-img {
        max-width: 260px; 
    }
    .custom-button-img {
        align-items: center;
       padding-left: 30%;
       text-align: center;
    }

    .benefit-number {
        font-size: 3rem;
    }

    .main-team-img {
        transform: rotate(0deg);
        margin-top: 30px;
    }
    .desk-background {
        background: none;
        padding: 0;
    }
    .card-left, .card-center, .card-right {
        transform: rotate(0deg) !important;
        margin-bottom: 30px;
    }

    .wanted {
        max-width: 90%;
    }

    .form-pergamen {
        background: #f4ecd8 !important; 
        background-image: none !important;
        border: 2px solid #d4c4a8 !important;
        padding: 20px !important; 
    }
    .form-pergamen .row {
        margin: 0;
    }

    .obrazekStepan {
        width: 80%;
    }

    .hero-section {
        padding: 40px 0 !important;
        min-height: auto !important; 
    }
    
    
}

