/* Stylizacja nagłówka */
.header {
    background-color: #2c3e50; /* Dark Blue */
    padding: 10px 20px;
    display: flex; /* Dodanie Flexbox */
    align-items: center; /* Wyrównanie w pionie */
    justify-content: flex-start; /* Wyrównanie elementów do lewej */
    gap: 20px; /* Zwiększony odstęp między elementami w headerze */
}

/* Logo w nagłówku */
.header .logo {
    padding-right: 40px; /* Dodanie odstępu po prawej stronie logo */
}

.header .logo img {
    max-height: 60px; /* Maksymalna wysokość logo */
    width: auto; /* Automatyczne dopasowanie szerokości */
}

/* Stylizacja nawigacji */
.navbar {
    display: flex; /* Użycie Flexbox dla układu */
    align-items: center; /* Wyśrodkowanie w pionie */
}

.navbar .nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.navbar .nav-links li {
    display: inline-block; /* Elementy w jednym rzędzie */
}

.navbar .nav-links li a {
    color: #fff; /* Kolor tekstu linków */
    text-decoration: none; /* Usunięcie podkreślenia */
    font-size: 1rem;
    transition: color 0.3s ease; /* Dodanie efektu przejścia */
}

.navbar .nav-links li a:hover {
    color: #f18f01; /* Zmiana koloru na hover */
}




/* Efekt Paralaksy dla sekcji Hero */
.hero.parallax {
    background-image: url('/images/header_image999.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px 20px;
    color: #fff;
    text-align: center;
}

/* Stylizacja tekstu w sekcji Hero */
.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.hero .btn {
    padding: 10px 30px;
    background-color: #f18f01; /* Orange from Logo */
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.hero .btn:hover {
    background-color: #c47001; /* Darker Orange on Hover */
}

/* Sekcja Hero */
.hero {
    text-align: center;
    padding: 60px 20px;
    background-color: #f4f4f4;
}

.hero h1, .hero p {
    color: #ffffff;
}

.hero .btn {
    background-color: #f18f01; /* Orange */
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
}

.hero .btn:hover {
    background-color: #c47001; /* Darker Orange */
}

/* Stylizacja tytułów sekcji */
section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: bold;
    color: #2c3e50;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Dekoracyjny pasek pod tytułem sekcji */
section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background-color: #f18f01; /* Orange */
    margin: 20px auto 0;
}

/* Media queries dla lepszej responsywności */
@media (max-width: 768px) {
    section h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    section h2 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
}

/* Stylizacja sekcji "About Us" */
.about-section {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 40px 20px;
    background-color: #fff;
    flex-wrap: wrap;
}

.about-text {
    max-width: 500px;
}

/* Wyśrodkowanie logo w sekcji "About Us" */
.about-logo {
    display: flex; /* Użycie Flexboxa */
    justify-content: center; /* Wyśrodkowanie logo w poziomie */
    align-items: center; /* Wyśrodkowanie logo w pionie, jeśli to konieczne */
    height: 100%; /* Zapewnienie pełnej wysokości dla wyrównania */
}

.about-logo img {
    max-width: 200px; /* Maksymalna szerokość logo */
    height: auto; /* Zachowanie proporcji */
}

/* Stylizacja sekcji "Our Games" */
.games-section {
    padding: 40px 20px;
    background-color: #f9f9f9;
}

.platform-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.platform-btn {
    padding: 10px 20px;
    background-color: #f18f01; /* Orange */
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.platform-btn.active, .platform-btn:hover {
    background-color: #c47001; /* Darker Orange */
}

.games-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
    width: 100%;
    min-height: 300px;
}

.game-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 1rem;
    max-width: 350px;
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
    display: block;
    flex: 0 1 350px;
    box-sizing: border-box;
}

.game-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1rem;
    object-fit: cover;
    max-height: 200px;
}

.platform-names {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
}

.platform-name {
    background-color: #e0f3ff;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 0.9rem;
    color: #1c6ea4;
}

