/* ==========================================================================
   Shames Beauty — Public site (navbar, footer, home & content pages)
   يعتمد على shames.css
   ========================================================================== */

body.site { display: flex; flex-direction: column; min-height: 100vh; margin: 0; }
.site-main { flex: 1 0 auto; }

/* ======================= Navbar ======================= */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(75, 27, 53, .96);
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
    border-bottom: 1px solid rgba(240, 185, 50, .14);
    transition: box-shadow .3s, background-color .3s;
}
.site-nav.is-scrolled { box-shadow: 0 10px 30px rgba(30, 9, 20, .28); background: rgba(58, 19, 40, .97); }

.site-nav .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: 84px;
}

.site-brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.site-brand img { height: 60px; width: auto; display: block; transition: transform .3s var(--ease); }
.site-brand:hover img { transform: scale(1.03); }

.site-links { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.site-links a,
.site-links .link-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: .55rem 1rem;
    color: rgba(255, 255, 255, .82);
    font-weight: 600;
    font-size: 1.02rem;
    text-decoration: none;
    background: none;
    border: 0;
    border-radius: 999px;
    transition: color .2s, background-color .2s;
}
.site-links a:hover,
.site-links .link-btn:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.site-links a.active { color: #fff; }
.site-links a.active::after {
    content: "";
    position: absolute;
    bottom: 2px; left: 50%;
    width: 18px; height: 3px;
    border-radius: 3px;
    background: var(--gold);
    transform: translateX(-50%);
}

.site-actions { display: flex; align-items: center; gap: .6rem; }
.site-actions form { margin: 0; }

.nav-toggle {
    display: none;
    width: 46px; height: 46px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .06);
    color: #fff;
    font-size: 1.5rem;
    align-items: center; justify-content: center;
}

@media (max-width: 991.98px) {
    .site-nav .nav-inner { height: 68px; }
    .site-brand img { height: 42px; }
    .nav-toggle { display: inline-flex; }
    .site-menu {
        position: absolute;
        top: 100%; inset-inline: 0;
        background: var(--plum-800);
        border-bottom: 1px solid rgba(240, 185, 50, .14);
        padding: 0 16px;
        max-height: 0;
        overflow: hidden;
        transition: max-height .4s var(--ease), padding .4s var(--ease);
    }
    .site-menu.open { max-height: 520px; padding: 12px 16px 20px; }
    .site-links { flex-direction: column; align-items: stretch; gap: 2px; }
    .site-links a, .site-links .link-btn { width: 100%; padding: .85rem 1rem; border-radius: 12px; }
    .site-links a.active { background: rgba(255, 255, 255, .08); }
    .site-links a.active::after { left: auto; right: 0; top: 50%; bottom: auto; width: 3px; height: 18px; transform: translateY(-50%); }
    .site-actions { flex-direction: column; align-items: stretch; margin-top: 10px; }
    .site-actions .btn-sb, .site-actions form, .site-actions form .btn-sb { width: 100%; }
}
@media (min-width: 992px) {
    .site-menu { display: flex; align-items: center; gap: 1.5rem; flex: 1; justify-content: space-between; margin-inline-start: 2rem; }
}

