/* ===================================
   CSS Variables
   =================================== */
:root {
    /* Couleurs Premium - Inspiration des visuels officiels */
    --primary-gold: #C19B5F;
    --primary-gold-dark: #A17F42;
    --dark-green: #0F3A2E;
    --dark-brown: #2C1810;
    --luxury-gold: #D4AF37;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --text-gold: #B8941F;
    --background-dark: #1C1C1C;
    --background-light: #F5F3F0;
    --white: #ffffff;
    --border-color: #d4af37;
    --shadow-luxury: 0 10px 30px rgba(193, 155, 95, 0.15);
    --shadow-hover: 0 15px 40px rgba(193, 155, 95, 0.25);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    --font-primary: 'Poppins', sans-serif;
    --font-display: 'Playfair Display', serif;
    --font-arabic: 'Amiri', serif;
}

/* ===================================
   Global Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ===================================
   Typography
   =================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.8rem;
    color: var(--primary-gold);
    text-align: center;
    margin-bottom: 0.5rem;
    position: relative;
    font-weight: 700;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--luxury-gold), transparent);
    margin: 1.5rem auto;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.section-header {
    margin-bottom: 3rem;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold), var(--luxury-gold));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(193, 155, 95, 0.3);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--luxury-gold), var(--primary-gold));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(193, 155, 95, 0.4);
}

.btn-secondary {
    background: var(--dark-green);
    color: var(--white);
    border: 2px solid var(--primary-gold);
}

.btn-secondary:hover {
    background: var(--dark-brown);
    border-color: var(--luxury-gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(193, 155, 95, 0.1);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(193, 155, 95, 0.2);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 25px rgba(193, 155, 95, 0.15);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-image {
    height: 90px;
    width: auto;
    object-fit: contain;
    border-radius: 50%;
    background: var(--white);
    padding: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-gold), var(--luxury-gold));
    transition: var(--transition);
}

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

/* Call Button in Header */
.btn-call-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1.8rem;
    background: linear-gradient(135deg, var(--dark-green), var(--dark-brown));
    color: var(--luxury-gold);
    border: 1px solid var(--luxury-gold);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 4px 15px rgba(193, 155, 95, 0.3);
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-call-header i {
    font-size: 1.1rem;
    animation: phoneRing 2s ease-in-out infinite;
}

@keyframes phoneRing {

    0%,
    100% {
        transform: rotate(0deg);
    }

    10%,
    30% {
        transform: rotate(-15deg);
    }

    20%,
    40% {
        transform: rotate(15deg);
    }

    50% {
        transform: rotate(0deg);
    }
}

.btn-call-header:hover {
    background: linear-gradient(135deg, var(--luxury-gold), var(--primary-gold));
    color: var(--dark-brown);
    border-color: var(--dark-brown);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(193, 155, 95, 0.5);
}

.btn-call-header:hover i {
    animation: none;
    transform: scale(1.2);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-gold);
    cursor: pointer;
    flex-shrink: 0;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(15, 58, 46, 0.92), rgba(44, 24, 16, 0.88)),
        url('../images/ramadan-hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 95px;
    overflow: hidden;
}

/* Vidéo en arrière-plan hero */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            rgba(15, 58, 46, 0.75) 0%,
            rgba(44, 24, 16, 0.65) 50%,
            rgba(15, 58, 46, 0.80) 100%);
    z-index: 1;
}

/* Contrôles vidéo hero */
.video-controls-hero {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 10;
    display: flex;
    gap: 12px;
}

