﻿:root {
    --deep-navy: #0b2545;
    --pure-white: #fafafa;
    --warm-gold: #ffd166;
    --gold-hover: #e6b84d;
    --navy-light: #1a3a5c;
    --navy-dark: #061a30;
    --gray-soft: #f5f5f5;
    --gray-medium: #8a8a8a;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --glass-navy: rgba(11, 37, 69, 0.92);
}
html {
    background-color: #081f2f; /* Same as your brand color */
}

/* --- GLOBAL RESET & RTL --- */
body {
    background-color: var(--pure-white);
    color: var(--deep-navy);
    font-family: 'Cairo', sans-serif;
    overflow-x: hidden;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .brand-font {
    font-family: 'Amiri', serif;
    font-weight: 700;
    color: var(--deep-navy);
}

a {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    color: var(--deep-navy);
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--pure-white);
}

::-webkit-scrollbar-thumb {
    background: var(--deep-navy);
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--warm-gold);
    }

/* --- HEADER & NAVIGATION (HEIRLOOM STYLE) --- */
.announcement-bar {
    background: var(--deep-navy);
    color: var(--warm-gold);
    text-align: center;
    padding: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.header-container {
    background: var(--pure-white);
    padding: 20px 0;
    border-bottom: 1px solid rgba(11, 37, 69, 0.08);
}

.brand-logo-img {
    max-height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

    .brand-logo-img:hover {
        transform: scale(1.05);
    }

/* Mobile logo fix */
@media (max-width: 576px) {
    .brand-logo-img {
        max-height: 32px;
    }
}

.nav-wrapper {
    background: var(--pure-white);
    border-bottom: 2px solid rgba(11, 37, 69, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-link {
    color: var(--deep-navy) !important;
    font-weight: 600;
    padding: 16px 22px !important;
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 10px;
        left: 50%;
        width: 0;
        height: 2px;
        background: var(--warm-gold);
        transition: 0.3s ease;
        transform: translateX(-50%);
    }

    .nav-link:hover::after {
        width: 60%;
    }

    .nav-link:hover {
        color: var(--warm-gold) !important;
    }

/* --- HERO SECTION --- */
.hero-full {
    position: relative;
    height: 90vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    background: linear-gradient(135deg, rgba(11,37,69,0.75) 0%, rgba(11,37,69,0.5) 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-text-box {
    position: relative;
    z-index: 2;
}

    .hero-text-box h1 {
        font-size: clamp(3rem, 8vw, 6rem);
        margin-bottom: 25px;
        color: var(--pure-white);
        text-shadow: 0 2px 20px rgba(0,0,0,0.2);
    }

.hero-subtitle {
    color: rgba(250,250,250,0.9);
    font-size: clamp(1rem, 2vw, 1.3rem);
    max-width: 650px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

/* --- HOME PAGE SECTIONS --- */
.section-title {
    text-align: center;
    margin: 80px 0 50px;
}

    .section-title h2 {
        font-size: 2.8rem;
        color: var(--deep-navy);
        position: relative;
        display: inline-block;
    }

        .section-title h2::after {
            content: '';
            position: absolute;
            width: 60px;
            height: 3px;
            background: var(--warm-gold);
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 2px;
        }

.section-subtitle {
    color: var(--gray-medium);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 20px auto 0;
    line-height: 1.6;
}

/* --- CIRCULAR CATEGORIES --- */
.cat-circle {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 2px solid rgba(11, 37, 69, 0.1);
    padding: 3px;
    margin: 0 auto 15px;
    transition: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    background: var(--pure-white);
    box-shadow: var(--shadow-sm);
}

    .cat-circle img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
    }

.category-item:hover .cat-circle {
    transform: rotate(5deg) scale(1.06);
    border-color: var(--warm-gold);
    box-shadow: 0 8px 25px rgba(255, 209, 102, 0.25);
}

.category-name {
    font-family: 'Amiri', serif;
    font-weight: 700;
    color: var(--deep-navy);
    margin-top: 15px;
    font-size: 1.2rem;
}

/* --- SHOP BY COLOR SECTION --- */
.color-discovery {
    background: linear-gradient(180deg, var(--navy-dark) 0%, var(--deep-navy) 100%);
    padding: 70px 0;
    border-radius: 50px 50px 0 0;
}

.rose-circle-container {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 3px solid rgba(250,250,250,0.15);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.rose-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.65) saturate(1.2);
}

.color-overlay-blended {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    mix-blend-mode: color;
}

.color-name {
    font-family: 'Amiri', serif;
    font-weight: 700;
    color: var(--pure-white);
    font-size: 1.1rem;
    margin-top: 12px;
}

.color-rose-card:hover .rose-circle-container {
    transform: translateY(-10px);
    border-color: var(--warm-gold);
    box-shadow: 0 15px 35px rgba(255,209,102,0.3);
}

/* --- PRODUCT CARDS --- */


.product-img-wrapper {
    position: relative;
    background: var(--gray-soft);
    height: 380px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

    .product-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

.product-card:hover img {
    transform: scale(1.06);
}

.product-overlay {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    background: rgba(11, 37, 69, 0.95);
    padding: 16px;
    transition: 0.4s ease;
    text-align: center;
    backdrop-filter: blur(10px);
}

.product-card:hover .product-overlay {
    bottom: 0;
}

.btn-quick-add {
    background: var(--warm-gold);
    color: var(--deep-navy);
    border: none;
    padding: 10px 25px;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 25px;
    transition: 0.3s ease;
}

    .btn-quick-add:hover {
        background: var(--gold-hover);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(255, 209, 102, 0.3);
    }

.product-info {
    padding: 20px 5px 10px;
    text-align: center;
}

    .product-info h3 {
        font-size: 1.3rem;
        color: var(--deep-navy);
        margin-bottom: 8px;
        font-weight: 700;
    }

    .product-info .price {
        color: var(--deep-navy);
        font-weight: 800;
        font-size: 1.3rem;
        opacity: 0.85;
    }

.badge-stock {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--warm-gold);
    color: var(--deep-navy);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    z-index: 5;
    box-shadow: var(--shadow-sm);
}

/* --- FEATURES SECTION --- */
.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 209, 102, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--warm-gold);
}

/* --- TESTIMONIALS --- */
.testimonial-card {
    background: var(--pure-white);
    border: 1px solid rgba(11, 37, 69, 0.08);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: 0.3s ease;
}

    .testimonial-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
    }

/* --- CART & IDENTITY FORMS --- */
.luxury-card {
    background: var(--pure-white);
    border: 1px solid rgba(11, 37, 69, 0.1);
    border-radius: 16px;
    padding: 35px;
    box-shadow: var(--shadow-md);
}

.form-control-lux {
    background: var(--pure-white) !important;
    border: 2px solid rgba(11, 37, 69, 0.15) !important;
    color: var(--deep-navy) !important;
    padding: 16px !important;
    border-radius: 10px !important;
    font-weight: 500;
    transition: 0.3s ease;
}

    .form-control-lux:focus {
        border-color: var(--warm-gold) !important;
        box-shadow: 0 0 0 3px rgba(255, 209, 102, 0.1) !important;
        outline: none;
    }

.btn-gold-fill {
    background: var(--warm-gold);
    color: var(--deep-navy);
    border: none;
    padding: 16px 32px;
    font-weight: 800;
    border-radius: 10px;
    width: 100%;
    font-size: 1.1rem;
    transition: 0.3s ease;
    letter-spacing: 0.5px;
}

    .btn-gold-fill:hover {
        background: var(--gold-hover);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(255, 209, 102, 0.3);
    }

.btn-outline-white {
    border: 2px solid var(--pure-white);
    color: var(--pure-white);
    padding: 14px 35px;
    font-weight: 700;
    border-radius: 30px;
    font-size: 1.1rem;
    transition: 0.3s ease;
    background: transparent;
}

    .btn-outline-white:hover {
        background: var(--pure-white);
        color: var(--deep-navy);
    }

/* --- WHATSAPP FLOATING --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: 0.3s ease;
}

    .whatsapp-float:hover {
        transform: scale(1.1);
        box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35);
        color: white;
    }

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

/* --- ADMIN DASHBOARD --- */
.admin-stat-box {
    background: var(--pure-white);
    border: 1px solid rgba(11, 37, 69, 0.08);
    border-radius: 20px;
    padding: 28px;
    transition: 0.3s ease;
    box-shadow: var(--shadow-sm);
}

    .admin-stat-box:hover {
        border-color: var(--warm-gold);
        box-shadow: var(--shadow-lg);
        transform: translateY(-3px);
    }

.admin-table {
    border-collapse: separate;
    border-spacing: 0 10px;
}

    .admin-table tr {
        background: var(--pure-white);
        border-radius: 12px;
        transition: 0.2s ease;
        box-shadow: var(--shadow-sm);
    }

    .admin-table td {
        padding: 20px;
        border: none;
    }

    .admin-table tr:hover {
        transform: scale(1.01);
        background: var(--gray-soft);
        box-shadow: var(--shadow-md);
    }

/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 768px) {
    .hero-full {
        height: 70vh;
        min-height: 500px;
    }

    .product-img-wrapper {
        height: 280px;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .rose-circle-container {
        width: 100px;
        height: 100px;
    }

    .cat-circle {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 576px) {
    .hero-full {
        height: 60vh;
        min-height: 400px;
    }

    .brand-logo-img {
        max-height: 32px;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}
