/* =========================
   File: assets/style.css
   Theme: Art of Hair (Premium Rose & Glass)
   ========================= */

:root {
  /* Colors */
  --rose-primary: #D48092;
  /* Elegant detailed rose */
  --rose-dark: #9E4F60;
  /* Deep accent */
  --rose-light: #FADCE3;
  /* Soft background tint */
  --rose-bg: #FFF0F4;
  /* Main background base */

  --text-main: #4A2C32;
  /* Dark elegant brown/red for text */
  --text-muted: rgba(74, 44, 50, 0.7);

  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.5);

  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(74, 44, 50, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(158, 79, 96, 0.1), 0 8px 10px -6px rgba(158, 79, 96, 0.05);

  /* Spacing */
  --container-width: 1200px;
  --header-height: 80px;
}

/* =========================
   Reset & Base
   ========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Cairo', sans-serif;
  /* Modern Arabic Font */
  background-color: var(--rose-bg);
  background-image:
    radial-gradient(circle at 10% 10%, rgba(212, 128, 146, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(158, 79, 96, 0.08) 0%, transparent 40%);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s ease;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Base Utility Classes */
.text-center {
  text-align: center;
}

.glass-effect {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  border-radius: 20px;
}

/* =========================
   Typography
   ========================= */
h1,
h2,
h3 {
  line-height: 1.3;
  margin-top: 0;
  font-weight: 700;
}

h1 {
  font-size: 3rem;
  color: var(--rose-dark);
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5em;
}

h3 {
  font-size: 1.4rem;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

p.lead {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--rose-dark);
}

/* =========================
   Buttons
   ========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--rose-primary) 0%, var(--rose-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(212, 128, 146, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 128, 146, 0.6);
}

.btn-ghost {
  background: transparent;
  border-color: var(--rose-primary);
  color: var(--rose-dark);
}

.btn-ghost:hover {
  background: rgba(212, 128, 146, 0.1);
}

.btn-lg {
  padding: 14px 34px;
  font-size: 1.1rem;
}

.full-width {
  width: 100%;
}

/* =========================
   Header & Nav
   ========================= */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(255, 240, 244, 0.85);
  /* Semi-transparent base */
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s;
}

.topbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--rose-primary), var(--rose-dark));
  color: white;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.2rem;
}

.brand-text strong {
  display: block;
  font-size: 1.1rem;
  color: var(--rose-dark);
}

.brand-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Desktop Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  font-weight: 600;
  position: relative;
  font-size: 1.05rem;
}

.nav a:not(.btn):hover {
  color: var(--rose-primary);
}

/* Mobile Nav Elements (Hidden by default on Desktop) */
.menu-toggle,
.nav-header,
.mobile-overlay {
  display: none;
}

/* =========================
   Hero Section
   ========================= */
.hero {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 60px;
  min-height: 90vh;
  /* Full viewport height feeling */
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-badges {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.badge {
  background: white;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--rose-dark);
  box-shadow: var(--shadow-sm);
}

.hero-ctas {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

/* Hero Visuals */
.hero-visual {
  position: relative;
}

.image-placeholder {
  width: 100%;
  height: 0;
  padding-bottom: 110%;
  /* Tall aspect ratio for hero */
  background-color: var(--rose-light);
  background-size: cover;
  background-position: center;
  border-radius: 30px;
  /* Modern rounded corners */
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Animated Gradient for Placeholders */
.gradient-animate {
  background: linear-gradient(-45deg, #FADCE3, #E8B4C0, #D48092, #FADCE3);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.image-placeholder span {
  position: absolute;
  color: rgba(158, 79, 96, 0.5);
  font-weight: bold;
  font-size: 1.2rem;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

/* Floating Card Decoration */
.floating-card {
  position: absolute;
  bottom: 40px;
  right: -20px;
  background: rgba(255, 255, 255, 0.95);
  padding: 15px 20px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 15px;
  animation: float 6s ease-in-out infinite;
  max-width: 240px;
}

.floating-card .icon {
  font-size: 1.8rem;
  background: var(--rose-light);
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

/* =========================
   Sections & Cards
   ========================= */
.section {
  padding: 80px 0;
}

.section.alt-bg {
  background-color: rgba(255, 255, 255, 0.4);
}

/* Beauty Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
  margin-top: 40px;
}

.service-image .image-placeholder {
  padding-bottom: 120%;
  border-radius: 24px;
}

.service-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.card {
  padding: 25px;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--rose-primary);
}

.card.highlight {
  border: 1px solid var(--rose-primary);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(250, 220, 227, 0.6));
}

/* Split Section (Salt Room & Cafe) */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}

.split-section.inverted {
  direction: ltr;
}

/* Flip visual/text order */
.split-section.inverted .split-content {
  direction: rtl;
}

/* Keep text RTL */

.split-visual .image-placeholder {
  padding-bottom: 75%;
  /* 4:3 Aspect Ratio */
  border-radius: 24px;
}

.bullets li {
  margin-bottom: 12px;
  font-weight: 500;
}

.menu-mini-grid {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.menu-item {
  background: white;
  padding: 10px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}

/* Location */
.location-box {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  overflow: hidden;
  padding: 0;
  /* Override default padding for glass-effect */
}

.location-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-info .actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

/* Booking Form */
.booking-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background: white;
  /* Make form clear white for readability */
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 25px;
}

.field label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.field input,
.field select {
  width: 100%;
  padding: 12px 15px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-family: inherit;
  font-size: 1rem;
  background: #fafafa;
  transition: 0.2s;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--rose-primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(212, 128, 146, 0.2);
}

.field.full-width {
  grid-column: 1 / -1;
}

.hp {
  display: none;
}

.notices {
  margin-bottom: 20px;
}

/* Footer */
.footer {
  background: var(--text-main);
  color: var(--rose-bg);
  padding: 60px 0 30px;
  margin-top: 80px;
}

.footer-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-social {
  display: flex;
  gap: 20px;
}

.footer-social a {
  color: var(--rose-light);
  font-weight: bold;
}

.footer-copy {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  width: 100%;
}

/* =========================
   Responsive Design
   ========================= */
@media (max-width: 991px) {
  h1 {
    font-size: 2.4rem;
  }

  .hero-grid,
  .services-grid,
  .split-section,
  .location-box {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero {
    padding-top: 100px;
    text-align: center;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 2;
    margin-top: 20px;
  }

  .hero-ctas,
  .hero-badges {
    justify-content: center;
  }

  .floating-card {
    display: none;
  }

  /* Layout adjustments */
  .split-section.inverted {
    direction: rtl;
  }

  .location-box {
    border-radius: 20px;
  }

  .map-embed {
    min-height: 250px;
  }

  /* Mobile Menu Logic */
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
  }

  .menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--text-main);
    border-radius: 2px;
    transition: 0.3s;
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .nav {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    z-index: 2000;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  }

  .nav.active {
    right: 0;
  }

  .nav-header {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
  }

  .close-menu {
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
  }

  .nav a {
    font-size: 1.1rem;
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid #f9f9f9;
  }

  .nav .btn {
    margin-top: 20px;
    width: 100%;
    text-align: center;
  }

  .mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
  }

  .mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }

  body.no-scroll {
    overflow: hidden;
  }
}

@media (max-width: 500px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-badges {
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }

  .booking-wrapper {
    padding: 20px;
  }
}