.video-control-btn {
    background: rgba(193, 155, 95, 0.3);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(193, 155, 95, 0.5);
    color: var(--white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.video-control-btn:hover {
    background: rgba(193, 155, 95, 0.5);
    border-color: rgba(193, 155, 95, 0.8);
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(193, 155, 95, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
}

.hero-text-center {
    text-align: center;
    max-width: 900px;
}

.hero-title-main {
    font-size: 5.5rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease;
    color: var(--luxury-gold);
    font-weight: 700;
    letter-spacing: 8px;
    font-family: var(--font-display);
    text-transform: uppercase;
}

.hero-title-arabic {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 2rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
    font-family: var(--font-arabic);
    font-weight: 600;
}

.hero-description-center {
    font-size: 1.4rem;
    color: var(--white);
    margin: 0 auto 3rem;
    line-height: 1.9;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-buttons-center {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: both;
}

.btn-hero {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    min-width: 250px;
}

/* Legacy styles for compatibility */
.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s ease;
    color: var(--luxury-gold);
    font-weight: 700;
    letter-spacing: 3px;
}

.hero-subtitle {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
    font-family: var(--font-arabic);
}

.hero-text-arabic {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.3s;
    animation-fill-mode: both;
    font-family: var(--font-arabic);
    letter-spacing: 1px;
}

.hero-description {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   About Section
   =================================== */
.about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

/* ===================================
   Products Section
   =================================== */
.products {
    background: var(--background-light);
}

/* ===================================
   Pricing Section
   =================================== */
.pricing-section {
    background: var(--white);
    padding: 80px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.product-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
}

.product-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Product Categories */
.product-category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.category-icon {
    font-size: 2.5rem;
}

/* Product Pricing */
.product-pricing {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

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

.price-new {
    font-size: 1.4rem;
    font-weight: 700;
    color: #e74c3c;
}

/* Product Badges Variations */
.badge-promo {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.badge-luxury {
    background: linear-gradient(135deg, var(--luxury-gold), var(--primary-gold));
}

.badge-best {
    background: linear-gradient(135deg, #27ae60, #229954);
}

/* Price Lists */
.price-lists {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 3px solid var(--border-color);
}

.price-lists-main {
    margin-bottom: 4rem;
}

.price-images-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.price-image-card-large {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(193, 155, 95, 0.2);
    transition: var(--transition);
    border: 3px solid var(--border-color);
}

.price-image-card-large:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(193, 155, 95, 0.3);
}

.price-category-title {
    font-size: 1.8rem;
    color: var(--white);
    background: linear-gradient(135deg, var(--dark-green), var(--dark-brown));
    padding: 1.5rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-display);
}

.price-image-card-large img {
    width: 100%;
    height: auto;
    display: block;
}

.price-card-actions {
    padding: 1.5rem;
    background: var(--background-light);
    text-align: center;
}

.price-card-actions .btn {
    width: 100%;
    justify-content: center;
}

.bestsellers-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 3px solid var(--border-color);
}

.pricing-note {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(193, 155, 95, 0.1), rgba(212, 175, 55, 0.1));
    border-radius: 15px;
    border-left: 5px solid var(--luxury-gold);
    text-align: center;
}

.pricing-note p {
    font-size: 1.1rem;
    color: var(--dark-brown);
    margin: 0;
    font-weight: 500;
}

.pricing-note i {
    color: var(--luxury-gold);
    margin-right: 0.5rem;
    font-size: 1.3rem;
}

/* ===================================
   Ultra Premium Pricing Section
   =================================== */

.pricing-ultra-premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 4rem;
    margin: 5rem 0;
}

.pricing-ultra-card {
    position: relative;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.ultra-card-wrapper {
    background: #ffffff;
    border: 1px solid rgba(193, 155, 95, 0.2);
    position: relative;
    overflow: hidden;
}

.ultra-card-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--luxury-gold), transparent);
}

.ultra-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-align: center;
    color: var(--dark-brown);
    padding: 2.5rem 2rem 2rem;
    margin: 0;
    text-transform: uppercase;
}

.ultra-image-wrapper {
    padding: 0 2rem 2rem;
    position: relative;
}

.ultra-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.pricing-ultra-card:hover .ultra-image-wrapper img {
    transform: scale(1.03);
}

.ultra-btn {
    display: block;
    text-align: center;
    padding: 1.2rem 2rem;
    margin: 0 2rem 2.5rem;
    background: transparent;
    border: 1px solid var(--dark-brown);
    color: var(--dark-brown);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.ultra-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--dark-brown);
    transition: left 0.5s ease;
    z-index: -1;
}

.ultra-btn:hover::before {
    left: 0;
}

.ultra-btn:hover {
    color: var(--luxury-gold);
    border-color: var(--dark-brown);
}

.ultra-promo-note {
    text-align: center;
    margin: 5rem auto 0;
    padding: 2rem;
    max-width: 600px;
    border-top: 1px solid rgba(193, 155, 95, 0.3);
    border-bottom: 1px solid rgba(193, 155, 95, 0.3);
}

.ultra-promo-note p {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--text-dark);
    margin: 0;
}

/* ===================================
   Ultra Premium Ramadan Popup
   =================================== */

.ramadan-popup-ultra {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    animation: popupFadeIn 0.5s ease;
}

