/* Base Styles */
@font-face {
    font-family: 'Loos Extended';
    src: url('../font/loos-extended-regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Loos Extended';
    src: url('../font/loos-extended-light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Loos Extended';
    src: url('../font/loos-extended-medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Loos Extended';
    src: url('../font/loos-extended-bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Loos Extended';
    src: url('../font/loos-extended-black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

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

body {
    font-family: 'Loos Extended', sans-serif;
    background-color: #0a0a0a;
    color: #f5f5f5;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
    background: linear-gradient(135deg, #0a0a0a 0%, #111 50%, #1a1a1a 100%);
    background-attachment: fixed;
}

.container {
    width: 85%;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: #f5f5f5;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header Styles */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 90%;
    padding: 15px 30px;
    background-color: rgba(17, 17, 17, 0.7);
    backdrop-filter: blur(15px);
    z-index: 1000;
    transition: all 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

header.scrolled {
    padding: 10px 25px;
    border-radius: 30px;
}

.logo {
    display: flex;
    align-items: center;
    min-width: 45px;
    margin-right: 15px;
}

.logo img {
    height: 35px;
    transition: height 0.3s ease;
    display: block; /* Ensure logo is always displayed */
    opacity: 1 !important; /* Force visibility */
}

header.scrolled .logo img {
    height: 30px;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    font-weight: 300;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 8px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-links a:hover {
    color: #fff;
    background-color: rgba(147, 112, 219, 0.2);
}

.nav-links a.active {
    background-color: rgba(147, 112, 219, 0.3);
    color: #fff;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(147, 112, 219, 0.2) 0%, rgba(10, 10, 10, 0) 70%);
}

.hero .container {
    padding: 0 20px;
}

.gradient-text {
    font-family: 'Loos Extended', sans-serif;
    font-weight: 900;
    font-size: 5rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    position: relative;
    z-index: 2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    border: 2px solid #f5f5f5;
    color: #f5f5f5;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

.btn:hover {
    background-color: rgba(147, 112, 219, 0.7);
    border-color: rgba(147, 112, 219, 0.7);
    color: #fff;
}

/* Advantages Section */
.advantages {
    padding: 150px 0;
    background-color: transparent;
    position: relative;
    overflow: hidden;
}

.advantages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
    z-index: 0;
}

.advantages h2 {
    font-size: 3rem;
    margin-bottom: 50px;
    text-align: center;
    font-weight: 700;
    letter-spacing: 3px;
    position: relative;
    z-index: 2;
}

.advantages-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.advantage-card {
    flex-basis: 300px;
    background-color: rgba(34, 34, 34, 0.5);
    padding: 40px 30px;
    border-radius: 10px;
    border: 1px solid rgba(147, 112, 219, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at center, rgba(147, 112, 219, 0.3) 0%, rgba(147, 112, 219, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(147, 112, 219, 0.4);
}

.advantage-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
    color: #fff;
}

.advantage-card p {
    position: relative;
    z-index: 1;
    color: #ddd;
}

.advantage-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background-color: rgba(147, 112, 219, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* Products Section */
.products {
    padding: 120px 0;
    background-color: #111;
    position: relative;
    overflow: hidden;
}

.products h2 {
    font-size: 2.5rem;
    margin-bottom: 70px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.products-slider {
    position: relative;
    overflow: hidden;
    padding: 30px 0;
    z-index: 2;
}

.slider-container {
    width: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-out;
    will-change: transform;
}

.slide {
    min-width: 250px;
    height: 200px;
    margin: 0 15px;
    background-color: rgba(34, 34, 34, 0.5);
    border-radius: 10px;
    border: 1px solid rgba(147, 112, 219, 0.2);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.3s ease;
}

.slide:hover {
    transform: translateY(-10px);
    border-color: rgba(147, 112, 219, 0.5);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.slide:hover img {
    transform: scale(1.1);
}

/* Staff Section */
.staff {
    padding: 150px 0;
    background-color: transparent;
    position: relative;
    overflow: hidden;
}

.staff::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
    z-index: 0;
}

.staff h2 {
    font-size: 3rem;
    margin-bottom: 70px;
    text-align: center;
    font-weight: 700;
    letter-spacing: 3px;
    position: relative;
    z-index: 2;
}

.staff-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    position: relative;
    z-index: 2;
}

.staff-member {
    text-align: center;
    padding: 40px 30px;
    background-color: rgba(34, 34, 34, 0.3);
    border: 1px solid rgba(147, 112, 219, 0.2);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 250px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.staff-member::before {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at center, rgba(147, 112, 219, 0.3) 0%, rgba(147, 112, 219, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.staff-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(147, 112, 219, 0.4);
}

.staff-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #333;
    margin: 0 auto 20px;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
    border: 3px solid rgba(147, 112, 219, 0.3);
}

.staff-member:nth-child(1) .staff-img {
    background-image: url('../images/mryarg1ch.png');
}

.staff-member:nth-child(2) .staff-img {
    background-image: url('../images/ch0tes.png');
}

.staff-member:hover .staff-img {
    transform: scale(1.1) rotate(5deg);
}

.staff-member h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
}

.staff-member p {
    color: #ccc;
    position: relative;
    z-index: 1;
}

/* Footer */
footer {
    background-color: #0a0a0a;
    padding: 50px 0 20px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #111 0%, #0a0a0a 100%);
    z-index: 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 20px;
}

.footer-links, .footer-contact {
    margin-bottom: 30px;
}

.footer-links h3, .footer-contact h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: #f5f5f5;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a:hover {
    color: rgba(147, 112, 219, 0.8);
}

.footer-contact p {
    margin-bottom: 10px;
    color: #ccc;
}

.social-icons {
    display: flex;
    margin-top: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(147, 112, 219, 0.2);
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: rgba(147, 112, 219, 0.5);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

/* Animation Classes */
.parallax-element {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.p-slow {
    transition-duration: 0.8s;
}

.p-medium {
    transition-duration: 0.6s;
}

.p-fast {
    transition-duration: 0.4s;
}

.p-scale {
    transition-property: transform, opacity;
}

.p-rotate {
    transition-property: transform;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .gradient-text {
        font-size: 4rem;
    }
    
    .advantages-grid, .staff-grid {
        gap: 30px;
    }
    
    .advantage-card, .staff-member {
        flex-basis: 280px;
    }
}

@media (max-width: 768px) {
    .gradient-text {
        font-size: 3rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo, .footer-links, .footer-contact {
        margin: 0 auto 30px;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .advantages h2, .products h2, .staff h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .gradient-text {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .advantages h2, .products h2, .staff h2 {
        font-size: 2rem;
    }
    
    .advantage-card, .staff-member {
        padding: 30px 20px;
    }
}