/* Основни стилове */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    text-align: justify;
    background-color: #E2DFD0;
    color: #524C42;
    line-height: 1.6;
    padding: 0;
}

/* Навигация */
header {
    background-color: #32012F;
    color: #E2DFD0;
    padding: 25px 0;
    text-align: center;
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    gap: 25px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: #F97300;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

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

/* Секция "Начало" */
#start {
    text-align: center;
    padding: 80px 20px;
    background-color: #F97300;
}

#start h1 {
    font-size: 3rem;
    color: #E2DFD0;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

/* Общи стилове за секции */
section {
    margin-bottom: 40px;
    padding: 40px 20px;
}

h2 {
    font-size: 2rem;
    color: #32012F;
    margin-bottom: 10px;
}

/* Секция "Проект" и "За нас" */
.section-content {
    padding-inline: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.section-image {
    width: 30%;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.text-content {
    width: 60%;
}

.text-content h2 {
    color: #32012F;
    margin-bottom: 10px;
}

.text-content p {
    font-size: 1.1rem;
    color: #524C42;
}

/* Секция "Игри" */
#games {
    background-color: #797061;
    color: #E2DFD0;
    padding: 80px 80px;
}

#games h2 {
    font-size: 2rem;
    color: #E2DFD0;
    text-align: center;
    margin-bottom: 30px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.game-item {
    background-color: #32012F;
    color: #E2DFD0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

.game-item img {
    width: 30%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.game-item img:hover {
    transform: scale(1.05);
}

.game-item h3 {
    margin-top: 15px;
    font-size: 1.6rem;
}

.game-item p {
    margin-top: 10px;
    font-size: 1rem;
}

.game-item .button {
    background-color: #F97300;
    color: #32012F;
    padding: 12px 20px;
    text-decoration: none;
    display: inline-block;
    border-radius: 8px;
    margin-top: 15px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.game-item .button:hover {
    background-color: #a23210;
    color: #E2DFD0;
}

/* Контакти */
#contact {
    background-color: #F97300;
    color: #524C42;
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 0px;
}

footer {
    background-color: #32012F;
    color: #E2DFD0;
    text-align: center;
    padding: 20px 0;
}

footer p {
    font-size: 1rem;
}

/* Стилове за вътрешната страница на играта */

#game-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #E2DFD0;
    border-radius: 15px;
}

.game-details-holder { 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.game-header h2 {
    font-size: 2.5rem;
    color: #32012F;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.game-header p {
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: #524C42;
    text-align: center;
}

.game-content {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    /* flex-wrap: wrap; */
}

.game-iframe {
    display: flex;
    justify-content: center;
    border: none;
    box-shadow: none;
}

.game-description {
    padding-left: 30px;
}

.game-description h3 {
    font-size: 1.5rem;
    color: #32012F;
    margin-bottom: 10px;
}

.game-description p {
    font-size: 1rem;
    color: #524C42;
}

/* Стилове за бутоните */

.back-button {
    text-align: center;
    margin-top: 40px;
}

.back-button .button {
    background-color: #32012F;
    color: #E2DFD0;
    padding: 12px 20px;
    text-decoration: none;
    display: inline-block;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
}

.back-button .button:hover {
    background-color: #F97300;
    color: #524C42;
}