.ramadan-popup-ultra.active {
    display: flex;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.popup-ultra-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.popup-ultra-container {
    position: relative;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    background: #ffffff;
    z-index: 1;
    animation: popupSlideUp 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
}

@keyframes popupSlideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.popup-ultra-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--luxury-gold);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.popup-ultra-close:hover {
    background: var(--luxury-gold);
    color: #ffffff;
    transform: rotate(90deg);
}

.popup-ultra-close i {
    font-size: 1.2rem;
}

.popup-ultra-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.popup-ultra-image {
    position: relative;
    overflow: hidden;
}

.popup-ultra-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-ultra-gradient {
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.3), transparent);
}

.popup-ultra-text {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.popup-ultra-header h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--dark-brown);
    margin: 0 0 1.5rem;
    text-transform: uppercase;
}

.popup-ultra-line {
    width: 80px;
    height: 1px;
    background: var(--luxury-gold);
    margin-bottom: 2rem;
}

.popup-ultra-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.popup-ultra-list {
    list-style: none;
    padding: 0;
    margin: 0 0 3rem;
}

.popup-ultra-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(193, 155, 95, 0.15);
    color: var(--text-dark);
    font-size: 1rem;
    letter-spacing: 0.5px;
    position: relative;
    padding-left: 25px;
}

.popup-ultra-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 1px;
    background: var(--luxury-gold);
}

.popup-ultra-list li:last-child {
    border-bottom: none;
}

.popup-ultra-actions {
    display: flex;
    gap: 1rem;
}

.popup-ultra-btn-primary,
.popup-ultra-btn-secondary {
    flex: 1;
    padding: 1.2rem 2rem;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.popup-ultra-btn-primary {
    background: var(--dark-brown);
    border: 1px solid var(--dark-brown);
    color: var(--luxury-gold);
}

.popup-ultra-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--luxury-gold);
    transition: left 0.5s ease;
    z-index: -1;
}

.popup-ultra-btn-primary:hover::before {
    left: 0;
}

.popup-ultra-btn-primary:hover {
    color: var(--dark-brown);
}

.popup-ultra-btn-secondary {
    background: transparent;
    border: 1px solid var(--dark-brown);
    color: var(--dark-brown);
}

.popup-ultra-btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--dark-brown);
    transition: left 0.5s ease;
    z-index: -1;
}

.popup-ultra-btn-secondary:hover::before {
    left: 0;
}

.popup-ultra-btn-secondary:hover {
    color: var(--luxury-gold);
}

/* Responsive Popup */
@media (max-width: 968px) {
    .popup-ultra-content {
        grid-template-columns: 1fr;
    }

    .popup-ultra-image {
        min-height: 300px;
    }

    .popup-ultra-text {
        padding: 3rem 2rem;
    }

    .popup-ultra-header h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .pricing-ultra-premium-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .popup-ultra-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }

    .popup-ultra-actions {
        flex-direction: column;
    }

    .popup-ultra-text {
        padding: 2.5rem 1.5rem;
    }
}

/* ===================================
   Order Form Section
   =================================== */



.price-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.price-image-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-luxury);
    transition: var(--transition);
}

.price-image-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.price-image-card img {
    width: 100%;
    height: auto;
    display: block;
}

.price-image-card p {
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-gold);
    background: linear-gradient(135deg, var(--dark-green), var(--dark-brown));
    color: var(--luxury-gold);
}

/* ===================================
   Order Form Section
   =================================== */
.order-section {
    background: var(--white);
}

