/*
Theme Name: BenWine
Theme URI: https://benwine.dev/
Author: Ben Wine
Author URI: https://benwine.dev/
Description: A classic WordPress theme by Ben Wine.
Version: 1.0.0
Requires at least: 6.9
Requires PHP: 8.3
Text Domain: benwine
Tags: custom-menu, featured-images, translation-ready
*/

:root {
    --bg-color: #0f172a;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --accent-color: #a78bfa;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background gradient blobs to simulate liquid reflection */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    filter: blur(90px);
    border-radius: 50%;
    opacity: 0.5;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 40vw;
    height: 40vw;
    background: #3b82f6; /* Синий оттенок */
}

.blob-2 {
    bottom: -20%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: #8b5cf6; /* Пурпурный оттенок */
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Glassmorphism Panel Core */
.glass-panel, .glass-header, .glass-footer {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.glass-panel {
    border-radius: 24px;
    padding: 40px;
}

.glass-header {
    border-radius: 0 0 24px 24px;
    border-top: none;
    position: sticky;
    top: var(--wp-admin--admin-bar--height, 0px);
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 1px;
}

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

.nav-list li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 400;
}

.nav-list li a:hover {
    color: var(--text-primary);
}

.main-content {
    margin-top: 50px;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hero {
    text-align: center;
    padding: 60px 40px;
}

.hero h1 {
    font-size: 3.5rem;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.hero .subtitle {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin: 0 0 20px 0;
    font-weight: 400;
}

.hero-text {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 3rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.grid-2-col h2 {
    margin-top: 0;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 15px;
    margin-bottom: 25px;
    font-weight: 600;
}

.glass-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.glass-list li {
    display: flex;
    flex-direction: column;
}

.glass-list strong {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.glass-list span {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.glass-footer {
    border-radius: 24px 24px 0 0;
    border-bottom: none;
    margin-top: auto;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
}

.footer-inner p {
    margin: 0;
    color: var(--text-secondary);
}

.social-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .grid-2-col {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .stats {
        gap: 30px;
        flex-direction: column;
    }

    .header-inner {
        flex-direction: column;
        justify-content: center;
        gap: 15px;
        height: auto;
        padding: 20px 0;
    }

    .footer-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}


@media (max-width: 600px) {
    .glass-header {
        top: 0;
    }
}
