/* 
==================================================================
   AL JEDYAN AL DAHABI GENERAL TRADING L.L.C - MAIN STYLESHEET
   Author: Senior Front-End Developer & UI/UX Architect
==================================================================
*/

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,400&family=Tajawal:wght@300;400;500;700;800&display=swap');

/* --- CSS custom properties / variables --- */
:root {
  /* Colors - 65% White/Ivory, 15% Charcoal, 15% Gold, 5% Green Accents */
  --color-warm-ivory: #F8F6F0;
  --color-white: #FFFFFF;
  --color-charcoal: #181818;
  --color-dark-gray: #303030;
  --color-light-gray: #F0EDE5;
  
  --color-primary-gold: #B89A4A;
  --color-deep-gold: #9A7A2F;
  --color-gold-glow: rgba(184, 154, 74, 0.15);
  
  --color-green-accent: #234D3C;
  --color-green-light: #EBF2EE;
  
  --color-text-dark: #1C1C1C;
  --color-text-muted: #555555;
  --color-text-light: #888888;
  
  /* Typography */
  --font-en-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-en-serif: 'Playfair Display', Georgia, serif;
  --font-ar-sans: 'Tajawal', sans-serif;
  
  /* Transitions & FX */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-subtle: 0 4px 20px rgba(24, 24, 24, 0.05);
  --shadow-medium: 0 10px 30px rgba(24, 24, 24, 0.08);
  --shadow-hover: 0 15px 40px rgba(184, 154, 74, 0.12);
  --border-radius: 8px;
  --border-radius-lg: 16px;
  --header-height: 90px;
}

/* --- Language Specific Font Bindings --- */
html[lang="en"] {
  --font-primary: var(--font-en-sans);
  --font-headings: var(--font-en-serif);
}

html[lang="ar"] {
  --font-primary: var(--font-ar-sans);
  --font-headings: var(--font-ar-sans);
}

/* --- Global Reset & Base Rules --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

/* --- Layout Containers --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 80px 0;
  position: relative;
}

section.bg-white {
  background-color: var(--color-white);
}

section.bg-ivory {
  background-color: var(--color-warm-ivory);
}

section.bg-charcoal {
  background-color: var(--color-charcoal);
  color: var(--color-white);
}

/* --- Typography System --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4, html[lang="ar"] h5, html[lang="ar"] h6 {
  font-weight: 800; /* Tajawal looks better bold */
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

p {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

section.bg-charcoal p {
  color: #CCCCCC;
}

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

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

.text-green {
  color: var(--color-green-accent);
}

.text-center {
  text-align: center;
}

/* --- Headings Accents --- */
.section-title {
  margin-bottom: 3.5rem;
  text-align: center;
}

.section-title h2 {
  display: inline-block;
  position: relative;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--color-primary-gold);
}

.section-title p {
  max-width: 650px;
  margin: 1rem auto 0;
}

/* --- Interactive Elements & Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
}

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

.btn-primary:hover {
  background-color: var(--color-deep-gold);
  border-color: var(--color-deep-gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(184, 154, 74, 0.25);
}

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

.btn-secondary:hover {
  background-color: var(--color-primary-gold);
  color: var(--color-white);
  transform: translateY(-2px);
}

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

.btn-white:hover {
  background-color: var(--color-primary-gold);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

/* --- Sticky Header Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-subtle);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
  border-bottom: 2px solid var(--color-light-gray);
}

.header.scrolled {
  height: 75px;
  background-color: var(--color-white);
  border-bottom-color: var(--color-primary-gold);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo img {
  height: 65px;
  width: auto;
  transition: var(--transition-smooth);
}

.header.scrolled .logo img {
  height: 55px;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2.2rem;
}

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

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

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

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

/* RTL layout mirrors */
html[lang="ar"] .nav-link::after {
  left: auto;
  right: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.lang-switch {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary-gold);
  background: none;
  border: 1px solid var(--color-primary-gold);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lang-switch:hover {
  background-color: var(--color-primary-gold);
  color: var(--color-white);
}

/* Hamburger menu button */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1010;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--color-charcoal);
  transition: var(--transition-smooth);
  border-radius: 2px;
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* --- Hero Section Styles --- */
.hero {
  height: 90vh;
  min-height: 600px;
  margin-top: var(--header-height);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(24,24,24,0.92) 0%, rgba(24,24,24,0.7) 50%, rgba(24,24,24,0.3) 100%);
  z-index: 1;
}

