﻿/* ================= Page ================= */
body {
    background: linear-gradient(180deg, #fdf6f9, #fdeff5);
    font-family: 'Segoe UI', system-ui;
}

/* ================= Header ================= */
.contact-header {
    background: linear-gradient(135deg, #ff5fa2, #ff85b3);
    /* ✅ Sticky Header */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 10px 26px rgba(0,0,0,.12);
}

/* تعويض بسيط حتى لا يلتصق المحتوى مباشرة بالهيدر */
main.container {
    padding-top: 18px;
}

.contact-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.contact-text {
    text-align: right;
}

.contact-name {
    font-weight: 950;
    font-size: 1.65rem;
    color: #4a0033;
    letter-spacing: .6px;
    text-shadow: 0 1px 0 rgba(255,255,255,.25);
    align-items: center;
}

/* يسار: بلوك الواتساب */
.whatsapp-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    text-align: left;
}

.whatsapp-note {
    font-size: .88rem;
    font-weight: 700;
    color: rgba(74,0,51,.92);
}

/* زر واتساب */
.whatsapp-inline {
    background: #25D366;
    color: #fff;
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(37,211,102,.45);
    transition: transform .15s ease, box-shadow .15s ease;
}

    .whatsapp-inline:hover {
        transform: translateY(-1px);
        box-shadow: 0 14px 30px rgba(37,211,102,.55);
    }

/* ================= Titles ================= */
.gallery-title {
    text-align: center;
    font-size: 2.1rem;
    font-weight: 900;
    color: #7a004f;
    margin: 10px 0 6px;
}

.gallery-sub {
    text-align: center;
    color: #8a3d6b;
    margin-bottom: 36px;
    font-size: 1rem;
}

/* ================= Grid ================= */
.row.g-4 {
    --bs-gutter-y: 2.4rem;
}

/* ================= Card Wrapper ================= */
.card-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ================= Card ================= */
.sweet-card {
    width: 88%;
    max-width: 360px;
    background: #ffffff;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 16px 32px rgba(0,0,0,.14);
    transition: transform .18s ease, box-shadow .18s ease;
}

    .sweet-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 22px 44px rgba(0,0,0,.16);
    }

/* ================= Image ================= */
.sweet-main-wrapper {
    width: 100%;
    overflow: hidden;
    background: #fff;
    margin-bottom: 0;
}

.sweet-main-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ================= Thumbnails ================= */
.sweet-thumbs {
    display: flex;
    justify-content: center;
    gap: 14px;
    padding: 16px 12px;
    background: #ffffff;
}

.sweet-thumb {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    box-shadow: 0 4px 12px rgba(0,0,0,.18);
}

    .sweet-thumb.active {
        border-color: #ff5fa2;
    }

/* ================= Name inside Card (جذاب) ================= */
.sweet-name {
    margin: 0;
    padding: 14px 14px 16px;
    text-align: center;
    font-size: 1.65rem;
    font-weight: 900;
    color: #4a0033;
    letter-spacing: .4px;
    background: linear-gradient(180deg, #ffffff, #fff2f7);
    border-top: 1px solid rgba(255,95,162,.18);
}

    .sweet-name::after {
        content: "";
        display: block;
        width: 52px;
        height: 3px;
        background: #ff5fa2;
        margin: 10px auto 0;
        border-radius: 99px;
        box-shadow: 0 6px 14px rgba(255,95,162,.35);
    }

/* ================= Footer Thanks ================= */
.thanks-section {
    margin-top: 70px;
    padding: 32px 20px;
    text-align: center;
    color: #6b0046;
    font-size: .95rem;
    line-height: 1.9;
}

    .thanks-section strong {
        display: block;
        font-size: 1.15rem;
        margin-bottom: 10px;
        color: #7a004f;
    }

/* ================= Desktop ================= */
@media (min-width: 768px) {
    .container {
        max-width: 520px;
    }
}

/* تحسين بسيط للموبايل */
@media (max-width: 420px) {
    .contact-name {
        font-size: 1.65rem;
    }

    .whatsapp-note {
        font-size: .82rem;
    }

    .whatsapp-inline {
        padding: 9px 18px;
    }
}
