* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lora', serif;
    line-height: 1.6;
    color: #4A3B2F;
    
    /* Ztmavené pozadí přes celý web */
    background: 
        linear-gradient(rgba(248, 245, 242, 0.15), rgba(248, 245, 242, 1)),
        url('Background_2.png') no-repeat center center fixed;
        
    background-size: cover;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #E8E4DF;
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #C17D5C;
}

.logo {
    display: flex;
    align-items: center; 
    gap: 15px; 
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: #4A3B2F;
    font-weight: bold;
    text-decoration: none; 
}

.logo-img {
    height: 45px; 
    width: auto; 
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #4A3B2F;
    text-decoration: none;
    font-family: 'Lora', serif;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #C17D5C;
}

/* Hlavička */
.main-header {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 60px;
    position: relative;
}

.header-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 5%;
}

.main-header h1 {
    font-family: 'Cinzel', serif;
    font-size: 5rem;
    letter-spacing: 12px;
    color: #FFF;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 1);
}

.main-header p {
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    color: #FFF;
    font-weight: 400;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 1);
}

/* Sekce o hře */
.info-section {
    padding-left: 22%;
    padding-right: 22%;
    padding-top: 10%;
    padding-bottom: 15%;
    background-image: url('Random_Events_Scroll.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.stone-bg {
    background-color: rgba(232, 228, 223, 0.9);
}

h2 {
    font-family: 'Cinzel', serif;
    color: #333333;
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    border-bottom: 2px solid #c27047;
    display: inline-block;
    padding-bottom: 5px;
}

.about-intro {
    display: flex;
    align-items: center;
}

.about-intro-text {
    flex: 1;
    text-align: left;
}

.lead-text {
    font-size: 1.2rem;
    color: #333333;
    text-align: left;
}

.about-image-container {
    flex: 1;
}

.about-image {
    display: block;
    width: 80%;
    height: auto;
    border-radius: 12px;
}

.lore-content {
    display: flex;
    gap: 50px;
    text-align: left;
    color: #333333;
    margin-bottom: 2%;
}

.lore-column {
    flex: 1;
}

.lore-column h3 {
    font-family: 'Cinzel', serif;
    color: #161616;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    border-bottom: 2px solid #c27047;
    padding-bottom: 5px;
}

.lore-column p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Sekce o Drtikulovi */
.drtikul-section {
    padding-left: 15%;
    padding-right: 15%;
    padding-bottom: 7%;
}

.character-content {
    display: flex;
    align-items: center;
    gap: 50px;
    text-align: left;
}

.character-text {
    flex: 1;
    font-size: 1.4rem;
}

.character-text p {
    text-align: justify;
}

.character-slider-container {
    flex: 1;
    position: relative;
    max-width: 600px;
    width: 100%;
    margin: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none; 
    border: none;
    background-color: transparent; 
}

.slider {
    position: relative;
    width: 100%;
    padding-top: 120%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Sekce Schopnosti */
.abilities-section {
    border-top: 2px solid #c27047;
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 3%;
    padding-top: 1%;
    text-align: center;
}

.ability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.ability-card {
    background: #FFF;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #D4D4D4;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.ability-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: #C17D5C;
}

.ability-card img {
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid #C17D5C;
    padding: 5px;
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.ability-card h3 {
    font-family: 'Cinzel', serif;
    margin-bottom: 12px;
    color: #8C7F72;
    font-size: 1.3rem;
}

.ability-card p {
    color: #6A6A6A;
}

/* Patička */
footer {
    background-color: #E8E4DF;
    padding-top: 1.5rem;
    padding-bottom: 1rem;
    text-align: center;
    border-top: 1px solid #C17D5C;
}

.footer-content {
    font-family: 'Lora', serif;
    color: #4A3B2F;
}

footer a {
    color: #C17D5C;
    text-decoration: none;
    font-weight: 500;
}

/* Responzivita */
@media (max-width: 900px) {
    .about-intro, .character-content, .lore-content {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .main-header h1 { font-size: 3.5rem; }
    .main-header p { font-size: 1.1rem; }
    .nav-links { display: none; } 
    
    /* Na mobilu se svitek vypne a okraje se srovnají */
    .info-section { 
        padding: 3rem 5%;
        background-image: none;
    }
}