/* RTL Hero overlay mirroring */
html[lang="ar"] .hero-overlay {
  background: linear-gradient(-135deg, rgba(24,24,24,0.92) 0%, rgba(24,24,24,0.7) 50%, rgba(24,24,24,0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  color: var(--color-white);
}

.hero-tagline {
  color: var(--color-primary-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero p {
  color: #DDDDDD;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  margin-bottom: 2.5rem;
  max-width: 650px;
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
}

/* --- Split Corporate Intro Section --- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.intro-image-wrapper {
  position: relative;
}

.intro-image-main {
  width: 100%;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-medium);
}

.intro-experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--color-green-accent);
  color: var(--color-white);
  padding: 1.5rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-medium);
  border-left: 4px solid var(--color-primary-gold);
}

html[lang="ar"] .intro-experience-badge {
  right: auto;
  left: -20px;
  border-left: none;
  border-right: 4px solid var(--color-primary-gold);
}

.intro-experience-badge h4 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
  color: var(--color-primary-gold);
}

.intro-experience-badge p {
  margin-bottom: 0;
  color: #E2E8F0;
  font-size: 0.85rem;
}

.intro-text h3 {
  font-family: var(--font-en-serif);
  font-size: 2rem;
  color: var(--color-charcoal);
}

html[lang="ar"] .intro-text h3 {
  font-family: var(--font-ar-sans);
}

.intro-text p.lead {
  font-size: 1.15rem;
  color: var(--color-text-dark);
  font-weight: 500;
  margin-bottom: 1.2rem;
}

/* --- Trade Capabilities / Highlights Bar --- */
.trade-bar {
  background-color: var(--color-charcoal);
  padding: 40px 0;
  border-top: 3px solid var(--color-primary-gold);
}

.trade-bar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.trade-bar-item {
  text-align: center;
  color: var(--color-white);
  padding: 10px;
}

.trade-bar-icon {
  font-size: 2.2rem;
  color: var(--color-primary-gold);
  margin-bottom: 0.8rem;
}

.trade-bar-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--color-white);
}

.trade-bar-item p {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* --- Product Cards Grid (6 on Homepage, 9 on Products Page) --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2.5rem;
}

.product-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
  border: 1px solid var(--color-light-gray);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-primary-gold);
}

.product-image-container {
  position: relative;
  padding-top: 66.67%; /* 3:2 aspect ratio */
  overflow: hidden;
  background-color: #E2E8F0;
}

.product-image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--color-green-accent);
  color: var(--color-white);
  padding: 0.4rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  letter-spacing: 0.5px;
  z-index: 10;
  border-left: 2px solid var(--color-primary-gold);
}

html[lang="ar"] .product-badge {
  right: auto;
  left: 15px;
  border-left: none;
  border-right: 2px solid var(--color-primary-gold);
}

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

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary-gold);
  margin-bottom: 0.8rem;
}

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

.product-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--color-light-gray);
  padding-top: 1.2rem;
}

.product-spec {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.product-spec strong {
  color: var(--color-text-dark);
}

.product-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary-gold);
  display: flex;
  align-items: center;
  gap: 5px;
}

.product-link:hover {
  color: var(--color-deep-gold);
}

/* --- Trade & Logistics Process Section --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  width: 80%;
  height: 2px;
  background-color: var(--color-light-gray);
  z-index: 1;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 2;
}

.process-number {
  width: 80px;
  height: 80px;
  background-color: var(--color-white);
  border: 3px solid var(--color-light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  color: var(--color-primary-gold);
  font-weight: 700;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-subtle);
}

.process-step:hover .process-number {
  border-color: var(--color-primary-gold);
  background-color: var(--color-primary-gold);
  color: var(--color-white);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px var(--color-gold-glow);
}

.process-step h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-charcoal);
}

.process-step p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* --- Why Us Section Cards --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.why-card {
  background-color: var(--color-white);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-subtle);
  border-top: 4px solid var(--color-light-gray);
  transition: var(--transition-smooth);
}

.why-card:hover {
  transform: translateY(-6px);
  border-top-color: var(--color-primary-gold);
  box-shadow: var(--shadow-medium);
}

.why-icon {
  font-size: 2.5rem;
  color: var(--color-primary-gold);
  margin-bottom: 1.5rem;
}

.why-card h3 {
  font-size: 1.3rem;
  color: var(--color-charcoal);
  margin-bottom: 1rem;
}

.why-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* --- Market Reach / Trade Map Section --- */
.map-section-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.map-visual-container {
  position: relative;
  background-color: var(--color-charcoal);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--color-dark-gray);
  overflow: hidden;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-svg {
  width: 100%;
  height: 100%;
  max-height: 380px;
}

