@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Outfit:wght@300;400;500;600;700&family=Tajawal:wght@300;400;500;700&display=swap');

:root {
    --primary-green: #0b3c26;
    --primary-green-light: #145a3a;
    --primary-green-dark: #062316;
    --gold: #d4af37;
    --gold-light: #f3e5ab;
    --gold-dark: #997a15;
    --cream: #fdfbf7;
    --cream-dark: #f2ede4;
    --dark-brown: #3d2314;
    --white: #ffffff;
    --text-main: #2c3e50;
    --text-muted: #6c757d;
    --border-color: rgba(212, 175, 55, 0.25);
    --card-shadow: 0 12px 35px rgba(11, 60, 38, 0.08);
    --hover-shadow: 0 20px 45px rgba(11, 60, 38, 0.16);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 50px;
    --transition-fast: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-ltr: 'Outfit', sans-serif;
    --font-rtl: 'Tajawal', 'Amiri', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: var(--font-ltr);
    background-color: var(--cream);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
    transition: background-color 0.4s ease;
}

/* Typography & Luxury Accents */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--primary-green);
    letter-spacing: -0.02em;
}

.font-serif-luxury {
    font-family: 'Amiri', 'Playfair Display', serif;
}

.text-gold {
    color: var(--gold) !important;
}

.text-green {
    color: var(--primary-green) !important;
}

.bg-green {
    background-color: var(--primary-green) !important;
}

.bg-gold {
    background-color: var(--gold) !important;
}

.bg-cream {
    background-color: var(--cream) !important;
}

/* Sticky Glassmorphism Header */
.navbar-luxury {
    background: rgba(11, 60, 38, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding: 0.85rem 0;
    transition: var(--transition-fast);
    z-index: 1050;
}

.navbar-luxury.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    background: rgba(6, 35, 22, 0.98);
}

.navbar-brand {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--white) !important;
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand span {
    color: var(--gold);
    font-family: 'Amiri', serif;
    font-size: 1.8rem;
}

.navbar-brand img {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.nav-link-luxury {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: var(--transition-fast);
}

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

.nav-link-luxury::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--gold);
    transition: var(--transition-fast);
}

.nav-link-luxury:hover::after,
.nav-link-luxury.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Live Search Bar */
.search-bar-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.search-input-luxury {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: var(--radius-pill);
    color: var(--white);
    padding: 0.6rem 1.4rem;
    padding-right: 3rem;
    width: 100%;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.search-input-luxury::placeholder {
    color: rgba(255, 255, 255, 0.65);
}

.search-input-luxury:focus {
    background: rgba(255, 255, 255, 0.98);
    color: var(--primary-green);
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.25);
}

.search-input-luxury:focus::placeholder {
    color: var(--text-muted);
}

.search-btn-luxury {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gold);
    color: var(--primary-green);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.search-btn-luxury:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.08);
}

.search-suggestions-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--hover-shadow);
    z-index: 1060;
    max-height: 380px;
    overflow-y: auto;
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: none;
}

.search-suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition-fast);
}

.search-suggestion-item:hover {
    background: var(--cream);
    color: var(--primary-green);
    padding-left: 20px;
}

.search-suggestion-item img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

/* Header Icons Badge */
.icon-btn-luxury {
    color: var(--white);
    font-size: 1.25rem;
    position: relative;
    padding: 8px 12px;
    border-radius: 50%;
    transition: var(--transition-fast);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon-btn-luxury:hover {
    color: var(--gold);
    background: rgba(255, 255, 255, 0.1);
}

.badge-luxury {
    position: absolute;
    top: 2px;
    right: 4px;
    background: var(--gold);
    color: var(--primary-green);
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Hero Banner */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 100px 0 60px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(6, 35, 22, 0.88) 0%, rgba(11, 60, 38, 0.75) 50%, rgba(61, 35, 20, 0.65) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.15;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--gold-light);
    margin-bottom: 2.5rem;
    font-weight: 400;
    letter-spacing: 2px;
}

/* Luxury Buttons */
.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--primary-green-dark);
    font-weight: 600;
    padding: 0.85rem 2.2rem;
    border-radius: var(--radius-pill);
    border: none;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35);
    transition: var(--transition-fast);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    color: var(--primary-green-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(212, 175, 55, 0.5);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: var(--radius-pill);
    transition: var(--transition-fast);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--primary-green-dark);
    transform: translateY(-3px);
}

/* Product Cards */
.product-card-luxury {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition-fast);
    border: 1px solid rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card-luxury:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
    border-color: rgba(212, 175, 55, 0.4);
}

.product-img-wrapper {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
    background: var(--cream-dark);
}