.order-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--background-light);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label i {
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.form-actions {
    text-align: center;
    margin-top: 1rem;
}

.order-success {
    text-align: center;
    padding: 3rem;
}

.success-icon {
    font-size: 4rem;
    color: #4caf50;
    margin-bottom: 1.5rem;
}

.order-success h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.order-success p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* ===================================
   Blog Section
   =================================== */
.blog {
    background: var(--background-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2.5rem;
}

.blog-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-luxury);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.blog-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, var(--luxury-gold), var(--primary-gold));
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-title {
    font-size: 1.4rem;
    color: var(--dark-brown);
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: 600;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.blog-meta i {
    color: var(--primary-gold);
    margin-right: 0.3rem;
}

.blog-reading-time {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.blog-excerpt {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.btn-read-more {
    background: linear-gradient(135deg, var(--primary-gold), var(--luxury-gold));
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
}

.btn-read-more:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(193, 155, 95, 0.3);
}

.btn-read-more i {
    transition: var(--transition);
}

.btn-read-more:hover i {
    transform: translateX(5px);
}

/* Blog Modal */
.blog-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    overflow-y: auto;
    padding: 2rem;
}

.blog-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-modal-content {
    background: var(--white);
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    position: relative;
    animation: modalSlideIn 0.4s ease;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-gold);
    color: var(--white);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-modal-close:hover {
    background: var(--luxury-gold);
    transform: rotate(90deg);
}

.blog-modal-body {
    padding: 3rem;
}

.blog-modal-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.blog-modal-title {
    font-size: 2.5rem;
    color: var(--dark-brown);
    margin-bottom: 1rem;
    font-family: var(--font-display);
}

.blog-modal-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.blog-modal-text {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.1rem;
}

.blog-modal-text h4 {
    color: var(--primary-gold);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.blog-modal-text p {
    margin-bottom: 1.2rem;
}

.blog-modal-text ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.blog-modal-text ul li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}


/* ===================================
   Contact Section
   =================================== */
.contact {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

/* Clickable Contact Items */
.contact-item-clickable {
    text-decoration: none;
    padding: 1.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    background: var(--white);
    border: 2px solid transparent;
}

.contact-item-clickable:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(193, 155, 95, 0.2);
    border-color: var(--primary-color);
    background: var(--background-light);
}

.contact-item-clickable:hover .contact-icon {
    background: linear-gradient(135deg, var(--dark-green), var(--dark-brown));
    color: var(--luxury-gold);
    transform: scale(1.1);
}

.contact-item-clickable:hover .contact-details h4 {
    color: var(--primary-color);
}

.contact-item-clickable:hover .contact-details p {
    color: var(--secondary-color);
}

.contact-item-clickable .contact-icon {
    transition: all 0.3s ease;
}

.contact-item-clickable .contact-details h4,
.contact-item-clickable .contact-details p {
    transition: all 0.3s ease;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-dark);
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.3rem;
}

.contact-details p,
.contact-details a {
    color: var(--text-light);
}

.contact-details a:hover {
    color: var(--primary-color);
}

.contact-cta {
    background: var(--background-light);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
}

.contact-cta h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.contact-cta p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-tagline {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-section p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-dark);
}

.social-links a:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.footer-links,
.footer-info {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.footer-info li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-info i {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom i {
    color: var(--accent-color);
}

/* ===================================
   Scroll to Top Button
   =================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-dark);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        left: 0;
    }

    .btn-call-header {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
        gap: 0.6rem;
    }

    .btn-call-header span {
        display: none;
    }

    .btn-call-header i {
        font-size: 1.3rem;
    }

    .hero-title-main {
        font-size: 3rem;
        letter-spacing: 4px;
    }

    .hero-title-arabic {
        font-size: 2.5rem;
    }

    .hero-description-center {
        font-size: 1.1rem;
    }

    .btn-hero {
        min-width: 200px;
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons-center {
        flex-direction: column;
    }

    .video-controls-hero {
        bottom: 20px;
        right: 20px;
        gap: 8px;
    }

    .video-control-btn {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

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

    .products-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .order-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        margin-top: 85px;
    }

    .logo-image {
        height: 70px;
    }

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

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

    .logo h1 {
        font-size: 1.5rem;
    }

    section {
        padding: 50px 0;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 12px 25px;
        font-size: 1rem;
    }

    /* Contact Items Responsive */
    .contact-item-clickable {
        padding: 1rem;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .contact-details h4 {
        font-size: 1rem;
    }

    .contact-details p {
        font-size: 0.9rem;
    }
}

/* ===================================
   Cart & Checkout Styles
   =================================== */

.cart-icon-btn {
    position: relative;
    font-size: 1.5rem;
    color: var(--dark-brown);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(193, 155, 95, 0.1);
}

.cart-icon-btn:hover {
    background: var(--primary-gold);
    color: var(--white);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    font-size: 0.75rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100vh;
    background: white;
    z-index: 2000;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-overlay.active {
    display: block;
    opacity: 1;
}

.cart-header {
    padding: 1.5rem;
    background: var(--primary-gold);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: white;
}

.close-cart {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-title {
    font-weight: 600;
    color: var(--dark-brown);
    margin-bottom: 0.5rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.qty-input {
    width: 60px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
}

.cart-item-price {
    font-weight: 700;
    color: var(--primary-color);
}

.remove-item {
    color: #ef5350;
    cursor: pointer;
    font-size: 0.9rem;
    background: none;
    border: none;
    padding: 5px;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 2px solid #eee;
    background: #f9f9f9;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-brown);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Modal Checkout */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 3000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
}

.close-modal:hover {
    color: #333;
}