/* ===================================
   DOMINICAN POWER BARBERSHOP 3
   Styles — Plum + Amber Palette
   =================================== */

/* --- CSS Custom Properties --- */
:root {
  --plum-50:  #fdf2f8;
  --plum-100: #fce7f3;
  --plum-200: #fbcfe8;
  --plum-300: #f9a8d4;
  --plum-400: #f472b6;
  --plum-500: #ec4899;
  --plum-600: #db2777;
  --plum-700: #be185d;
  --plum-800: #9d174d;
  --plum-900: #831443;
  --plum-950: #4A1942;
  --plum-deep: #2D0F28;

  --amber-50:  #FFFBF0;
  --amber-100: #FFF3D6;
  --amber-200: #FFE9A8;
  --amber-300: #FFD966;
  --amber-400: #F5A623;
  --amber-500: #E8940A;
  --amber-600: #C47800;
  --amber-700: #8B5200;
  --amber-800: #5C3400;
  --amber-900: #3A2000;

  --neutral-50:  #FAFAFA;
  --neutral-100: #F5F5F5;
  --neutral-200: #EEEEEE;
  --neutral-300: #DDDDDD;
  --neutral-400: #AAAAAA;
  --neutral-500: #777777;
  --neutral-600: #555555;
  --neutral-700: #333333;
  --neutral-800: #1F1F1F;
  --neutral-900: #111111;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.1), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.15), 0 4px 12px rgba(0,0,0,.08);
  --shadow-xl: 0 24px 60px rgba(0,0,0,.2), 0 8px 20px rgba(0,0,0,.1);

  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

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

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; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

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

/* --- Typography --- */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-600);
  background: var(--amber-100);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--plum-950);
  margin-bottom: 16px;
}

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

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

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--amber-400);
  color: var(--neutral-900);
  box-shadow: 0 2px 8px rgba(245,166,35,.4);
}
.btn-primary:hover {
  background: var(--amber-500);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,166,35,.5);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* --- NAV --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(45, 15, 40, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
}

.logo-text { display: flex; flex-direction: column; }
.logo-text span:last-child { color: var(--amber-400); font-size: 0.8rem; font-weight: 600; }

.logo-light .logo-text span:last-child { color: var(--amber-400); }

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

.nav nav a:not(.btn-nav) {
  color: rgba(255,255,255,.8);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav nav a:not(.btn-nav):hover {
  color: #fff;
  background: rgba(255,255,255,.1);
}

.btn-nav {
  background: var(--amber-400);
  color: var(--neutral-900) !important;
  padding: 10px 20px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 700 !important;
  margin-left: 8px;
}
.btn-nav:hover {
  background: var(--amber-500) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--plum-deep);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(45,15,40,.92) 0%,
    rgba(74,25,66,.85) 40%,
    rgba(45,15,40,.78) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 24px 80px;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,166,35,.15);
  border: 1px solid rgba(245,166,35,.3);
  color: var(--amber-300);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
}

.hero-headline .accent {
  color: var(--amber-400);
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255,255,255,.8);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.85);
  font-size: 0.95rem;
  font-weight: 500;
}

.trust-item svg { color: var(--amber-400); flex-shrink: 0; }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.5);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(8px); }
  60% { transform: translateX(-50%) translateY(4px); }
}

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

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

.service-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 36px 28px;
  border: 1px solid var(--neutral-200);
  transition: all var(--transition);
}

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

.service-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--plum-950), var(--plum-800));
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  color: var(--amber-400);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--plum-950);
  margin-bottom: 10px;
}

.service-card p {
  color: var(--neutral-600);
  font-size: 0.95rem;
  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;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-img-main img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.about-img-secondary {
  position: absolute;
  bottom: -40px;
  right: -30px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #fff;
}

.about-img-secondary img {
  width: 220px;
  height: 220px;
  object-fit: cover;
}

.about-accent-box {
  position: absolute;
  top: -20px;
  right: 40px;
  background: linear-gradient(135deg, var(--amber-400), var(--amber-600));
  color: var(--neutral-900);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.accent-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.accent-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-content .section-title {
  text-align: left;
}

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

.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--neutral-200);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--plum-950);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--neutral-500);
  font-weight: 500;
}

/* --- 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;
  position: relative;
  aspect-ratio: 5/4;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45,15,40,.4), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover::after { opacity: 1; }

/* --- HOURS --- */
.hours {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--plum-950) 0%, var(--plum-800) 100%);
  color: #fff;
}

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

.hours-content .section-tag {
  background: rgba(245,166,35,.2);
  color: var(--amber-300);
}

.hours-content .section-title {
  color: #fff;
}

.hours-content .section-subtitle {
  color: rgba(255,255,255,.7);
}

.hours-table {
  margin-top: 40px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background var(--transition);
}

.hours-row:last-child { border-bottom: none; }
.hours-row:hover { background: rgba(255,255,255,.05); }

.hours-day { font-weight: 600; color: rgba(255,255,255,.9); }
.hours-time { color: var(--amber-400); font-weight: 600; }

.hours-row.closed .hours-time { color: var(--plum-300); }

.hours-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  backdrop-filter: blur(8px);
}

.hours-card-icon {
  color: var(--amber-400);
  margin-bottom: 20px;
}

.hours-card h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.hours-card p {
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

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

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

.contact-info .section-title { text-align: left; }
.contact-info .section-subtitle { text-align: left; }

.contact-details {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  gap: 20px;
}

.contact-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--plum-950), var(--plum-800));
  border-radius: var(--radius-md);
  color: var(--amber-400);
  flex-shrink: 0;
}

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

.contact-item p, .contact-item a {
  color: var(--neutral-700);
  font-size: 1rem;
  line-height: 1.6;
}

.contact-item a:hover { color: var(--amber-600); }

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

.contact-form h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--plum-950);
  margin-bottom: 8px;
}

.form-note {
  color: var(--neutral-500);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--neutral-700);
  margin-bottom: 6px;
}

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

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--amber-400);
  box-shadow: 0 0 0 3px rgba(245,166,35,.15);
}

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

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

.form-success svg { color: #10b981; flex-shrink: 0; }

/* --- MAP --- */
.map-section {
  height: 380px;
  background: var(--neutral-200);
}

.map-section iframe {
  width: 100%;
  height: 100%;
  filter: saturate(0.8) contrast(1.05);
}

/* --- FOOTER --- */
.footer {
  background: var(--neutral-900);
  color: rgba(255,255,255,.7);
  padding: 72px 0 0;
}

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

.footer-brand p {
  margin-top: 16px;
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-links h4,
.footer-contact h4,
.footer-hours h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.95rem;
  transition: color var(--transition);
}

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

.footer-contact p,
.footer-hours p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
  gap: 12px;
}

/* --- MOBILE NAV --- */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .nav nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(45,15,40,.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .nav nav.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav nav a:not(.btn-nav) {
    width: 100%;
    padding: 12px 16px;
  }

  .btn-nav { margin-left: 0 !important; text-align: center; justify-content: center; }
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid,
  .hours-wrapper,
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 100px 24px 60px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .about-img-secondary { right: 0; }
  .contact-form-wrap { padding: 28px 20px; }
  .about-stats { flex-direction: column; gap: 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
