/* Ogólne style */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
}

h1, h2, h3 {
    color: #333;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.btn {
    display: inline-block;
    color: #fff;
    background: #007bff;
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #0056b3;
    text-decoration: none;
}

.small-btn {
    padding: 8px 15px;
    font-size: 0.9em;
}

/* Header */
header {
    background: #333;
    color: #fff;
    padding-top: 20px;
    min-height: 70px;
    border-bottom: #007bff 3px solid;
}

header h1 {
    float: left;
    margin: 0;
    color: #fff;
}

header nav {
    float: right;
    margin-top: 10px;
}

header ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

header li {
    display: inline;
    padding: 0 15px;
}

header a {
    color: #fff;
    text-transform: uppercase;
    font-size: 16px;
}

header a:hover {
    color: #007bff;
    font-weight: bold;
    text-decoration: none;
}

/* Hero Section */
#hero {
    min-height: 400px;
    background: #50b3a2 url('https://via.placeholder.com/1500x400/007bff/ffffff?text=Ntto+Studios+Hero') no-repeat center center/cover; /* Zastąp link do obrazu */
    text-align: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#hero h2 {
    font-size: 3em;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

#hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Sekcje treści */
section {
    padding: 40px 0;
    margin-bottom: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5em;
}

/* Game List */
.game-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.game-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.game-card h3 {
    color: #007bff;
    margin-bottom: 10px;
}

/* Formularz kontaktowy */
form {
    max-width: 600px;
    margin: auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

form input[type="text"],
form input[type="email"],
form textarea {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

form button {
    width: 100%;
    border: none;
    cursor: pointer;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 30px 0;
    margin-top: 20px;
}

footer .social-links a {
    color: #fff;
    margin: 0 10px;
    font-size: 1.1em;
}

footer .social-links a:hover {
    color: #007bff;
}

/* Responsywność */
@media (max-width: 768px) {
    header h1,
    header nav {
        float: none;
        text-align: center;
    }

    header nav ul {
        padding-top: 10px;
    }

    header li {
        display: block;
        padding: 5px 0;
    }

    #hero h2 {
        font-size: 2.5em;
    }

    .game-list {
        grid-template-columns: 1fr;
    }
}