/* =========================
   RESET + ROOT
========================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{
    --gold:#c6a45c;
    --gold-light:#e8c98f;
    --gold-dark:#9f7c3a;
    --gold-glow:rgba(198,164,92,0.45);
    --dark:#0c0c0c;
    --dark-2:#141414;
    --card:#1b1b1b;
    --text:#f1f1f1;
    --text-soft:#b8b8b8;
    --transition:0.4s ease;
}

/* =========================
   BODY
========================= */
body{
    font-family:'Cairo',sans-serif;
    background:
    radial-gradient(circle at top right,#1a1a1a,#0c0c0c 70%);
    color:var(--text);
    line-height:1.9;
    overflow-x:hidden;
}

/* =========================
   GLOBAL TEXT CENTER
========================= */
h1, h2, h3{
    text-align:center;
}

/* =========================
   LINKS
========================= */
a{
    text-decoration:none;
    color:inherit;
}

/* =========================
   HEADER
========================= */
header{
    position:fixed;
    top:0;
    right:0;
    width:100%;
    background:rgba(0,0,0,.92);
    backdrop-filter:blur(10px);
    padding:18px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    z-index:1000;
    border-bottom:1px solid rgba(198,164,92,.2);
}

.logo{
    color:var(--gold);
    font-size:24px;
    font-weight:bold;
    letter-spacing:1px;
}

nav a{
    margin-left:25px;
    font-weight:500;
    transition:var(--transition);
}

nav a::after{
    display:none;
}

nav a:hover{
    color:var(--gold-light);
}

/* =========================
   HERO
========================= */
.hero{
    height:65vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;

    background:
    linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.65)),
    url('../images/3.jpeg') center/cover no-repeat;

    margin-top:90px;
    position:relative;
}


/* =========================
   CONTAINER
========================= */
.container{
    width:100%;
    max-width:900px;
    margin:100px auto 80px;
    padding:0 20px;
    text-align:center;
}

/* =========================
   BLOG GRID
========================= */
.blog-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:35px;
    margin-top:50px;
}

.card{
    background:var(--card);
    border-radius:20px;
    overflow:hidden;
    border:1px solid rgba(198,164,92,.08);
    transition:var(--transition);
    box-shadow:0 0 25px rgba(0,0,0,.6);
    text-align:center;
}

.card:hover{
    transform:translateY(-12px);
    box-shadow:0 0 30px var(--gold-glow);
}

.card img{
    width:100%;
    height:230px;
    object-fit:cover;
    transition:var(--transition);
}

.card:hover img{
    transform:scale(1.07);
}

.card-content{
    padding:25px;
}

.card-content h2{
    color:var(--gold);
    margin-bottom:12px;
}

/* =========================
   BUTTON
========================= */
.btn{
    display:inline-block;
    margin-top:15px;
    padding:12px 28px;
    border-radius:50px;
    font-weight:bold;
    background:linear-gradient(45deg,var(--gold-dark),var(--gold-light));
    color:#000;
    transition:var(--transition);
}

.btn:hover{
    transform:translateY(-4px);
    box-shadow:0 0 18px var(--gold-glow);
}

/* =========================
   ARTICLE
========================= */
.article-title{
    font-size:42px;
    color:var(--gold);
    margin-bottom:30px;
}

.article p{
    margin:15px auto;
    max-width:750px;
    color:var(--text-soft);
    text-align:center;
}

.article h2{
    color:var(--gold-light);
    margin-top:35px;
    font-size:24px;
}

.article img{
    width:100%;
    max-width:800px;
    border-radius:20px;
    margin:35px auto;
    display:block;
    box-shadow:0 0 30px rgba(0,0,0,.7);
    transition:var(--transition);
}

.article img:hover{
    transform:scale(1.03);
}

/* =========================
   PROGRESS BAR
========================= */
.progress{
    position:fixed;
    top:0;
    right:0;
    height:5px;
    background:linear-gradient(90deg,var(--gold-dark),var(--gold-light));
    width:0%;
    z-index:9999;
}

/* =========================
   FOOTER
========================= */
footer{
    background:#000;
    padding:70px 10% 30px;
    margin-top:100px;
    border-top:1px solid rgba(198,164,92,.2);
    text-align:center;
}

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

.footer-section h3{
    color:var(--gold);
    margin-bottom:20px;
    font-size:18px;
}

.footer-section p,
.footer-section a{
    color:#aaa;
    font-size:14px;
    margin-bottom:10px;
    display:block;
    transition:var(--transition);
    text-decoration:none;
}

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

.footer-bottom{
    padding-top:20px;
    border-top:1px solid rgba(198,164,92,.1);
    color:#666;
    font-size:13px;
}

/* =========================
   ANIMATION
========================= */
.fade{
    opacity:0;
    transform:translateY(40px);
    transition:1s;
}

.fade.show{
    opacity:1;
    transform:translateY(0);
}

/* =========================
   RESPONSIVE
========================= */
@media(max-width:768px){

.hero h1{font-size:26px}
.article-title{font-size:28px}
nav{display:none}

}