.product-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-card-luxury:hover .product-img-wrapper img {
    transform: scale(1.08);
}

.badge-discount {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #e74c3c;
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.badge-country {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(11, 60, 38, 0.85);
    backdrop-filter: blur(4px);
    color: var(--gold-light);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    z-index: 2;
}

.btn-favorite {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: #ccc;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 2;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.btn-favorite:hover,
.btn-favorite.active {
    color: #e74c3c;
    background: var(--white);
    transform: scale(1.15);
}

.product-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-green);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3.2rem;
}

.product-rating {
    color: var(--gold);
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-price-wrapper {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.current-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-green);
}

.old-price {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.btn-add-cart {
    background: var(--primary-green);
    color: var(--white);
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-add-cart:hover {
    background: var(--gold);
    color: var(--primary-green-dark);
    transform: scale(1.1);
}

/* Category Cards */
.category-card-luxury {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 300px;
    display: block;
    text-decoration: none;
    box-shadow: var(--card-shadow);
}

.category-card-luxury img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.category-card-luxury:hover img {
    transform: scale(1.12);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(11, 60, 38, 0.9) 0%, rgba(11, 60, 38, 0.3) 60%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.8rem;
    transition: var(--transition-fast);
}

.category-card-luxury:hover .category-overlay {
    background: linear-gradient(0deg, rgba(11, 60, 38, 0.95) 0%, rgba(11, 60, 38, 0.5) 60%, rgba(0, 0, 0, 0.1) 100%);
}

.category-title {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.category-link-text {
    color: var(--gold);
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.category-card-luxury:hover .category-link-text {
    transform: translateX(6px);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
}

.section-subtitle {
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.6rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto;
    border-radius: var(--radius-pill);
}

/* Why Choose Us */
.feature-box {
    background: var(--white);
    padding: 2.5rem 1.8rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition-fast);
    border: 1px solid rgba(212, 175, 55, 0.15);
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: var(--hover-shadow);
}

.feature-icon {
    width: 75px;
    height: 75px;
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold-dark);
    font-size: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition-fast);
}

.feature-box:hover .feature-icon {
    background: var(--primary-green);
    color: var(--gold);
    transform: rotateY(360deg);
}

/* Reviews Carousel */
.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    position: relative;
    border-top: 4px solid var(--gold);
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 1.5rem;
}

.review-author img,
.review-author .review-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
    flex-shrink: 0;
}

.review-author .review-avatar {
    background: var(--primary-green, #062316);
    color: var(--gold, #d4af37);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.35rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.star-rating-select .star-item {
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

.star-rating-select .star-item:hover {
    transform: scale(1.25);
}

/* Footer Luxury */
.footer-luxury {
    background: var(--primary-green-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 30px;
    border-top: 3px solid var(--gold);
}

.footer-title {
    color: var(--gold);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 6px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 50px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.font-sm a {
    list-style: none;
    text-decoration: none;
    color: white;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 1040;
    text-decoration: none;
    transition: var(--transition-fast);
    animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
    color: var(--white);
    transform: scale(1.12);
}

@keyframes pulse-wa {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Modal Luxury Styling */
.modal-content-luxury {
    border-radius: var(--radius-lg);
    border: none;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.modal-header-luxury {
    background: var(--primary-green);
    color: var(--white);
    border-bottom: 2px solid var(--gold);
    padding: 1.25rem 1.75rem;
}

.modal-title-luxury {
    color: var(--gold);
    font-weight: 700;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .navbar-brand span {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-split-box {
        max-width: 100% !important;
    }
}

.swiper {
    overflow: hidden !important;
    max-width: 100%;
}

/* Social Login & Authentication Styling */
.social-login-btn {
    border-radius: var(--radius-pill);
    border: 1px solid rgba(0, 0, 0, 0.15);
    background-color: var(--white);
    color: var(--text-main);
    transition: var(--transition-fast);
    font-family: var(--font-ltr);
}

.social-login-btn:hover {
    background-color: var(--cream-dark);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(11, 60, 38, 0.1) !important;
}

.social-icon-btn {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background-color: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon-btn:hover {
    background-color: var(--primary-green) !important;
    border-color: var(--gold) !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 18px rgba(11, 60, 38, 0.2) !important;
}

.social-icon-btn:hover i {
    color: var(--gold) !important;
}

.social-divider-text {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.social-box-btn {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    border-radius: 10px !important;
    color: var(--text-main);
    transition: all 0.25s ease;
    text-decoration: none !important;
    padding: 10px 8px !important;
}

.social-box-btn:hover {
    background-color: #f8f9fa;
    border-color: var(--gold) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(11, 60, 38, 0.12) !important;
    color: var(--primary-green) !important;
}