/* ==========================================================================
   VOLTRIKE SAUDI ARABIA (VOLTRIKE.SA) - DARK BLACK THEME & LARGE LOGO
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #00e5ff;
  --primary-hover: #38bdf8;
  --secondary: #070a0f;
  --accent-gold: #ffb300;
  --saudi-green: #006c35;
  
  --bg-main: #070a0f;
  --bg-card: #0f172a;
  --bg-card-hover: #162036;
  --bg-header: #080b11;
  
  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;
  
  --border: rgba(255, 255, 255, 0.15);
  --border-glow: rgba(0, 229, 255, 0.4);
  
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 10px 35px rgba(0, 229, 255, 0.2);
  --radius: 8px;
}

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

html[dir="rtl"] body {
  font-family: 'Cairo', 'Inter', system-ui, sans-serif;
  text-align: right;
}

html[dir="ltr"] body {
  font-family: 'Inter', 'Cairo', system-ui, sans-serif;
  text-align: left;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(0, 229, 255, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(0, 108, 53, 0.08) 0%, transparent 45%);
}

/* Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
.header {
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 25px rgba(0,0,0,0.9);
  backdrop-filter: blur(12px);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px; /* EXPANDED HEADER HEIGHT FOR HUGE LOGO */
}

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

/* HUGE CRYSTAL CLEAR LOGO */
.logo-img {
  height: 85px; /* HUGE 85px HEIGHT FOR MAXIMUM VISIBILITY */
  width: auto;
  border-radius: 6px;
  border: 1px solid rgba(0, 229, 255, 0.4);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: #000000;
}

.logo-link:hover .logo-img {
  transform: scale(1.04);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.6);
  border-color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 1.05rem;
  transition: color 0.2s ease;
}

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

.nav-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Language Switcher Button */
.lang-btn {
  background: rgba(0, 229, 255, 0.1);
  color: var(--primary);
  border: 1px solid rgba(0, 229, 255, 0.4);
  padding: 10px 18px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  background: var(--primary);
  color: #000000;
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.5);
}

/* Saudi Flag Badge */
.saudi-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 108, 53, 0.2);
  border: 1px solid rgba(0, 230, 118, 0.4);
  color: #00e676;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.saudi-flag-icon {
  font-size: 1.2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%);
  color: #ffffff;
  border-color: rgba(0, 229, 255, 0.5);
  box-shadow: 0 4px 20px rgba(0, 180, 216, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #00e5ff 0%, #0096c7 100%);
  box-shadow: 0 6px 25px rgba(0, 229, 255, 0.6);
  color: #000000;
}

.btn-outline {
  background: rgba(15, 23, 42, 0.8);
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: rgba(0, 229, 255, 0.15);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

/* Hero Section */
.hero {
  background: linear-gradient(180deg, #080b11 0%, #0d131f 100%);
  padding: 70px 0;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 18px;
}

.hero-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 229, 255, 0.2);
  border: 1px solid var(--border);
}

/* Features Bar */
.features-bar {
  background: #0b1019;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.feature-box {
  padding: 14px;
  background: rgba(15, 23, 42, 0.5);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-box h4 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.feature-box p {
  font-size: 0.9rem;
  color: var(--text-dim);
}

/* Sections General */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 44px auto;
}

/* Category Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover, .filter-btn.active {
  background: rgba(0, 229, 255, 0.15);
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.25);
}

/* Product Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 229, 255, 0.2);
}

.card-img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: #000000;
}

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

.card-badge {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-specs {
  background: rgba(6, 9, 15, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 14px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-name {
  color: var(--text-dim);
}

.spec-val {
  font-weight: 700;
  color: var(--primary);
}

.card-action {
  margin-top: auto;
}

/* Technology Comparison Table */
.table-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow-x: auto;
  box-shadow: var(--shadow);
}

.tech-table {
  width: 100%;
  border-collapse: collapse;
}

html[dir="rtl"] .tech-table {
  text-align: right;
}

html[dir="ltr"] .tech-table {
  text-align: left;
}

.tech-table th, .tech-table td {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tech-table th {
  background: #090d14;
  font-weight: 700;
  color: #ffffff;
}

.tech-table td {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.tech-table tr:last-child td {
  border-bottom: none;
}

.highlight {
  color: var(--primary);
  font-weight: 700;
}

/* Calculator Section */
.calc-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

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

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: #070a0f;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: #ffffff;
  font-size: 1rem;
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.3);
}

.calc-box {
  background: rgba(0, 229, 255, 0.04);
  border: 1px dashed var(--border-glow);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calc-result-number {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--primary);
  text-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

.calc-result-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 8px;
}

/* Factory Section */
.factory-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.factory-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 15px 40px rgba(0,0,0,0.8);
  border: 1px solid var(--border);
}

.factory-list {
  list-style: none;
  margin-top: 24px;
}

.factory-list li {
  margin-bottom: 16px;
  position: relative;
  font-size: 1.05rem;
  color: var(--text-muted);
}

html[dir="rtl"] .factory-list li {
  padding-right: 28px;
}

html[dir="ltr"] .factory-list li {
  padding-left: 28px;
}

html[dir="rtl"] .factory-list li::before {
  content: "✓";
  position: absolute;
  right: 0;
  color: var(--primary);
  font-weight: bold;
}

html[dir="ltr"] .factory-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* Contact Form Section */
.contact-section {
  background: #080b11;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.contact-info p {
  margin-bottom: 16px;
  color: var(--text-muted);
}

/* Footer */
.footer {
  background: #030508;
  color: #94a3b8;
  padding: 40px 0 20px 0;
  font-size: 0.95rem;
  border-top: 1px solid var(--border);
}

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

/* Footer Huge Logo */
.footer-logo {
  height: 65px;
  width: auto;
  border-radius: 4px;
}

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

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .calc-wrapper, .factory-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links {
    display: none;
  }
}
