/* ==========================================================================
   RESET & ZÁKLADNÍ NASTAVENÍ
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #0d0d0d;
    color: #e5e5e5;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   SPOLEČNÉ PRVKY A KONTEJNERY
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.separator-center {
    width: 60px;
    height: 2px;
    background-color: #c5a059;
    margin: 1.5rem auto 2rem auto;
}

/* ==========================================================================
   HERO SEKCÍ (FOTKA VPRAVO, TEXT VLEVO NA ČERNÉM POZADÍ)
   ========================================================================== */
.hero-full {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: #050505;
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(5, 5, 5, 0.7) 0%, rgba(5, 5, 5, 0.25) 50%, rgba(0, 0, 0, 0) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-left: 8%;
    padding-right: 20px;
    max-width: 700px;
}

/* Výrazně zvětšený hlavní nadpis */
.logo-text {
    font-family: 'Cinzel', serif;
    font-size: 3.8rem; /* Výrazné zvětšení písma */
    font-weight: 500;
    letter-spacing: 5px;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
    line-height: 1.1;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9);
}

/* Zlaté zvýraznění pro křestní jméno */
.logo-text span {
    color: #c5a059;
}

.logo-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 4px;
    color: #d0d0d0;
    display: block;
    margin-bottom: 2.2rem;
    margin-top: 0.5rem;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: #ffffff;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.icon-arrow {
    margin-left: 10px;
}

/* ==========================================================================
   SEKCE O MNĚ (ABOUT ME)
   ========================================================================== */
.about-section {
    padding: 5rem 0;
    background-color: #141414;
    text-align: center;
}

.about-text h2 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: #ffffff;
}

.about-text p {
    max-width: 800px;
    margin: 0 auto;
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.8;
    font-weight: 300;
}

.contact-email-wrap {
    margin-top: 2rem;
}

.email-link {
    color: #c5a059;
    font-size: 1rem;
    letter-spacing: 1px;
}

.email-link:hover {
    color: #ffffff;
}

/* ==========================================================================
   OCHRANA HESLEM (PROTECTED PORTFOLIO)
   ========================================================================== */
.protected-container {
    padding-top: 4rem;
    padding-bottom: 5rem;
}

.protected-box {
    max-width: 450px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    text-align: center;
    border-radius: 4px;
}

.lock-icon {
    font-size: 2rem;
    color: #c5a059;
    margin-bottom: 1rem;
}

.protected-box h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.protected-box p {
    color: #888888;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.lock-form input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    background: #0d0d0d;
    border: 1px solid #333333;
    color: #ffffff;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    outline: none;
    text-align: center;
}

.lock-form input[type="password"]:focus {
    border-color: #c5a059;
}

.btn-gold {
    width: 100%;
    padding: 12px;
    background-color: #c5a059;
    color: #000000;
    border: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-gold:hover {
    background-color: #d4af37;
}

.error {
    color: #ff5555;
    font-size: 0.8rem;
    margin-top: 1rem;
}

/* ==========================================================================
   SEKCE MÍRY (MEASUREMENTS)
   ========================================================================== */
.measurements-section {
    background-color: #1a1a1a;
    border-top: 1px solid #282828;
    border-bottom: 1px solid #282828;
    padding: 2.5rem 0;
}

.measurements-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: nowrap;
}

.m-item {
    flex: 1;
    text-align: center;
    border-right: 1px solid #2a2a2a;
    padding: 0 10px;
}

.last-item {
    border-right: none;
}

.m-item i {
    font-size: 1.2rem;
    color: #c5a059;
    margin-bottom: 0.5rem;
}

.m-val {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: #ffffff;
    font-weight: 500;
}

.m-lbl {
    font-size: 0.65rem;
    letter-spacing: 1px;
    color: #777777;
    margin-top: 0.2rem;
    text-transform: uppercase;
}

/* ==========================================================================
   FOTOGALERIE (PORTFOLIO)
   ========================================================================== */
.gallery-section {
    padding: 5rem 20px;
}

.gallery-title {
    text-align: center;
    font-family: 'Cinzel', serif;
    font-weight: 400;
    font-size: 2.2rem;
    color: #ffffff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 2rem;
}

.gallery-item {
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background-color: #1a1a1a;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.logout-wrap {
    text-align: center;
    margin-top: 3rem;
}

.logout-link {
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: #777777;
    text-transform: uppercase;
}

.logout-link:hover {
    color: #c5a059;
}

/* ==========================================================================
   PATIČKA (FOOTER)
   ========================================================================== */
footer {
    background-color: #080808;
    padding: 2.5rem 0;
    border-top: 1px solid #1c1c1c;
    text-align: center;
    font-size: 0.8rem;
    color: #666666;
}

footer a {
    color: #999999;
}

footer a:hover {
    color: #c5a059;
}

.footer-credit {
    margin-top: 5px;
}

/* ==========================================================================
   RESPONZIVNÍ STYLY (TABLETY A MOBILY)
   ========================================================================== */
@media (max-width: 992px) {
    .logo-text {
        font-size: 3rem;
    }

    .hero-content {
        padding-left: 6%;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .measurements-container {
        flex-wrap: wrap;
        gap: 20px 0;
    }

    .m-item {
        flex: 0 0 33.333%;
        border-right: none;
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .hero-full {
        background-position: 75% center;
        justify-content: center;
        text-align: center;
    }

    .hero-overlay {
        background: rgba(0, 0, 0, 0.6);
    }

    .hero-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .logo-text {
        font-size: 2.2rem;
        letter-spacing: 3px;
    }

    .logo-sub {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }
}

@media (max-width: 600px) {
    .logo-text {
        font-size: 1.9rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .m-item {
        flex: 0 0 50%;
    }
}
