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

/* ==========================================
   1. ПЕРЕМЕННЫЕ
   ========================================== */
:root {
    --bg-gradient: #000000; 
    --bg-texture: none;
    --header-bg: rgba(240, 237, 233, 0.95); 
    --header-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --text-main: #1E293B;
    --text-muted: #64748B;
    --card-bg: rgba(255, 255, 255, 0.6);
    --card-border: rgba(255, 255, 255, 0.8);
    --nav-link: #475569;
    --nav-hover: #000000;
    --accent: #d4af37;
    --shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* ==========================================
   2. ГЛОБАЛЬНЫЕ СТИЛИ
   ========================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    background-color: #000000; 
    overscroll-behavior-y: none; 
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: #000000; 
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

/* ==========================================
   3. ХЕДЕР И НАВИГАЦИЯ
   ========================================== */
.header {
    width: 100%; 
    padding: 25px 0; 
    position: fixed; 
    top: 0; 
    left: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none; 
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent; 
    transition: all 0.4s ease;
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 15px 0 !important; 
}

.header .logo,
.header .nav-links a,
.header .menu-btn {
    color: #ffffff !important;
    text-shadow: 0 2px 5px rgba(0,0,0,0.6);
}

.header .lang-switch { border-color: rgba(255, 255, 255, 0.4); background: rgba(0, 0, 0, 0.15); }
.header .lang-switch a { color: rgba(255, 255, 255, 0.8); }
.header .lang-switch a.active { color: #ffffff; background: rgba(255, 255, 255, 0.25); }
.header .theme-toggle { display: none; } 

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

.logo { font-weight: 600; display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; transition: color 0.3s; }
.logo-top { font-size: 1.1rem; letter-spacing: 5px; margin-right: -5px; }
.logo-bottom { font-size: 1.1rem; letter-spacing: 2px; margin-right: -2px; opacity: 0.9; }

.nav-right { display: flex; align-items: center; gap: 25px; }
.nav-links { display: flex; gap: 25px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.nav-links a { transition: color 0.3s; font-weight: 500; }
.nav-links a:hover, .nav-links a.active { opacity: 0.7; }

.controls { display: flex; align-items: center; gap: 10px; height: 34px; }
.lang-switch { display: flex; padding: 2px; border-radius: 8px; border: 1px solid; height: 100%; transition: all 0.3s; }
.lang-switch a { display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; padding: 0 10px; border-radius: 6px; transition: 0.3s; }
.menu-btn { display: none; background: none; border: none; font-size: 24px; cursor: pointer; transition: color 0.3s; }

/* ==========================================
   4. КОНТЕНТ ГЛАВНОЙ СТРАНИЦЫ
   ========================================== */
main { flex: 1; width: 100%; display: flex; flex-direction: column; align-items: center; }

.hero-main {
    width: 100%;
    aspect-ratio: 1792 / 1397; 
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.2)), url('/assets/hero.jpg');
    background-size: 100% auto; 
    background-repeat: no-repeat;
    background-position: top center; 
    margin-bottom: 0; 
}

.hero-second {
    width: 100%;
    aspect-ratio: 2112 / 1606; 
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.2)), url('/assets/hero-2.jpg');                      
    background-size: 100% auto; 
    background-repeat: no-repeat;
    background-position: top center; 
    margin-bottom: 80px; 
}

.fixed-text {
    position: fixed;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 100%; text-align: center; z-index: 10; pointer-events: none; padding: 0 20px;
}

.fixed-text h1, .fixed-text-bio h1 { 
    font-size: clamp(34px, 6vw, 72px); 
    font-weight: 500; 
    letter-spacing: 6px; 
    margin-bottom: 15px; 
    color: #ffffff; 
    text-shadow: 0 4px 15px rgba(0,0,0,0.6); 
}