.map-node {
  fill: var(--color-primary-gold);
  stroke: var(--color-white);
  stroke-width: 1.5;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.map-node.hub {
  fill: var(--color-white);
  stroke: var(--color-primary-gold);
  stroke-width: 3;
  r: 10;
}

.map-node:hover {
  fill: var(--color-white);
  r: 9;
}

.map-route {
  fill: none;
  stroke: var(--color-primary-gold);
  stroke-width: 2;
  stroke-dasharray: 6 4;
  animation: route-flow 15s linear infinite;
  opacity: 0.7;
}

@keyframes route-flow {
  to {
    stroke-dashoffset: -100;
  }
}

.map-legend {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--color-text-light);
  justify-content: center;
}

.map-legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.map-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.map-legend-dot.gold {
  background-color: var(--color-primary-gold);
}

.map-legend-dot.white {
  background-color: var(--color-white);
  border: 2px solid var(--color-primary-gold);
}

/* --- Substantial Footer --- */
.footer {
  background-color: var(--color-charcoal);
  color: var(--color-white);
  padding: 80px 0 30px;
  border-top: 4px solid var(--color-primary-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 50px;
}

.footer-col h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1.8rem;
  color: var(--color-primary-gold);
  position: relative;
  padding-bottom: 8px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--color-primary-gold);
}

html[lang="ar"] .footer-col h3::after {
  left: auto;
  right: 0;
}

.footer-about p {
  color: #BBBBBB;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

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

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

.footer-links a {
  color: #CCCCCC;
  font-size: 0.9rem;
}

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

html[lang="ar"] .footer-links a:hover {
  padding-left: 0;
  padding-right: 5px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 1.2rem;
  align-items: flex-start;
  color: #CCCCCC;
  font-size: 0.9rem;
}

.footer-contact-icon {
  color: var(--color-primary-gold);
  font-size: 1.1rem;
  margin-top: 3px;
}

.footer-contact-text a:hover {
  color: var(--color-primary-gold);
}

.footer-bottom {
  border-top: 1px solid var(--color-dark-gray);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.footer-credit a {
  color: #BBBBBB;
}

.footer-credit a:hover {
  color: var(--color-primary-gold);
}

/* --- Page Heroes --- */
.page-hero {
  height: 45vh;
  min-height: 350px;
  margin-top: var(--header-height);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  position: relative;
}

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(24,24,24,0.85) 0%, rgba(24,24,24,0.6) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.8rem;
}

.page-hero p {
  color: #CCCCCC;
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  margin-bottom: 0;
  max-width: 600px;
}

/* --- About Page Values --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

@media (min-width: 992px) {
  .values-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .value-card:nth-child(1),
  .value-card:nth-child(2),
  .value-card:nth-child(3) {
    grid-column: span 2;
  }
  .value-card:nth-child(4) {
    grid-column: 2 / span 2;
  }
  .value-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

.d-mobile-only {
  display: none !important;
}

.value-card {
  background-color: var(--color-white);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-subtle);
  border-top: 4px solid var(--color-light-gray);
  transition: var(--transition-smooth);
}

.value-card:hover {
  transform: translateY(-5px);
  border-top-color: var(--color-primary-gold);
  box-shadow: var(--shadow-medium);
}

.value-icon {
  font-size: 2.5rem;
  color: var(--color-primary-gold);
  margin-bottom: 1.5rem;
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  color: var(--color-charcoal);
}

.value-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* --- Products Page Categories & Tabs --- */
.product-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
  list-style: none;
}

.product-tab-btn {
  padding: 0.8rem 1.8rem;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--color-border);
  border-radius: 30px;
  background-color: var(--color-white);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-subtle);
}

.product-tab-btn.active, .product-tab-btn:hover {
  background-color: var(--color-primary-gold);
  color: var(--color-white);
  border-color: var(--color-primary-gold);
  box-shadow: 0 5px 15px var(--color-gold-glow);
}

.product-category-section {
  display: none;
}

.product-category-section.active {
  display: block;
}

