/* ===== CSS RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Brand Colors - Deep Navy & Gold theme */
  --primary: #1a3a5c;
  --primary-dark: #0f2640;
  --primary-light: #2a5a8c;
  --accent: #c8a84e;
  --accent-light: #e0c878;
  --accent-dark: #a08030;
  --white: #ffffff;
  --off-white: #f8f6f0;
  --light-gray: #f0ede5;
  --gray: #888888;
  --dark: #1a1a1a;
  --text: #333333;
  --text-light: #666666;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --transition: 0.3s ease;
}

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

body {
  font-family: 'Cairo', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== INFO BAR ===== */
.info-bar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(200, 168, 78, 0.2);
}

.info-bar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
}

.info-bar-right,
.info-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.info-bar-right span,
.info-bar-left a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.info-bar-left a:hover {
  color: var(--accent-light);
}

.info-bar i {
  color: var(--accent);
  font-size: 0.8rem;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 40px;
  right: 0;
  left: 0;
  z-index: 1000;
  background: rgba(26, 58, 92, 0.95);
  backdrop-filter: blur(12px);
  padding: 0;
  transition: var(--transition);
}

.navbar.scrolled {
  top: 0;
  background: rgba(15, 38, 64, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(200, 168, 78, 0.2);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('main.jpeg') center/cover no-repeat;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 38, 64, 0.88) 0%,
    rgba(26, 58, 92, 0.75) 50%,
    rgba(15, 38, 64, 0.88) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 140px 20px 80px;
}

.hero-logo-badge {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  margin: 0 auto 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: fadeInDown 1s ease;
}

.hero-title-en {
  font-size: 3.2rem;
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--accent-light), var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s ease 0.2s both;
  font-family: 'Cairo', sans-serif;
}

.hero-title-ar {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.3s both;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--white), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--accent-light);
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  animation: fadeInUp 1s ease 0.6s both;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-family: 'Cairo', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(200, 168, 78, 0.3);
  animation: fadeInUp 1s ease 0.8s both;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(200, 168, 78, 0.5);
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-line {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  margin: 0 auto;
  border-radius: 4px;
}

.section-subtitle {
  margin-top: 16px;
  color: var(--text-light);
  font-size: 1.1rem;
}

/* ===== ABOUT ===== */
.about {
  padding: 100px 0;
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-text h3 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 20px;
  font-weight: 700;
}

.about-text p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 16px;
  line-height: 1.9;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 30px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  padding: 14px 18px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.feature i {
  font-size: 1.3rem;
  color: var(--accent);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 168, 78, 0.1);
  border-radius: 50%;
  flex-shrink: 0;
}

.feature span {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
}

/* ===== PRODUCTS ===== */
.products {
  padding: 100px 0;
  background: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 58, 92, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.btn-view {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  border-radius: 50px;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  transform: translateY(20px);
}

.product-card:hover .btn-view {
  transform: translateY(0);
}

.btn-view:hover {
  background: var(--accent-dark);
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.product-info p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  border-radius: 16px;
  max-width: 800px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: var(--transition);
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--accent);
}

/* Slider */
.modal-slider {
  position: relative;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.slider-container {
  display: flex;
  transition: transform 0.5s ease;
}

.slider-container img {
  min-width: 100%;
  height: 400px;
  object-fit: contain;
  background: #f0f0f0;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.slider-btn:hover {
  background: var(--accent);
  color: var(--white);
}

.slider-prev {
  right: 16px;
}

.slider-next {
  left: 16px;
}

.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

.modal-info {
  padding: 30px;
}

.modal-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.modal-info p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ===== WHY US ===== */
.why-us {
  padding: 100px 0;
  background: var(--white);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-us-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--off-white);
  border-radius: var(--radius);
  transition: var(--transition);
  border: 2px solid transparent;
}

.why-us-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
  background: var(--white);
}

.why-us-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.why-us-card:hover .why-us-icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.why-us-icon i {
  font-size: 1.6rem;
  color: var(--accent-light);
}

.why-us-card:hover .why-us-icon i {
  color: var(--white);
}

.why-us-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.why-us-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ===== CONTACT ===== */
.contact {
  padding: 100px 0;
  background: var(--off-white);
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 1.3rem;
  color: var(--accent-light);
}

.contact-details h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.contact-details p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact-link {
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
}

.contact-link:hover {
  color: var(--primary);
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 350px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
}

/* ===== BRAND BANNER ===== */
.brand-banner {
  position: relative;
  height: 320px;
  background: url('main.jpeg') center/cover no-repeat fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.brand-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 38, 64, 0.92) 0%,
    rgba(26, 58, 92, 0.80) 50%,
    rgba(15, 38, 64, 0.92) 100%
  );
}

.brand-banner-content {
  position: relative;
  z-index: 1;
}

.brand-banner-content h2 {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--accent-light), var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.brand-banner-line {
  width: 80px;
  height: 3px;
  background: var(--accent);
  margin: 0 auto 16px;
  border-radius: 3px;
}

.brand-banner-content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 400;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  margin-bottom: 16px;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-brand-en {
  font-size: 1rem !important;
  color: var(--accent-light) !important;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--accent-light);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent-light);
  padding-right: 8px;
}

.footer-contact p,
.footer-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
  color: var(--accent-light);
}

.footer-contact i {
  color: var(--accent);
  width: 18px;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-credit {
  margin-top: 6px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
  direction: ltr;
}

.footer-credit a {
  color: var(--accent);
  font-weight: 600;
  transition: var(--transition);
}

.footer-credit a:hover {
  color: var(--accent-light);
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7); }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .info-bar {
    display: none;
  }

  .navbar {
    top: 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image img {
    height: 300px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    right: 0;
    left: 0;
    background: rgba(15, 38, 64, 0.98);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    transform: translateY(-120%);
    transition: var(--transition);
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-links a {
    display: block;
    padding: 12px 20px;
    font-size: 1.05rem;
  }

  .hero-title-en {
    font-size: 2rem;
  }

  .brand-banner {
    height: 240px;
  }

  .brand-banner-content h2 {
    font-size: 2rem;
    letter-spacing: 2px;
  }

  .brand-banner-content p {
    font-size: 0.95rem;
    letter-spacing: 2px;
  }

  .hero-title-ar {
    font-size: 1.4rem;
  }

  .hero-subtitle {
    font-size: 1.15rem;
  }

  .hero-logo-badge {
    width: 80px;
    height: 80px;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto 16px;
  }

  .footer-links a:hover {
    padding-right: 0;
  }

  .slider-container img {
    height: 280px;
  }

  .modal-info {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .hero-title-en {
    font-size: 1.5rem;
    letter-spacing: 1px;
  }

  .brand-banner {
    height: 200px;
  }

  .brand-banner-content h2 {
    font-size: 1.4rem;
    letter-spacing: 1px;
  }

  .brand-banner-content p {
    font-size: 0.85rem;
    letter-spacing: 1px;
  }

  .hero-title-ar {
    font-size: 1.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .btn {
    padding: 12px 28px;
    font-size: 0.9rem;
  }

  .contact-card {
    flex-direction: column;
    text-align: center;
  }
}
