﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&display=swap');

/* 🔹 ОБЩИЕ СТИЛИ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #080A1A;
    color: #FFFFFF;
    text-align: center;
    overflow-x: hidden;
}

/* 🔹 ШАПКА */
header {
    background: #0D1124;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-shadow: 0px 4px 10px rgba(0, 255, 255, 0.2);
}

.logo {
    width: 120px;
    height: auto;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.8));
}

/* 🔹 НАВИГАЦИЯ */
nav a {
    color: cyan;
    margin: 10px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: 0.3s;
}

nav a:hover {
    text-shadow: 0px 0px 10px cyan;
    text-decoration: underline;
}

/* 🔹 ГЛАВНАЯ СТРАНИЦА */
.hero {
    padding: 100px 20px;
    background: url('../img/bg-hero.jpg') center/cover no-repeat;
    position: relative;
    color: #FFFFFF;
    text-align: center;
}

/* Затемнение фона */
.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Затемняем фон */
    z-index: 0;
}

/* 🔹 Выпуклый заголовок */
.hero h2 {
    font-size: 3em;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8), 
        -2px -2px 4px rgba(255, 255, 255, 0.4),
        4px 4px 8px rgba(0, 255, 255, 0.5);
    position: relative;
    z-index: 1;
}

/* 🔹 Выпуклый подзаголовок */
.hero p {
    font-size: 1.5em;
    font-weight: 400;
    color: #FFD700;
    text-shadow: 
        1px 1px 3px rgba(0, 0, 0, 0.8), 
        -1px -1px 2px rgba(255, 255, 255, 0.3),
        3px 3px 6px rgba(255, 215, 0, 0.5);
    position: relative;
    z-index: 1;
}

/* 🔹 КНОПКА */
.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 35px;
    font-size: 1.3em;
    font-weight: bold;
    background: linear-gradient(45deg, #00FFFF, #FF00FF);
    color: #0A0A0A;
    text-decoration: none;
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(0, 255, 255, 0.6);
    transition: all 0.3s ease-in-out;
    position: relative;
    z-index: 1;
}

.btn:hover {
    transform: scale(1.1);
    box-shadow: 0px 0px 25px rgba(255, 255, 255, 0.8);
}

/* 🔹 СТРАНИЦА НОВОСТЕЙ */
.news-list {
    background: url('../img/bg-news.jpg') center/cover no-repeat;
    padding: 60px 20px;
}

.news-list article {
    margin: 20px auto;
    max-width: 700px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid cyan;
    border-radius: 12px;
    box-shadow: 0px 0px 15px rgba(0, 255, 255, 0.3);
    transition: 0.3s;
}

.news-list article:hover {
    box-shadow: 0px 0px 25px rgba(0, 255, 255, 0.7);
    transform: scale(1.03);
}

.news-list h2 a {
    color: cyan;
    text-decoration: none;
    transition: 0.3s;
}

.news-list h2 a:hover {
    text-shadow: 0px 0px 10px cyan;
    text-decoration: underline;
}

/* 🔹 КАРТИНКИ НОВОСТЕЙ */
.news-img {
    width: 100%;
    max-width: 700px;
    border-radius: 12px;
    margin-bottom: 10px;
    box-shadow: 0px 0px 10px rgba(0, 255, 255, 0.5);
}

/* 🔹 СТРАНИЦА ПОЛНОЙ НОВОСТИ */
.full-article {
    padding: 60px 20px;
    max-width: 900px;
    margin: auto;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 12px;
    border: 2px solid cyan;
    box-shadow: 0px 0px 15px rgba(0, 255, 255, 0.4);
}

/* 🔹 ПОДВАЛ */
footer {
    background: #0D1124;
    padding: 25px;
    margin-top: 30px;
    font-size: 1em;
    color: #FFFFFF;
    text-shadow: 0px 0px 10px rgba(0, 255, 255, 0.5);
}
