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

html{
    scroll-behavior: smooth;
}

/* ================= VARIABLES ================= */
:root{
    --gold: #C8A24A;
    --gold-light: #d4af37;
    --dark: #111111;
    --soft: #FAF7F2;
    --warm: #F4EDE3;
    --text-muted: #6D625B;

    --card-shadow: 0 12px 30px rgba(0,0,0,0.04);
    --card-shadow-hover: 0 20px 45px rgba(0,0,0,0.1);
}

/* ================= BODY ================= */
body{
    font-family: 'Poppins', sans-serif;
    background: var(--soft);
    color: var(--dark);
    overflow-x: hidden;
    /* تمت إزالة الـ padding-top العشوائي لمنع الفراغات فوق الهيرو */
}

/* ================= GLOBAL TYPOGRAPHY ================= */
h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
}

.tracking-wider { letter-spacing: 4px; }
.tracking-wide { letter-spacing: 2px; }
.tracking-widest { letter-spacing: 6px; }

/* ================= ANIMATION ================= */
@keyframes fadeUp{
    from{
        opacity: 0;
        transform: translateY(20px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

main > section{
    animation: fadeUp .8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* =========================================================
PROFESSIONAL NAVBAR (FIXED & MATCHED)
========================================================= */
.custom-navbar{
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1320px;
    z-index: 9999;
    padding: 14px 28px;
    border-radius: 0px; /* الحواف الحادة تمنح إحساس الأتيليه الفاخر والكلاسيكي */
    background: rgba(15, 15, 15, 0.65);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.08);
    transition: all .4s cubic-bezier(0.25, 0.8, 0.25, 1);
} 

/* SCROLL EFFECT */
.custom-navbar.scrolled{
    background: rgba(10, 10, 10, 0.95);
    top: 0;
    width: 100%;
    max-width: 100%;
    border-left: none;
    border-right: none;
    border-top: none;
}

/* LOGO */
.logo, .navbar-brand{
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold)!important;
    letter-spacing: 1px;
    transition: .3s;
}

.logo:hover{
    color: #fff!important;
}

/* NAV LINKS */
.navbar-nav .nav-link{
    position: relative;
    color: rgba(255,255,255,0.85)!important;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    text-uppercase: uppercase;
    padding: 8px 16px!important;
    transition: .3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active{
    color: var(--gold)!important;
}

/* UNDERLINE EFFECT */
.navbar-nav .nav-link::after{
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: .3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after{
    width: 60%;
}

/* CART CONTROLS */
.cart-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    transition: .3s ease;
}

.cart-icon:hover {
    background: var(--gold);
    transform: translateY(-2px);
}

.cart-icon .cart-count {
    font-size: 10px;
    padding: 4px 6px;
    background-color: var(--gold) !important;
}

/* CUSTOM TOGGLER (3 BARS ANIMATION READY) */
.custom-toggler {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent !important;
}

.toggler-icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #fff;
    transition: 0.3s;
}

.custom-toggler:hover .toggler-icon-bar {
    background-color: var(--gold);
}

/* MOBILE NAV OPTIMIZATION */
@media(max-width:991px){
    .custom-navbar{
        width: 100%;
        top: 0;
        border: none;
    }

    .navbar-collapse{
        margin-top: 15px;
        background: rgba(15, 15, 15, 0.98);
        padding: 20px;
        border: 1px solid rgba(255,255,255,0.05);
    }

    .navbar-nav .nav-link{
        text-align: center;
        padding: 12px!important;
    }

    .navbar-nav .nav-link::after{
        display: none;
    }
}

/* =========================================================
HERO SECTION (FIXED LAYER OVERLAP)
========================================================= */
.hero {
    min-height: 100vh;
}

/* أزرار وتأثير الـ Hover الفاخر لـ Veloura */
.hero-btn {
    background: transparent;
    color: #fff;
    border-width: 1.5px !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-btn:hover {
    background-color: #fff !important;
    color: #000 !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transform: translateY(-3px);
}

/* =========================================================
DRESS CARDS & IMAGES
========================================================= */
.dress-card {
    border-radius: 0px !important; /* تصميم حاد للمنتجات الفاخرة */
    transition: all 0.4s cubic-bezier(0.16. 1, 0.3, 1);
}

.img-zoom-container {
    position: relative;
    background-color: #f0f0f0;
}

.img-zoom-container img {
    height: 420px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.dress-card:hover .img-zoom-container img {
    transform: scale(1.06);
}

.dress-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover) !important;
}

/* =========================================================
PREMIUM SERVICES & TESTIMONIALS
========================================================= */
.service-card {
    border-radius: 0px !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--gold) !important;
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.testimonial-box {
    border-radius: 0px !important;
}

/* =========================================================
CONTACT & BUTTONS
========================================================= */
.btn-dark {
    border-radius: 0px !important;
    background-color: var(--dark);
    border: 1px solid var(--dark);
    transition: .35s ease;
}

.btn-dark:hover {
    background-color: transparent;
    color: var(--dark) !important;
    border-color: var(--dark);
}

/* =========================================================
WHATSAPP BUTTON
========================================================= */
.whatsapp-btn{
    position: fixed;
    right: 25px;
    bottom: 25px;
    background: #25D366;
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: .35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.whatsapp-btn:hover{
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
    color: #fff;
}

/* =========================================================
SCROLLBAR & TOASTS
========================================================= */
::-webkit-scrollbar{
    width: 8px;
}
::-webkit-scrollbar-thumb{
    background: var(--gold);
}
::-webkit-scrollbar-track{
    background: #f1f1f1;
}

.custom-toast{
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--dark);
    color: #fff;
    padding: 14px 24px;
    border-radius: 0px;
    font-size: 13px;
    letter-spacing: 1px;
    z-index: 99999;
    opacity: 0;
    transform: translateY(20px);
    transition: .35s ease;
}
.custom-toast.show{
    opacity: 1;
    transform: translateY(0);
}