/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== BODY ===== */
body {
    font-family: Arial, sans-serif;
    color: white;
    background-image: url('barbarian-open-world-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* ===== OVERLAY ===== */
.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.6),
        rgba(0, 0, 0, 0.7),
        rgba(0, 0, 0, 0.9)
    );
    z-index: 1;
}

.slider img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.slider img:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

/* ===== HEADER ===== */
header {
    z-index: 2;
    padding: 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
}

.logo img {
    width: 200px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* ===== MAIN ===== */
main {
    flex: 1;
    z-index: 2;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ===== HEADINGS ===== */
h1 {
    text-align: center;
    margin-top: 10px;
    font-size: 2rem;
}

.highlight {
    color: #ffcc00;
    font-weight: bold;
}

/* ===== TEXT CONTAINER ===== */
.text-container {
    max-width: 700px;
    margin: 30px auto 20px auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 10px;
    text-align: center;
}

.text-container p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ===== SLIDER ===== */
.slider-container {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.slider {
    width: 100%;
    max-width: 600px;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
}

.slider-images {
    display: flex;
    transition: transform 0.5s ease;
}

.slider img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

/* ===== SLIDER BUTTONS ===== */
.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.slider-controls button {
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 10px;
    cursor: pointer;
}

.slider-controls button:hover {
    background: rgba(0,0,0,0.8);
}

/* ===== ABOUT SECTION ===== */
section {
    max-width: 700px;
    margin: 30px auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 10px;
    text-align: center;
}

section h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

section p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* ===== BUTTONS ===== */
.button-container {
    margin: 30px 0;
    text-align: center;
}

.button {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 14px 28px;
    margin: 10px;
    background-color: #8B0000;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    border: 2px solid #FFD700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    display: inline-block;
}

.button:hover {
    background-color: #A52A2A;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 15px rgba(0,0,0,0.5);
    color: #FFD700;
}

/* ===== FOOTER ===== */
footer {
    z-index: 2;
    padding: 20px;
    background: rgba(0,0,0,0.7);
    text-align: center;
    font-size: 0.9rem;
}

footer a {
    color: #FFD700;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* ===== STUDIO LOGO ===== */
.studio-logo img {
    width: 140px;
    margin: 20px 0;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.studio-logo img:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

    h1 {
        font-size: 1.5rem;
    }

    .text-container {
        padding: 15px;
    }

    .text-container p {
        font-size: 1rem;
    }

    .slider {
        max-width: 100%;
    }

    section {
        padding: 15px;
    }

    .button-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .button {
        width: 100%;
        max-width: 300px;
        font-size: 1rem;
        padding: 12px;
    }

    .logo img {
        width: 150px;
    }

    .studio-logo img {
        width: 120px;
    }
}