/* Základní nastavení stránky */
/* Reset všech elementů pro konzistentní zobrazení */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Nastavení plynulého scrollování a základního fontu */
html, body {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}

/* Navigační lišta - fixní pozice, bílé pozadí s jemným stínem */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    padding: 10px 50px;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar.scrolled {
    padding: 8px 50px;
}

.navbar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

.logo img {
    height: 80px;
    width: auto;
    transition: all 0.3s ease;
}

.navbar.scrolled .logo img {
    height: 70px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #8a8a8a;
    transition: width 0.3s ease;
}

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

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

main {
    margin-top: 80px;
}

section {
    padding: 60px 20px;
    width: 80%;
    margin: 0 auto;
}

/* Hero sekce - úvodní část webu s postavou a hlavním nadpisem */
.hero-section {
    text-align: center;
    padding: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.3)), url('Background_2.png');
    background-size: cover;
    background-position: center;
    color: white;
    margin-top: 0;
    width: 100%;
    max-width: none;
    height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    gap: 20px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    flex: 0.8;
    padding-left: 15%;
    text-align: left;
    z-index: 3;
}

.hero-character {
    flex: 1.2;
    height: 80vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    z-index: 3;
}

.character-img {
    height: 95%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(0,0,0,0.3));
}

.hero-section h1 {
    font-size: 14vw;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
    font-family: 'MedievalSharp', cursive;
    line-height: 1;
}

.hero-section p {
    font-size: 36px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    font-weight: 300;
    font-style: italic;
}

h2 {
    font-size: 65px;
    margin-bottom: 30px;
    text-align: center;
    font-family: 'MedievalSharp', cursive;
}

h3 {
    font-family: 'MedievalSharp', cursive;
}

/* Sekce s informacemi o hře - šedé pozadí, dvojitý stín */
.game-info {
    position: relative;
    padding-top: 20px;
    padding-bottom: 60px;
    background-color: #f5f5f5;
    box-shadow: 0 20px 15px -15px rgba(0,0,0,0.15),
                0 -20px 15px -15px rgba(0,0,0,0.15);
    margin-bottom: 40px;
    width: 100%;
}

.game-info > * {
    width: 80%;
    margin: 0 auto;
}

.game-info h2 {
    text-align: left;
    margin-bottom: 30px;
    font-family: 'MedievalSharp', cursive;
    flex: 0.4;
    padding-left: 20px;
}

.game-info-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    width: 80%;
    margin: 0 auto;
}

.game-description {
    flex: 1;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.game-content-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
    padding-left: 20px;
}

.game-info-image {
    flex: 1;
    max-width: 500px;
}

.info-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.intro-text {
    font-size: 18px;
    line-height: 1.6;
}

.dev-quote {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.dev-quote::before {
    display: none;
}

.game-world p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.6;
}

.classes-overview ul {
    list-style: none;
    padding: 20px 0;
}

.classes-overview li {
    padding: 10px 0;
    font-size: 18px;
    position: relative;
    padding-left: 25px;
}

.classes-overview li::before {
    content: '⚔️';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.partners {
    font-size: 16px;
    padding: 20px;
    text-align: center;
    background: transparent;
    border-radius: 10px;
}

/* Sekce s popisem postavy - bílé pozadí s gradientovým efektem */
.character-info {
    position: relative;
    padding-top: 20px;
    padding-bottom: 60px;
    background-color: #f5f5f5;
    box-shadow: 0 20px 15px -15px rgba(0,0,0,0.15),
                0 -20px 15px -15px rgba(0,0,0,0.15);
    margin-bottom: 40px;
    width: 100%;
}

.character-info > * {
    width: 80%;
    margin: 0 auto;
}

.character-info::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.05));
    pointer-events: none;
}

.character-info h2 {
    margin-bottom: 40px;
    text-align: left;
    font-family: 'MedievalSharp', cursive;
    padding-left: 30px;
    margin-top: 20vh;
}

