/* Base Reset & Fonts */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Mobile Menu Button - Add this to the top of your CSS file or replace the existing styles */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1010;
    position: relative;
}

.mobile-menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #fff;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile responsive navbar */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
        position: absolute;
        right: 20px;
        top: 30px;
    }

    [dir="rtl"] .mobile-menu-btn {
        right: auto;
        left: 20px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #121212;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
        padding: 20px;
        width: 100%;
        height: 100vh;
        display: flex;
    }

    [dir="rtl"] .nav-links {
        transform: translateX(100%);
        left: auto;
        right: 0;
    }

    .nav-links.show {
        transform: translateX(0);
    }

    .nav-links a {
        margin: 15px 0;
        font-size: 1.2rem;
    }

    .logo {
        height: 80px;
    }

    .navbar {
        padding: 10px 15px;
    }

    main {
        margin-top: 80px;
    }

    /* Ensure the logo remains visible on mobile */
    .logo-section {
        z-index: 10;
    }
}

/* Responsive adjustments for footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .footer-links-columns {
        margin-left: 0;
        justify-content: center;
        gap: 3rem;
    }

    .footer-contact-info {
        margin-left: 0;
        align-items: center;
    }

    .site-footer {
        padding: 40px 20px;
    }
}

/* Responsive hero section */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content strong {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .button-89 {
        width: 100%;
        min-width: auto;
    }
}

/* Responsive about page */
@media (max-width: 768px) {
    .about-main-header {
        font-size: 2rem;
    }

    .about-tagline {
        font-size: 1rem;
    }

    .mission-text {
        font-size: 1rem;
        padding: 0 15px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-year {
        left: 20px;
        transform: none;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }

    [dir="rtl"] .timeline::before {
        left: auto;
        right: 20px;
    }

    [dir="rtl"] .timeline-year {
        left: auto;
        right: 20px;
    }

    [dir="rtl"] .timeline-content {
        margin-left: 0 !important;
        margin-right: 60px !important;
    }
}

/* Responsive product grid and catalog */
@media (max-width: 768px) {
    .product-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        max-width: 100%;
    }

    .product-card h3 {
        font-size: 1.1rem;
    }

    .category-toggle {
        flex-wrap: wrap;
    }

    .toggle-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .swatch-card img {
        width: 200px;
        height: 250px;
    }
}

/* Responsive modal */
@media (max-width: 768px) {
    .modal .modal-content {
        width: 95%;
        padding: 20px 15px;
    }

    .modal-img-vertical {
        max-width: 90%;
    }

    .modal-caption {
        width: 90%;
    }
}

