﻿/* Global Styles */
:root {
    /* Dark color scheme */
    --primary-color: #2c2c2c;
    --secondary-color: #3a3a3a;
    --accent-color: #6d597a;
    --text-color: #e0e0e0;
    --text-dark: #b0b0b0;
    --background-color: #1a1a1a;
    --card-background: #2a2a2a;
    --button-color: #6d597a;
    --button-hover: #7d698a;
    --link-color: #b392ac;
    --link-hover: #d1b3c4;
    --border-color: #444444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--link-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--link-hover);
}

.btn {
    display: inline-block;
    background-color: var(--button-color);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: var(--button-hover);
    transform: translateY(-2px);
    color: white;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-color);
}

/* Header Styles */
header {
    background-color: var(--primary-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background-color: var(--secondary-color);
    padding: 100px 0;
    text-align: center;
    background-image: linear-gradient(rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.8));
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.logo-company {
    width: 400px;
    height: auto;
}

/* Games Section */
.games {
    padding: 80px 0;
    background-color: var(--background-color);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.game-card {
    background-color: var(--card-background);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.game-image {
    height: 200px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.05);
}

.game-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.game-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.game-info p {
    margin-bottom: 20px;
    color: var(--text-dark);
}

.store-links {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.store-link {
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.store-link.steam {
    background-color: #1b2838;
    color: white;
}

.store-link.epic {
    background-color: #2a2a2a;
    color: white;
}

.store-link:hover {
    opacity: 0.9;
    color: white;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--primary-color);
}

.about-content {
    display: block;
    max-width: 800px;
    margin: 0 auto;
    /*grid-template-columns: 3fr 2fr;*/
    /*gap: 40px;*/
    /*align-items: center;*/
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-dark);
    text-align: center;
    /*margin-bottom: 20px;*/
    /*color: var(--text-dark);*/
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--background-color);
    text-align: center;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-content p {
    margin-bottom: 30px;
    color: var(--text-dark);
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.contact-link {
    font-size: 1.2rem;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    padding: 10px 20px;
    border-radius: 5px;
    background-color: var(--card-background);
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background-color: var(--accent-color);
    color: white;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-content p {
    color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    nav ul li {
        margin-left: 0;
    }
    
    header .container {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .store-links {
        flex-direction: column;
    }
}