/* ============================================================
   NAAILAH'S TRESSES — Design System & Styles
   Brand: Haircare by Asmaa Adeleye
   Colors: Burgundy, Gold, Cream, Green
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600&family=Inter:wght@300;400;500;600;700&family=Amiri:wght@400;700&display=swap');

/* ── Custom Properties ─────────────────────────────────── */
:root {
  /* Brand Colors */
  --clr-primary: #7B1830;
  --clr-primary-dark: #5A1023;
  --clr-primary-light: #9E2040;
  --clr-primary-rgb: 123, 24, 48;

  --clr-gold: #C9A55A;
  --clr-gold-light: #DFC07A;
  --clr-gold-dark: #A8863D;
  --clr-gold-rgb: 201, 165, 90;

  --clr-cream: #FDF8F0;
  --clr-cream-warm: #F5ECD7;
  --clr-cream-deep: #EDE0C8;

  --clr-text: #2D1810;
  --clr-text-medium: #5C3A1E;
  --clr-text-light: #8B6B4A;

  --clr-green: #4A7C59;
  --clr-green-light: #6BA37A;
  --clr-green-rgb: 74, 124, 89;

  --clr-white: #FEFEFE;

  /* Typography */
  --ff-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ff-arabic: 'Amiri', 'Traditional Arabic', serif;

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(var(--clr-primary-rgb), 0.06);
  --shadow-sm: 0 2px 8px rgba(var(--clr-primary-rgb), 0.08);
  --shadow-md: 0 4px 20px rgba(var(--clr-primary-rgb), 0.12);
  --shadow-lg: 0 8px 40px rgba(var(--clr-primary-rgb), 0.16);
  --shadow-xl: 0 20px 60px rgba(var(--clr-primary-rgb), 0.2);
  --shadow-gold: 0 4px 20px rgba(var(--clr-gold-rgb), 0.25);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition: all 0.35s var(--ease-out);
  --transition-slow: all 0.6s var(--ease-out);
  --transition-fast: all 0.2s var(--ease-out);

  /* Layout */
  --container-max: 1200px;
  --container-padding: 24px;
  --nav-height: 80px;
  --section-padding: 100px;
}

/* ── Reset & Base ──────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  font-size: 16px;
}

body {
  font-family: var(--ff-body);
  color: var(--clr-text);
  background-color: var(--clr-cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button {
  border: none;
  cursor: pointer;
  font-family: inherit;
  background: none;
}

/* ── Utility ───────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section-label {
  font-family: var(--ff-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--clr-gold);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--clr-gold);
  display: inline-block;
}

.section-title {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--clr-primary);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--clr-text-medium);
  max-width: 600px;
  line-height: 1.8;
}

.arabic-text {
  font-family: var(--ff-arabic);
  direction: rtl;
}

/* ── Custom Scrollbar ──────────────────────────────────── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--clr-cream);
}

::-webkit-scrollbar-thumb {
  background: var(--clr-primary);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--clr-primary-light);
}

/* ── Selection ─────────────────────────────────────────── */
::selection {
  background: var(--clr-primary);
  color: var(--clr-cream);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(253, 248, 240, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(var(--clr-primary-rgb), 0.08);
  border-bottom: 1px solid rgba(var(--clr-gold-rgb), 0.15);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  z-index: 1001;
}

.nav-brand-arabic {
  font-family: var(--ff-arabic);
  font-size: 0.75rem;
  color: var(--clr-gold);
  direction: rtl;
  line-height: 1;
}

.nav-brand-name {
  font-family: var(--ff-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--clr-primary);
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.nav-brand-name span {
  font-weight: 400;
  font-style: italic;
  font-size: 0.85em;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-text-medium);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-gold);
  transition: var(--transition);
  border-radius: var(--radius-full);
}

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

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

