/*
Theme Name: SahhaNaturelle
Theme URI: https://sahhanaturelle.com
Description: مدونة صحية طبيعية — صحة المرأة والمكملات الطبيعية
Author: SahhaNaturelle
Version: 1.0
Text Domain: sahha
*/

/* ========================================
   CSS VARIABLES
======================================== */
:root{
    --sn-bg:#faf8f5;
    --sn-surface:#fff;
    --sn-surface-2:#f2f7f4;
    --sn-border:#e2ebe6;
    --sn-text:#1a2e23;
    --sn-text-body:#4a5d52;
    --sn-muted:#7a8f82;
    --sn-green:#2d6a4f;
    --sn-green-lt:#52b788;
    --sn-green-soft:#d8f3dc;
    --sn-pink:#e8a0bf;
    --sn-pink-soft:#fce4ec;
    --sn-gold:#c9a84c;
    --sn-dark:#1a2e23;
    --sn-white:#fff;
    --font-ar:'Cairo','Tajawal',sans-serif;
    --font-d:'Amiri','Georgia',serif;
    --sh-s:0 2px 12px rgba(0,0,0,.04);
    --sh-m:0 8px 30px rgba(0,0,0,.06);
    --radius:16px;
}

/* ========================================
   RESET & BASE
======================================== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

html{scroll-behavior:smooth}

body{
    font-family:var(--font-ar);
    background:var(--sn-bg);
    color:var(--sn-text-body);
    line-height:1.85;
    direction:rtl;
    text-align:right;
    -webkit-font-smoothing:antialiased;
}

img{max-width:100%;height:auto;display:block}
a{text-decoration:none;color:inherit;transition:all .3s ease}

h1,h2,h3,h4{
    font-family:var(--font-d);
    color:var(--sn-text);
    font-weight:600;
    line-height:1.3;
}

/* ========================================
   LAYOUT
======================================== */
.ctn{
    max-width:1200px;
    margin:0 auto;
    padding:0 20px;
}

.sp{
    padding:clamp(60px,8vw,100px) 0;
}

/* ========================================
   HEADER
======================================== */
.site-header{
    position:fixed;
    top:0;
    right:0;
    left:0;
    z-index:100;
    background:rgba(255,255,255,.95);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    border-bottom:1px solid var(--sn-border);
    transition:all .3s ease;
}

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

.logo{
    font-family:var(--font-d);
    font-size:1.6rem;
    font-weight:700;
    color:var(--sn-green);
}

.logo span{
    color:var(--sn-pink);
}

.nav-links{
    display:flex;
    gap:32px;
    align-items:center;
    list-style:none;
}

.nav-links a{
    font-family:var(--font-ar);
    font-size:.9rem;
    font-weight:500;
    color:var(--sn-text);
    transition:color .3s ease;
    padding:8px 0;
}

.nav-links a:hover{
    color:var(--sn-green);
}

.nav-cta{
    background:var(--sn-green);
    color:#fff!important;
    padding:10px 24px!important;
    border-radius:50px;
    font-size:.85rem!important;
}

.nav-cta:hover{
    background:var(--sn-green-lt)!important;
}

.mobile-toggle{
    display:none;
    background:none;
    border:none;
    font-size:1.5rem;
    cursor:pointer;
    color:var(--sn-text);
}

/* ========================================
   HERO
======================================== */
.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    position:relative;
    overflow:hidden;
    background:linear-gradient(135deg,var(--sn-green-soft) 0%,var(--sn-pink-soft) 50%,var(--sn-bg) 100%);
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:650px;
    padding:120px 0 80px;
}

.hero-label{
    display:inline-block;
    background:var(--sn-green);
    color:#fff;
    font-size:.75rem;
    font-weight:600;
    letter-spacing:1.5px;
    padding:6px 18px;
    border-radius:50px;
    margin-bottom:20px;
}

.hero h1{
    font-family:var(--font-d);
    font-size:clamp(2.2rem,5vw,3.5rem);
    color:var(--sn-text);
    margin-bottom:20px;
    line-height:1.2;
}

.hero h1 em{
    font-style:normal;
    color:var(--sn-green);
}