/* ======================= Footer ======================= */
.site-footer {
    position: relative;
    overflow: hidden;
    background: radial-gradient(120% 140% at 100% 0%, var(--plum) 0%, var(--plum-900) 60%, var(--plum-950) 100%);
    color: rgba(255, 255, 255, .78);
    margin-top: clamp(48px, 7vw, 96px);
}
.site-footer .sun-rays { width: 520px; height: 520px; left: -200px; bottom: -260px; opacity: .6; }
.site-footer .footer-top { position: relative; padding: clamp(48px, 7vw, 80px) 0 40px; }
.footer-logo { height: 64px; width: auto; margin-bottom: 18px; }
.footer-about { line-height: 2; max-width: 360px; margin: 0; }
.footer-title {
    font-family: var(--font-display);
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 18px;
    display: flex; align-items: center; gap: 10px;
}
.footer-title::before { content: ""; width: 18px; height: 2px; background: var(--gold); border-radius: 2px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { color: rgba(255, 255, 255, .78); text-decoration: none; transition: color .2s, padding .2s; }
.footer-links a:hover { color: var(--gold); padding-inline-start: 4px; }
.footer-contact { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.8; }
.footer-contact i {
    width: 36px; height: 36px; flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 12px;
    background: rgba(240, 185, 50, .12);
    color: var(--gold);
}
.footer-contact a { color: #fff; text-decoration: none; font-weight: 700; }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 18px 0;
    font-size: .92rem;
    color: rgba(255, 255, 255, .6);
}
.footer-bottom strong { color: rgba(255, 255, 255, .85); }
.footer-bottom .container { padding-left: 96px; } /* مساحة لزر الواتساب العائم */

/* Floating WhatsApp */
.wa-float {
    position: fixed;
    left: 22px; bottom: 22px;
    z-index: 1040;
    width: 58px; height: 58px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: #25D366;
    color: #fff;
    font-size: 1.75rem;
    box-shadow: 0 14px 30px rgba(37, 211, 102, .4);
    transition: transform .3s var(--ease);
}
.wa-float:hover { color: #fff; transform: translateY(-3px) scale(1.05); }
.wa-float::after {
    content: "";
    position: absolute; inset: 0;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: wa-pulse 2.4s var(--ease) infinite;
}
@keyframes wa-pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }

/* ======================= Home: Hero ======================= */
.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(90% 70% at 15% 20%, rgba(240, 185, 50, .16) 0%, transparent 55%),
        radial-gradient(120% 120% at 100% 100%, var(--plum-950) 0%, transparent 60%),
        linear-gradient(160deg, var(--plum) 0%, var(--plum-800) 70%, var(--plum-900) 100%);
    padding: clamp(64px, 10vw, 128px) 0 clamp(88px, 12vw, 150px);
}
.hero .sun-rays { width: 820px; height: 820px; left: -260px; top: 50%; margin-top: -410px; opacity: .9; }
.hero::after {
    /* soft fade into the page */
    content: "";
    position: absolute; inset-inline: 0; bottom: -1px;
    height: 90px;
    background: linear-gradient(to bottom, transparent, var(--ivory));
    opacity: .0;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 {
    color: #fff;
    font-size: clamp(2.2rem, 5.2vw, 4rem);
    font-weight: 700;
    line-height: 1.3;
    margin: 1.1rem 0 1.2rem;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { color: rgba(255, 255, 255, .8); font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 2; max-width: 540px; margin: 0 0 2rem; }
.hero .eyebrow { background: rgba(240, 185, 50, .14); color: var(--gold); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.4rem; padding: 0; list-style: none; color: rgba(255, 255, 255, .78); font-weight: 600; }
.hero-points li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-points i { color: var(--gold); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-emblem {
    position: relative;
    width: min(420px, 82vw);
    aspect-ratio: 1;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, .10), rgba(255, 255, 255, .02) 60%, transparent 70%);
    border: 1px solid rgba(240, 185, 50, .25);
    box-shadow: inset 0 0 80px rgba(240, 185, 50, .08), 0 40px 80px rgba(20, 5, 13, .35);
}
.hero-emblem::before {
    content: "";
    position: absolute; inset: 22px;
    border-radius: 50%;
    border: 1px dashed rgba(240, 185, 50, .28);
    animation: sb-spin 90s linear infinite;
}
.hero-emblem img { width: 74%; height: auto; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .25)); }
.hero-float {
    position: absolute;
    display: flex; align-items: center; gap: .7rem;
    padding: .75rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, .96);
    color: var(--plum);
    box-shadow: var(--shadow-lg);
    font-weight: 700;
    font-size: .95rem;
    animation: sb-float 6s ease-in-out infinite;
}
.hero-float i { width: 38px; height: 38px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--gold-100); color: var(--gold-700); font-size: 1.1rem; }
.hero-float small { display: block; color: var(--muted); font-weight: 500; font-size: .8rem; }
.hero-float-1 { top: 12%; right: -4%; }
.hero-float-2 { bottom: 10%; left: -6%; animation-delay: -3s; }
@keyframes sb-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 991.98px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero .lead { margin-inline: auto; }
    .hero-ctas, .hero-points { justify-content: center; }
    .hero-visual { order: -1; }
    .hero-emblem { width: min(300px, 70vw); }
    .hero-float-1 { right: 0; }
    .hero-float-2 { left: 0; }
}
@media (max-width: 575.98px) { .hero-float { display: none; } }