.character-layout {
    display: flex;
    gap: 100px;
    align-items: flex-start;
    justify-content: space-between;
}

.character-content {
    flex: 1;
    max-width: 48%;
    padding-left: 30px;
}

.character-description {
    font-size: 18px;
    line-height: 1.6;
}

.character-visual {
    flex: 1;
    max-width: 48%;
    position: relative;
    height: 80vh;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    margin-top: -280px;
}

.character-img {
    height: 95%;
    width: auto;
    object-fit: contain;
}

/* Sekce schopností - grid layout pro karty s efekty */
.abilities-section {
    position: relative;
    padding-top: 20px;
    padding-bottom: 60px;
    background-color: #f5f5f5;
    box-shadow: 0 20px 15px -15px rgba(0,0,0,0.15),
                0 -20px 15px -15px rgba(0,0,0,0.15);
    margin-bottom: 40px;
    width: 100%;
}

.abilities-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.05));
    pointer-events: none;
}

.abilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 50px 30px;
    max-width: 1400px;
    margin: 0 auto;
    width: 80%;
}

/* Karta schopnosti - interaktivní design s hover efektem */
.ability-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ability-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.ability-card h3 {
    color: #333;
    margin: 20px 0;
    font-size: 28px;
    font-family: 'MedievalSharp', cursive;
}

.ability-card p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 95%;
}

.ability-image {
    width: 150px;
    height: 150px;
    overflow: hidden;
    border-radius: 50%;
    margin: 0 auto;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    border: 4px solid #f5f5f5;
}

.ability-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ability-card:hover .ability-image {
    border-color: #e0e0e0;
}

/* Sekce s informacemi o vydání - odpočet a platformy */
.release-info {
    background-color: transparent;
    text-align: center;
    padding: 40px 20px;
}

.countdown-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 40px 0;
}

.countdown {
    display: flex;
    gap: 30px;
    justify-content: center;
    font-family: 'MedievalSharp', cursive;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
}

.countdown-number {
    font-size: 64px;
    font-weight: bold;
    color: #333;
    line-height: 1;
}

.countdown-label {
    font-size: 20px;
    color: #666;
    margin-top: 10px;
}

.countdown-title {
    font-size: 24px;
    color: #666;
    font-family: 'Inter', sans-serif;
    margin-bottom: 20px;
}

.platforms {
    margin-top: 60px;
}

.platforms h3 {
    margin-bottom: 30px;
    font-size: 32px;
    font-family: 'MedievalSharp', cursive;
}

.platforms ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    margin-top: 20px;
}

.platform-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.platform-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.platform-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Kontaktní sekce - formulář a kontaktní informace */
.contact {
    position: relative;
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: #f5f5f5;
    box-shadow: 0 -20px 15px -15px rgba(0,0,0,0.15);
    margin-top: 80px;
    margin-bottom: 0;
    width: 100%;
}

/* Kontaktní formulář - bílé pozadí s interaktivními prvky */
.contact-form {
    max-width: 600px;
    margin: 40px auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-family: 'Inter', sans-serif;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8a8a8a;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: #333;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.submit-btn:hover {
    background-color: #4a4a4a;
    transform: translateY(-2px);
}

/* Kontaktní informace - přehledný box s údaji */
.contact-info {
    text-align: center;
    background: white;
    padding: 40px;
    width: 100%;
    margin: 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.contact-info p {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    margin: 10px 0;
}

/* Patička - třísloupcový layout s odkazy a kontakty */
footer {
    background-color: white;
    color: #333;
    padding: 60px 20px;
    box-shadow: 0 -4px 8px rgba(0,0,0,0.1);
    margin-top: 0;
}

/* Obsah patičky - flexbox pro rovnoměrné rozložení */
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-column {
    flex: 1;
}

.footer-column h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #666;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.contact-item img {
    width: 20px;
    height: 20px;
    filter: invert(0.3);
}