.nav-cta {
  background: var(--clr-primary) !important;
  color: var(--clr-cream) !important;
  padding: 10px 24px !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.5px;
  transition: var(--transition) !important;
  position: relative;
  overflow: hidden;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s;
}

.nav-cta:hover {
  background: var(--clr-primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.nav-cta:hover::before {
  left: 100%;
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-primary);
  border-radius: var(--radius-full);
  transition: var(--transition);
  transform-origin: center;
}

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

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

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

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--clr-cream) 0%,
    var(--clr-cream-warm) 30%,
    #F0E4CC 60%,
    var(--clr-cream-warm) 100%
  );
}

/* Decorative floating elements */
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--clr-gold-rgb), 0.12) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--clr-primary-rgb), 0.06) 0%, transparent 70%);
  animation: float 10s ease-in-out infinite reverse;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  z-index: 1;
}

.hero-content {
  padding: 40px 0;
}

.hero-arabic {
  font-family: var(--ff-arabic);
  font-size: 1.1rem;
  color: var(--clr-gold);
  margin-bottom: 8px;
  direction: rtl;
  text-align: left;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out) 0.2s forwards;
}

.hero-title {
  font-family: var(--ff-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--clr-primary);
  line-height: 1.1;
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out) 0.4s forwards;
}

.hero-title span {
  display: block;
  font-style: italic;
  font-weight: 400;
  font-size: 0.55em;
  color: var(--clr-text-medium);
  margin-top: 4px;
}

.hero-tagline {
  font-family: var(--ff-heading);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 500;
  color: var(--clr-text-medium);
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out) 0.6s forwards;
}

.hero-tagline .typewriter-text {
  border-right: 2px solid var(--clr-gold);
  animation: blink 0.8s step-end infinite;
}

.hero-description {
  font-size: 1rem;
  color: var(--clr-text-light);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 480px;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out) 0.8s forwards;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out) 1s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--clr-primary);
  color: var(--clr-cream);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--clr-primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transition: left 0.6s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-outline {
  background: transparent;
  color: var(--clr-primary);
  border: 2px solid var(--clr-primary);
}

.btn-outline:hover {
  background: var(--clr-primary);
  color: var(--clr-cream);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* WhatsApp button style */
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #1DA851;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Hero Image */
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: fadeIn 1.2s var(--ease-out) 0.6s forwards;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.hero-image-wrapper img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 2;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--clr-gold);
  border-radius: var(--radius-lg);
  z-index: 1;
  opacity: 0.4;
}

.hero-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: -15px;
  width: 120px;
  height: 120px;
  background: var(--clr-gold);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 0;
  animation: pulse 3s ease-in-out infinite;
}

/* Floating decorative dots */
.hero-decor {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--clr-gold);
  border-radius: 50%;
  opacity: 0.4;
}

.hero-decor:nth-child(1) { top: 15%; left: 10%; animation: float 6s ease-in-out infinite; }
.hero-decor:nth-child(2) { top: 60%; right: 8%; animation: float 8s ease-in-out infinite 1s; }
.hero-decor:nth-child(3) { bottom: 20%; left: 25%; animation: float 7s ease-in-out infinite 2s; }

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 1.5s forwards;
}

.hero-scroll span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--clr-text-light);
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--clr-gold), transparent);
  animation: scrollBounce 2s ease-in-out infinite;
}

/* ============================================================
   PRODUCTS SECTION
   ============================================================ */
.products {
  padding: var(--section-padding) 0;
  background: var(--clr-white);
  position: relative;
}

.products::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-gold), transparent);
}

.products-header {
  text-align: center;
  margin-bottom: 60px;
}

.products-header .section-label {
  justify-content: center;
}

.products-header .section-label::before {
  display: none;
}

.products-header .section-subtitle {
  margin: 0 auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

/* Product Card */
.product-card {
  background: var(--clr-cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  border: 1px solid rgba(var(--clr-gold-rgb), 0.15);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(var(--clr-gold-rgb), 0.3);
}

.product-card-image {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--clr-cream-warm), var(--clr-cream-deep));
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

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

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--clr-primary);
  color: var(--clr-cream);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 2;
}