.product-category-title {
  font-size: 1.8rem;
  color: var(--color-charcoal);
  margin-bottom: 2.5rem;
  border-left: 4px solid var(--color-primary-gold);
  padding-left: 15px;
}

html[lang="ar"] .product-category-title {
  border-left: none;
  border-right: 4px solid var(--color-primary-gold);
  padding-left: 0;
  padding-right: 15px;
}

/* --- Gallery Filters & Masonry Grid --- */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  list-style: none;
}

.gallery-filter-btn {
  padding: 0.6rem 1.4rem;
  background-color: var(--color-white);
  border: 1px solid var(--color-light-gray);
  color: var(--color-text-muted);
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.gallery-filter-btn.active, .gallery-filter-btn:hover {
  background-color: var(--color-primary-gold);
  color: var(--color-white);
  border-color: var(--color-primary-gold);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  transition: var(--transition-smooth);
}

.gallery-item {
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--color-light-gray);
  aspect-ratio: 1; /* Square grid */
  position: relative;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(24, 24, 24, 0.75);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition-smooth);
  padding: 1.5rem;
  text-align: center;
  color: var(--color-white);
  z-index: 10;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-primary-gold);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.gallery-item-title {
  font-size: 1.1rem;
  font-weight: 700;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(24, 24, 24, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85%;
  position: relative;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border: 3px solid var(--color-primary-gold);
  border-radius: 4px;
}

.lightbox-caption {
  color: var(--color-white);
  text-align: center;
  margin-top: 1rem;
  font-size: 1.1rem;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  transition: var(--transition-smooth);
}

.lightbox-close:hover {
  color: var(--color-primary-gold);
}

/* --- Contact Us Page Layout --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 4rem;
}

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

.contact-card {
  background-color: var(--color-white);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--color-light-gray);
  border-left: 4px solid var(--color-primary-gold);
}

html[lang="ar"] .contact-card {
  border-left: none;
  border-right: 4px solid var(--color-primary-gold);
}

.contact-card h3 {
  font-size: 1.25rem;
  color: var(--color-charcoal);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-card h3 i {
  color: var(--color-primary-gold);
}

.contact-detail-row {
  display: flex;
  gap: 12px;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.contact-detail-row i {
  color: var(--color-primary-gold);
  font-size: 1rem;
  margin-top: 4px;
}

.contact-detail-row a:hover {
  color: var(--color-primary-gold);
}

.contact-directions-btn {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary-gold);
  border: 1px solid var(--color-primary-gold);
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

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

/* Contact Form container */
.contact-form-container {
  background-color: var(--color-white);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--color-light-gray);
}

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

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.9rem 1.2rem;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  background-color: var(--color-warm-ivory);
  border: 1px solid var(--color-light-gray);
  border-radius: var(--border-radius);
  color: var(--color-text-dark);
  transition: var(--transition-smooth);
  outline: none;
}

.form-input:focus {
  border-color: var(--color-primary-gold);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px var(--color-gold-glow);
}

textarea.form-input {
  resize: vertical;
  min-height: 140px;
}

/* Antispam honeypot */
.hidden-field {
  display: none !important;
}

/* Form feedback alerts */
.form-alert {
  padding: 1rem 1.2rem;
  border-radius: var(--border-radius);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  display: none;
}

.form-alert.success {
  background-color: var(--color-green-light);
  color: var(--color-green-accent);
  border: 1px solid var(--color-green-accent);
  display: block;
}

.form-alert.error {
  background-color: #FDE8E8;
  color: #9B1C1C;
  border: 1px solid #E53E3E;
  display: block;
}

.form-alert.loading {
  background-color: #E2E8F0;
  color: #4A5568;
  border: 1px solid #CBD5E0;
  display: block;
}

/* --- Map Embeds Section --- */
.maps-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

.map-wrapper {
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--color-light-gray);
  overflow: hidden;
  padding: 1rem;
}

.map-wrapper h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.map-iframe-container {
  width: 100%;
  height: 350px;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.map-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Call To Action Section --- */
.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(184, 154, 74, 0.08) 0%, rgba(0,0,0,0) 60%);
  z-index: 1;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.2rem;
}

.cta-content p {
  color: #CCCCCC;
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
}

/* --- Scroll to Top Button --- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--color-primary-gold);
  color: var(--color-white);
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-medium);
  z-index: 999;
}

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

.scroll-top:hover {
  background-color: var(--color-deep-gold);
  transform: translateY(-3px);
}
