/* Tetouan Store - Complete Styles */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Light Mode Colors */
  --background: hsl(0, 0%, 98%);
  --foreground: hsl(0, 0%, 10%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(0, 0%, 10%);
  --primary: hsl(356, 79%, 57%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(240, 5%, 96%);
  --secondary-foreground: hsl(0, 0%, 10%);
  --muted: hsl(240, 5%, 96%);
  --muted-foreground: hsl(240, 4%, 46%);
  --accent: hsl(240, 5%, 96%);
  --accent-foreground: hsl(0, 0%, 10%);
  --border: hsl(240, 6%, 90%);
  
  /* Spacing */
  --radius: 0.75rem;
  
  /* Shadows */
  --shadow-glow: 0 0 30px hsla(356, 79%, 57%, 0.3);
  --shadow-card: 0 8px 32px hsla(0, 0%, 0%, 0.08);
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark {
  --background: hsl(0, 0%, 8%);
  --foreground: hsl(0, 0%, 98%);
  --card: hsl(0, 0%, 12%);
  --card-foreground: hsl(0, 0%, 98%);
  --primary: hsl(356, 79%, 57%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(240, 4%, 16%);
  --secondary-foreground: hsl(0, 0%, 98%);
  --muted: hsl(240, 4%, 16%);
  --muted-foreground: hsl(240, 5%, 65%);
  --accent: hsl(240, 4%, 16%);
  --accent-foreground: hsl(0, 0%, 98%);
  --border: hsl(240, 4%, 16%);
  --shadow-glow: 0 0 40px hsla(356, 79%, 57%, 0.4);
  --shadow-card: 0 8px 32px hsla(0, 0%, 0%, 0.3);
}

body.night {
  --background: hsl(0, 0%, 3%);
  --foreground: hsl(0, 0%, 95%);
  --card: hsl(0, 0%, 6%);
  --card-foreground: hsl(0, 0%, 95%);
  --primary: hsl(356, 75%, 52%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(240, 3%, 10%);
  --secondary-foreground: hsl(0, 0%, 95%);
  --muted: hsl(240, 3%, 10%);
  --muted-foreground: hsl(240, 4%, 60%);
  --accent: hsl(240, 3%, 10%);
  --accent-foreground: hsl(0, 0%, 95%);
  --border: hsl(240, 3%, 10%);
  --shadow-glow: 0 0 35px hsla(356, 75%, 52%, 0.35);
  --shadow-card: 0 8px 32px hsla(0, 0%, 0%, 0.5);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: var(--transition-smooth);
}

/* RTL Support */
body[dir="rtl"] {
  direction: rtl;
}

body[dir="rtl"] .rtl-mirror {
  transform: scaleX(-1);
}

/* Container */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 1280px) {
  .container {
    padding: 0 1.5rem;
  }
}

/* Navigation */
.navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.navigation.scrolled {
  background-color: hsla(var(--background), 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), hsl(250, 70%, 60%));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  cursor: pointer;
}

.nav-links {
  display: none;
  gap: 1.5rem;
}

@media (min-width: 1280px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  color: var(--muted-foreground);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  cursor: pointer;
  background: none;
  border: none;
}

.nav-link:hover {
  color: var(--foreground);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  background: transparent;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.btn-icon:hover {
  background-color: var(--accent);
}

.btn-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-shadow: var(--shadow-card);
  min-width: 10rem;
  padding: 0.5rem;
  display: none;
  z-index: 1001;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: calc(var(--radius) - 0.25rem);
  cursor: pointer;
  transition: var(--transition-smooth);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  color: var(--foreground);
  font-size: 0.875rem;
}

.dropdown-item:hover {
  background-color: var(--accent);
}

.dropdown-item.active {
  background-color: var(--accent);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: flex;
}

@media (min-width: 1280px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background-color: var(--card);
  box-shadow: -4px 0 6px -1px rgba(0, 0, 0, 0.1);
  padding: 2rem 1.5rem;
  transition: right 0.3s ease;
  z-index: 1002;
  overflow-y: auto;
}

body[dir="rtl"] .mobile-menu {
  right: auto;
  left: -100%;
  box-shadow: 4px 0 6px -1px rgba(0, 0, 0, 0.1);
  transition: left 0.3s ease;
}

.mobile-menu.show {
  right: 0;
}

body[dir="rtl"] .mobile-menu.show {
  left: 0;
  right: auto;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  display: none;
}

.mobile-menu-overlay.show {
  display: block;
}

.mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  padding: 0.5rem;
}

body[dir="rtl"] .mobile-menu-close {
  right: auto;
  left: 1rem;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3rem;
}

.mobile-nav-link {
  color: var(--muted-foreground);
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  padding: 0.5rem 0;
}

.mobile-nav-link:hover {
  color: var(--foreground);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, var(--background), var(--card));
}

.hero-orbs {
  position: absolute;
  inset: 0;
  opacity: 0.3;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: pulse 3s ease-in-out infinite;
}

.hero-orb-1 {
  top: 25%;
  left: 25%;
  width: 24rem;
  height: 24rem;
  background-color: hsla(356, 79%, 57%, 0.2);
}

