/*
Theme Name: Morocco Magazine Pro
Author: ChatGPT
Version: 1.0
Description: Professional Moroccan news & article selling WordPress theme.
*/

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

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

body{
font-family:'Poppins',sans-serif;
background:#0b1220;
color:white;
overflow-x:hidden;
}

.hero{
min-height:100vh;
background:
linear-gradient(rgba(0,0,0,.65),rgba(0,0,0,.8)),
url('https://images.unsplash.com/photo-1539020140153-e479b8c22e70?q=80&w=1600&auto=format&fit=crop');
background-size:cover;
background-position:center;
display:flex;
align-items:center;
justify-content:center;
padding:40px;
position:relative;
}

.overlay{
max-width:1200px;
width:100%;
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
align-items:center;
}

.badge{
display:inline-block;
background:#dc2626;
padding:10px 18px;
border-radius:999px;
font-size:14px;
margin-bottom:20px;
font-weight:600;
}

h1{
font-size:68px;
line-height:1.05;
margin-bottom:20px;
font-weight:700;
}

.highlight{
color:#22c55e;
}

.desc{
font-size:18px;
line-height:1.7;
color:#d1d5db;
margin-bottom:35px;
max-width:600px;
}

.btns{
display:flex;
gap:18px;
flex-wrap:wrap;
}

.btn{
padding:16px 28px;
border-radius:14px;
text-decoration:none;
font-weight:600;
transition:.3s;
}

.btn-primary{
background:#dc2626;
color:white;
}

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

.btn-secondary{
border:1px solid rgba(255,255,255,.2);
color:white;
background:rgba(255,255,255,.05);
backdrop-filter:blur(10px);
}

.card-area{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:20px;
}

.card{
background:rgba(255,255,255,.06);
backdrop-filter:blur(12px);
border:1px solid rgba(255,255,255,.1);
padding:25px;
border-radius:24px;
box-shadow:0 10px 40px rgba(0,0,0,.25);
}

.card h3{
margin-top:15px;
font-size:24px;
}

.card p{
margin-top:10px;
color:#cbd5e1;
line-height:1.6;
}

.icon{
font-size:42px;
}

.stats{
display:flex;
gap:20px;
margin-top:35px;
flex-wrap:wrap;
}

.stat{
background:rgba(255,255,255,.06);
padding:18px 24px;
border-radius:18px;
border:1px solid rgba(255,255,255,.08);
}

.stat strong{
display:block;
font-size:28px;
}

.ticker{
position:absolute;
bottom:0;
left:0;
width:100%;
background:#dc2626;
padding:14px;
overflow:hidden;
white-space:nowrap;
font-weight:600;
}

.ticker span{
display:inline-block;
padding-left:100%;
animation:ticker 22s linear infinite;
}

@keyframes ticker{
0%{transform:translateX(0)}
100%{transform:translateX(-100%)}
}

@media(max-width:900px){
.overlay{
grid-template-columns:1fr;
}

h1{
font-size:44px;
}

.card-area{
grid-template-columns:1fr;
}
}
