@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap'); /* font na nadpisy */
@import url('https://fonts.googleapis.com/css2?family=Caudex:ital,wght@0,400;0,700;1,400;1,700&display=swap'); /* font na texty */

/* zakladni nastaveni pro celou stranku */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:"Caudex", serif;
}

/* font a barva pro nadpisy */
* h1, h2, h3, .gold-title{
font-family: "Cinzel", serif;
    color: #cd9948;
}

body {
    background-color: #0b0f1a;
    color: white;
    font-family: "Caudex", serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(10, 15, 30, 0.85);
    backdrop-filter: blur(10px);
}

.logo img { height: 40px; }

/* horni menu */
nav {
    display: flex;
    gap: 30px;
    margin-left: auto; 
    margin-right: 40px;
}

nav a {
    text-decoration: none;
    color: #ccc;
    font-weight: 500;
    transition: 0.3s;
    position: relative;
}

nav a:hover { color: #cd9948; }

nav a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #cd9948;
    transition: 0.3s;
}

nav a:hover::after { width: 100%; }

/* hero sekce */
.microsite-hero {
    height: 100vh;
    background: linear-gradient(rgba(11, 15, 26, 0.6), rgba(11, 15, 26, 0.6)), 
                url("obrázky/koder_hero.jpg") center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.microsite-hero h1 {
    font-family: "Cinzel", serif;
    font-size: 5rem;
    color: #cd9948;
}

.microsite-hero p {
    font-size: 1.5rem;
    margin-top: 20px;
}

/* sipka na scrollovani dolu z hero sekce */
.scroll-down {
    position: absolute;
    bottom: 30px; left:
    50%; transform:
    translateX(-50%);
    color: #cd9948; }

.arrow {
     width: 20px; 
     height: 20px; 
     border-right: 3px solid currentColor; 
     border-bottom: 3px solid currentColor; 
     transform: rotate(45deg); 
     animation: bounce 2s infinite; }

/* texty */
.microsite-main {
    padding: 80px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.microsite-nadpis {
    color: #cd9948;
    font-family: "Cinzel", serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.microsite-nadpis::after {
    content: "";
    display: block;
    width: 50px;
    height: 2px;
    background: #cd9948;
    margin: 15px auto 0;
}

.text-sekce {
    margin-bottom: 80px;
    text-align: center;
}

.text-sekce p {
    font-size: 1.15rem;
    color: #ccc;
    line-height: 1.8;
    margin-top: 30px;
}

/* vyjizdeci portfolio */
.portfolio-accordion {
    border: 1px solid rgba(205, 153, 72, 0.3);
    border-radius: 8px;
    margin-bottom: 80px;
}

.accordion-trigger {
    width: 100%; padding: 20px;
    background: none; border: none;
    color: #cd9948; cursor: pointer;
    font-family: "Cinzel", serif; font-size: 1.2rem;
}

.accordion-content {
    max-height: 0; overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.accordion-content.active { max-height: 4000px; }

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px; padding: 20px;
}

.portfolio-item { position: relative; overflow: hidden; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-overlay {
    position: absolute; inset: 0; background: rgba(205, 153, 72, 0.8);
    display: flex; justify-content: center; align-items: center;
    opacity: 0; transition: 0.3s; color: black; font-weight: bold;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }

/* formular */
.form-sekce {
    padding: 100px 20px;
    display: flex;
    justify-content: center;
}

.form-wrapper {
    max-width: 800px;
    width: 100%;
}

.form-subtext {
    text-align: center;
    color: #888;
    margin: -10px auto 40px;
    font-size: 1rem;
}

.nabor-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 25px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #cd9948;
    margin-bottom: 10px;
    font-size: 0.85rem;
    font-family: "Cinzel", serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.form-group input, 
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(205, 153, 72, 0.3);
    padding: 15px;
    color: white;
    font-family: "Caudex", serif;
    font-size: 1rem;
    border-radius: 4px;
    transition: 0.3s ease;
    width: 100%;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #cd9948;
    background: rgba(255, 255, 255, 0.1);
}

/* tlacitko na odeslani formulare */
.form-button-container {
    text-align: center;
    margin-top: 20px;
}

.btn-odeslat {
    background: #cd9948;
    color: #0b0f1a;
    border: none;
    padding: 18px 60px;
    font-family: "Cinzel", serif;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.3s all ease;
    text-transform: uppercase;
    width: auto; 
}

.btn-odeslat:hover {
    background: #e6b364;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(205, 153, 72, 0.3);
}



@keyframes bounce { 0%, 100% { transform: translateY(0) rotate(45deg); } 50% { transform: translateY(-10px) rotate(45deg); } }

footer { text-align: center; padding: 40px; color: #555; border-top: 1px solid #1f2937; }

/* hamburger menu */

@media (max-width: 768px) {
    header {
        padding: 15px 25px;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 1100;
        position: relative;
    }

    .hamburger span {
        display: block;
        width: 30px;
        height: 3px;
        background: #cd9948;
        border-radius: 3px;
        transition: 0.3s ease-in-out;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 100%;  
        height: 100vh;
        background: rgba(10, 15, 26, 0.98);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        margin: 0;
        transition: 0.4s ease-in-out;
        z-index: 1050;
    }

    nav.active {
        right: 0; 
    }

    nav a {
        font-size: 1.5rem;
        font-family: "Cinzel", serif;
    }

    /* skryti hamburger na pc */
@media (min-width: 769px) {
    .hamburger {
        display: none;
    }
}

}