/* ============================================
   Hair of All Shades and Textures
   Confident Corporate | Plum + Amber
   ============================================ */

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

:root {
  --plum-50: #fdf2f8;
  --plum-100: #fce7f3;
  --plum-200: #fbcfe8;
  --plum-300: #f9a8d4;
  --plum-400: #f472b6;
  --plum-500: #db2777;
  --plum-600: #be185d;
  --plum-700: #9d174d;
  --plum-800: #6b2f5b;
  --plum-900: #4a1d3c;
  --plum-950: #2d1024;
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-300: #fcd34d;
  --amber-400: #fbbf24;
  --amber-500: #D4A017;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --neutral-50: #fafafa;
  --neutral-100: #f5f5f5;
  --neutral-200: #e5e5e5;
  --neutral-300: #d4d4d4;
  --neutral-400: #a3a3a3;
  --neutral-500: #737373;
  --neutral-600: #525252;
  --neutral-700: #404040;
  --neutral-800: #262626;
  --neutral-900: #171717;
  --neutral-950: #0a0a0a;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.14), 0 4px 12px rgba(0,0,0,0.08);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  color: var(--neutral-800);
  background: var(--neutral-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--neutral-900);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--plum-800);
  background: var(--plum-100);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 16px;
}

.text-amber {
  color: var(--amber-500);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--neutral-600);
  max-width: 560px;
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--plum-800);
  color: #fff;
  border-color: var(--plum-800);
}

.btn-primary:hover {
  background: var(--plum-900);
  border-color: var(--plum-900);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--neutral-800);
  border-color: var(--neutral-300);
}

.btn-secondary:hover {
  border-color: var(--plum-800);
  color: var(--plum-800);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--plum-800);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 17px 36px;
  font-size: 1rem;
}

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

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--neutral-200);
  transition: var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--plum-800);
}

.nav-logo-text {
  display: none;
}

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

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--neutral-600);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--plum-800);
  background: var(--plum-50);
}

.nav-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: var(--amber-500);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  margin-left: 8px;
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--amber-600);
  transform: translateY(-1px);
}

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

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--neutral-700);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--plum-950);
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(107,47,91,0.6) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(212,160,23,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 48px;
  backdrop-filter: blur(8px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--amber-400);
  background: rgba(212,160,23,0.15);
  border: 1px solid rgba(212,160,23,0.3);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-headline {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-subheadline {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions .btn-primary {
  background: var(--amber-500);
  border-color: var(--amber-500);
  color: var(--neutral-900);
}

.hero-actions .btn-primary:hover {
  background: var(--amber-600);
  border-color: var(--amber-600);
}

.hero-actions .btn-secondary {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}

.hero-actions .btn-secondary:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255,255,255,0.1);
}

/* --- Stat Cards --- */
.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  backdrop-filter: blur(6px);
  transition: var(--transition);
}

.stat-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateX(4px);
}

.stat-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,160,23,0.15);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.stat-label {
  display: block;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
  margin-top: 2px;
}

/* --- Services --- */
.services {
  padding: 100px 0;
  background: var(--neutral-50);
}

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

.section-header .section-desc {
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--neutral-200);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--plum-200);
}

.service-card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  transition: var(--transition);
}

.service-card:hover .service-card-img {
  transform: scale(1.03);
}

.service-card-img {
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.service-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--plum-50);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.service-name {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--neutral-900);
}

.service-desc {
  font-size: 0.9rem;
  color: var(--neutral-600);
  line-height: 1.7;
}

/* --- About --- */
.about {
  padding: 100px 0;
  background: #fff;
}

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

.about-images {
  position: relative;
  height: 560px;
}

.about-img-main {
  width: 75%;
  height: 440px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.about-img-float {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-md);
  border: 5px solid #fff;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.about-accent {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 100px;
  height: 100px;
  background: var(--amber-500);
  border-radius: var(--radius-md);
  z-index: 0;
  opacity: 0.3;
}

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

.about-text {
  font-size: 1rem;
  color: var(--neutral-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

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

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--neutral-700);
}

/* --- Gallery --- */
.gallery {
  padding: 100px 0;
  background: var(--neutral-100);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 420 / 380;
  background: var(--neutral-200);
  transition: var(--transition);
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* --- Testimonials --- */
.testimonials {
  padding: 100px 0;
  background: var(--plum-950);
}

.testimonials .section-tag {
  background: rgba(212,160,23,0.15);
  color: var(--amber-400);
}

.testimonials .section-title {
  color: #fff;
}

.testimonials .section-desc {
  color: rgba(255,255,255,0.6);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
}

.testimonial-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

.testimonial-quote {
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--plum-700);
  color: var(--amber-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

/* --- CTA --- */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--plum-800) 0%, var(--plum-950) 100%);
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-content .section-tag {
  background: rgba(212,160,23,0.2);
  color: var(--amber-400);
}

.cta-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: #fff;
  margin-bottom: 12px;
}

.cta-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  max-width: 440px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-actions .btn-primary {
  background: var(--amber-500);
  border-color: var(--amber-500);
  color: var(--neutral-900);
}

.cta-actions .btn-primary:hover {
  background: var(--amber-600);
  border-color: var(--amber-600);
}

/* --- Contact --- */
.contact {
  padding: 100px 0;
  background: #fff;
}

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

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

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--plum-50);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--neutral-500);
  margin-bottom: 4px;
}

.contact-value {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--neutral-800);
}

.contact-link {
  color: var(--plum-800);
  transition: var(--transition);
}

.contact-link:hover {
  color: var(--plum-600);
  text-decoration: underline;
}

.contact-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* --- Contact Form --- */
.contact-form-wrap {
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form-title {
  font-size: 1.375rem;
  margin-bottom: 24px;
  color: var(--neutral-900);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--neutral-700);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--neutral-800);
  background: #fff;
  border: 1.5px solid var(--neutral-300);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--plum-600);
  box-shadow: 0 0 0 3px rgba(107,47,91,0.1);
}

.form-input::placeholder {
  color: var(--neutral-400);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5l3 3 3-3' stroke='%23737373' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 20px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-sm);
  color: #065f46;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-success.show {
  display: flex;
}

/* --- Footer --- */
.footer {
  background: var(--neutral-950);
  padding: 64px 0 0;
}

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

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.footer-links a:hover {
  color: var(--amber-400);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.3);
}

/* --- Scroll Reveal --- */
[data-reveal] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
  }

  [data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Responsive --- */
@media (min-width: 640px) {
  .nav-logo-text {
    display: block;
  }
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .stat-card {
    flex: 1;
    min-width: 160px;
  }

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

  .about-grid {
    gap: 40px;
  }

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

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

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-link {
    width: 100%;
    padding: 12px 16px;
  }

  .nav-cta {
    margin-left: 0;
    text-align: center;
    width: 100%;
    display: block;
  }

  .hero {
    padding: 100px 24px 60px;
    min-height: auto;
  }

  .hero-card {
    padding: 32px;
  }

  .hero-headline {
    font-size: 1.75rem;
  }

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

  .services-grid,
  .testimonials-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

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

  .about-images {
    height: 400px;
    order: -1;
  }

  .about-img-main {
    height: 320px;
  }

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

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

  .cta-actions {
    justify-content: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .hero-card {
    padding: 24px;
  }

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

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .contact-form-wrap {
    padding: 24px;
  }
}
