
:root {
  --blue: #1e88e5;
  --blue-light: #e3f2fd;
  --dark-blue: #0d47a1;
  --text-dark: #1f2937;
}

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


body {
  font-family: Cairo, sans-serif;
  background: linear-gradient(135deg, #3f2238, #5d3954);
  background: #f8fafc;
  color: var(--text-dark);
  min-height: 100vh;
}

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

ul {
  list-style: none;
}

/* ===== NAVBAR ===== */
.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 18px 0;
  background: rgba(255,255,255,0.9);
  color: var(--dark-blue);
  backdrop-filter: blur(12px);
  z-index: 1000;
  transition: 0.3s ease;
}

.main-header.scrolled {
  padding: 12px 0;
  background: rgba(255,255,255,0.9);
  color: var(--dark-blue);
}

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

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: bold;
}

.logo span {
  color: var(--blue);
}

/* NAV */
.nav-links {
    
  display: flex;
  gap: 35px;
}

.nav-links a {
  font-size: 15px;
  opacity: 0.85;
  position: relative;
  transition: 0.3s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: #8fd3f4;
  transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
}

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


/* =====================
   SECTION SYSTEM
===================== */
.section-blue {
  background: linear-gradient(135deg, #1e88e5, #1565c0);
  color: #fff;
}

.section-white {
  background: #ffffff;
  color: var(--text-dark);
}

.section-blue h2,
.section-blue h3,
.section-blue h4 {
  color: #ffffff;
}

.section-white h2,
.section-white h3,
.section-white h4 {
  color: var(--dark-blue);
}


/* =====================
   PRODUCT HERO
===================== */
.product-hero {
  padding: 160px 0 120px;
}

.product-hero-container {
  width: 85%;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

/* النص */
.product-hero-text h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.product-hero-text p {
  font-size: 18px;
  line-height: 1.8;
  max-width: 520px;
  opacity: 0.95;
}

.product-highlights {
  margin-top: 25px;
}

.product-highlights li {
  margin-bottom: 12px;
  font-size: 16px;
  opacity: 0.95;
}

/* الصورة */
.product-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.product-hero-visual img {
  width: 380px;
  border-radius: 30px;
  background: #fff;
  padding: 18px;
  z-index: 2;
  animation: floatProduct 5s ease-in-out infinite;
}

/* Glow خلف المنتج */
.hero-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  background: rgba(255,255,255,0.4);
  filter: blur(90px);
  z-index: 1;
}

/* Animation */
@keyframes floatProduct {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}


/* ================= PRODUCT ================= */
.single-product {
  padding: 120px 0;
  display: flex;
  justify-content: center;
}

.product-card {
  width: 340px;
  background: #ffffff;
  border-radius: 30px;
  padding: 25px;
  text-align: center;
  color: #3f2238;
  text-decoration: none;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  transition: 0.4s ease;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.25);
}

/* صورة المنتج */
.product-card img {
  width: 100%;
  border-radius: 22px;
  transition: 0.4s ease;
}

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

/* النص */
.product-info {
  margin-top: 20px;
}

.product-info h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.more-info {
  font-size: 14px;
  color: #1e88e5;
  font-weight: 600;
}

/* Hover Indicator */
.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 30px;
  border: 2px solid rgba(30,136,229,0.3);
  opacity: 0;
  transition: 0.4s;
}

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

/* ================= ANIMATIONS ================= */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
  .product-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .product-card img {
    margin: auto;
  }
}
/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(60px) scale(0.95);
  animation: reveal 1.2s ease forwards;
  animation-delay: 0.3s;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}



/* =====================
   FOOTER
===================== */
/* New Footer Styling */
.main-footer {
  background: #0d47a1;
  color: #fff;
  padding: 60px 20px 30px;
  font-size: 14px;
}

.footer-container {
  width: 85%;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.footer-col h4 {
  margin-bottom: 15px;
  color: #8fd3f4;
}

.footer-col p,
.footer-col ul li {
  margin-bottom: 10px;
  opacity: 0.9;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #8fd3f4;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: #8fd3f4;
  color: #0d47a1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s;
}

.footer-social a:hover {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 15px;
  font-size: 13px;
  opacity: 0.8;
}


/* =====================
   SOCIAL ICONS
===================== */
.social-icons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.social-icons .icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #8fd3f4;
  color: #3f2238;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.social-icons .icon:hover {
  transform: scale(1.1);
}