/* ======================= Home: Promos ======================= */
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.promo-card {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--plum-100);
    box-shadow: var(--shadow);
    isolation: isolate;
}
.promo-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease); }
.promo-card:hover img { transform: scale(1.06); }
.promo-card .promo-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(30, 9, 20, .85) 0%, rgba(30, 9, 20, .15) 50%, transparent 70%); z-index: 1; }
.promo-card .promo-text { position: absolute; inset-inline: 0; bottom: 0; padding: 24px; z-index: 2; color: #fff; }
.promo-card .promo-text h3 { color: #fff; font-size: 1.4rem; margin: 0 0 .35rem; }
.promo-card .promo-text p { margin: 0; color: rgba(255, 255, 255, .85); line-height: 1.8; }
.promo-grid.count-1 { grid-template-columns: minmax(0, 520px); justify-content: center; }
.promo-grid.count-2 { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
@media (max-width: 991.98px) { .promo-grid, .promo-grid.count-2 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .promo-grid, .promo-grid.count-1, .promo-grid.count-2 { grid-template-columns: 1fr; } .promo-card { aspect-ratio: 4 / 4.4; } }

/* ======================= Home: Why us ======================= */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card { padding: 30px 26px; height: 100%; }
.why-card h3 { font-size: 1.25rem; margin: 20px 0 10px; }
.why-card p { color: var(--muted); line-height: 1.9; margin: 0; }
@media (max-width: 1199.98px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .why-grid { grid-template-columns: 1fr; } }

/* ======================= Home: Top services ======================= */
.band-soft { background: linear-gradient(180deg, var(--plum-50), var(--ivory)); }
.top-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 300px)); justify-content: center; gap: 20px; }
.top-card { position: relative; padding: 26px; overflow: hidden; }
.top-card .rank {
    position: absolute; top: 16px; left: 18px;
    font-family: var(--font-display);
    font-size: 3rem; line-height: 1;
    color: var(--plum-100);
    font-weight: 700;
}
.top-card h3 { font-size: 1.2rem; margin: 18px 0 8px; position: relative; }
.top-card .meta { color: var(--muted); font-size: .95rem; display: flex; flex-wrap: wrap; gap: .4rem .8rem; }
.top-card .meta b { color: var(--plum); }
.empty-note { text-align: center; color: var(--muted); padding: 28px; border: 1.5px dashed var(--line-strong); border-radius: var(--r-lg); background: var(--paper); }
@media (max-width: 575.98px) { .top-grid { grid-template-columns: 1fr; } }

/* ======================= CTA band ======================= */
.cta-band {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-xl);
    padding: clamp(36px, 6vw, 64px);
    color: #fff;
    background: linear-gradient(135deg, var(--plum) 0%, var(--plum-900) 100%);
    box-shadow: var(--shadow-lg);
    display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.cta-band .sun-rays { width: 460px; height: 460px; left: -150px; top: -150px; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin: 0 0 .6rem; position: relative; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .8); line-height: 1.9; position: relative; max-width: 560px; }
.cta-band .cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; position: relative; }

/* ======================= Inner page hero ======================= */
.page-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    text-align: center;
    background: linear-gradient(160deg, var(--plum) 0%, var(--plum-900) 100%);
    padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 9vw, 110px);
}
.page-hero .sun-rays { width: 560px; height: 560px; left: 50%; top: -330px; margin-left: -280px; opacity: .8; }
.page-hero .container { position: relative; }
.page-hero .eyebrow { background: rgba(240, 185, 50, .14); color: var(--gold); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.2rem); margin: 1rem 0 .7rem; }
.page-hero p { color: rgba(255, 255, 255, .8); font-size: 1.12rem; margin: 0 auto; max-width: 560px; line-height: 1.9; }
.page-body { margin-top: -48px; position: relative; z-index: 2; }

/* Content card used on about / privacy / services intro */
.content-card { padding: clamp(24px, 4vw, 40px); }
.content-card h2 { font-size: 1.5rem; margin: 0 0 1rem; }
.content-card p { line-height: 2.1; color: #4A3540; font-size: 1.05rem; }

.feature-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 12px; }
.feature-list li {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 16px 18px;
    border-radius: 16px;
    background: var(--plum-50);
    border: 1px solid var(--line);
    line-height: 1.9;
}
.feature-list li i { color: var(--gold-600); font-size: 1.25rem; line-height: 1.6; }
.feature-list li b { color: var(--plum); }

