/* --- css/global.css --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&family=Oswald:wght@500;700&display=swap');

:root {
    --bg-dark: #0a0a0a;
    --bg-card: #121212;
    --text-main: #ffffff;
    --text-muted: #b0b0b0;
    
    /* ОРАНЖЕВАЯ ПАЛИТРА */
    --accent-primary: #ff9100;    /* Bright Amber */
    --accent-secondary: #ff5500; /* Deep Orange */
    --gradient: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    
    --shadow: 0 10px 30px rgba(255, 85, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

main { flex: 1; } /* Прижимает футер к низу */

h1, h2, h3, h4 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* HEADER & NAV */
header {
    position: fixed;
    top: 0; width: 100%;
    padding: 20px 50px;
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 145, 0, 0.2);
}

.logo {
    font-size: 24px; font-weight: 700;
    color: var(--accent-primary);
    text-shadow: 0 0 15px rgba(255, 145, 0, 0.4);
}

nav ul { display: flex; gap: 30px; }
nav a { font-size: 14px; font-weight: 600; text-transform: uppercase; position: relative; }
nav a:hover { color: var(--accent-primary); }
nav a::after {
    content: ''; position: absolute; width: 0; height: 2px;
    bottom: -5px; left: 0; background: var(--accent-primary);
    transition: var(--transition);
}
nav a:hover::after { width: 100%; }
.burger { display: none; cursor: pointer; font-size: 24px; color: var(--accent-primary); }

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border: 2px solid var(--accent-primary);
    color: var(--text-main);
    font-weight: 700; text-transform: uppercase;
    position: relative; overflow: hidden; z-index: 1;
    cursor: pointer;
}
.btn::before {
    content: ''; position: absolute;
    top: 0; left: 0; width: 0%; height: 100%;
    background: var(--accent-primary);
    z-index: -1; transition: var(--transition);
}
.btn:hover::before { width: 100%; }
.btn:hover { color: #000; } 
.btn-glow { box-shadow: 0 0 20px rgba(255, 145, 0, 0.4); }

/* COMMON LAYOUTS */
section { padding: 100px 10%; }

/* !!! ИЗМЕНЕНИЯ ЗДЕСЬ !!! */
.section-title {
    font-size: 2.5rem; margin-bottom: 50px; text-align: center;
    
    /* Левая черта (была) */
    border-left: 5px solid var(--accent-primary);
    padding-left: 20px;
    
    /* Правая черта (новая) */
    border-right: 5px solid var(--accent-primary);
    padding-right: 20px;
    
    display: inline-block;
}

/* ANIMATION CLASSES */
.fade-in-up { opacity: 1 !important; transform: translateY(0) !important; }
.hidden-el { opacity: 0; transform: translateY(20px); transition: all 0.6s ease-out; }

/* FOOTER */
footer {
    background: #050505; padding: 50px 10%;
    border-top: 1px solid rgba(255, 145, 0, 0.1);
    text-align: center; color: var(--text-muted);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    header { padding: 20px; }
    .burger { display: block; }
    nav ul {
        position: fixed; top: 0; right: -100%;
        width: 70%; height: 100vh; background: #000;
        flex-direction: column; padding: 100px 40px; transition: 0.4s;
        border-left: 2px solid var(--accent-primary);
    }
    nav ul.active { right: 0; }
}