.product-badge.coming-soon {
  background: var(--clr-gold);
  color: var(--clr-text);
}

.product-card-body {
  padding: 28px;
}

.product-name {
  font-family: var(--ff-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: 4px;
}

.product-name-arabic {
  font-family: var(--ff-arabic);
  font-size: 0.9rem;
  color: var(--clr-gold);
  direction: rtl;
  text-align: left;
  margin-bottom: 8px;
}

.product-type {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--clr-text-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.product-description {
  font-size: 0.92rem;
  color: var(--clr-text-medium);
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.product-benefit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(var(--clr-green-rgb), 0.08);
  color: var(--clr-green);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 500;
}

.product-benefit::before {
  content: '✓';
  font-weight: 700;
  font-size: 0.7rem;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(var(--clr-gold-rgb), 0.15);
}

.product-price {
  font-family: var(--ff-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--clr-primary);
}

.product-price .size {
  font-family: var(--ff-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--clr-text-light);
  display: block;
  margin-top: 2px;
}

.product-order-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--clr-primary);
  color: var(--clr-cream);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.product-order-btn:hover {
  background: var(--clr-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.product-order-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s;
}

.product-order-btn:hover::before {
  left: 100%;
}

.product-order-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.product-card.coming-soon-card {
  opacity: 0.85;
}

.product-card.coming-soon-card .product-card-image {
  filter: grayscale(0.2);
}

.product-card.coming-soon-card .product-order-btn {
  background: var(--clr-gold);
  color: var(--clr-text);
  cursor: default;
}

.product-card.coming-soon-card .product-order-btn:hover {
  transform: none;
  box-shadow: none;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  padding: var(--section-padding) 0;
  background: var(--clr-cream);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--clr-gold-rgb), 0.08) 0%, transparent 70%);
  transform: translateY(-50%);
}

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

.about-image {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 180px;
  height: 180px;
  border: 3px solid var(--clr-gold);
  border-radius: var(--radius-lg);
  opacity: 0.3;
  z-index: -1;
}

.about-image-quote {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(253, 248, 240, 0.92);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--clr-gold);
}

.about-image-quote p {
  font-family: var(--ff-heading);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--clr-primary);
  line-height: 1.5;
}

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

.about-content .section-label {
  margin-bottom: 16px;
}

.about-content .section-title {
  margin-bottom: 24px;
}

.about-text {
  margin-bottom: 32px;
}

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

.about-text p:last-child {
  margin-bottom: 0;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.about-value {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--clr-white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(var(--clr-gold-rgb), 0.12);
  transition: var(--transition);
}

.about-value:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(var(--clr-gold-rgb), 0.3);
}

.about-value-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-light));
  color: var(--clr-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.about-value h4 {
  font-family: var(--ff-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--clr-primary);
  margin-bottom: 4px;
}

.about-value p {
  font-size: 0.8rem;
  color: var(--clr-text-light);
  line-height: 1.5;
}

/* ============================================================
   TIPS SECTION
   ============================================================ */
.tips {
  padding: var(--section-padding) 0;
  background: var(--clr-white);
  position: relative;
}

.tips::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-gold), transparent);
}

.tips-header {
  text-align: center;
  margin-bottom: 60px;
}

.tips-header .section-label {
  justify-content: center;
}

.tips-header .section-label::before {
  display: none;
}

.tips-header .section-subtitle {
  margin: 0 auto;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.tip-card {
  background: var(--clr-cream);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid rgba(var(--clr-gold-rgb), 0.1);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.tip-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.tip-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--clr-gold-rgb), 0.25);
}

.tip-card:hover::before {
  transform: scaleX(1);
}

