/* ========================================
   DV-arts12 — Beauty & Hair Salon
   Classic & Elegant Style
   ======================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Lato', system-ui, sans-serif;
  color: #36454F;
  background-color: #FFFFFF;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* --- Scroll Reveal (progressive enhancement) --- */
.js-enabled .reveal-elem {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-enabled .reveal-elem.revealed {
  opacity: 1;
  transform: translateY(0);
}

.js-enabled .reveal-elem:nth-child(1) { transition-delay: 0.05s; }
.js-enabled .reveal-elem:nth-child(2) { transition-delay: 0.1s; }
.js-enabled .reveal-elem:nth-child(3) { transition-delay: 0.15s; }
.js-enabled .reveal-elem:nth-child(4) { transition-delay: 0.2s; }
.js-enabled .reveal-elem:nth-child(5) { transition-delay: 0.25s; }
.js-enabled .reveal-elem:nth-child(6) { transition-delay: 0.3s; }

/* --- Container --- */
.container {
  max-width: 1280px;
  margin: 0 auto;
}

/* --- Section --- */
.section {
  padding: 100px 0;
}

@media (max-width: 767px) {
  .section {
    padding: 70px 0;
  }
}

/* --- Tag Label --- */
.tag-label {
  display: inline-block;
}

/* --- Buttons --- */
.btn-coral {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #F9735B;
  color: #FFFFFF;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Lato', system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-coral:hover {
  background-color: #e8553d;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249, 115, 91, 0.35);
}

.btn-coral:active {
  transform: translateY(0);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: transparent;
  color: #FFFFFF;
  padding: 14px 32px;
  border-radius: 50px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  font-family: 'Lato', system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

/* --- Input Fields --- */
.input-field {
  background-color: #FFFFFF;
  border: 1px solid #e2e3e5;
  border-radius: 10px;
  padding: 14px 18px;
  font-family: 'Lato', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: #36454F;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  outline: none;
}

.input-field::placeholder {
  color: #a1a5ad;
}

.input-field:focus {
  border-color: #F9735B;
  box-shadow: 0 0 0 3px rgba(249, 115, 91, 0.1);
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: transparent;
  transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
  padding: 0;
}

.site-header.scrolled {
  background-color: rgba(26, 69, 79, 0.97);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: #F9735B;
  transition: width 0.3s ease;
}

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

/* --- Mobile Menu --- */
#menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #FFFFFF;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

#menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

#menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: rgba(26, 69, 79, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0 1.5rem;
  animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav-link {
  position: relative;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  background-color: #1a2228;
}

.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;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(15, 21, 25, 0.85) 0%,
    rgba(26, 69, 79, 0.7) 50%,
    rgba(15, 21, 25, 0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-left: 6%;
}

@media (max-width: 767px) {
  .hero-content {
    padding-left: 5%;
    padding-right: 5%;
    width: 100%;
  }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ========================================
   SERVICES
   ======================================== */
.services-section {
  background-color: #FFFFFF;
}

.service-card {
  background-color: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(26, 69, 79, 0.06);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(26, 69, 79, 0.12);
}

.service-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.service-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.service-card-icon {
  position: absolute;
  bottom: -24px;
  left: 24px;
  width: 52px;
  height: 52px;
  background-color: #F9735B;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(249, 115, 91, 0.35);
  transition: transform 0.3s ease;
}

.service-card:hover .service-card-icon {
  transform: rotate(8deg) scale(1.05);
}

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

/* ========================================
   ABOUT
   ======================================== */
.about-section {
  background-color: #f6f6f7;
}

.about-image-wrap {
  position: relative;
}

.about-image-main {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(26, 69, 79, 0.15);
}

.about-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-image-accent {
  position: absolute;
  bottom: -40px;
  right: -30px;
  width: 55%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(26, 69, 79, 0.2);
  border: 5px solid #f6f6f7;
}

.about-image-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-badge {
  position: absolute;
  top: -20px;
  right: -20px;
  background-color: #36454F;
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 12px 30px rgba(26, 69, 79, 0.3);
}

.about-badge-number {
  line-height: 1;
}

.about-badge-text {
  text-align: center;
  line-height: 1.4;
  margin-top: 2px;
}

/* ========================================
   GALLERY
   ======================================== */
.gallery-section {
  background-color: #FFFFFF;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: auto;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 34, 40, 0.3), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 12px;
}

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

.gallery-item:hover::after {
  opacity: 1;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials-section {
  background-color: #f6f6f7;
}

.testimonial-card {
  background-color: #FFFFFF;
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: 0 4px 20px rgba(26, 69, 79, 0.06);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26, 69, 79, 0.1);
}

.testimonial-quote-mark {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 5rem;
  line-height: 0.8;
  color: #F9735B;
  position: absolute;
  top: 20px;
  left: 28px;
  opacity: 0.3;
}

.testimonial-text {
  position: relative;
  z-index: 1;
}

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

/* ========================================
   CTA BANNER
   ======================================== */
.cta-banner {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  background-color: #2a363e;
}

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

.cta-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.cta-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(26, 34, 40, 0.92), rgba(42, 54, 62, 0.88));
}

.cta-banner .container {
  position: relative;
  z-index: 2;
}

/* ========================================
   CONTACT
   ======================================== */
.contact-section {
  background-color: #FFFFFF;
}

/* ========================================
   MAP
   ======================================== */
.map-section {
  background-color: #e2e3e5;
}

.map-section iframe {
  display: block;
  width: 100%;
  height: 400px;
  filter: grayscale(40%);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background-color: #0f1519;
  padding: 80px 0 30px;
}

.footer a {
  display: inline-block;
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal-elem {
    opacity: 1 !important;
    transform: none !important;
  }

  .js-enabled .reveal-elem {
    opacity: 1 !important;
    transform: none !important;
  }

  .service-card:hover {
    transform: none;
  }

  .gallery-item:hover img {
    transform: none;
  }
}
