/* ===========================
   CSS Variables & Reset
   =========================== */
:root {
    /* Color Palette - Matching Store Interior */
    --color-cream: #F5F3EF;
    --color-beige: #E8E4DC;
    --color-gold: #C9A963;
    --color-gold-dark: #B8935E;
    --color-white: #FFFFFF;
    --color-off-white: #FEFEFE;
    --color-champagne: #F7F5F0;
    --color-charcoal: #2C2C2C;
    --color-black: #1a1a1a;
    --color-grey: #666666;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Cormorant Garamond', serif;
    --font-arabic: 'Amiri', serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-smooth: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-cream);
    color: var(--color-charcoal);
    line-height: 1.7;
    overflow-x: hidden;
}

body[dir="rtl"] {
    font-family: var(--font-arabic);
}

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

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

ul {
    list-style: none;
}

/* ===========================
   Language Toggle
   =========================== */
.lang-toggle {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1000;
    background: var(--color-gold);
    color: var(--color-white);
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(201, 169, 99, 0.3);
    transition: var(--transition-smooth);
}

.lang-toggle:hover {
    background: var(--color-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 99, 0.4);
}

body[dir="rtl"] .lang-toggle {
    right: auto;
    left: 20px;
}

/* Language visibility */
.lang-ar {
    display: none;
}

body[dir="rtl"] .lang-en {
    display: none;
}

body[dir="rtl"] .lang-ar {
    display: inline;
}

body:not([dir="rtl"]) .lang-en {
    display: inline;
}

/* ===========================
   Navigation
   =========================== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.1);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.logo-container {
    height: 60px;
}

.logo {
    height: 100%;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-charcoal);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: var(--transition-smooth);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-charcoal);
    border-radius: 3px;
    transition: var(--transition-smooth);
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: 
        linear-gradient(135deg, rgba(245, 243, 239, 0.95) 0%, rgba(232, 228, 220, 0.95) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(201,169,99,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    overflow: hidden;
    margin-top: 80px;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(201, 169, 99, 0.03) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.hero-logo {
    margin-bottom: 2rem;
}

.hero-logo-img {
    width: 200px;
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 10px 30px rgba(201, 169, 99, 0.2));
    animation: float 3s ease-in-out infinite;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-charcoal);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--color-grey);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    display: inline-block;
}

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

.btn-primary:hover {
    background: var(--color-gold-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 169, 99, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-charcoal);
    border-color: var(--color-gold);
}

.btn-secondary:hover {
    background: var(--color-gold);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 169, 99, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid var(--color-gold);
    border-radius: 25px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.scroll-indicator span {
    width: 6px;
    height: 10px;
    background: var(--color-gold);
    border-radius: 3px;
    animation: scrollDown 2s infinite;
}

/* ===========================
   Section Styles
   =========================== */
section {
    padding: var(--spacing-xl) 0;
    position: relative;
    isolation: isolate;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-charcoal);
    margin-bottom: 1rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-dark));
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--color-grey);
    max-width: 700px;
    margin: 0 auto;
}

/* ===========================
   About Section
   =========================== */
.about {
    background: var(--color-white);
    position: relative;
    z-index: 5;
}

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

.about-text p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    color: var(--color-charcoal);
    text-align: justify;
    position: relative;
    z-index: 1;
    background: var(--color-white);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.store-images-carousel {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.store-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.store-image.active {
    opacity: 1;
}

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

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active {
    background: var(--color-gold);
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(201, 169, 99, 0.9), transparent);
    color: var(--color-white);
    padding: 2rem;
    font-size: 1.3rem;
    font-weight: 600;
    transform: translateY(100%);
    transition: var(--transition-smooth);
}

.about-image:hover .image-overlay {
    transform: translateY(0);
}

/* ===========================
   Products Section
   =========================== */
.products {
    background: var(--color-champagne);
    position: relative;
    z-index: 5;
}

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

.product-card {
    background: var(--color-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.product-card.featured {
    border: 2px solid var(--color-gold);
}

.product-image {
    position: relative;
    height: 250px;
    background: var(--color-beige);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--color-gold);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 1;
}

body[dir="rtl"] .product-badge {
    right: auto;
    left: 15px;
}

.coming-soon-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(201, 169, 99, 0.95);
    color: var(--color-white);
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    z-index: 2;
}

.product-card.coming-soon {
    opacity: 0.85;
}

.product-card.coming-soon .product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
}

.product-content {
    padding: 2rem;
}

.product-content h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-charcoal);
    margin-bottom: 1rem;
}

.product-content p {
    font-size: 1.05rem;
    color: var(--color-grey);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature {
    font-size: 0.95rem;
    color: var(--color-gold-dark);
    font-weight: 600;
}

/* ===========================
   Location Section
   =========================== */
.location {
    background: var(--color-white);
    position: relative;
    z-index: 5;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

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

.info-card {
    background: var(--color-champagne);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--color-gold);
    transition: var(--transition-smooth);
}

body[dir="rtl"] .info-card {
    border-left: none;
    border-right: 4px solid var(--color-gold);
}

.info-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

body[dir="rtl"] .info-card:hover {
    transform: translateX(-10px);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-charcoal);
    margin-bottom: 1rem;
}

.info-card p {
    font-size: 1.1rem;
    color: var(--color-grey);
    line-height: 1.8;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.location-map {
    width: 100%;
    height: 100%;
    min-height: 450px;
}

/* ===========================
   Contact Section
   =========================== */
.contact {
    background: var(--color-champagne);
    position: relative;
    z-index: 5;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background: var(--color-white);
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.contact-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-charcoal);
    margin-bottom: 1rem;
}

.contact-link {
    font-size: 1.2rem;
    color: var(--color-gold);
    font-weight: 600;
    transition: var(--transition-smooth);
}

.contact-link:hover {
    color: var(--color-gold-dark);
    text-decoration: underline;
}

.coming-soon-text {
    font-size: 1.1rem;
    color: var(--color-grey);
    font-style: italic;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--color-charcoal);
    color: var(--color-white);
    padding: 4rem 0 2rem;
    position: relative;
    z-index: 5;
}

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

.footer-logo img {
    width: 150px;
    height: auto;
    margin-bottom: 1.5rem;
}

.footer-logo p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--color-gold);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-smooth);
}

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

body[dir="rtl"] .footer-links a:hover {
    padding-left: 0;
    padding-right: 5px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

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

/* ===========================
   Animations
   =========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes scrollDown {
    0% {
        opacity: 0;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* Fade in on scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    position: relative;
    z-index: 1;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Prevent text overlap */
.about-text {
    position: relative;
    z-index: 1;
    background: var(--color-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.about-text p {
    position: relative;
    z-index: 1;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1024px) {
    .about-content,
    .location-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links ul {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: var(--transition-smooth);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    body[dir="rtl"] .nav-links {
        left: auto;
        right: -100%;
    }
    
    body[dir="rtl"] .nav-links.active {
        right: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

/* ===========================
   Print Styles
   =========================== */
@media print {
    .navbar,
    .lang-toggle,
    .hero-buttons,
    .scroll-indicator,
    .mobile-menu-toggle {
        display: none;
    }
}