.game-buttons {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.game-buttons .btn {
    padding: 0.5rem 1rem;
    background-color: #f18f01; /* Orange */
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.game-buttons .btn:hover {
    background-color: #c47001; /* Darker Orange */
}

/* Sekcja "Our Family" */
.family-section {
    padding: 40px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

/* Karta głównej spółki */
.parent-company {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.company-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 250px;
    text-align: center;
    margin: 20px;
    position: relative;
}

.company-logo {
    width: 80%;
    height: auto;
    margin-bottom: 15px;
}

.company-card h3 {
    margin: 10px 0;
    font-size: 1.2rem;
    color: #2c3e50;
}

.company-card p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 10px;
}

.btn {
    padding: 10px 20px;
    background-color: #f18f01; /* Orange */
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    display: inline-block;
    font-weight: bold;
}

.btn:hover {
    background-color: #c47001; /* Darker Orange */
}

/* Strzałki wskazujące zależności */
.arrows-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.arrow {
    font-size: 2rem;
    color: #666;
    margin: 0 20px;
}

/* Karty spółek zależnych i stowarzyszonych */
.subsidiaries-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Sekcja Osiągnięć */
.achievements-section {
    padding: 40px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.achievements-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 40px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.achievements-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background-color: #f18f01; /* Orange */
    margin: 20px auto 0;
}

.achievements-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.achievement {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 250px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.icon {
    font-size: 3rem;
    color: #1c6ea4;
    margin-bottom: 20px;
}

.counter {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
}

.achievement p {
    font-size: 1.1rem;
    color: #666;
    margin-top: 0;
}

/* Stylizacja sekcji "Blog" */
.blog-section {
    padding: 40px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.blog-post {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 1rem;
    width: 100%;
    max-width: 350px;
    text-align: center;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    align-items: center;
}

.blog-post img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1rem;
    object-fit: cover;
}

.blog-post h3 {
    font-size: 1.2rem;
    margin: 0.5rem 0;
    color: #2c3e50;
    text-align: center;
}

.blog-post .btn {
    padding: 0.5rem 1rem;
    background-color: #f18f01; /* Orange */
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease;
    margin-top: auto;
}

.blog-post .btn:hover {
    background-color: #c47001; /* Darker Orange */
}

/* Stylizacja sekcji "Our Videos" */
.videos-section {
    padding: 40px 20px;
    background-color: #f9f9f9;
}

.videos-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.video-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    max-width: 300px;
    text-align: center;
    margin-bottom: 2rem;
    display: block;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.video-thumbnail {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail {
    transform: scale(1.05);
}

.video-card h3 {
    font-size: 1.1rem;
    margin: 0.5rem 0;
    color: #2c3e50;
    font-weight: bold;
    transition: color 0.3s ease;
}

.video-card a {
    text-decoration: none;
}

.video-card a:hover h3 {
    color: #1c6ea4;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
    pointer-events: none;
    transition: color 0.3s ease;
}

.video-card:hover .play-icon {
    color: rgba(255, 255, 255, 1);
}

/* Stylizacja stopki */
.footer {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

/* Stylizacja dla wszystkich tytułów sekcji */
.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 40px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background-color: #f18f01; /* Orange */
    margin: 20px auto 0;
}

/* Contact Section */
.contact-section {
    padding: 50px 20px;
    background-color: #f4f4f4;
    text-align: center;
}

/* Contact Container */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual Contact Card */
.contact-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 300px; /* Set width for all cards */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.contact-card p {
    color: #666;
    line-height: 1.6;
}

/* Social Links */
.social-links {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-links li a {
    color: #2c3e50;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links li a:hover {
    color: #f18f01;
}

/* Scroll to Top Button */
#movetop {
    background-color: #f18f01;
    border: none;
    color: #fff;
    padding: 10px 15px;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
    cursor: pointer;
    margin-top: 20px;
}

#movetop:hover {
    background-color: #c47001;
}

/* Below Section */
.below-section {
    border-top: 1px solid #ddd;
    padding-top: 20px;
    margin-top: 30px;
}
.investor-relations-section {
    padding: 40px 20px;
    background-color: #f4f4f4;
    text-align: center;
}

.investor-relations-section h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
}
