/* ==========================================================================
   ENES YAKAR HAIR DESIGN - Berber Salonu | style.css
   ========================================================================== */

:root {
  --color-black: #0a0a0a;
  --color-dark: #121212;
  --color-dark-alt: #1c1c1c;
  --color-border: #2a2a2a;
  --color-gold: #d4af37;
  --color-gold-light: #f1d78c;
  --color-white: #f5f5f5;
  --color-gray: #a0a0a0;

  --font-heading: 'Cormorant', serif;
  --font-body: 'Inter', sans-serif;

  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --container-width: 1200px;
}

/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-black);
  color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

::selection {
  background: var(--color-gold);
  color: var(--color-black);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-black);
}
::-webkit-scrollbar-thumb {
  background: var(--color-gold);
  border-radius: 10px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border: 2px solid transparent;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--gold {
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
  color: var(--color-black);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
}

.btn--gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.45);
}

.btn--outline {
  background: transparent;
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.btn--outline:hover {
  background: var(--color-gold);
  color: var(--color-black);
  transform: translateY(-3px);
}

.btn--glass {
  color: var(--color-white);
}

.btn--glass:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

.btn--lg {
  padding: 1.1rem 2.6rem;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* ===== SECTION TITLES ===== */
.section-eyebrow {
  display: block;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.section-title span {
  color: var(--color-gold);
  font-style: italic;
}

.center {
  text-align: center;
}

/* ===== SCROLL REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.3rem 0;
  background: transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 0.8rem 0;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__brand {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
}

.navbar__tag {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold);
  opacity: 0.85;
}

@media (max-width: 576px) {
  .navbar__tag {
    display: none;
  }
}

.navbar__logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-white);
}

.navbar__logo span {
  color: var(--color-gold);
}

.navbar__links {
  display: flex;
  gap: 2.2rem;
}

.nav-link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-white);
  padding: 0.3rem 0;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-gold);
}

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

.navbar__cta {
  padding: 0.7rem 1.6rem;
  font-size: 0.88rem;
}

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: var(--transition);
}

.hamburger span:nth-child(1) {
  margin-top: -6px;
}

.hamburger span:nth-child(3) {
  margin-top: 6px;
}

.hamburger.active span:nth-child(1) {
  margin-top: 0;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--color-gold);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  margin-top: 0;
  transform: translate(-50%, -50%) rotate(-45deg);
  background: var(--color-gold);
}

@media (max-width: 992px) {
  .hamburger {
    display: block;
  }
  .navbar__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--color-border);
    padding: 6rem 2rem 2rem;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1050;
  }
  .navbar__nav.active {
    right: 0;
  }
  .navbar__links {
    flex-direction: column;
    gap: 1.5rem;
  }
  .navbar__cta {
    display: none;
  }
}

@media (min-width: 993px) {
  .hamburger {
    display: none !important;
  }
}

/* ===== CINEMATIC HERO EFFECTS (grain / gild / hairline / liquid glass) ===== */
.grain-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.gild {
  background: linear-gradient(180deg, var(--color-gold-light) 0%, var(--color-gold) 45%, #a67c1e 60%, var(--color-gold-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hairline {
  display: block;
  height: 1px;
  width: 64px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.7), transparent);
  transform-origin: left;
  animation: inkDraw 1s ease-out forwards;
}

@keyframes inkDraw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.liquid-glass {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  background-blend-mode: overlay;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.liquid-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(212, 175, 55, 0.6) 0%,
    rgba(212, 175, 55, 0.2) 20%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0) 60%,
    rgba(212, 175, 55, 0.2) 80%,
    rgba(212, 175, 55, 0.6) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

@keyframes blurFadeUp {
  from { opacity: 0; filter: blur(20px); transform: translateY(40px); }
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}

.animate-blur-fade-up {
  opacity: 0;
  animation: blurFadeUp 1.1s ease-out forwards;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(10, 10, 10, 0.55) 0%, transparent 18%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.25) 0%, rgba(10, 10, 10, 0.45) 45%, rgba(10, 10, 10, 0.92) 100%);
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 5rem;
}

.hero__eyebrow {
  color: var(--color-gold-light);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.9rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.8rem;
  margin: 1.4rem 0 1.8rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.55);
}

.hero__meta li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__meta i {
  color: var(--color-gold);
  font-size: 0.85rem;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin-bottom: 1rem;
  text-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.hero__title span {
  display: block;
}

.hero__title-italic {
  font-style: italic;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--color-gray);
  max-width: 600px;
  margin-bottom: 1.8rem;
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.hero__hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.4);
}

.hero__hint i {
  color: var(--color-gold);
  font-size: 0.7rem;
}

.hero__scroll {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--color-gold);
  font-size: 1.4rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -12px); }
  60% { transform: translate(-50%, -6px); }
}

/* ===== ABOUT ===== */
.about {
  padding: 8rem 0;
  background: var(--color-dark);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.about__media {
  position: relative;
}

.about__media img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 8px;
  filter: grayscale(20%);
}

.about__frame {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-gold);
  border-radius: 8px;
  z-index: -1;
}