.hero-desc{
    font-size:clamp(1rem,1.2vw,1.15rem);
    color:var(--sn-text-body);
    line-height:1.9;
    margin-bottom:32px;
}

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

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:48px;
    padding:14px 32px;
    font-family:var(--font-ar);
    font-size:.9rem;
    font-weight:600;
    border-radius:50px;
    cursor:pointer;
    transition:all .3s ease;
    border:none;
}

.btn-primary{
    background:var(--sn-green);
    color:#fff;
}

.btn-primary:hover{
    background:var(--sn-green-lt);
    transform:translateY(-2px);
    box-shadow:0 8px 25px rgba(45,106,79,.25);
}

.btn-outline{
    background:transparent;
    color:var(--sn-green);
    border:2px solid var(--sn-green);
}

.btn-outline:hover{
    background:var(--sn-green);
    color:#fff;
}

.hero-image{
    position:absolute;
    left:0;
    top:50%;
    transform:translateY(-50%);
    width:45%;
    max-width:500px;
}

.hero-image img{
    width:100%;
    filter:drop-shadow(0 20px 40px rgba(0,0,0,.1));
}

/* ========================================
   FEATURES STRIP
======================================== */
.features-strip{
    background:var(--sn-white);
    border-top:1px solid var(--sn-border);
    border-bottom:1px solid var(--sn-border);
    padding:28px 0;
}

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

.feature-item{
    display:flex;
    align-items:center;
    gap:12px;
    text-align:right;
}

.feature-icon{
    font-size:1.5rem;
}

.feature-text{
    font-size:.85rem;
    font-weight:600;
    color:var(--sn-text);
}

.feature-sub{
    font-size:.75rem;
    color:var(--sn-muted);
}

/* ========================================
   SECTION HEADERS
======================================== */
.section-header{
    text-align:center;
    margin-bottom:40px;
}

.section-label{
    display:inline-block;
    font-size:.75rem;
    font-weight:600;
    letter-spacing:2px;
    color:var(--sn-green);
    margin-bottom:10px;
}

.section-title{
    font-family:var(--font-d);
    font-size:clamp(1.8rem,3vw,2.8rem);
    color:var(--sn-text);
    margin-bottom:12px;
}

.section-desc{
    color:var(--sn-muted);
    font-size:1rem;
    max-width:600px;
    margin:0 auto;
    line-height:1.8;
}

/* ========================================
   PRODUCT CARD
======================================== */
.product-card{
    background:var(--sn-white);
    border:1px solid var(--sn-border);
    border-radius:var(--radius);
    overflow:hidden;
    transition:all .4s ease;
}

.product-card:hover{
    transform:translateY(-6px);
    box-shadow:var(--sh-m);
    border-color:var(--sn-green-lt);
}

.product-img{
    position:relative;
    padding-top:70%;
    overflow:hidden;
    background:var(--sn-surface-2);
}

.product-img img{
    position:absolute;
    top:0;
    right:0;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .6s ease;
}

.product-card:hover .product-img img{
    transform:scale(1.05);
}

.product-badge{
    position:absolute;
    top:16px;
    right:16px;
    background:var(--sn-green);
    color:#fff;
    font-size:.7rem;
    font-weight:700;
    padding:5px 14px;
    border-radius:50px;
}

.product-body{
    padding:24px;
}

.product-cat{
    font-size:.7rem;
    font-weight:600;
    letter-spacing:1.5px;
    color:var(--sn-green);
    margin-bottom:10px;
}

.product-title{
    font-family:var(--font-d);
    font-size:1.2rem;
    color:var(--sn-text);
    margin-bottom:12px;
    font-weight:600;
    line-height:1.4;
}

.product-excerpt{
    font-size:.88rem;
    color:var(--sn-muted);
    line-height:1.8;
    margin-bottom:18px;
}

.product-footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding-top:16px;
    border-top:1px solid var(--sn-border);
}

.product-price{
    font-family:var(--font-d);
    font-size:1.3rem;
    color:var(--sn-green);
    font-weight:700;
}

.product-price small{
    font-size:.7rem;
    color:var(--sn-muted);
    font-weight:400;
}

.product-link{
    background:var(--sn-green);
    color:#fff;
    padding:8px 20px;
    border-radius:50px;
    font-size:.8rem;
    font-weight:600;
    transition:all .3s ease;
}

.product-link:hover{
    background:var(--sn-green-lt);
}

