/* ==========================================================================
   Riyadh Water Tanker Supplier - Modern, Fast, Pure CSS (RTL, Mobile-First)
   Optimized for 95+ Google Lighthouse, Zero Framework Dependencies
   ========================================================================== */

:root {
  --primary: #028090;
  --primary-dark: #005a66;
  --primary-light: #e0f2f1;
  --secondary: #00a896;
  --navy: #0d2b45;
  --dark: #1b263b;
  --text: #2b2d42;
  --muted: #64748b;
  --light-bg: #f8fafc;
  --card-bg: #ffffff;
  --border: #e2e8f0;
  --accent-gold: #f4a261;
  --whatsapp: #25d366;
  --phone-green: #10b981;
  --danger-bg: #fff9db;
  --danger-border: #fab005;
  --danger-text: #664d03;
  --font-family: system-ui, -apple-system, 'Segoe UI', Tahoma, Arial, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 20px -3px rgba(0,0,0,0.12), 0 4px 6px -2px rgba(0,0,0,0.05);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.25s ease-in-out;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  direction: rtl;
  text-align: right;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--light-bg);
  color: var(--text);
  line-height: 1.7;
  padding-bottom: 75px; /* Space for sticky mobile CTA bar */
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

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

a:hover {
  color: var(--primary-dark);
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* Top Notification / Hotline Bar */
.top-bar {
  background-color: var(--navy);
  color: #ffffff;
  font-size: 0.9rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-bar-phone {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 4px 14px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.top-bar a {
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar a:hover {
  color: var(--secondary);
}

/* Header & Navigation */
.site-header {
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.header-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.header-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .header-logo-img {
    height: 60px;
  }
}

.main-nav {
  display: none;
}

@media (min-width: 1050px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
  }
  .main-nav a {
    color: var(--dark);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 6px 4px;
    position: relative;
  }
  .main-nav a:hover,
  .main-nav a.active {
    color: var(--primary);
  }
  .main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
  }
}

/* Prominent Header Call Button */
.header-phone-box {
  display: none;
}

@media (min-width: 768px) {
  .header-phone-box {
    display: flex;
    align-items: center;
    gap: 12px;
  }
}

.header-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #028090, #00a896);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 1.15rem;
  padding: 10px 22px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(2, 128, 144, 0.35);
  transition: var(--transition);
}

.header-phone-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(2, 128, 144, 0.45);
}