/* Spodní část patičky - logo a copyright */
.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 40px auto 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.footer-logo p {
    font-size: 14px;
    opacity: 0.7;
}

/* Responzivní design pro mobilní zařízení */
@media (max-width: 768px) {
    /* Úpravy pro mobilní zobrazení */
    .navbar {
        padding: 8px 20px;
    }

    .navbar.scrolled {
        padding: 6px 20px;
    }

    .logo img {
        height: 70px;
    }

    .navbar.scrolled .logo img {
        height: 60px;
    }

    .nav-links {
        display: none;
    }

    .hero-section {
        height: 85vh;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 20px;
        gap: 10px;
    }

    .hero-content {
        padding-left: 0;
        text-align: center;
    }

    .hero-character {
        height: 50vh;
        margin-top: 10px;
    }

    .character-img {
        height: 100%;
    }

    .hero-section h1 {
        font-size: 18vw;
        line-height: 1;
    }

    .hero-section p {
        font-size: 24px;
        font-weight: 300;
        font-style: italic;
    }

    section {
        padding: 40px 20px;
    }

    h2 {
        font-size: 40px;
    }

    .abilities-section::after {
        height: 60px;
    }

    .abilities-grid {
        width: 90%;
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 15px;
    }

    .ability-card {
        padding: 25px;
    }

    .ability-card h3 {
        font-size: 26px;
        margin: 15px 0;
    }

    .ability-card p {
        font-size: 16px;
    }

    .game-info > * {
        width: 90%;
    }

    .game-content-wrapper {
        flex-direction: column;
        gap: 20px;
        padding-left: 0;
    }

    .game-info h2 {
        text-align: center;
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 20px;
    }

    .game-info-container {
        flex-direction: column;
        gap: 20px;
    }

    .game-info-image {
        max-width: 100%;
    }

    .game-description {
        padding: 15px;
    }

    .dev-quote {
        padding: 15px 25px;
    }

    .game-world p, .intro-text, .classes-overview li {
        font-size: 16px;
    }

    .ability-image {
        width: 120px;
        height: 120px;
    }

    .game-info::after {
        height: 60px;
    }

    .countdown {
        gap: 20px;
    }

    .countdown-item {
        min-width: 80px;
    }

    .countdown-number {
        font-size: 48px;
    }

    .countdown-label {
        font-size: 16px;
    }

    .countdown-title {
        font-size: 20px;
    }

    .character-info h2 {
        text-align: center;
        padding-left: 0;
        margin-top: 10vh;
    }

    .platforms {
        margin-top: 40px;
    }

    .platforms h3 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .platform-logo {
        width: 100px;
        height: 100px;
        padding: 15px;
    }

    .platforms ul {
        gap: 30px;
    }

    .contact {
        padding-top: 40px;
        margin-top: 60px;
    }

    .contact-form {
        padding: 30px;
        margin: 30px auto;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px;
        font-size: 15px;
    }

    .submit-btn {
        padding: 12px 25px;
        font-size: 15px;
    }

    .contact-info {
        padding: 30px;
        margin-top: 30px;
    }

    .contact-info p {
        font-size: 16px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-column {
        text-align: center;
    }

    .contact-item {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }
}

@media (max-width: 1024px) {
    .character-layout {
        flex-direction: column;
        gap: 20px;
    }

    .character-content,
    .character-visual {
        max-width: 100%;
        padding-left: 0;
    }

    .character-info {
        padding-bottom: 80px;
    }

    .character-info > * {
        width: 90%;
    }

    .character-info::after {
        height: 60px;
    }

    .character-info h2 {
        text-align: center;
        padding-left: 0;
        margin-top: 10vh;
    }

    .character-visual {
        margin-top: -40px;
        height: 60vh;
        justify-content: center;
    }

    h2 {
        font-size: 50px;
    }
}

@media (max-width: 1200px) {
    .abilities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .ability-card {
        padding: 25px;
    }
    
    .ability-image {
        width: 130px;
        height: 130px;
    }
}