﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #000;
    color: #fff;
    overflow-x: hidden;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.logo span {
    color: #d41c2a;
}

.logo-text {
    color: #ccc;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    color: #ccc;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
    color: #d41c2a;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav a {
    color: #ccc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

nav a:hover {
    color: #d41c2a;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #d41c2a;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.theme-toggle {
    cursor: pointer;
    color: #ccc;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.theme-toggle:hover {
    transform: rotate(30deg);
}

.hero {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    padding: 120px 5% 60px;
}

@media (max-width: 1024px) {
    .logo {
        font-size: 1.5rem;
    }

    nav ul {
        gap: 25px;
    }
}

@media (max-width: 900px) {
    .mobile-menu-btn {
        display: block;
    }

    nav ul {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 60px;
        gap: 30px;
        transition: left 0.3s ease;
    }

    nav ul.active {
        left: 0;
    }

    nav a {
        font-size: 1.5rem;
        padding: 15px 30px;
        display: block;
        text-align: center;
    }
}

@media (max-width: 600px) {
    header {
        padding: 15px 3%;
    }

    .logo {
        font-size: 1.3rem;
    }

    nav ul {
        top: 70px;
        height: calc(100vh - 70px);
    }
}