/* ========================================
   BENEFITS SECTION
======================================== */
.benefits-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(min(280px,100%),1fr));
    gap:24px;
}

.benefit-card{
    background:var(--sn-white);
    border:1px solid var(--sn-border);
    border-radius:var(--radius);
    padding:32px 28px;
    text-align:center;
    transition:all .3s ease;
}

.benefit-card:hover{
    transform:translateY(-4px);
    box-shadow:var(--sh-m);
}

.benefit-icon{
    font-size:2.5rem;
    margin-bottom:16px;
}

.benefit-title{
    font-family:var(--font-d);
    font-size:1.15rem;
    color:var(--sn-text);
    margin-bottom:10px;
    font-weight:600;
}

.benefit-text{
    font-size:.88rem;
    color:var(--sn-muted);
    line-height:1.8;
}

/* ========================================
   BLOG CARDS
======================================== */
.blog-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(min(340px,100%),1fr));
    gap:24px;
}

.blog-card{
    display:block;
    background:var(--sn-white);
    border:1px solid var(--sn-border);
    border-radius:var(--radius);
    overflow:hidden;
    transition:all .4s ease;
}

.blog-card:hover{
    transform:translateY(-4px);
    box-shadow:var(--sh-m);
}

.blog-card-img{
    overflow:hidden;
}

.blog-card-img img{
    width:100%;
    aspect-ratio:16/10;
    object-fit:cover;
    transition:transform .6s ease;
}

.blog-card:hover .blog-card-img img{
    transform:scale(1.05);
}

.blog-card-body{
    padding:24px;
}

.blog-card-cat{
    font-size:.7rem;
    font-weight:600;
    letter-spacing:1.5px;
    color:var(--sn-green);
    margin-bottom:10px;
}

.blog-card-title{
    font-family:var(--font-d);
    font-size:1.2rem;
    color:var(--sn-text);
    margin-bottom:10px;
    font-weight:600;
    line-height:1.35;
}

.blog-card-excerpt{
    font-size:.88rem;
    color:var(--sn-muted);
    line-height:1.75;
}

/* ========================================
   TESTIMONIALS
======================================== */
.testimonial-card{
    background:var(--sn-white);
    border:1px solid var(--sn-border);
    border-radius:var(--radius);
    padding:32px 28px;
}

.testimonial-stars{
    color:var(--sn-gold);
    font-size:.9rem;
    letter-spacing:2px;
    margin-bottom:14px;
}

.testimonial-text{
    font-family:var(--font-d);
    font-size:1rem;
    font-style:italic;
    color:var(--sn-text-body);
    line-height:1.85;
    margin-bottom:18px;
}

.testimonial-author{
    display:flex;
    align-items:center;
    gap:12px;
}

.testimonial-avatar{
    width:42px;
    height:42px;
    border-radius:50%;
    background:var(--sn-green);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
    font-size:.95rem;
    flex-shrink:0;
}

.testimonial-name{
    font-weight:600;
    color:var(--sn-text);
    font-size:.9rem;
}

.testimonial-role{
    font-size:.75rem;
    color:var(--sn-muted);
}

/* ========================================
   CTA SECTION
======================================== */
.cta-section{
    background:var(--sn-green);
    border-radius:20px;
    padding:60px 40px;
    text-align:center;
    position:relative;
    overflow:hidden;
}

.cta-section::before{
    content:'';
    position:absolute;
    top:-50%;
    left:-50%;
    width:200%;
    height:200%;
    background:radial-gradient(circle,rgba(255,255,255,.05) 0%,transparent 70%);
}

.cta-section h2{
    font-family:var(--font-d);
    color:#fff;
    font-size:clamp(1.6rem,3vw,2.5rem);
    margin-bottom:14px;
}

.cta-section p{
    color:rgba(255,255,255,.8);
    font-size:1rem;
    margin-bottom:28px;
    max-width:500px;
    margin-left:auto;
    margin-right:auto;
}

.btn-cta{
    background:#fff;
    color:var(--sn-green);
    padding:14px 36px;
    border-radius:50px;
    font-weight:700;
    font-size:1rem;
    display:inline-flex;
    align-items:center;
    gap:8px;
    transition:all .3s ease;
    border:none;
    cursor:pointer;
    font-family:var(--font-ar);
}

.btn-cta:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 25px rgba(0,0,0,.2);
}

