*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Segoe UI',sans-serif;
scroll-behavior:smooth;
}

body{
background:#faf8f2;
color:#222;
}

nav{
position:fixed;
top:0;
width:100%;
background:rgba(0,0,0,.8);
backdrop-filter:blur(10px);
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 8%;
z-index:999999;
left:0;
}

.logo{
display:flex;
align-items:center;
gap:10px;
}

.logo img{
width:55px;
height:55px;
border-radius:50%;
}

.logo h2{
color:rgb(209, 208, 202);
}

nav ul{
display:flex;
list-style:none;
}

nav ul li{
margin-left:25px;
}

nav ul li a{
text-decoration:none;
color:white;
font-size:18px;
transition:.4s;
}

nav ul li a:hover{
color:gold;
}

.hero{
height:100vh;
background:url("images/header.jpg");
background-size:cover;
background-position:center;
display:flex;
justify-content:center;
align-items:center;
text-align:center;
position:relative;
}

.hero::before{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,.6);
}

.hero-content{
position:relative;
z-index:2;
}

.hero-content h1{
font-size:70px;
color:gold;
}

.hero-content p{
font-size:22px;
margin-top:20px;
}

.btn{
display:inline-block;
padding:15px 35px;
background:gold;
color:black;
text-decoration:none;
border-radius:8px;
margin-top:30px;
font-weight:bold;
transition:.5s;
}

.btn:hover{
background:white;
transform:translateY(-5px);
}

section{
padding:100px 10%;
}

.title{
text-align:center;
color:rgb(26, 23, 11);
font-size:40px;
margin-bottom:30px;
}

.about{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
align-items:center;
}

.about img{
width:100%;
border-radius:15px;
}

.about-text p{
line-height:1.9;
font-size:18px;
color:#444;
}

.stats{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:20px;
margin-top:40px;
}

.card{
background:rgb(160, 58, 58);
padding:40px;
border-radius:15px;
text-align:center;
transition:.5s;
box-shadow:0 5px 20px rgba(0,0,0,.1);
}

.card:hover{
transform:translateY(-10px);
}

.card h1{
color:gold;
font-size:45px;
}

footer{
background:#222;
color:white;
text-align:center;
padding:30px;
margin-top:50px;
}

.card img{
transition:.5s;
}

.card img:hover{
transform:scale(1.05);
}

.card p{
line-height:1.8;
}

form{
width:70%;
}

input,
textarea{
width:100%;
padding:18px;
background:#1d1d1d;
border:none;
outline:none;
color:white;
border-radius:10px;
font-size:17px;
}

button{
border:none;
cursor:pointer;
}

#success-message{
margin-top:20px;
font-size:18px;
color:green;
font-weight:bold;
}

@media(max-width:768px){

.about{
grid-template-columns:1fr;
}

.hero-content h1{
font-size:40px;
}

nav{
flex-direction:column;
}

nav ul{
flex-direction:column;
text-align:center;
}

nav ul li{
margin:10px 0;
}

form{
width:95%;
}

}

.hero-home{
height:100vh;
background:url("images/header.jpeg");
background-size:cover;
background-position:center;
display:flex;
align-items:center;
justify-content:center;
position:relative;
overflow:hidden;
}

.hero-overlay{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.6);
display:flex;
align-items:center;
justify-content:center;
z-index:0;
}

.hero-content{
text-align:center;
z-index:1;
color:white;
position:relative;
}

.hero-content h1{
font-size:65px;
color:gold;
}

.hero-content p{
font-size:22px;
margin-top:15px;
}

.btn{
display:inline-block;
padding:15px 35px;
background:gold;
color:black;
text-decoration:none;
border-radius:8px;
margin-top:25px;
font-weight:bold;
transition:0.3s;
}

.btn:hover{
background:white;
transform:translateY(-5px);
}

.menu-toggle{
display:none;
font-size:30px;
color:gold;
cursor:pointer;
position:relative;
z-index:10000;
}

.stats .card{
text-align:center;
}

.stats .card h1{
font-size:40px;
margin-bottom:10px;
}

.stats .card h3{
color:gold;
margin-bottom:10px;
}

.stats .card p{
color:#ccc;
font-size:14px;
line-height:1.6;
}

.telegram-btn{
background:#229ED9;
color:white;
}

.telegram-btn:hover{
background:#1b8ac6;
color:white;
}

/* PRELOADER */
/* ===== PRELOADER ===== */

#preloader{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:#161512;
display:flex;
justify-content:center;
align-items:center;
z-index:99999999;
transition:opacity .5s ease, visibility .5s ease;
}

.preloader-content{
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
}

.preloader-title{
font-size:32px;
font-weight:700;
color:#b9b8b5;
margin-bottom:25px;
letter-spacing:2px;
text-transform:uppercase;
}

.gold-spinner{
width:70px;
height:70px;
border:6px solid rgba(212,175,55,0.2);
border-top:6px solid #d4af37;
border-radius:50%;
animation:spin 0.8s linear infinite;
}

@keyframes spin{
0%{
transform:rotate(0deg);
}
100%{
transform:rotate(360deg);
}
}

#preloader.hide{
opacity:0;
visibility:hidden;
pointer-events:none;
}



@media(max-width:768px){

nav{
flex-direction:row;
justify-content:space-between;
align-items:center;
}

.menu-toggle{
display:block;
font-size:30px;
color:gold;
cursor:pointer;
z-index:100000;
}

nav ul{
position:fixed;
top:85px;
left:0;
width:100%;
background:black;
display:none;
flex-direction:column;
text-align:center;
padding:20px 0;
z-index:99998;
}

nav ul.show{
display:flex;
}

nav ul li{
margin:15px 0;
}

.about{
grid-template-columns:1fr;
}

.hero-content h1{
font-size:40px;
}

form{
width:95%;
}

}