/*
Theme Name: Tahoon Final Premium
Author: OpenAI
Version: 10.0
*/

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

:root{
--dark:#0f172a;
--gold:#f59e0b;
--white:#ffffff;
--text:#334155;
--bg:#f8fafc;
}

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

html{
scroll-behavior:smooth;
}

body{
font-family:'Cairo',sans-serif;
direction:rtl;
background:var(--bg);
color:var(--text);
line-height:1.9;
padding-top:90px; /* حل مشكلة الهيدر */
}

.container{
width:92%;
max-width:1400px;
margin:auto;
}

/* =========================
   HEADER
========================= */

header{
position:fixed;
top:0;
right:0;
left:0;
width:100%;
height:90px;
background:rgba(15,23,42,.95);
backdrop-filter:blur(12px);
-webkit-backdrop-filter:blur(12px);
z-index:9999;
box-shadow:0 5px 25px rgba(0,0,0,.15);
}

.header-inner{
height:90px;
display:flex;
justify-content:space-between;
align-items:center;
}

.logo{
color:#fff;
font-size:34px;
font-weight:900;
text-decoration:none;
transition:.3s;
}

.logo:hover{
color:var(--gold);
}

.menu ul{
display:flex;
gap:35px;
list-style:none;
align-items:center;
}

.menu a{
color:#fff;
text-decoration:none;
font-weight:700;
position:relative;
transition:.3s;
}

.menu a:hover{
color:var(--gold);
}

.menu a::after{
content:"";
position:absolute;
bottom:-8px;
right:0;
width:0;
height:2px;
background:var(--gold);
transition:.3s;
}

.menu a:hover::after{
width:100%;
}

/* =========================
   HERO
========================= */

.hero{
min-height:calc(100vh - 90px);
background:
linear-gradient(rgba(0,0,0,.7),rgba(0,0,0,.7)),
url('https://images.unsplash.com/photo-1504307651254-35680f356dfd');
background-size:cover;
background-position:center;
display:flex;
align-items:center;
}

.hero-content{
max-width:760px;
color:#fff;
}

.hero h1{
font-size:82px;
line-height:1.1;
margin-bottom:25px;
font-weight:900;
}

.hero p{
font-size:24px;
margin-bottom:35px;
}

.btn{
display:inline-block;
padding:16px 34px;
background:var(--gold);
border-radius:12px;
text-decoration:none;
color:#fff;
font-weight:800;
transition:.3s;
}

.btn:hover{
transform:translateY(-3px);
}

/* =========================
   SECTIONS
========================= */

.section{
padding:110px 0;
}

.title{
text-align:center;
margin-bottom:60px;
}

.title h2{
font-size:52px;
color:var(--dark);
margin-bottom:15px;
}

.title p{
font-size:18px;
color:#64748b;
}

.grid{
display:flex;
flex-wrap:wrap;
justify-content:center;
gap:30px;
}

.card{
flex:0 1 400px;
background:#fff;
padding:40px;
border-radius:24px;
box-shadow:0 15px 40px rgba(0,0,0,.08);
transition:.4s;
}

.card:hover{
transform:translateY(-10px);
box-shadow:0 25px 50px rgba(0,0,0,.12);
}

.card h3{
font-size:28px;
margin-bottom:15px;
color:var(--dark);
}

.card p{
color:#475569;
}

/* =========================
   STATS
========================= */

.stats{
background:var(--dark);
color:#fff;
}

.stat{
text-align:center;
padding:40px;
background:#1e293b;
border-radius:24px;
}

.stat h3{
font-size:58px;
color:var(--gold);
margin-bottom:10px;
}

/* =========================
   FOOTER
========================= */

footer{
background:#020617;
color:#fff;
padding:80px 0;
}

.footer-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:40px;
}

.footer-grid ul{
list-style:none;
}

.footer-grid a{
color:#cbd5e1;
text-decoration:none;
transition:.3s;
}

.footer-grid a:hover{
color:var(--gold);
}

/* =========================
   MOBILE
========================= */

.mobile-btn{
display:none;
font-size:32px;
color:#fff;
cursor:pointer;
}

.mobile-menu{
display:none;
background:#111827;
padding:20px;
}

.mobile-menu.active{
display:block;
}

.mobile-menu ul{
list-style:none;
}

.mobile-menu li{
margin-bottom:15px;
}

.mobile-menu a{
color:#fff;
text-decoration:none;
font-size:18px;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:991px){

body{
padding-top:80px;
}

header{
height:80px;
}

.header-inner{
height:80px;
}

.menu{
display:none;
}

.mobile-btn{
display:block;
}

.hero{
min-height:calc(100vh - 80px);
text-align:center;
}

.hero h1{
font-size:46px;
}

.hero p{
font-size:18px;
}

.logo{
font-size:26px;
}

.card{
flex:1 1 100%;
}

.title h2{
font-size:36px;
}

}