/* ========================================
   FOOTER
======================================== */
.site-footer{
    background:var(--sn-dark);
    color:rgba(255,255,255,.7);
    padding:60px 0 30px;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:40px;
    margin-bottom:40px;
}

.footer-brand{
    font-family:var(--font-d);
    font-size:1.4rem;
    font-weight:700;
    color:#fff;
    margin-bottom:12px;
}

.footer-brand span{
    color:var(--sn-pink);
}

.footer-desc{
    font-size:.88rem;
    line-height:1.8;
    margin-bottom:16px;
}

.footer-social{
    display:flex;
    gap:12px;
}

.footer-social a{
    width:36px;
    height:36px;
    border-radius:50%;
    border:1px solid rgba(255,255,255,.2);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:.85rem;
    transition:all .3s ease;
}

.footer-social a:hover{
    background:var(--sn-green);
    border-color:var(--sn-green);
}

.footer-title{
    font-family:var(--font-ar);
    font-weight:700;
    color:#fff;
    font-size:.95rem;
    margin-bottom:16px;
}

.footer-links{
    list-style:none;
    display:flex;
    flex-direction:column;
    gap:10px;
}

.footer-links a{
    font-size:.85rem;
    color:rgba(255,255,255,.6);
    transition:color .3s ease;
}

.footer-links a:hover{
    color:var(--sn-green-lt);
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.1);
    padding-top:24px;
    text-align:center;
    font-size:.8rem;
    color:rgba(255,255,255,.4);
}

/* ========================================
   PAGE HERO
======================================== */
.page-hero{
    padding:140px 20px 80px;
    text-align:center;
    background:linear-gradient(135deg,var(--sn-green-soft),var(--sn-pink-soft));
}

.page-hero h1{
    font-family:var(--font-d);
    font-size:clamp(2rem,4vw,3rem);
    color:var(--sn-text);
    margin-bottom:12px;
}

.page-hero p{
    color:var(--sn-muted);
    font-size:1.05rem;
    max-width:600px;
    margin:0 auto;
}

/* ========================================
   SINGLE POST
======================================== */
.single-content{
    max-width:800px;
    margin:0 auto;
    padding:40px 20px 80px;
}

.single-content h2{
    font-size:1.6rem;
    margin:40px 0 16px;
    padding-bottom:10px;
    border-bottom:2px solid var(--sn-green-soft);
}

.single-content h3{
    font-size:1.2rem;
    margin:28px 0 12px;
}

.single-content p{
    margin-bottom:18px;
    line-height:1.9;
}

.single-content ul,.single-content ol{
    margin:16px 0;
    padding-right:24px;
}

.single-content li{
    margin-bottom:8px;
    line-height:1.8;
}

.single-content img{
    border-radius:var(--radius);
    margin:24px 0;
}

/* ========================================
   RESPONSIVE — TABLET
======================================== */
@media(max-width:1024px){
    .hero-image{display:none}
    .hero-content{max-width:100%;text-align:center}
    .hero-btns{justify-content:center}
    .footer-grid{grid-template-columns:1fr 1fr}
}

/* ========================================
   RESPONSIVE — MOBILE
======================================== */
@media(max-width:768px){
    .nav-links{
        display:none;
        position:fixed;
        top:0;
        right:0;
        width:280px;
        height:100vh;
        background:var(--sn-white);
        flex-direction:column;
        padding:80px 32px 32px;
        gap:24px;
        box-shadow:-10px 0 40px rgba(0,0,0,.1);
        z-index:200;
    }

    .nav-links.open{display:flex}

    .mobile-toggle{display:block;z-index:201}

    .features-grid{gap:20px}

    .footer-grid{grid-template-columns:1fr}

    .cta-section{padding:40px 24px;border-radius:12px}
}

@media(max-width:480px){
    .hero-btns{
        flex-direction:column;
        width:100%;
        padding:0 20px;
    }

    .hero-btns .btn{width:100%}

    .hero h1{font-size:1.8rem}
}

/* ========================================
   DISCLAIMER
======================================== */
.health-disclaimer{
    background:var(--sn-pink-soft);
    border:1px solid var(--sn-pink);
    border-radius:var(--radius);
    padding:20px 24px;
    font-size:.82rem;
    color:var(--sn-text-body);
    line-height:1.8;
    margin:24px 0;
}