.fixed-text p { 
    font-size: 16px; 
    color: rgba(255, 255, 255, 0.9); 
    letter-spacing: 2px; 
    line-height: 1.6; 
    margin: 0 auto; 
    text-shadow: 0 2px 10px rgba(0,0,0,0.6); 
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap; 
    gap: 12px; 
}

/* ==========================================
   5. ФУТЕР
   ========================================== */
.footer { 
    width: 100%; text-align: center; padding: 20px; font-size: 13px; letter-spacing: 1px; 
    position: fixed; bottom: 0; left: 0; z-index: 1000;
    background: rgba(0, 0, 0, 0.5) !important; 
    backdrop-filter: blur(15px) !important; 
    -webkit-backdrop-filter: blur(15px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.9) !important; text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}
.footer a { color: #ffffff !important; opacity: 0.9; }

/* ==========================================
   6. СТРАНИЦА "О НАС"
   ========================================== */
.split-hero { position: relative; width: 100%; height: 100vh; display: flex; }
.second-hero { margin-bottom: 80px; }
.half-img { flex: 1; height: 100%; background-size: cover; background-position: center center; position: relative; }
.half-img::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.25); }

.left-img-1  { background-image: url('/assets/about-1.jpg'); }
.right-img-1 { background-image: url('/assets/about-2.jpg'); }
.left-img-2  { background-image: url('/assets/about-3.jpg'); }
.right-img-2 { background-image: url('/assets/about-4.jpg'); }

/* ==========================================
   7. СТРАНИЦЫ УСЛУГ (ФОТО ВО ВЕСЬ ЭКРАН)
   ========================================== */
.full-img {
    width: 100%;
    height: 100vh; 
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.full-img::after { 
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; 
    background: rgba(0, 0, 0, 0.3); 
}

.interior-img-1 { background-image: url('/assets/interior-1.jpg'); }
.interior-img-2 { background-image: url('/assets/interior-2.jpg'); }
.interior-img-3 { background-image: url('/assets/interior-3.jpg'); }
.interior-img-4 { background-image: url('/assets/interior-4.jpg'); margin-bottom: 80px; }

.home-img-1 { background-image: url('/assets/home-1.jpg'); }
.home-img-2 { background-image: url('/assets/home-2.jpg'); }
.home-img-3 { background-image: url('/assets/home-3.jpg'); }
.home-img-4 { background-image: url('/assets/home-4.jpg'); margin-bottom: 80px; }

.landscaping-img-1 { background-image: url('/assets/landscaping-1.jpg'); }
.landscaping-img-2 { background-image: url('/assets/landscaping-2.jpg'); }
.landscaping-img-3 { background-image: url('/assets/landscaping-3.jpg'); }
.landscaping-img-4 { background-image: url('/assets/landscaping-4.jpg'); margin-bottom: 80px; }

/* ==========================================
   8. ЗАФИКСИРОВАННЫЙ ТЕКСТ
   ========================================== */
.fixed-text-bio {
    position: fixed; 
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 100%; text-align: center; z-index: 10; pointer-events: none; padding: 0 20px;
}

.values-list {
    margin: 0 auto 30px auto !important; 
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 15px !important;
    color: #ffffff;
    font-size: 16px;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.bio-text {
    color: #ffffff !important; 
    font-size: 16px !important;
    letter-spacing: 1px !important;
    line-height: 1.8 !important;
    max-width: 800px !important;
    margin: 0 auto !important; 
    text-transform: none !important;
    display: block !important;
    text-align: justify !important;
    text-align-last: center !important;
}

/* ==========================================
   9. СТЕКЛЯННАЯ ПАНЕЛЬ И КНОПКА
   ========================================== */
.glass-panel {
    padding: 30px 40px !important;
    margin: 0 auto !important;
    max-width: 800px !important;
    background: rgba(0, 0, 0, 0.4) !important; 
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 20px !important; 
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5) !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3) !important;
    pointer-events: auto !important; 
    transition: all 0.4s ease !important;
}