.hero-orb-2 {
  bottom: 25%;
  right: 25%;
  width: 24rem;
  height: 24rem;
  background-color: hsla(250, 70%, 60%, 0.2);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 48rem;
  padding: 0 1rem;
  animation: fadeIn 1s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background-color: hsla(356, 79%, 57%, 0.1);
  border: 1px solid hsla(356, 79%, 57%, 0.2);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2rem;
  color: var(--primary);
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--foreground), var(--muted-foreground));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (min-width: 1280px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1280px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 4rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .hero-cta {
    flex-direction: row;
  }
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  min-width: 8rem;
}

.stat-value {
  font-size: 1.875rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), hsl(250, 70%, 60%));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--transition-smooth);
  cursor: pointer;
  text-decoration: none;
  border: none;
}

.btn-primary {
     background-color: hsl(113.03deg 100% 27.24%);
    color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: hsl(356, 79%, 52%);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
}

.btn-outline:hover {
  background-color: var(--accent);
  border-color: var(--primary);
  color: var(--primary);
}

/* Section */
.section {
  padding: 4rem 0;
}

@media (min-width: 1280px) {
  .section {
    padding: 6rem 0;
  }
}

.section-alt {
  background-color: var(--muted);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--foreground), var(--muted-foreground));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (min-width: 1280px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.section-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
}

@media (min-width: 1280px) {
  .section-description {
    font-size: 1.125rem;
  }
}

/* Grid */
.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 1280px) {
  .grid {
    gap: 2rem;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1536px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Card */
.card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  animation: scaleIn 0.5s ease-out;
}

.card:hover {
  background-color: hsla(var(--accent), 0.5);
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, hsla(356, 79%, 57%, 0.05), hsla(250, 70%, 60%, 0.05));
  opacity: 0;
  transition: var(--transition-smooth);
}

.card:hover .card-overlay {
  opacity: 1;
}

.card-icon {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  margin-bottom: 1rem;
  display: block;
  transition: var(--transition-smooth);
}

.card:hover .card-icon {
  transform: scale(1.1);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  transition: var(--transition-smooth);
  position: relative;
  z-index: 10;
}

.card:hover .card-title {
  color: var(--primary);
}

.card-description {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  position: relative;
  z-index: 10;
}

.card-button {
  width: 100%;
  position: relative;
  z-index: 10;
}

/* Reviews */
.review-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.star {
  color: var(--primary);
  fill: var(--primary);
}

.review-comment {
  color: var(--muted-foreground);
  font-style: italic;
  margin-bottom: 1rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: hsla(356, 79%, 57%, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.125rem;
}

.review-author-name {
  font-weight: 600;
}

.review-service {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* FAQ */
.faq-list {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  background-color: hsla(var(--accent), 0.5);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  color: var(--foreground);
  font-size: 1rem;
  padding: 0;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--muted-foreground);
  padding-top: 0;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-top: 1rem;
}

/* Contact */
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background-color: hsla(356, 79%, 57%, 0.1);
  border: 2px solid hsla(356, 79%, 57%, 0.2);
  margin-bottom: 2rem;
}

.contact-icon svg {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--primary);
}

.contact-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  text-align: center;
}

.contact-feature-icon {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.contact-feature-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Footer */
.footer {
  background-color: var(--card);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

@media (min-width: 1280px) {
  .footer {
    padding: 4rem 0;
  }
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1280px) {
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), hsl(250, 70%, 60%));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.footer-tagline {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: hsla(356, 79%, 57%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.footer-social-link:hover {
  background-color: hsla(356, 79%, 57%, 0.2);
}

.footer-section-title {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  color: var(--muted-foreground);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition-smooth);
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  padding: 0;
}

.footer-link:hover {
  color: var(--primary);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background-color: hsl(119.08deg 94.44% 30.96%);
  color: var(--primary-foreground);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  z-index: 999;
  transition: var(--transition-smooth);
  animation: pulse 2s ease-in-out infinite;
}

@media (min-width: 1280px) {
  .floating-whatsapp {
    width: 4rem;
    height: 4rem;
  }
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}

.floating-whatsapp svg {
  width: 1.5rem;
  height: 1.5rem;
}

@media (min-width: 1280px) {
  .floating-whatsapp svg {
    width: 2rem;
    height: 2rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 hsla(119, 94%, 31%, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px hsla(119, 94%, 31%, 0);
  }
  100% {
    box-shadow: 0 0 0 0 hsla(119, 94%, 31%, 0);
  }
}

/* Utility Classes */
.hidden {
  display: none;
}

.text-center {
  text-align: center;
}

.max-w-4xl {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--card);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.5rem 0;
  z-index: 1000;
  box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .bottom-nav {
    display: none;
  }
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  padding: 0.5rem;
}

.bottom-nav-item:hover {
  color: var(--primary);
}

.bottom-nav-item svg {
  width: 1.25rem;
  height: 1.25rem;
}

.bottom-nav-item-primary {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background-color: hsl(119.08deg 94.44% 30.96%);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-glow);
  margin-top: -1.5rem;
  font-size: 0;
}

.bottom-nav-item-primary svg {
  width: 1.5rem;
  height: 1.5rem;
}