.header-phone-btn .phone-number {
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  color: #ffffff;
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 26px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

@media (min-width: 1050px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn span {
  width: 100%;
  height: 3px;
  background-color: var(--navy);
  border-radius: 3px;
  transition: var(--transition);
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 340px;
  height: 100vh;
  background-color: #ffffff;
  box-shadow: var(--shadow-lg);
  padding: 70px 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: right 0.3s ease;
  z-index: 999;
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  padding-bottom: 15px;
  border-bottom: 2px solid var(--border);
  text-align: center;
}

.mobile-drawer a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.mobile-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
}

.mobile-backdrop.open {
  display: block;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #0d2b45 0%, #005a66 100%);
  color: #ffffff;
  padding: 45px 0 55px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(circle at 15% 40%, rgba(0, 168, 150, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  max-width: 840px;
  margin-inline: auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.badge-pill {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  color: #ffffff;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-title {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.85rem;
  }
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.75;
  color: #e0f2f1;
  margin-bottom: 25px;
}

/* BIG PROMINENT PHONE CALL BOX IN HERO */
.hero-phone-highlight {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 22px 25px;
  margin: 0 auto 30px;
  max-width: 600px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.hero-phone-highlight .call-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: #d1fae5;
  margin-bottom: 8px;
  display: block;
}

.hero-phone-highlight .big-phone-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 1px;
  line-height: 1.2;
  display: block;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  direction: ltr;
  unicode-bidi: embed;
}

@media (min-width: 768px) {
  .hero-phone-highlight .big-phone-number {
    font-size: 3rem;
  }
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 15px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-primary-call {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff !important;
  font-size: 1.2rem;
  padding: 16px 36px;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-primary-call:hover {
  background: linear-gradient(135deg, #059669, #047857);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: #ffffff !important;
  font-size: 1.15rem;
  padding: 15px 32px;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
  background-color: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.5);
}

.hero-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.95rem;
  color: #d1e7dd;
  margin-top: 25px;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 14px 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 8px;
  align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
  content: '/';
  margin-right: 8px;
  color: #cbd5e1;
}

.breadcrumbs a {
  color: var(--muted);
}

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

/* Non-Drinking Disclaimer Box */
.disclaimer-card {
  background-color: var(--danger-bg);
  border-right: 6px solid var(--danger-border);
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  margin: 30px 0;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.disclaimer-icon {
  font-size: 2rem;
  color: #f59f00;
  line-height: 1;
}

.disclaimer-text h4 {
  font-size: 1.15rem;
  color: var(--danger-text);
  margin-bottom: 6px;
}

.disclaimer-text p {
  font-size: 0.975rem;
  color: #495057;
  line-height: 1.65;
}

/* Section styling */
.section {
  padding: 55px 0;
}

.section-alt {
  background-color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 40px;
}

.section-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

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

/* Grid & Cards */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

@media (min-width: 992px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Tanker Feature Cards */
.tanker-card {
  background-color: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.tanker-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.tanker-card-header {
  background: linear-gradient(135deg, var(--navy), var(--primary-dark));
  color: #ffffff;
  padding: 24px 20px;
  text-align: center;
}

.tanker-card-header h3 {
  font-size: 1.45rem;
  margin-bottom: 6px;
}

.tanker-card-capacity {
  font-size: 0.95rem;
  color: var(--primary-light);
}

.tanker-card-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tanker-specs {
  list-style: none;
  margin-bottom: 24px;
}

.tanker-specs li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.tanker-specs li::before {
  content: '✓';
  color: var(--secondary);
  font-weight: 800;
}

/* Area / District Cards */
.area-card {
  background-color: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.area-card h3 {
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.district-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.district-tag {
  background-color: var(--light-bg);
  color: var(--navy);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid var(--border);
}

/* Process Steps */
.step-box {
  background-color: #ffffff;
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.step-number {
  width: 48px;
  height: 48px;
  background-color: var(--primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step-box h4 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.step-box p {
  font-size: 0.92rem;
  color: var(--muted);
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  text-align: right;
  padding: 18px 22px;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 22px;
  color: #495057;
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  padding-bottom: 20px;
  max-height: 500px;
}

/* PROMINENT IN-CONTENT PHONE CALLOUT CARD */
.big-callout-card {
  background: linear-gradient(135deg, #0d2b45, #005a66);
  color: #ffffff;
  padding: 35px 25px;
  border-radius: 16px;
  text-align: center;
  margin: 45px 0;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.big-callout-card h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.big-callout-card p {
  font-size: 1.1rem;
  color: #d1fae5;
  margin-bottom: 20px;
}

.big-callout-number {
  font-size: 2.6rem;
  font-weight: 900;
  color: #ffffff;
  display: block;
  margin-bottom: 20px;
  direction: ltr;
  unicode-bidi: embed;
  letter-spacing: 1px;
}

@media (min-width: 768px) {
  .big-callout-number {
    font-size: 3.2rem;
  }
}

/* Footer */
.site-footer {
  background-color: #0b1a28;
  color: #cbd5e1;
  padding: 60px 0 30px;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 35px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary);
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: #ffffff;
  padding-right: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-contact-item a {
  color: #ffffff;
  font-weight: 700;
}

.footer-big-phone {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-top: 15px;
  text-align: center;
}

.footer-big-phone .phone-label {
  font-size: 0.85rem;
  color: #94a3b8;
  display: block;
}

.footer-big-phone .phone-val {
  font-size: 1.5rem;
  font-weight: 900;
  color: #10b981;
  display: block;
  direction: ltr;
  unicode-bidi: embed;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 25px;
  text-align: center;
  font-size: 0.875rem;
  color: #64748b;
}

/* Sticky Bottom Mobile Bar */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.15);
  display: flex;
  padding: 8px 12px;
  gap: 10px;
  z-index: 990;
}

@media (min-width: 992px) {
  .mobile-sticky-bar {
    display: none;
  }
}

.mobile-sticky-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 10px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 1.05rem;
  color: #ffffff !important;
}

.mobile-sticky-btn.phone {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.mobile-sticky-btn.whatsapp {
  background-color: var(--whatsapp);
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.4);
}