.glass-panel:hover {
    background: rgba(0, 0, 0, 0.3) !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7) !important;
    transform: translateY(-2px) !important;
}

.glass-btn {
    display: inline-block !important;
    padding: 16px 45px !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 30px !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    background: rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    transition: all 0.4s ease !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    text-shadow: none !important;
    cursor: pointer !important;
}

.glass-btn:hover {
    background: #ffffff !important;
    color: #000000 !important;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4) !important;
    transform: translateY(-2px) !important;
}

/* ==========================================
   10. АДАПТИВНОСТЬ (Mobile)
   ========================================== */
@media(max-width: 900px) {
    .header { padding: 15px 0; }
    .nav-inner { display: flex; flex-direction: row; justify-content: space-between; align-items: center; }
    .logo { z-index: 1002; position: relative; }
    .menu-btn { display: block !important; z-index: 1002; position: relative; color: #ffffff; }

    /* ФОН МЕНЮ (ПОЧТИ ЧЕРНЫЙ) */
    .nav-links { 
        display: flex; flex-direction: column; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; 
        background: rgba(0, 0, 0, 0.95) !important; 
        backdrop-filter: blur(25px) !important; -webkit-backdrop-filter: blur(25px) !important;
        justify-content: center; align-items: center; gap: 35px; 
        opacity: 0; visibility: hidden; transform: scale(1.05); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }
    .nav-links.active { opacity: 1; visibility: visible; transform: scale(1); }
    .nav-links a { font-size: 18px !important; letter-spacing: 4px; color: #ffffff !important; text-shadow: none; }

    .footer { padding: 15px 10px; display: flex; flex-direction: column; gap: 2px; }
    .footer div, .footer a { font-size: 10px !important; line-height: 1.2 !important; }
    .footer a { opacity: 0.7; }

    /* ИСПОЛЬЗУЕМ svh ЧТОБЫ ИЗБЕЖАТЬ ПРЫЖКОВ ПРИ СКРОЛЛЕ */
    .hero-main, .hero-second { aspect-ratio: auto; height: 100svh !important; background-size: cover; background-position: center center; margin-bottom: 0px !important; }
    .split-hero { flex-direction: column; height: 100svh !important; margin-bottom: 0px !important; }
    .half-img { width: 100%; height: 50%; }
    .full-img { height: 100svh !important; }
    .interior-img-4, .home-img-4, .landscaping-img-4 { margin-bottom: 0px !important; }

    /* Текст главной страницы в столбик без точек */
    .fixed-text p { flex-direction: column !important; gap: 8px !important; font-size: 11px !important; letter-spacing: 3px !important; white-space: normal !important; }
    .fixed-text p .bullet { display: none !important; }

    /* ФИКСИРУЕМ ПОЗИЦИЮ ТЕКСТА К svh, ЧТОБЫ ОН НЕ ПРЫГАЛ */
    .fixed-text, .fixed-text-bio { 
        position: fixed !important; 
        top: 50svh !important; 
        left: 50% !important; 
        transform: translate(-50%, -50%) !important; 
    }

    .values-list {
        flex-direction: column !important;
        gap: 8px !important;
        font-size: 11px !important;
        letter-spacing: 3px !important;
        margin-bottom: 20px !important;
    }
    .values-list .bullet { display: none !important; }

    .bio-text { font-size: 13px !important; letter-spacing: 0.5px !important; line-height: 1.6 !important; padding: 0 10px; margin-bottom: 0 !important; text-align: center !important; }
   
    .glass-panel { width: 90% !important; padding: 25px 20px !important; margin: 0px auto !important; backdrop-filter: blur(10px) !important; -webkit-backdrop-filter: blur(10px) !important; border-radius: 16px !important; }
    
    .glass-btn { padding: 14px 35px !important; font-size: 11px !important; letter-spacing: 2px !important; }
}
