@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&display=swap');

html{
    scroll-behavior: smooth !important;
}

body{
    background-color: #1a1a1d;
    margin: 0;
    padding: 0;
    color: #bebebe;
    font-family: 'Merriweather', serif;
}

/*NAVBAR*/
/* Nastavení navbaru */
.custom-navbar {
    background-color: rgba(26, 26, 29, 0.95);
    border-bottom: 2px solid #9d7e42;
    padding: 0.8rem 0;
    transition: all 0.3s ease;
}

.custom-navbar .nav-link {
    margin-left: 1.5rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.custom-navbar .nav-link:hover {
    color: #6c2832 !important;
}

/*Nastavení loga*/
.navbar-brand img {
    transition: transform 0.3s ease;
}
.navbar-brand img:hover {
    transform: scale(1.05);
}


/*HEADER*/
/*Nastavení obrázku na pozadí*/
.pozadi {
    height: 100vh;
    min-height: 600px;
    
    
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6)), 
                url('img/background.png');
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/*Nastavení nadpisu*/
.hlavni_nadpis {
    font-family: 'Cinzel', serif;
    color: #9d7e42;
    font-size: 7rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    -webkit-text-stroke: 1px white;
    font-weight: 900;
}

/*Nastavení podnadpisu*/
.podnadpis{
    text-transform: uppercase;
    color: white;
}

/*Nastavení tlačítka*/
.btn-primary {
    background-color: #6c2832;
    border: none;
    padding: 12px 30px;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: #531f27; 
    transform: translateY(-2px);
}

/*Nastavení pro obě postavy*/
.postava {
    position: absolute;
    bottom: 0;
    height: 400px;
    z-index: 10;
}

/* Dvořan*/
.dvoran {
    left: 20px;
}

/* Horník*/
.hornik {
    right: 20px;
}



/* SEKCE INFO */
/*Nastavení textu*/
.info-section {
    background-color: #1a1a1d;
    color: #bebebe;
}

.info-section .hlavni_nadpis {
    font-size: 3.5rem;
    -webkit-text-stroke: 0.5px white;
}

.gold-text {
    color: #9d7e42;
    font-weight: bold;
    text-transform: uppercase;
}

/*Nastavení kartičky*/
.info-card {
    background-color: rgba(43, 43, 48, 0.5);
    border: 1px solid #9d7e42;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.info-card h3 {
    font-family: 'Cinzel', serif;
    color: #9d7e42;
}

.info-card strong {
    color: #fff;
    margin-right: 5px;
}

.alert-box {
    border-left: 3px solid #6c2832;
    padding-left: 15px;
    font-style: italic;
    color: #a0a0a0;
}

/* Responzivita */
@media (max-width: 768px) {
    .info-section .hlavni_nadpis {
        font-size: 2.5rem;
    }
}

.icon-box {
    font-size: 5rem;
    filter: drop-shadow(0 0 10px rgba(157, 126, 66, 0.3));
    user-select: none;
}

.info-card {
    transition: all 0.3s ease-in-out;
    cursor: default;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: #6c2832;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

/* Responzivita */
@media (max-width: 767px) {
    .info-card {
        text-align: left !important;
        margin-bottom: 20px;
    }
}


/*PROGRAM*/
#program {
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    #program::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 15%;
        bottom: 5%;
        width: 2px;
        border-left: 3px dashed rgba(255, 255, 255, 0.2);
        transform: translateX(-50%);
        z-index: 0;
    }
}

/*IKONKA*/
.map-marker-container {
    position: relative;
    z-index: 2;
    background-color: #1a1a1d;
    display: inline-block;
    padding: 10px 0;
}

.map-marker {
    font-size: 2.5rem;
    color: #9d7e42;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.5));
    transition: all 0.3s ease;
}

.row:hover .map-marker {
    color: #6c2832;
    transform: scale(1.2);
}

.info-card {
    position: relative;
    z-index: 3;
}

.cil-box {
    border: 4px double #9d7e42 !important;
    background: rgba(26, 26, 29, 0.5);
}

.cil-list li {
    padding: 5px 0;
    display: flex;
    align-items: center;
}

.cil-list li::before {
    content: "✦";
    color: #9d7e42;
    margin-right: 10px;
}

.ceremonial-box {
    border: 1px dashed #6c2832;
    background-color: rgba(108, 40, 50, 0.1);
    border-radius: 10px;
}

.italic {
    font-style: italic;
}


/*VYSTOUPENI*/
#vystoupeni {
    padding-top: 5rem;
    padding-bottom: 5rem;
    overflow: visible;
}

.vystoupeni-vizual-container {
    padding-right: 25px;
    padding-bottom: 25px;
    overflow: visible;
}

.kapela-foto-wrapper {
    position: relative;
    display: inline-block;
    overflow: visible;
}

.kapela-img {
    border: 2px solid #9d7e42;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: block;
}

.logo-overlay {
    position: absolute;
    bottom: -25px;
    right: -25px;
    width: 180px;
    z-index: 20;
}

.info-box-vystoupeni {
    margin-top: 2rem;
    padding: 1rem 1.5rem;
    border-left: 4px solid #9d7e42;
}

/* Responzivita */
@media (max-width: 991px) {
    .vystoupeni-vizual-container {
        text-align: center;
        padding-right: 0;
        padding-bottom: 0;
    }
    
    .logo-overlay {
        position: relative;
        bottom: 0;
        right: 0;
        margin: 15px auto 0;
        width: 150px;
    }
}


/* PARTNERI*/
#partneri {
    padding-top: 80px;
    padding-bottom: 80px;
}

.partner-logo {
    width: 100%;
    max-width: 400px;
    height: auto;
    max-height: 140px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.9);
    transition: all 0.4s ease;
    cursor: default;
}

.partner-logo:hover {
    filter: grayscale(0%) brightness(1.1);
    transform: scale(1.1);
}

/* Text poděkování*/
#partneri .gold-text {
    color: #9d7e42;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .partner-logo {
        max-width: 150px;
        max-height: 100px;
    }
}


/*VÝPOMOC */
.custom-input {
    background-color: rgba(26, 26, 29, 0.8) !important;
    border: 1px solid #9d7e42 !important;
    border-radius: 4px;
    padding: 10px 15px;
}

.custom-input:focus {
    background-color: rgba(43, 43, 48, 1) !important;
    border-color: #6c2832 !important;
    box-shadow: 0 0 0 0.25rem rgba(108, 40, 50, 0.25) !important;
    color: #fff !important;
}

.custom-input::placeholder {
    color: #555 !important;
}

.form-select.custom-input {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%239d7e42' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

select option {
    background: #1a1a1d;
}


/*KONTAKTY */
.btn-outline-light {
    border-color: #9d7e42 !important;
    color: #9d7e42 !important;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: #6c2832 !important;
    border-color: #6c2832 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

#kontakty {
    padding-bottom: 80px !important;
}

#kontakty hr {
    opacity: 0.2;
}


#kontakty .bg-dark {
    background-color: #121214 !important;
}


/* PATIČKA */
.custom-footer {
    background-color: #121214;
    border-top: 2px solid #9d7e42;
    color: #bebebe;
}

.letter-spacing {
    letter-spacing: 2px;
}

.very-small {
    font-size: 0.7rem;
}


/*JAVASCRIPT*/
/* Třídy pro animaci odhalování */
.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Zajištění plynulého navbaru při skrolu */
.custom-navbar {
    transition: background-color 0.4s ease, padding 0.4s ease;
}

/* Volitelné: Efekt pro odkaz v menu při aktivní sekci */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #9d7e42;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}