.about__text p {
  color: var(--color-gray);
  margin-bottom: 1.2rem;
}

.about__stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat__num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-gold);
}

.stat__label {
  font-size: 0.82rem;
  color: var(--color-gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== INSTAGRAM VIDEO SHOWCASE ===== */
.instagram-showcase {
  padding: 8rem 0;
  background: var(--color-black);
}

.instagram-showcase__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.instagram-showcase__text p {
  color: var(--color-gray);
  margin-bottom: 1.8rem;
}

.instagram-showcase__text .btn i {
  margin-right: 0.3rem;
}

.instagram-showcase__media {
  display: flex;
  justify-content: center;
}

.video-frame {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  overflow: hidden;
  border: 3px solid var(--color-gold);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: videoFramePulse 3s ease-in-out infinite;
}

.video-frame__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-frame__mute {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(6px);
  color: var(--color-white);
  cursor: pointer;
  z-index: 2;
  transition: var(--transition);
}

.video-frame__mute:hover {
  background: var(--color-gold);
  color: var(--color-black);
}

@keyframes videoFramePulse {
  0%, 100% { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 0 rgba(212, 175, 55, 0.45); }
  50% { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 16px rgba(212, 175, 55, 0); }
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
  position: fixed;
  left: 1.8rem;
  bottom: 1.8rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #ffffff;
  border-radius: 50%;
  font-size: 1.6rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 900;
  animation: whatsappPulse 2.4s ease-in-out infinite;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ===== HAIR DESIGNS (sağa doğru kayan portfolyo) ===== */
.hair-designs {
  padding: 8rem 0;
  background: var(--color-black);
  overflow: hidden;
}

.hair-designs__viewport {
  margin-top: 3.5rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.hair-designs__track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: hairDesignsSlide 26s linear infinite;
}

.hair-designs__viewport:hover .hair-designs__track {
  animation-play-state: paused;
}

@keyframes hairDesignsSlide {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.hair-design-card {
  position: relative;
  flex: 0 0 auto;
  width: 230px;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-dark);
}

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

.hair-design-card__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 0.9rem;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.9), transparent);
  color: var(--color-gold-light);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
}

/* ===== SERVICES ===== */
.services {
  padding: 8rem 0;
  background: var(--color-black);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.service-card {
  position: relative;
  background: var(--color-dark);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 2.4rem 2rem;
  transition: var(--transition);
}

.service-card {
  transition: transform 0.15s ease-out, border-color var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  border-color: var(--color-gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card--featured {
  background: linear-gradient(160deg, var(--color-dark-alt), var(--color-dark));
  border-color: var(--color-gold);
}

.service-card__badge {
  position: absolute;
  top: -12px;
  right: 1.5rem;
  background: var(--color-gold);
  color: var(--color-black);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-card__icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  color: var(--color-gold);
  font-size: 1.4rem;
  margin-bottom: 1.3rem;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: 0.7rem;
}

.service-card p {
  color: var(--color-gray);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  min-height: 65px;
}

.service-card__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 1.5rem;
  margin-bottom: 1.3rem;
  border-bottom: 1px solid var(--color-border);
}

.service-card__time {
  font-size: 0.85rem;
  color: var(--color-gray);
}

.service-card__btn {
  width: 100%;
}

/* ===== BOOKING ===== */
.booking {
  padding: 8rem 0;
  background: var(--color-dark);
  position: relative;
}

.booking__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: flex-start;
}

.booking__info p {
  color: var(--color-gray);
  margin-bottom: 1.5rem;
}

.booking__list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
  color: var(--color-white);
}

.booking__list i {
  color: var(--color-gold);
  background: rgba(212, 175, 55, 0.1);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.booking-form {
  background: var(--color-black);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.4rem;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--color-gray);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--color-dark);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  color-scheme: dark;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.form-group.has-error input,
.form-group.has-error select {
  border-color: #e05555;
}

.form-error {
  display: block;
  color: #e05555;
  font-size: 0.78rem;
  margin-top: 0.4rem;
  min-height: 1rem;
}

/* Time slot grid */
.time-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}

.time-grid__hint {
  grid-column: 1 / -1;
  color: var(--color-gray);
  font-size: 0.85rem;
  padding: 0.6rem 0;
}

.time-slot {
  padding: 0.6rem 0.4rem;
  background: var(--color-dark);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-white);
  font-size: 0.85rem;
  font-family: var(--font-body);
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}

.time-slot:hover:not(:disabled) {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.time-slot.selected {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-black);
  font-weight: 600;
}

.time-slot:disabled {
  opacity: 0.35;
  text-decoration: line-through;
  cursor: not-allowed;
  background: var(--color-dark-alt);
}

/* Submit button loader */
.btn-loader {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 0, 0, 0.3);
  border-top-color: var(--color-black);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn.is-loading .btn-text {
  opacity: 0.6;
}

