/* Global Styles */
* {
    background-image: url('images/Random_Events_Scroll.png');
    background-size: 155% 155%;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cinzel', serif;
    margin: 0;
    color: black;
    background-color: white;
}

/* Header Section */
header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    color: white;
}

header img {
    height: 100px;
    width: auto;
}

/* Navigation Bar */
nav {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    font-weight: bold;
    position: relative;
    transition: color 0.3s ease;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: #000;
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-size: 15rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: bold;
    text-shadow: 0 0 5px white, 0 0 20px white;
}

/* General Section Styling */
section {
    position: relative;
    padding: 50px 20px;
    background-color: transparent;
}

h2 {
    color: black;
    font-size: 3.5rem;
    font-weight: bold;
    position: relative;
    padding-bottom: 10px;
    text-align: center;
    padding-bottom: 20px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 25%;
    height: 2px;
    background-color: #000000;
}

/* O HŘE Section */
#o-hre {
    text-align: center;
    padding: 50px 20px;
}

.ohre-text {
    font-size: 1.5rem;
    margin-bottom: 40px;
}

.ohre-layout {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 50px;
    margin-top: 30px;
}

.ohre-left, .ohre-center, .ohre-right {
    width: 30%;
}

.ohre-left h3, .ohre-right h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.ohre-left p, .ohre-right p {
    font-size: 1.3rem;
    margin: 12px 0;
}

.ohre-center img {
    width: 400px;
    height: auto;
    border-radius: 10px;
}

.casomira {
    position: relative;
    margin-top: 40px;
    padding: 20px;
    color: black;
    font-size: 1.8rem;
    font-weight: bold;
    border-radius: 10px;
}

/* Povolání Section */
#povolani {
    padding: 50px 20px;
    background-color: transparent;
    text-align: center;
}

h3 {
    font-size: 2rem;
    font-weight: bold;
    color: black;
    text-align: center;
    margin-bottom: 20px;
}

.povolani-text {
    font-size: 1.4rem;
    color: black;
    margin-bottom: 30px;
    line-height: 1.6;
    text-align: center;
    padding: 0 20px;
}

.gallery-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15%;
}

.gallery-item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-item img {
    width: 450px;
    height: auto;
}

.arrow {
    position: absolute;
    font-size: 90px;
    color: black;
    cursor: pointer;
}

.left-arrow {
    left: -80px;
}

.right-arrow {
    right: -40px;
}

/* Schopnosti Section */
#schopnosti {
    padding: 50px 20px;
    background-color: transparent;
    text-align: center;
}

.skills-container {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
}

.skill-item {
    display: flex;
    align-items: center;
    width: 45%;
    margin: 0 10px;
}

.skill-image {
    width: 100px;
    height: 100px;
    margin-right: 20px;
    object-fit: cover;
}

.skill-description {
    text-align: left;
}

.skill-description h3 {
    font-size: 1.5rem;
    color: black;
    margin-bottom: 10px;
    text-align: left;
}

.skill-description p {
    font-size: 1.3rem;
    color: black;
    line-height: 1.5;
    text-align: left;
}

/* Platformy Section */
#platformy {
    padding: 50px 20px;
    text-align: center;
}

.platforms-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 1%;
}

.platforms-container img {
    width: 8%;
    height: auto;
    object-fit: contain;
    margin: 0 10px;
}

/* Kontakt Section */
#kontakt {
    padding: 50px 20px;
    text-align: center;
    width: 50%;
    margin: 0 auto;
}

h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 40px;
}

.contact-container {
    display: block;
    gap: 10px;
}

.contact-info, .thank-you-sponsors {
    width: 100%;
    text-align: center;
}

.contact-item {
    font-size: 1.8rem;
    margin: 5px 0;
}

.sponsor-images {
    display: flex;
    justify-content: space-between;
    gap: 3%;
    margin-bottom: 10px;
}

.sponsor-image {
    width: 20%;
    height: auto;
    object-fit: contain;
}

.thank-you-text {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
}

/* Footer Section */
footer {
    position: relative;
    text-align: center;
    padding: 20px;
    color: #000;
    background-color: rgba(0, 0, 0, 0.7);
}

/* Media Queries for Mobile and Tablet */
@media screen and (max-width: 1024px) {
    /* Adjust navigation layout for tablets */
    nav ul {
        flex-direction: row;
        justify-content: space-evenly;
    }

    .hero-content h1 {
        font-size: 8rem;
    }

    .ohre-layout {
        flex-direction: column;
        gap: 20px;
    }

    .ohre-left, .ohre-center, .ohre-right {
        width: 100%;
    }

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

@media screen and (max-width: 768px) {
    /* Burger Menu */
    nav ul {
        display: none; /* Hide the navigation menu by default */
    }

    .burger-menu {
        display: block;
        cursor: pointer;
        position: absolute;
        right: 20px;
        top: 20px;
    }

    .burger-menu div {
        width: 30px;
        height: 5px;
        background-color: white;
        margin: 6px 0;
    }

    .nav-links {
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px;
        background-color: rgba(0, 0, 0, 0.8);
        padding: 20px;
        border-radius: 10px;
        width: 150px;
    }

    .nav-links.show {
        display: flex; /* Show links when the burger is clicked */
    }

    .nav-links a {
        color: white;
        text-decoration: none;
        font-size: 1.2rem;
        margin: 10px 0;
        text-align: right;
    }

    .hero-content h1 {
        font-size: 6rem;
    }

    .ohre-layout {
        flex-direction: column;
        gap: 20px;
    }

    .ohre-left, .ohre-center, .ohre-right {
        width: 100%;
    }
}
