/*
Theme Name: Al Raki Jotun
Theme URI: https://alrakijotun.com
Author: Antigravity
Author URI: https://alrakijotun.com
Description: Production-ready luxury WordPress theme for Al Raki Jotun (Authorized Jotun Paint Dealer). 100% Native WordPress architecture with zero paid plugin dependencies.
Version: 2.1.0
Text Domain: al-raki-jotun
*/

/* ==========================================================================
   1. Brand Design System Tokens (Jotun Dealership Standards)
   ========================================================================== */
:root {
  /* Brand Palette */
  --brand-navy-dark: #07345B;
  --brand-navy-deep: #032E52;
  --brand-gold: #D9A900;
  --brand-gold-light: #E5B625;
  --brand-gold-hover: #C29600;

  /* Surfaces & Backgrounds */
  --bg-white: #FFFFFF;
  --bg-offwhite: #F7F8FA;
  --bg-lightgray: #EEF1F4;
  --bg-navy-dark: #07345B;
  --bg-navy-deep: #032E52;

  /* Typography */
  --text-main: #163B5C;
  --text-muted: #5A7184;
  --text-light: #8FA2B4;
  --text-white: #FFFFFF;

  /* Borders & Shadows */
  --border-color: #E2E8F0;
  --border-light: #EEF1F4;
  --shadow-subtle: 0 4px 12px rgba(7, 52, 91, 0.05);
  --shadow-card: 0 8px 24px rgba(7, 52, 91, 0.08);
  --shadow-hover: 0 16px 36px rgba(7, 52, 91, 0.14);

  /* Fonts */
  --font-arabic: 'Tajawal', system-ui, -apple-system, sans-serif;
  --font-english: 'Plus Jakarta Sans', 'Outfit', system-ui, sans-serif;

  /* Metrics */
  --container-width: 1240px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 50px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   2. Reset & Typography Hierarchy
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-english);
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.rtl {
  font-family: var(--font-arabic);
  direction: rtl;
  text-align: right;
}

/* Headings with clear hierarchy */
h1, h2, h3, h4, h5, h6 {
  color: var(--brand-navy-dark);
  font-weight: 700;
  line-height: 1.3;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }

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

a {
  color: var(--brand-navy-dark);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--brand-gold);
}

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

ul, ol {
  list-style: none;
}

/* ==========================================================================
   3. Containers & Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.grid {
  display: grid;
  gap: 28px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

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

/* ==========================================================================
   4. Buttons & Badges (Brand Gold & Navy)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-gold {
  background-color: var(--brand-gold);
  color: var(--brand-navy-dark);
  border-color: var(--brand-gold);
  font-weight: 700;
}

.btn-gold:hover {
  background-color: var(--brand-gold-hover);
  border-color: var(--brand-gold-hover);
  color: var(--brand-navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(217, 169, 0, 0.28);
}

.btn-primary,
.btn-navy {
  background-color: var(--brand-navy-dark);
  color: var(--text-white);
  border-color: var(--brand-navy-dark);
}

.btn-primary:hover,
.btn-navy:hover {
  background-color: var(--brand-navy-deep);
  border-color: var(--brand-navy-deep);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(7, 52, 91, 0.25);
}

.btn-outline {
  background-color: transparent;
  color: var(--brand-navy-dark);
  border-color: var(--brand-navy-dark);
}

.btn-outline:hover {
  background-color: var(--brand-navy-dark);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-outline-navy {
  background-color: transparent;
  color: var(--brand-navy-dark);
  border-color: var(--border-color);
}

.btn-outline-navy:hover {
  border-color: var(--brand-navy-dark);
  color: var(--brand-navy-dark);
  background-color: var(--bg-offwhite);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background-color: var(--text-white);
  color: var(--brand-navy-dark);
  border-color: var(--text-white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
}

.badge-gold {
  background-color: rgba(217, 169, 0, 0.15);
  color: #997500;
  border: 1px solid rgba(217, 169, 0, 0.35);
}

.badge-navy {
  background-color: var(--bg-lightgray);
  color: var(--brand-navy-dark);
}

/* ==========================================================================
   5. TOP BAR (Slim, Elegant, Brand Navy)
   ========================================================================== */
.top-bar {
  background-color: var(--brand-navy-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.84rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-right-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-bar-badge {
  color: var(--brand-gold-light);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-divider {
  color: rgba(255, 255, 255, 0.25);
}

.top-bar-hours {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.8);
}

.top-bar-phone-link {
  color: #FFFFFF;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-phone-link i {
  color: var(--brand-gold);
}

.top-bar-phone-link:hover {
  color: var(--brand-gold-light);
}

.top-bar-lang-btn {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
}

.top-bar-lang-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

@media (max-width: 768px) {
  .top-bar-hours { display: none; }
  .top-bar-divider { display: none; }
}

/* ==========================================================================
   6. MAIN HEADER (Clean, Professional, Sticky)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 18px rgba(7, 52, 91, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 20px;
}

/* Brand Logo */
.site-branding {
  flex-shrink: 0;
}

.brand-logo-wrap {
  display: flex;
  flex-direction: column;
}

.brand-logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--brand-navy-dark);
}