.tip-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(var(--clr-primary-rgb), 0.08), rgba(var(--clr-gold-rgb), 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.tip-card h3 {
  font-family: var(--ff-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--clr-primary);
  margin-bottom: 12px;
}

.tip-card p {
  font-size: 0.88rem;
  color: var(--clr-text-medium);
  line-height: 1.7;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--clr-primary-dark) 0%, var(--clr-primary) 50%, var(--clr-primary-light) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(var(--clr-gold-rgb), 0.08);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
}

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

.cta-arabic {
  font-family: var(--ff-arabic);
  font-size: 1.2rem;
  color: var(--clr-gold-light);
  margin-bottom: 12px;
  direction: rtl;
}

.cta-title {
  font-family: var(--ff-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--clr-cream);
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: rgba(253, 248, 240, 0.8);
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-cta-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: #25D366;
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  position: relative;
  overflow: hidden;
  animation: shimmer-btn 3s ease-in-out infinite;
}

.btn-cta-whatsapp:hover {
  background: #1DA851;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.btn-cta-whatsapp svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--clr-text);
  color: rgba(253, 248, 240, 0.7);
  padding: 60px 0 30px;
}

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

.footer-brand .nav-brand-arabic {
  color: var(--clr-gold);
  margin-bottom: 4px;
}

.footer-brand .nav-brand-name {
  color: var(--clr-cream);
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.8;
  max-width: 320px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(253, 248, 240, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-cream);
  transition: var(--transition);
  font-size: 1.1rem;
}

.footer-social a:hover {
  background: var(--clr-primary);
  transform: translateY(-3px);
}

.footer-links h4 {
  font-family: var(--ff-heading);
  font-size: 1rem;
  color: var(--clr-cream);
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  font-size: 0.88rem;
  color: rgba(253, 248, 240, 0.6);
  padding: 6px 0;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--clr-gold);
  padding-left: 8px;
}

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

.footer-bottom a {
  color: var(--clr-gold);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.1; }
  50% { transform: scale(1.1); opacity: 0.15; }
}

@keyframes blink {
  0%, 100% { border-color: var(--clr-gold); }
  50% { border-color: transparent; }
}

@keyframes scrollBounce {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.5; }
}

@keyframes shimmer-btn {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.5); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ============================================================
   MOBILE RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
    --container-padding: 20px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    padding-top: 20px;
    order: 1;
  }

  .hero-image {
    order: 0;
  }

  .hero-image-wrapper {
    max-width: 360px;
    margin: 0 auto;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-arabic {
    text-align: center;
  }

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

  .about-image-wrapper img {
    height: 400px;
  }

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

  .footer .container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
    --section-padding: 60px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--clr-cream);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 40px;
    transition: right 0.4s var(--ease-out);
    box-shadow: -10px 0 40px rgba(var(--clr-primary-rgb), 0.1);
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .nav-toggle {
    display: flex;
  }

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

  .tips-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-scroll {
    display: none;
  }

  .hero-image-wrapper::before {
    display: none;
  }

  .cta-title {
    font-size: 1.6rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .product-card-image {
    height: 300px;
  }

  .product-footer {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .product-order-btn {
    width: 100%;
    justify-content: center;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.88rem;
    width: 100%;
    justify-content: center;
  }

  .hero-buttons {
    flex-direction: column;
  }
}

/* ── Mobile overlay ────────────────────────────────────── */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ── Loading Animation ─────────────────────────────────── */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--clr-cream);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader-brand {
  font-family: var(--ff-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--clr-primary);
  opacity: 0;
  animation: fadeIn 0.6s var(--ease-out) 0.2s forwards;
}

.loader-line {
  width: 60px;
  height: 3px;
  background: var(--clr-cream-deep);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.loader-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--clr-gold);
  animation: loaderSlide 1.2s ease-in-out infinite;
}

@keyframes loaderSlide {
  0% { left: -100%; }
  50% { left: 0; }
  100% { left: 100%; }
}
