/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #000627;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-popup.show {
    opacity: 1;
    visibility: visible;
}

.cookie-content {
    background: #ffffff;
    color: #333;
    padding: 30px;
    border-radius: 55px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    border: 5px solid #00b2ff;
}

.cookie-content h3 {
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 1.5rem;
}

.cookie-content p {
    margin-bottom: 25px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-accept, .btn-refuse {
    background: #4e6ccd;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-accept:hover, .btn-refuse:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 156, 205, 0.3);
}

/* Header */
.header {
    background: linear-gradient(135deg, #4e85cd, #4453a0);
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: #1a1a1a;
    text-decoration: none;
    cursor: pointer;
}

.logo img {
    width: 40px;
    height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #2671ff;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #1a1a1a;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, rgba(74, 74, 74, 0.8), rgba(26, 26, 26, 0.8)),
                url('./assets/bg.png') center/cover;
    padding: 100px 0 50px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 40px;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 24, 179, 0.7);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    color: #f0f0f0;
}

.hero .highlight {
    font-weight: 600;
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 40px;
}



/* About Section */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, #4e8ecd, #4450a0);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-text h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.7;
    color: #ffffff;
}

.about .steam-btn {
    margin-top: 20px;
}

/* Advantages Section */
.advantages {
    padding: 80px 0;
    background: rgba(0, 3, 67, 0.95);
    position: relative;
}

.advantages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('./assets/advantages-bg.jpg') center/cover;
    opacity: 0.3;
    z-index: 0;
}

.advantages .container {
    position: relative;
    z-index: 1;
}

.advantages h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 60px;
    font-weight: 700;
    color: #ffffff;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.advantages-grid .advantage-card:nth-child(4) {
    grid-column: 1;
    grid-row: 2;
}

.advantages-grid .advantage-card:nth-child(5) {
    grid-column: 2;
    grid-row: 2;
}

.advantage-card {
    background: rgba(0, 7, 41, 0.8);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    border: 3px solid #4e50cd;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(78, 89, 205, 0.3);
    background: rgba(0, 17, 71, 0.9);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-icon img {
    width: 40px;
    height: 40px;
}

.advantage-card h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
    color: #4e9ccd;
    line-height: 1.3;
}

.advantage-card p {
    line-height: 1.6;
    color: #e0e0e0;
    font-size: 0.95rem;
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
    background: linear-gradient(135deg, #4eabcd, #4459a0);
}

.reviews h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 60px;
    font-weight: 700;
    color: #ffffff;
}

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

.review-card {
    background: rgba(0, 0, 0, 0.7);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 5px solid rgba(0, 128, 255, 0.8);
    transition: all 0.3s ease;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 63, 255, 0.3);
}

.reviewer-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviewer-icon img {
    width: 30px;
    height: 30px;
}

.review-card p {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
    color: #ffffff;
    font-size: 0.95rem;
    flex-grow: 1;
}

.stars {
    color: #0048ff;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.reviewer-name {
    font-weight: 600;
    color: #ffffff;
    font-style: italic;
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background: rgba(0, 10, 58, 0.95);
    position: relative;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('./assets/gallery-bg.jpg') center/cover;
    opacity: 0.3;
    z-index: 0;
}

.gallery .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.gallery h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 30px;
    font-weight: 700;
    color: #ffffff;
}

.gallery-description {
    max-width: 900px;
    margin: 0 auto 20px;
    line-height: 1.7;
    color: #e0e0e0;
    font-size: 1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 50px 0 40px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid #0095ff;
    transition: all 0.3s ease;
    aspect-ratio: 16/9;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 42, 255, 0.4);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: rgba(0, 8, 39, 0.95);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-form-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 30px;
    font-weight: 700;
    color: #ffffff;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input {
    padding: 15px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    background: #ffffff;
    color: #333;
    font-family: 'Inter', sans-serif;
}

.contact-form input:focus {
    outline: 2px solid #4e76cd;
}

.btn-submit {
    background: linear-gradient(135deg, #4eafcd, #4459a0);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 95, 205, 0.6);
}

.contact-image {
    border-radius: 15px;
    overflow: hidden;
}

.contact-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #4ea7cd, #4461a0);
    padding: 30px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    border-top: 2px solid rgba(0, 0, 0, 0.2);
    padding-top: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: #1a1a1a;
}

.footer-logo img {
    width: 40px;
    height: 40px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #1a1a1a;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-links a:hover {
    color: #0022af;
    text-decoration: underline;
}

.footer-links span {
    font-size: 0.9rem;
    color: #1a1a1a;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }
    
    .advantages-grid .advantage-card:nth-child(5) {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, #4ea1cd, #4456a0);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 30px 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hero {
        padding: 120px 20px 50px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: 2;
    }
    
    .about-text {
        order: 1;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid .advantage-card:nth-child(4),
    .advantages-grid .advantage-card:nth-child(5) {
        grid-column: 1;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-image {
        order: 1;
    }
    
    .contact-form-section {
        order: 2;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .cookie-content {
        margin: 20px;
        padding: 25px;
    }
    
    .cookie-buttons {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 640px) {
    .advantages-grid {
        gap: 20px;
    }
    
    .advantage-card {
        padding: 30px 20px;
        min-height: 250px;
    }
    
    .reviews-grid {
        gap: 20px;
    }
    
    .review-card {
        padding: 30px 20px;
        min-height: 280px;
    }
    
    .gallery-grid {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.9rem;
        margin-bottom: 30px;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .hero .highlight {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .advantages h2,
    .reviews h2,
    .gallery h2 {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    .about-text h2 {
        font-size: 1.6rem;
    }
    
    .contact-form-section h2 {
        font-size: 1.6rem;
    }
    
    .steam-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .advantage-card {
        padding: 25px 15px;
        min-height: 220px;
    }
    
    .advantage-card h3 {
        font-size: 1rem;
    }
    
    .advantage-card p {
        font-size: 0.9rem;
    }
    
    .review-card {
        padding: 25px 15px;
        min-height: 250px;
    }
    
    .review-card p {
        font-size: 0.9rem;
    }
    
    .gallery-description {
        font-size: 0.95rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.about-content,
.advantage-card,
.review-card,
.gallery-item {
    animation: fadeInUp 0.8s ease-out;
}

/* Loading States */
img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img.loaded {
    opacity: 1;
}

/* Focus States for Accessibility */
.steam-btn:focus,
.btn-submit:focus,
.btn-accept:focus,
.btn-refuse:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.contact-form input:focus {
    outline: 2px solid #4e72cd;
    outline-offset: 2px;
}

.nav-menu a:focus {
    outline: 2px solid #1a1a1a;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .advantage-card,
    .review-card {
        border-width: 4px;
    }
    
    .gallery-item {
        border-width: 4px;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Print Styles */
@media print {
    .header,
    .cookie-popup,
    .steam-btn,
    .btn-submit {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .hero,
    .about,
    .advantages,
    .reviews,
    .gallery,
    .contact,
    .footer {
        background: #fff !important;
        color: #000 !important;
    }
}