.brand-name-main {
  color: var(--brand-navy-dark);
}

.brand-name-jotun {
  color: var(--brand-gold);
}

.brand-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.custom-logo {
  max-height: 52px;
  width: auto;
}

/* Center Navigation Menu */
.main-navigation {
  display: flex;
  align-items: center;
}

.nav-menu-list {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-menu-list li {
  position: relative;
}

.nav-menu-list li a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--text-main);
  padding: 10px 0;
  position: relative;
}

.nav-menu-list li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--brand-gold);
  transition: width 0.2s ease;
}

.nav-menu-list li a:hover::after,
.nav-menu-list li.current-menu-item > a::after {
  width: 100%;
}

.nav-menu-list li a:hover,
.nav-menu-list li.current-menu-item > a {
  color: var(--brand-navy-dark);
  font-weight: 700;
}

.nav-dropdown-icon {
  font-size: 0.65em;
  color: var(--text-light);
  transition: transform 0.2s ease;
}

.nav-menu-list li:hover .nav-dropdown-icon {
  transform: rotate(180deg);
}

/* Sub-menu Dropdown */
.nav-menu-list li .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border-color);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 100;
}

body.rtl .nav-menu-list li .sub-menu {
  left: auto;
  right: 0;
}

.nav-menu-list li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu-list li .sub-menu li a {
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  width: 100%;
}

.nav-menu-list li .sub-menu li a::after {
  display: none;
}

.nav-menu-list li .sub-menu li a:hover {
  background-color: var(--bg-offwhite);
  color: var(--brand-gold);
}

/* Header Left: CTA & Mobile Toggle */
.header-action-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

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

.mobile-menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  color: var(--brand-navy-dark);
  cursor: pointer;
}

@media (max-width: 1080px) {
  .main-navigation { display: none; }
  .mobile-menu-toggle { display: block; }
}

/* ==========================================================================
   7. Mobile Navigation Drawer
   ========================================================================== */
.mobile-menu-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(3, 46, 82, 0.6);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.mobile-menu-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-navigation-drawer {
  position: fixed;
  top: 0; bottom: 0;
  right: -310px;
  width: 290px;
  background: var(--bg-white);
  z-index: 2000;
  box-shadow: -4px 0 24px rgba(0,0,0,0.15);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

body.rtl .mobile-navigation-drawer {
  right: auto;
  left: -310px;
  box-shadow: 4px 0 24px rgba(0,0,0,0.15);
}

.mobile-navigation-drawer.active {
  transform: translateX(-310px);
}

body.rtl .mobile-navigation-drawer.active {
  transform: translateX(310px);
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav-close {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--text-main);
  cursor: pointer;
}

.mobile-drawer-menu ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-drawer-menu ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brand-navy-dark);
  padding: 8px 0;
}

.mobile-drawer-bottom {
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   8. HOMEPAGE HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--text-white);
  padding: 80px 0 60px 0;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(7, 52, 91, 0.92) 0%, rgba(3, 46, 82, 0.85) 60%, rgba(7, 52, 91, 0.7) 100%);
  z-index: 1;
}

.hero-content-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 50px;
  align-items: center;
}

@media (max-width: 992px) {
  .hero-content-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.hero-badge-wrap {
  margin-bottom: 20px;
}

.hero-title {
  color: var(--text-white);
  margin-bottom: 20px;
  line-height: 1.25;
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item .stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand-gold);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-item .stat-label {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}

/* Featured Color Card in Hero */
.hero-floating-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.floating-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.floating-color-preview {
  height: 160px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
}

.floating-color-preview .color-code-tag {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(7, 52, 91, 0.85);
  color: #fff;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
}

body.rtl .floating-color-preview .color-code-tag {
  right: auto;
  left: 10px;
}

/* ==========================================================================
   9. SECTIONS & GENERAL STYLING
   ========================================================================== */
section {
  padding: 80px 0;
}

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

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

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

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px auto;
}

.section-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brand-gold);
  margin-bottom: 8px;
}

.section-title {
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ==========================================================================
   10. CATEGORY CARDS SECTION
   ========================================================================== */
.category-card {
  position: relative;
  height: 340px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: block;
}

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

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

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

.category-card-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(7, 52, 91, 0.95) 0%, rgba(7, 52, 91, 0.4) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--text-white);
}

.category-card-title {
  color: var(--text-white);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.category-card-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
  line-height: 1.5;
}

.category-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-gold);
}