.btn.is-loading .btn-loader {
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-message {
  margin-top: 1rem;
  font-size: 0.88rem;
  text-align: center;
  min-height: 1.2rem;
}

.form-message.success { color: #4caf50; }
.form-message.error { color: #e05555; }

/* ===== FOOTER ===== */
.footer {
  background: var(--color-black);
  border-top: 1px solid var(--color-border);
  padding: 5rem 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer__col h4 {
  font-family: var(--font-heading);
  color: var(--color-gold);
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}

.footer__col p {
  color: var(--color-gray);
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer__col .navbar__logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer__socials {
  display: flex;
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.footer__socials a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-white);
  transition: var(--transition);
}

.footer__socials a:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-black);
  transform: translateY(-4px);
}

.footer__map iframe {
  border-radius: 8px;
  filter: grayscale(60%) invert(92%) contrast(90%);
}

.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding: 1.5rem 0;
  text-align: center;
  color: var(--color-gray);
  font-size: 0.85rem;
}

/* ===== SUCCESS MODAL ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal__box {
  position: relative;
  background: var(--color-dark);
  border: 1px solid var(--color-gold);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 420px;
  width: 90%;
  transform: scale(0.85) translateY(20px);
  transition: var(--transition);
}

.modal.active .modal__box {
  transform: scale(1) translateY(0);
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: none;
  color: var(--color-gray);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

.modal__icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
  color: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.modal__box h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.modal__box p {
  color: var(--color-gray);
  margin-bottom: 1.8rem;
  font-size: 0.92rem;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
  position: fixed;
  right: 1.8rem;
  bottom: 1.8rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
  color: var(--color-black);
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
  transition: var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .about__inner,
  .booking__inner,
  .instagram-showcase__inner {
    grid-template-columns: 1fr;
  }

  .about__media img {
    height: 380px;
  }

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

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

@media (max-width: 768px) {
  .navbar__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(80%, 340px);
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 1050;
  }

  .navbar__nav.active {
    right: 0;
  }

  .navbar__links {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .nav-link {
    font-size: 1.2rem;
  }

  .navbar__cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero__content {
    padding-bottom: 3rem;
  }

  .hero__meta {
    gap: 0.5rem 1rem;
    font-size: 0.65rem;
  }

  .hero__cta-row {
    flex-direction: column;
    align-items: stretch;
  }

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

  .video-frame {
    max-width: 260px;
  }

  .hair-design-card {
    width: 170px;
  }

  .time-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 480px) {
  .time-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .booking-form {
    padding: 1.8rem;
  }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .animate-blur-fade-up {
    animation: none;
    opacity: 1;
    filter: none;
    transform: none;
  }

  .hairline {
    animation: none;
    transform: scaleX(1);
  }

  .video-frame {
    animation: none;
  }

  .hair-designs__track {
    animation: none;
  }

  .whatsapp-float {
    animation: none;
  }
}

/* ===== BERBER SEÇİMİ ===== */
.barber-grid {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.barber-card {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1.6rem;
  background: #0a0a0a;
  border: 1.5px solid #3a3a3a;
  border-radius: 10px;
  color: #888;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  white-space: nowrap;
  letter-spacing: 0.03em;
  /* Köşelerde amber glow için box-shadow */
  box-shadow:
    -3px -3px 0 0 rgba(212,175,55,0),
     3px -3px 0 0 rgba(212,175,55,0),
    -3px  3px 0 0 rgba(212,175,55,0),
     3px  3px 0 0 rgba(212,175,55,0);
}

/* Köşelerde amber nokta efekti (::before / ::after) */
.barber-card::before,
.barber-card::after {
  content: '';
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3a3a3a;
  transition: background 0.2s ease;
}
.barber-card::before { top: -2px; left: -2px; }
.barber-card::after  { bottom: -2px; right: -2px; }

.barber-card:hover {
  border-color: rgba(212,175,55,.6);
  color: #d4af37;
  box-shadow: 0 0 10px rgba(212,175,55,.12);
}

.barber-card:hover::before,
.barber-card:hover::after {
  background: rgba(212,175,55,.7);
}

.barber-card:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

/* SEÇİLİ — belirgin amber kenarlık + amber köşeler */
.barber-card.selected {
  border-color: #d4af37;
  color: #f1d78c;
  background: #0f0e09;
  box-shadow:
    0 0 14px rgba(212,175,55,.18),
    inset 0 0 0 1px rgba(212,175,55,.15);
}

.barber-card.selected::before,
.barber-card.selected::after {
  background: #d4af37;
  width: 6px;
  height: 6px;
}

/* Hata durumu */
.form-group.has-error .barber-card {
  border-color: rgba(220, 50, 50, 0.4);
}

/* ==========================================================================
   RANDEVU SORGULAMA & İPTAL MODAL
   ========================================================================== */
.lookup-modal-box {
  width: 100%;
  max-width: 520px;
  background: var(--color-dark);
  border: 1.5px solid var(--color-border);
  border-radius: 14px;
  padding: 2.2rem;
  position: relative;
  box-shadow: 0 16px 50px rgba(0,0,0,0.8);
}

.lookup-item {
  background: var(--color-dark-alt);
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  padding: 1.2rem;
  margin-top: 1rem;
  text-align: left;
}

.lookup-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--color-border);
}

.lookup-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