/* Better tap targets for mobile */
@media (max-width: 768px) {
    button,
    .nav-links a,
    .footer-links-col a,
    .explore-btn,
    .discover-btn,
    .contact-btn {
        padding: 12px 20px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .toggle-btn {
        min-height: 44px;
    }

    input,
    textarea {
        font-size: 16px; /* Prevent iOS zoom on focus */
    }
}

/* Touch-friendly improvements */
@media (hover: none) {
    .product-card:hover,
    .section-block:hover,
    .aboutus-col:hover,
    .category-card:hover,
    .principle-card:hover {
        transform: none;
    }

    .product-card:active,
    .section-block:active,
    .aboutus-col:active,
    .category-card:active,
    .principle-card:active {
        transform: translateY(-5px);
        transition: transform 0.1s ease;
    }
}

/* Remove hover effects on mobile and replace with active state */
@media (hover: none) {
    .button-89:hover,
    .explore-btn:hover,
    .discover-btn:hover,
    .contact-btn:hover,
    .nav-links a:hover,
    .footer-links-col a:hover {
        opacity: 1;
    }

    .button-89:active,
    .explore-btn:active,
    .discover-btn:active,
    .contact-btn:active {
        opacity: 0.8;
        transform: scale(0.98);
        transition: transform 0.1s ease, opacity 0.1s ease;
    }
}

/* KEEP THE REST OF THE CSS FILE AS IT IS */

html {
    font-size: 14px;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #121212;
    color: #f5f5f5;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #fff;
}

p {
    margin-bottom: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button, input, textarea {
    font-family: inherit;
    font-size: 1rem;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
}

/* --- Navbar --- */
/* Default (LTR): logo-section (left), nav-links (right) */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #1a1a1a;
    padding: 1rem 2rem;
    flex-wrap: wrap;
    position: fixed; /* Change from relative to fixed */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: padding 0.35s ease, background 0.35s ease;
}

.logo-section {
    order: 2; /* Logo on the left */
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    order: 1; /* Links on the left in LTR */
}

[dir="rtl"] .logo-section,
[dir="rtl"] .nav-links {
    order: initial !important;
}
[dir="rtl"] .navbar {
    flex-direction: row-reverse;
    justify-content: space-between;
}

/* Scrolled state */
.navbar.scrolled {
    padding: 0.3rem 2rem;
    background-color: #181818;
}

.logo.scrolled {
    height: 60px;
}

/* Home page: navbar transparent and fixed until scrolled */
body.home .navbar {
    background-color: transparent;
    box-shadow: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transition: background-color 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s cubic-bezier(0.4,0,0.2,1), padding 0.35s;
    z-index: 1000;
}
body.home.scrolled .navbar {
    background-color: #1a1a1a;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

/* Add margin to main content to prevent it from being hidden under the navbar */
main {
    flex: 1;
    width: 100%;
    margin-top: 120px; /* Height of the navbar */
}

/* Special case for home page to keep transparent navbar */
body.home main {
    margin-top: 0; /* Remove margin for home page as it has full-height hero section */
}

/* --- About Page Hero Styling (like home page) --- */
body.about-page .navbar {
    background-color: transparent;
    box-shadow: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transition: background-color 0.35s cubic-bezier(0.4,0,0.2,1), 
                box-shadow 0.35s cubic-bezier(0.4,0,0.2,1), 
                padding 0.35s;
    z-index: 1000;
}

body.about-page.scrolled .navbar {
    background-color: #1a1a1a !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12) !important;
    padding: 0.3rem 2rem;
}

/* Remove margin for about page as it has full-height hero section */
body.about-page main {
    margin-top: 0;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 100vh; /* Full viewport height */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px; /* Remove top/bottom padding */
    background: url('/images/heroimage2.jpg') no-repeat center center/cover;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65); /* Adjust opacity as needed */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content strong {
    display: block;
    font-size: 1.4rem;
    font-weight: 400;
}

/* Hero Buttons Styling */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
    position: relative;
    z-index: 5;
}

/* Animation delay for second button */
.hero-buttons .button-89:nth-child(1) {
    animation-delay: 0.7s;
}

.hero-buttons .button-89:nth-child(2) {
    animation-delay: 0.9s;
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@keyframes buttonFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Updated Button-89 styling for dark background */
.button-89 {
    --b: 3px; /* border thickness */
    --s: .45em; /* size of the corner */
    --color: #f5f5f5; /* Gold color to match site theme */
    position: relative;
    padding: calc(.5em + var(--s)) calc(.9em + var(--s));
    color: #fff;
    --_p: var(--s);
    background: conic-gradient(from 90deg at var(--b) var(--b),#0000 90deg,var(--color) 0) var(--_p) var(--_p)/calc(100% - var(--b) - 2*var(--_p)) calc(100% - var(--b) - 2*var(--_p));
    transition: .3s linear, color 0s, background-color 0s;
    outline: var(--b) solid transparent;
    outline-offset: .6em;
    font-size: 16px;
    border: 0;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    min-width: 160px;
    z-index: 5;
    opacity: 0;
    transform: translateY(20px);
    animation: buttonFadeIn 0.6s ease forwards;
}

.button-89:hover,
.button-89:focus-visible {
    --_p: 0px;
    outline-color: var(--color);
    outline-offset: .05em;
}

.button-89:active {
    background: var(--color);
    color: #000;
}

/* Class to override animations */
.static-element {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

/* --- About Us Section --- */
.aboutus-section {
    padding: 80px 20px;
    background-color: #161616;
    text-align: center;
}

.aboutus-header .aboutus-label {
    letter-spacing: 2px;
    font-size: 0.95rem;
    color: #c7a36d;
    margin-bottom: 1rem;
    font-weight: 600;
    display: block;
}

.aboutus-header h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.aboutus-desc {
    max-width: 700px;
    margin: 0 auto;
    color: #ccc;
    font-size: 1.1rem;
}

.aboutus-columns {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 4rem;
}

.aboutus-col {
    flex: 1 1 300px;
    max-width: 350px;
    background-color: #121212;
    padding: 2rem;
    border-radius: 8px;
    text-align: left;
    transition: transform 0.2s ease;
}

    .aboutus-col:hover {
        transform: translateY(-5px);
    }

    .aboutus-col h4 {
        font-size: 1.1rem;
        font-weight: bold;
        margin-bottom: 1rem;
        color: #fff;
    }

    .aboutus-col p {
        color: #ddd;
        font-size: 1rem;
    }

.aboutus-btn-row {
    margin-top: 2rem;
}

.aboutus-readmore-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #c7a36d;
    color: #000;
    font-weight: bold;
    border-radius: 4px;
    transition: background 0.2s ease;
    text-decoration: none;
}

    .aboutus-readmore-btn:hover {
        background-color: #b48e59;
    }

/* --- About Page Sections --- */
/* --- Elegant About Page Styles --- */
.about-page {
    background-color: #121212;
}

/* Hero Section Refinements */
.about-hero-section {
    position: relative;
    height: 100vh; /* Full viewport height */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    background: url('/images/home.jpg') no-repeat center center/cover;
    overflow: hidden;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-hero-section {
        min-height: 100vh;
    }
}

.hero-text-container {
    max-width: 800px;
    margin: 0 auto;
}

.about-main-header {
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.about-tagline {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Elegant Section Header */
.elegant-header {
    font-size: 2.5rem;
    font-weight: 600;
    color: #fff;
    position: relative;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    text-align: center;
}

    .elegant-header::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background-color: #c7a36d;
        border-radius: 2px;
    }

/* Mission Section */
.mission-section {
    padding: 100px 0;
    background-color: #161616;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.mission-text {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #e0e0e0;
    font-weight: 300;
}

/* Story Section with Timeline */
.story-section {
    padding: 100px 0;
    background-color: #121212;
}

.story-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.story-intro {
    max-width: 700px;
    margin: 0 auto;
    color: #ccc;
    font-size: 1.2rem;
    line-height: 1.6;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

    .timeline::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 2px;
        background-color: rgba(199, 163, 109, 0.3);
        transform: translateX(-50%);
    }

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.timeline-year {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #c7a36d;
    color: #000;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    z-index: 2;
    min-width: 80px;
    text-align: center;
}

.timeline-content {
    width: calc(50% - 50px);
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    margin-top: 30px;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-content h3 {
    color: #c7a36d;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.timeline-content p {
    color: #ddd;
    line-height: 1.6;
}

/* Principles Section */
.principles-section {
    padding: 100px 0;
    background-color: #161616;
}

.principles-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.principles-intro {
    max-width: 700px;
    margin: 0 auto;
    color: #ccc;
    font-size: 1.2rem;
    line-height: 1.6;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.principle-card {
    background-color: #1a1a1a;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

    .principle-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

.principle-icon {
    margin: 0 auto 20px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(199, 163, 109, 0.1);
    border-radius: 50%;
}

.principle-card h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.principle-card p {
    color: #ccc;
    line-height: 1.6;
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    background-color: #121212;
}

.gallery-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.gallery-intro {
    max-width: 700px;
    margin: 0 auto;
    color: #ccc;
    font-size: 1.2rem;
    line-height: 1.6;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    height: 300px;
}

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .gallery-item:hover img {
        transform: scale(1.05);
    }

/* Refined CTA Section */
.about-cta-section {
    padding: 100px 0;
    background-color: #1a1a1a;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .about-cta-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, rgba(199, 163, 109, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
        z-index: 1;
    }

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-cta-section h2 {
    color: #c7a36d;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-cta-section p {
    color: #ddd;
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

    .cta-buttons .button-89 {
        min-width: 180px;
    }

/* Responsive Design */
@media (max-width: 992px) {
    .about-main-header {
        font-size: 3rem;
    }

    .about-tagline {
        font-size: 1.3rem;
    }

    .mission-text {
        font-size: 1.2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .elegant-header {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .about-hero-section {
        height: 60vh;
        min-height: 500px;
    }

    .about-main-header {
        font-size: 2.5rem;
    }

    .about-tagline {
        font-size: 1.1rem;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-year {
        left: 30px;
        transform: none;
    }

    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
    }

    .principles-grid {
        grid-template-columns: 1fr;
    }

    .mission-section,
    .story-section,
    .principles-section,
    .gallery-section,
    .about-cta-section {
        padding: 70px 0;
    }

    .elegant-header {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .about-main-header {
        font-size: 2rem;
    }

    .about-hero-section {
        min-height: 400px;
    }

    .about-cta-section h2 {
        font-size: 2rem;
    }
}

/* RTL Support */
[dir="rtl"] .timeline::before {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

[dir="rtl"] .timeline-year {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

[dir="rtl"] .timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: auto;
}

[dir="rtl"] .elegant-header::after {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

@media (max-width: 768px) {
    [dir="rtl"] .timeline::before {
        left: auto;
        right: 30px;
    }

    [dir="rtl"] .timeline-year {
        left: auto;
        right: 30px;
        transform: none;
    }

    [dir="rtl"] .timeline-content {
        margin-left: 0 !important;
        margin-right: 80px !important;
    }
}

/* --- Home Sections --- */
.home-sections {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 60px 20px;
    background-color: #121212;
    flex-wrap: wrap;
}

.section-block {
    flex: 1 1 300px;
    min-width: 280px;
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.2s ease;
}

    .section-block:hover {
        transform: translateY(-5px);
    }

    .section-block h2 {
        font-size: 1.8rem;
        color: #fff;
        margin-bottom: 1rem;
    }

    .section-block p {
        color: #ccc;
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

.discover-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    border-radius: 24px;
    font-weight: bold;
    transition: background 0.2s ease;
}

    .discover-btn:hover {
        background-color: #555;
    }

/* --- Products Section --- */
.products-section {
    padding: 80px 20px;
    background-color: #121212;
    text-align: center;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.section-header h4 {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.section-header p {
    color: #aaa;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer !important;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    
    }

    .product-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .product-card h3 {
        color: #c7a36d;
        margin: 1rem 1rem 0.5rem;
        font-size: 1.3rem;
    }

    .product-card p {
        padding: 0 1rem 1rem;
        color: #ccc;
        font-size: 0.95rem;
    }

/* --- Contact Modal Form --- */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    overflow: auto;
}

    .modal.show {
        display: flex;
        
    }

.modal .modal-content,
.modal-vertical {
    margin: 0;
    top: auto;
    left: auto;
    transform: none;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .modal .modal-content {
        background: #222;
        color: #fff;
        margin: 60px auto;
        padding: 2.5rem 2rem 2rem 2rem;
        border-radius: 12px;
        max-width: 400px;
        width: 90%;
        box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .modal .close {
        position: absolute;
        top: 18px;
        right: 24px;
        color: #fff;
        font-size: 2rem;
        font-weight: bold;
        cursor: pointer;
        z-index: 10;
    }

    .modal .modal-content label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 600;
        color: #fff;
        letter-spacing: 0.5px;
    }

    .modal .modal-content input,
    .modal .modal-content textarea {
        width: 100%;
        padding: 0.75rem 1rem;
        border: 1px solid #444;
        border-radius: 6px;
        background-color: #181818;
        color: #fff;
        font-size: 1rem;
        transition: border-color 0.2s;
        resize: vertical;
        margin-bottom: 1rem; /* Ensure consistent spacing */
    }

    .modal .modal-content textarea {
        min-height: 90px;
        max-height: 200px;
    }

    .modal .modal-content button[type="submit"] {
        align-self: flex-end; /* Align the button to the right */
        min-width: 120px;
        max-width: 220px;
        width: auto;
        padding: 0.75rem 2.5rem;
        background-color: #c7a36d;
        color: #000;
        font-weight: bold;
        border-radius: 6px;
        cursor: pointer;
        transition: background 0.2s ease;
        text-align: center;
        border: none;
        margin-top: 1rem; /* Add some spacing above the button */
    }

        .modal .modal-content button[type="submit"]:hover {
            background-color: #b48e59;
        }

@media (max-width: 600px) {
    .modal .modal-content {
        padding: 1.2rem 0.5rem 1.5rem 0.5rem;
        max-width: 98vw;
    }
}

/* --- RTL Modal Fixes --- */
[dir="rtl"] .modal .modal-content {
    text-align: right;
}

[dir="rtl"] .modal .modal-content button[type="submit"] {
    align-self: flex-start; /* Align the button to the left in RTL */
}

[dir="rtl"] .modal .modal-content form div {
    text-align: right;
}

/* Fix for different modal implementations in Index.cshtml vs _Layout.cshtml */
[dir="rtl"] #contactModal.modal .modal-content {
    direction: rtl;
}

/* Make sure the close button is on the left in RTL mode */
[dir="rtl"] .modal .close {
    right: auto;
    left: 24px;
}

/* Fix modal display in Arabic */
[dir="rtl"] .modal.show {
    display: flex;
}

/* Ensure modal is properly centered and displayed */
.modal.show,
.modal[style*="display: flex"],
.modal[style*="display:flex"] {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 14px;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #121212;
    color: #f5f5f5;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
textarea {
    font-family: inherit;
    font-size: 1rem;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    cursor: pointer;
}

.logo {
    height: 120px;
    width: auto;
    max-width: none;
    display: block;
    transition: height 0.35s ease;
    will-change: height;
}

.tagline {
    font-size: 1rem;
    letter-spacing: 1px;
    color: #ccc;
    white-space: pre-line;
}

.nav-links a {
    color: #fff;
    font-weight: 500;
    transition: color 0.2s ease;
}

    .nav-links a:hover {
        color: #bbb;
    }

/* --- Main Content Area --- */
main {
    flex: 1;
    width: 100%;
    margin-top: 120px; /* Height of the navbar */
}

/* Special case for home page to keep transparent navbar */
body.home main {
    margin-top: 0; /* Remove margin for home page as it has full-height hero section */
}

/* --- Hero Section (Index Only) --- */
.hero-section {
    position: relative;
    height: 100vh; /* Full viewport height */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px; /* Remove top/bottom padding */
    background: url('/images/heroimage2.jpg') no-repeat center center/cover;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65); /* Adjust opacity as needed */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content strong {
    display: block;
    font-size: 1.4rem;
    font-weight: 400;
}

/* --- Footer --- */
.site-footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 16px;
}

.footer-description {
    font-size: 0.95rem;
    color: #ccc;
    max-width: 260px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .footer-links a {
        color: #fff;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.2s ease;
        font-size: 1rem;
    }

        .footer-links a:hover {
            color: #bbb;
        }

.footer-contact .contact-btn {
    padding: 12px 24px;
    background-color: #c7a36d;
    color: #000;
    font-weight: bold;
    border-radius: 24px;
    cursor: pointer;
    transition: background 0.2s ease;
}

    .footer-contact .contact-btn:hover {
        background-color: #b48e59;
    }

/* --- Footer Custom Columns & Contact Info --- */
.footer-links-columns {
    display: flex;
    gap: 5rem; /* Increased gap for more space between the two columns */
    flex: 1 1 220px;
    min-width: 200px;
    justify-content: flex-start;
    margin-left: 96px;
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links-col a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    font-size: 1rem;
}

.footer-links-col a:hover {
    color: #c7a36d;
}

.footer-contact-info {
    flex: 1 1 220px;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.98rem;
    color: #b8b8b8;
    margin-left: 96px; /* Increased from 48px to 96px for more right shift */
}

.footer-contact-info a {
    color: #fff;
    text-decoration: none;
}

.footer-contact-info a:hover {
    color: #c7a36d;
}

/* Responsive for footer columns */
@media (max-width: 900px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .footer-links-columns,
    .footer-contact-info {
        margin-left: 0; /* Remove right shift on mobile for better centering */
    }
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links,
    .footer-contact {
        margin-top: 20px;
    }
}

/* --- Catalog Section --- */
.catalog-section {
    padding: 80px 20px;
    background-color: #121212;
    text-align: center;
}

    .catalog-section h2 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
        color: #fff;
    }

.catalog-intro {
    max-width: 700px;
    margin: 0 auto 4rem;
    color: #aaa;
    font-size: 1.1rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.category-card {
    background-color: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
}

    .category-card:hover {
        transform: translateY(-5px);
    }

.category-image {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
}

.category-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-items: center;
}

    .category-content h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
        color: #c7a36d;
    }

    .category-content p {
        flex-grow: 1;
        font-size: 1rem;
        color: #ccc;
        margin-bottom: 1.5rem;
    }

.explore-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #c7a36d;
    color: #000;
    font-weight: bold;
    border-radius: 24px;
    text-decoration: none;
    transition: background 0.2s ease;
    align-self: center;
    text-align: center;
}

    .explore-btn:hover {
        background-color: #b48e59;
    }

/* --- Catalog Detail Section --- */
.catalog-detail-section {
    padding: 80px 20px;
    background-color: #121212;
    text-align: center;
}

    .catalog-detail-section h2 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
        color: #fff;
    }

.catalog-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
    color: #aaa;
    font-size: 1.1rem;
}

/* --- Category Toggle Buttons --- */
.category-toggle {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.toggle-btn {
    padding: 10px 20px;
    background-color: #2a2a2a;
    color: #ccc;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

    .toggle-btn.active {
        background-color: #c7a36d;
        color: #000;
    }

/* --- Swatch Grid --- */
.swatch-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.swatch-category {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    width: 100%;
}

    .swatch-category.hidden {
        display: none;
    }

.swatch-card {
    text-align: center;
    max-width: 220px;
    width: 100%;
    transition: transform 0.2s ease;
    opacity: 0;
    transform: translateX(40px) scale(0.96);
    transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1), transform 0.4s cubic-bezier(0.4,0,0.2,1);
}

    .swatch-card:hover {
        transform: translateY(5px);
    }

    .swatch-card.swipe-in {
        opacity: 1;
        transform: translateX(0) scale(1);
    }

    .swatch-card img {
        width: 250px;
        height: 300px;
        border-radius: 2px;
        object-fit: cover;
        margin-bottom: 10px;
    }

.swatch-name {
    font-size: 0.95rem;
    color: #ccc;
    margin-top: 4px;
    justify-content: center;
}

/* --- Modal Styles --- */
.modal-swatch {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

    .modal .close {
        position: absolute;
        top: 20px;
        right: 35px;
        color: #fff;
        font-size: 40px;
        font-weight: bold;
        cursor: pointer;
    }

[dir="rtl"] .modal .close {
    right: auto;
    left: 24px;
}

.modal-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    overflow: auto;
}

.modal-img-vertical {
    max-height: 70vh;
    max-width: 320px;
    width: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    background: #fff;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.4);
    display: block;
    overflow: auto;
}

.modal-caption {
    width: 320px;
    background: rgba(30, 30, 30, 0.95);
    color: #fff;
    text-align: center;
    font-weight: bold;
    font-size: 1rem;
    padding: 0.75rem 0.5rem;
    border-radius: 0 0 8px 8px;
    letter-spacing: 1px;
    margin: 0 auto;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.2);
    overflow-wrap: break-word;
}

/* Downloads Header */
.downloads-header {
    color: #c7a36d;
    font-size: 2.6rem; /* Slightly smaller for a more spacious look */
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: center;
    margin-bottom: 4.5rem;
    margin-top: 0;
    text-shadow: 0 2px 24px rgba(0,0,0,0.18), 0 1px 0 #fff2;
    font-family: 'Segoe UI', 'Montserrat', 'Arial', sans-serif;
    text-transform: uppercase;
    line-height: 1.1;
    user-select: none;
    position: relative;
    display: inline-block;
    padding: 0 2.5rem;
}

    .downloads-header::after {
        content: "";
        display: block;
        margin: 18px auto 0 auto;
        width: 120px; /* Wider underline for more space */
        height: 4px;
        border-radius: 2px;
        background: linear-gradient(90deg, #c7a36d 0%, #fff2 100%);
        opacity: 0.85;
    }

@media (max-width: 600px) {
    .downloads-header {
        font-size: 2rem;
        padding: 0 1rem;
    }

        .downloads-header::after {
            width: 50px;
            height: 3px;
        }
}

/* --- Section Animation --- */
.section-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}

.section-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fall-in animation for main sections */
.fall-in {
    opacity: 0;
    transform: translateY(-40px);
    transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}

.fall-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Swatch Container --- */
.swatch-container {
    display: flex;
    flex-direction: column; /* Stack swatch grid and text vertically */
    align-items: center; /* Center items horizontally */
    gap: 20px; /* Add spacing between swatch grid and text */
}

.highlighted-text {
    text-align: center;
    font-weight: bold;
    font-size: 1.3rem;
    margin: 2rem 0 1.5rem 0;
}

.classic-swatches-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* Style the language switch button like other nav links */
.lang-switch-btn {
    font-weight: 500;
    padding: 0 0.5rem;
    color: #fff;
    transition: color 0.2s;
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: 1rem;
    text-decoration: none;
}

    .lang-switch-btn:hover {
        color: #c7a36d;
    }

/* RTL support for Arabic */
[dir="rtl"] .language-switcher {
    margin-left: 0;
    margin-right: 1rem;
}

/* wwwroot/css/site.css */

/* Flip layout for RTL */
[dir="rtl"] {
    direction: rtl;
}

    [dir="rtl"] .aboutus-columns,
    [dir="rtl"] .product-grid,
    [dir="rtl"] .aboutus-col,
    [dir="rtl"] .category-grid,
    [dir="rtl"] .swatch-grid,
    [dir="rtl"] .swatch-category,
    [dir="rtl"] .classic-swatches-group {
        flex-direction: row-reverse;
    }

    [dir="rtl"] .footer-links-columns {
        order: 3;
    }

    [dir="rtl"] .aboutus-col,
    [dir="rtl"] .footer-contact-info {
        order: 2; /* Move contact info to the far right */
        text-align: right;
    }

    [dir="rtl"] .footer-logo {
        order: 4;
    }

    [dir="rtl"] .footer-content {
        flex-direction: row-reverse;
    }

    [dir="rtl"] .footer-contact-info {
        order: 3; /* Move contact info to the far right */
        text-align: right;
    }

    [dir="rtl"] .footer-contact .contact-btn {
        order: 1; /* Contact button moves to the far left */
    }

/* --- Default LTR Layout --- */
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo {
    order: 1;
}

.footer-links-columns {
    order: 2;
}

.footer-contact-info {
    order: 3;
}

.footer-contact {
    order: 4;
}

/* --- RTL Override --- */
[dir="rtl"] .footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

[dir="rtl"] .footer-logo {
    order: 1;
}

[dir="rtl"] .footer-links-columns {
    order: 2;
}

[dir="rtl"] .footer-contact-info {
    order: 3;
}

[dir="rtl"] .footer-contact {
    order: 4;
}
/* Toast notification - Updated for better visibility */
.toast-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background-color: #222;
    color: white;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    z-index: 2001; /* Higher than modals */
    max-width: 400px;
    width: 90%;
    font-weight: 500;
    text-align: center;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    transition: opacity 0.3s ease, transform 0.3s ease;
    border-top: 4px solid #4CAF50;
}

    .toast-notification.show {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    .toast-notification.hide {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }

.toast-content {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    width: 100%;
}

.toast-icon {
    margin-right: 12px;
    font-size: 1.8rem;
    color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-message {
    font-size: 1.1rem;
    line-height: 1.4;
}

.toast-close {
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0.7;
    transition: opacity 0.2s;
    position: absolute;
    top: 10px;
    right: 15px;
}

    .toast-close:hover {
        opacity: 1;
    }

/* RTL support for toast */
[dir="rtl"] .toast-icon {
    margin-right: 0;
    margin-left: 12px;
}

[dir="rtl"] .toast-close {
    right: auto;
    left: 15px;
}
