/*
Theme Name: DZH Themes
Theme URI: https://dzh-case.site/
Author: Your Name
Author URI: https://dzh-case.site/
Description: A custom portfolio theme to showcase projects with a minimalist and modern design.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-portfolio, minimalist, three-js
Text Domain: dzhthemes
*/

/* --- Базовые стили и сброс --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif; /* Мы подключили этот шрифт */
    background-color: #111;
    color: #e0e0e0;
    line-height: 1.6;
}

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

a {
    color: #00aaff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #fff;
}

h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

header.site-header a,
header.site-header a:hover {
    color: inherit; /* Убираем синий цвет у заголовка сайта */
    text-decoration: none;
}


/* --- Стили для главного экрана (Hero) --- */
.hero {
    height: 100vh; /* На весь экран */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

#hero-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Фон */
}

.hero-content {
    position: relative;
    z-index: 2; /* Текст поверх фона */
    padding: 20px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    color: #aaa;
}

/* --- Стили для секции Проекты --- */
.projects {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.projects h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Адаптивная сетка */
    gap: 30px;
}

.project-card {
    background-color: #222;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.project-card h3 {
    margin-bottom: 15px;
}

/* --- Стили для подвала --- */
.site-footer {
    text-align: center;
    padding: 40px 20px;
    background-color: #111;
    font-size: 0.9rem;
    color: #777;
}

/* --- Стили для иконок социальных сетей --- */

.hero-social-links,
.footer-social-links {
    display: flex;
    justify-content: center;
    gap: 20px; /* Расстояние между иконками */
}

/* Стили для иконок на главном экране */
.hero-social-links {
    margin-top: 30px;
}

.hero-social-links a {
    color: #aaa; /* Цвет иконок по умолчанию */
    transition: color 0.3s ease, transform 0.3s ease;
}

.hero-social-links a:hover {
    color: #fff; /* Цвет при наведении */
    transform: scale(1.1); /* Немного увеличиваем при наведении */
}

/* Стили для иконок в подвале */
.footer-social-links {
    margin-bottom: 20px;
}

.footer-social-links a {
    color: #777; /* Цвет иконок по умолчанию */
    transition: color 0.3s ease;
}

.footer-social-links a:hover {
    color: #ccc; /* Цвет при наведении */
}