/* ==========================================================================
   11. PRODUCT CARDS & BEST SELLERS
   ========================================================================== */
.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--brand-navy-dark);
}

.product-card-thumb {
  position: relative;
  height: 220px;
  background-color: var(--bg-offwhite);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
}

.product-card-thumb img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

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

.product-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

body.rtl .product-card-badge {
  right: auto;
  left: 12px;
}

.product-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-code {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-gold-hover);
  margin-bottom: 4px;
}

.product-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-navy-dark);
  margin-bottom: 8px;
  line-height: 1.35;
}

.product-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.product-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
  margin-top: auto;
}

.spec-chip {
  font-size: 0.75rem;
  background-color: var(--bg-offwhite);
  color: var(--text-main);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.product-card-actions {
  display: flex;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   12. INTERACTIVE COLOR INSPIRATION STUDIO
   ========================================================================== */
.color-studio-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
  align-items: center;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  padding: 32px;
}

@media (max-width: 992px) {
  .color-studio-wrap {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}

.color-preview-stage {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--border-color);
}

.color-active-display {
  height: 260px;
  background-color: #DCD7CD;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  transition: background-color 0.3s ease;
}

.color-stage-info {
  background: rgba(255, 255, 255, 0.96);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  width: 100%;
  box-shadow: var(--shadow-subtle);
}

.color-swatches-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 600px) {
  .color-swatches-grid { grid-template-columns: repeat(2, 1fr); }
}

.color-chip-interactive {
  background: var(--bg-white);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.color-chip-interactive:hover,
.color-chip-interactive.active {
  border-color: var(--brand-navy-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.color-chip-swatch {
  height: 50px;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}

.color-chip-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-navy-dark);
  margin-bottom: 2px;
}

.color-chip-code {
  font-size: 0.74rem;
  color: var(--text-light);
}

/* ==========================================================================
   13. PAINT CALCULATOR
   ========================================================================== */
.calculator-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
  padding: 36px;
}

@media (max-width: 768px) {
  .calculator-card { padding: 20px; }
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
}

@media (max-width: 992px) {
  .calculator-grid { grid-template-columns: 1fr; }
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-navy-dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--bg-offwhite);
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-navy-dark);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(7, 52, 91, 0.1);
}

.calc-result-box {
  background: var(--brand-navy-dark);
  color: var(--text-white);
  border-radius: var(--radius-sm);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-stat {
  margin-bottom: 20px;
}

.calc-stat-val {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--brand-gold);
  line-height: 1.1;
}

.calc-stat-lbl {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   14. PROJECTS GALLERY CARDS
   ========================================================================== */
.project-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  height: 320px;
  display: block;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover img {
  transform: scale(1.06);
}

.project-card-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(7, 52, 91, 0.95) 0%, rgba(7, 52, 91, 0.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  color: var(--text-white);
}

.project-card-title {
  font-size: 1.25rem;
  color: var(--text-white);
  margin-bottom: 4px;
}

.project-card-meta {
  font-size: 0.82rem;
  color: var(--brand-gold);
}

/* ==========================================================================
   15. WHY CHOOSE US FEATURE CARDS
   ========================================================================== */
.feature-box {
  background: var(--bg-white);
  padding: 30px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
  text-align: center;
}

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

.feature-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-offwhite);
  color: var(--brand-navy-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
  transition: var(--transition);
}

.feature-box:hover .feature-icon-wrap {
  background: var(--brand-navy-dark);
  color: var(--brand-gold);
}

.feature-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   16. FOOTER (Deep Navy, Gold Accents, Clean Structure)
   ========================================================================== */
.site-footer {
  background-color: var(--brand-navy-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 70px 0 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 50px;
}

@media (max-width: 1024px) {
  .footer-top-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .footer-top-grid { grid-template-columns: 1fr; }
}

.footer-col h4 {
  color: var(--text-white);
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--brand-gold);
}

body.rtl .footer-col h4::after {
  left: auto;
  right: 0;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.footer-col ul li a:hover {
  color: var(--brand-gold);
}

.footer-contact-list li {
  display: flex;
  gap: 10px;
  font-size: 0.88rem;
  margin-bottom: 10px;
}

.footer-contact-list i {
  color: var(--brand-gold);
  margin-top: 4px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* Floating WhatsApp Widget */
.floating-whatsapp-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  font-weight: 700;
  font-size: 0.92rem;
  transition: var(--transition);
  text-decoration: none;
}

body.rtl .floating-whatsapp-widget {
  right: auto;
  left: 28px;
}

.floating-whatsapp-widget:hover {
  transform: translateY(-3px);
  color: #fff;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5);
}

/* Toast Notification */
.al-raki-toast {
  position: fixed;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--brand-navy-dark);
  color: #fff;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-hover);
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.al-raki-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.al-raki-toast i {
  color: var(--brand-gold);
}