/* ======================= Services page ======================= */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card { overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.svc-media { position: relative; aspect-ratio: 16 / 11; background: linear-gradient(145deg, var(--plum-100), var(--plum-50)); overflow: hidden; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc-card:hover .svc-media img { transform: scale(1.06); }
.svc-media .svc-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.svc-media .svc-placeholder img { width: 38%; height: auto; object-fit: contain; opacity: .9; transform: none !important; }
.svc-media .chip { position: absolute; top: 14px; right: 14px; background: rgba(255, 255, 255, .95); }
.svc-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.svc-body h3 { font-size: 1.3rem; margin: 0; }
.svc-body p { color: var(--muted); line-height: 1.9; margin: 0; white-space: pre-line; }
@media (max-width: 1199.98px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .svc-grid { grid-template-columns: 1fr; } }

/* ======================= About page ======================= */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start; }
.map-card { overflow: hidden; }
.map-card iframe { width: 100%; height: 340px; border: 0; display: block; }
.map-card .map-meta { padding: 22px 24px; display: grid; gap: 14px; }
.map-card .map-meta .addr { display: flex; gap: 12px; align-items: flex-start; line-height: 1.9; margin: 0; }
.map-card .map-meta .addr i { color: var(--gold-600); font-size: 1.3rem; }
@media (max-width: 991.98px) { .about-grid { grid-template-columns: 1fr; } }

/* ======================= Privacy page ======================= */
.privacy-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 24px; align-items: start; }
.note-card { padding: 28px; position: sticky; top: 100px; text-align: center; }
.note-card img { width: 150px; margin: 6px auto 18px; display: block; }
.note-card p { color: var(--muted); line-height: 2; }
@media (max-width: 991.98px) { .privacy-grid { grid-template-columns: 1fr; } .note-card { position: static; } }

/* ======================= Auth pages ======================= */
.auth-wrap { min-height: calc(100vh - 78px); display: flex; align-items: center; padding: 48px 0; }
.auth-card { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; max-width: 980px; margin: 0 auto; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); background: var(--paper); }
.auth-side {
    position: relative; overflow: hidden;
    background: linear-gradient(160deg, var(--plum) 0%, var(--plum-900) 100%);
    color: #fff;
    padding: 56px 44px;
    display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
}
.auth-side .sun-rays { width: 600px; height: 600px; left: 50%; top: 50%; margin: -300px 0 0 -300px; }
.auth-side img { width: 230px; max-width: 80%; position: relative; }
.auth-side h2 { color: #fff; font-size: 1.6rem; margin: 26px 0 10px; position: relative; }
.auth-side p { color: rgba(255, 255, 255, .78); line-height: 1.9; position: relative; margin: 0; }
.auth-form { padding: clamp(32px, 5vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.auth-form h1 { font-size: 1.9rem; margin: 0 0 .4rem; }
.auth-form .sub { color: var(--muted); margin-bottom: 1.8rem; }
.auth-form .form-control { padding: .8rem 1rem; }
.input-icon { position: relative; }
.input-icon i { position: absolute; top: 50%; right: 14px; transform: translateY(-50%); color: var(--plum-400); pointer-events: none; }
.input-icon .form-control { padding-right: 2.6rem; }
.auth-form .btn-sb { width: 100%; padding: .95rem; }
.auth-links { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 4px 0 22px; font-size: .95rem; }
.auth-links a { color: var(--plum); font-weight: 600; text-decoration: none; }
.auth-links a:hover { color: var(--gold-700); }
@media (max-width: 767.98px) {
    .auth-card { grid-template-columns: 1fr; }
    .auth-side { padding: 36px 28px; }
    .auth-side img { width: 170px; }
    .auth-side h2, .auth-side p { display: none; }
}

/* Simple status pages (error / access denied) */
.status-page { text-align: center; padding: clamp(64px, 10vw, 120px) 0; }
.status-page .status-icon {
    width: 96px; height: 96px; margin: 0 auto 26px;
    border-radius: 30px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.6rem;
    background: linear-gradient(145deg, var(--plum), var(--plum-600));
    color: var(--gold);
    box-shadow: var(--shadow-lg);
}
.status-page h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .8rem; }
.status-page p { color: var(--muted); font-size: 1.1rem; max-width: 520px; margin: 0 auto 2rem; line-height: 1.9; }
