/* ============================================
   SALON ARLI — Premium Erkek Kuaförü
   Design System & Full Stylesheet
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Colors - Lighter Soft Darks */
  --color-black: #181818;
  --color-anthracite: #242430;
  --color-anthracite-light: #2e2e3d;
  --color-dark-surface: #202020;
  --color-gold: #c8a656;
  --color-gold-light: #d4b76a;
  --color-gold-dark: #a68b3e;
  --color-white: #ffffff;
  --color-text: #e6e6e6;
  --color-text-muted: #b0b0b0;
  --color-border: rgba(200, 166, 86, 0.2);

  /* Gradients - Much smoother and lighter */
  --gradient-gold: linear-gradient(135deg, #c8a656, #d4b76a, #a68b3e);
  --gradient-dark: linear-gradient(180deg, #181818, #242430);
  --gradient-hero: linear-gradient(180deg, rgba(24, 24, 24, 0.4) 0%, rgba(36, 36, 48, 0.85) 100%);

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;

  /* Shadows */
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-gold: 0 4px 20px rgba(200, 166, 86, 0.2);
  --shadow-hero-btn: 0 6px 25px rgba(200, 166, 86, 0.35);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--color-black);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: var(--font-body);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Section Shared --- */
.section {
  padding: var(--section-padding);
  position: relative;
  /* Fix navbar covering section title on scroll - Reduced as per request */
  scroll-margin-top: -10px;
}

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

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-gold);
  border-radius: 2px;
}

/* Hero Socials */
.hero-socials {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  justify-content: center;
}

.hero-socials a {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.hero-socials a:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  transform: translateY(-3px);
}

.hero-socials a svg {
  width: 20px;
  height: 20px;
  fill: var(--color-white);
  transition: var(--transition-smooth);
}

.hero-socials a:hover svg {
  fill: var(--color-black);
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-top: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Fade In Animation - DISABLED --- */
.fade-in {
  opacity: 1;
  transform: none;
  /* transition: opacity 0.4s ease-out, transform 0.4s ease-out; */
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-smooth);
  background: transparent;
}

.header.scrolled {
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 1px;
}

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

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

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
}

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

.nav-links a:hover {
  color: var(--color-gold);
}

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

.nav-cta {
  background: var(--gradient-gold);
  color: var(--color-black) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase;
  font-size: 0.8rem !important;
  transition: var(--transition-smooth);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hero-btn);
  color: var(--color-black) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--color-white);
  transition: var(--transition-smooth);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  filter: brightness(0.4);
  /* Removed scale/animation to fix "not fitting" issue */
}

@media (min-width: 992px) {
  .hero-bg {
    background-image: url('images/gallery-haircut.jpg');
    background-position: center 20%;
    /* Adjust focus */
    filter: brightness(0.7);
    /* Make it brighter on desktop */
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.05);
  }

  to {
    transform: scale(1.15);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* Removed background and border as requested */
  background: transparent;
  border: none;
  padding: 0;
  /* Reduced padding since no bg */
  font-size: 0.9rem;
  /* Slightly larger text */
  color: var(--color-gold);
  margin-bottom: 24px;
  /* No backdrop filter */
}

.hero-badge svg {
  width: 18px;
  height: 18px;
  fill: var(--color-gold);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 .gold {
  color: var(--color-gold);
  display: block;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--color-text-muted);
  margin-bottom: 20px;
  /* Reduced margin to bring badge closer */
  font-weight: 300;
  letter-spacing: 0.5px;
  line-height: 1.6;
  /* Better readability for paragraph */
  max-width: 600px;
  /* Limit width for readability */
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient-gold);
  color: var(--color-black);
  padding: 16px 36px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-hero-btn);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(200, 166, 86, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--color-white);
  padding: 16px 36px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-3px);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.hero-scroll span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  position: relative;
}

.hero-scroll span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 2px;
  animation: scrollDown 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);
  }
}

@keyframes scrollDown {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
  }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  background: var(--gradient-dark);
}

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

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  /* Fill container height */
  min-height: 450px;
  /* Ensure sufficient height */
  object-fit: cover;
  /* Fill the frame, crop if necessary */
  border-radius: var(--radius-lg);
  transition: var(--transition-slow);
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-image::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid rgba(200, 166, 86, 0.2);
  border-radius: var(--radius-lg);
  z-index: 1;
  pointer-events: none;
}

.about-image .experience-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(200, 166, 86, 0.3);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  z-index: 2;
  text-align: center;
}

.experience-badge .number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-gold);
  display: block;
  line-height: 1;
}

.experience-badge .label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--color-white);
  margin-bottom: 8px;
  font-weight: 700;
}

.about-text .gold-line {
  width: 60px;
  height: 3px;
  background: var(--gradient-gold);
  border-radius: 2px;
  margin-bottom: 24px;
}

.about-text p {
  color: var(--color-text-muted);
  margin-bottom: 24px;
  font-size: 1.02rem;
  line-height: 1.8;
}

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

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(200, 166, 86, 0.06);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.about-feature:hover {
  background: rgba(200, 166, 86, 0.12);
  border-color: rgba(200, 166, 86, 0.3);
}

.about-feature .icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 166, 86, 0.12);
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.about-feature span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-white);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  background: var(--color-dark-surface);
}

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

/* Desktop Layout: Single Row for <= 8 items */


.service-card {
  background: rgba(26, 26, 46, 0.5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(200, 166, 86, 0.3);
  box-shadow: var(--shadow-gold);
  background: rgba(26, 26, 46, 0.8);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(200, 166, 86, 0.1);
  border: 1px solid rgba(200, 166, 86, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
  background: rgba(200, 166, 86, 0.2);
  border-color: var(--color-gold);
  transform: scale(1.1);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 10px;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ============================================
   WHY US SECTION
   ============================================ */
.why-us {
  background: var(--gradient-dark);
  position: relative;
}

.why-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--color-gold), transparent);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
}

.why-item {
  text-align: center;
  padding: 36px 24px;
  background: rgba(200, 166, 86, 0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
}

.why-item:hover {
  background: rgba(200, 166, 86, 0.1);
  border-color: rgba(200, 166, 86, 0.3);
  transform: translateY(-5px);
}

.why-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.why-item h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 8px;
}

.why-item p {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
  background: var(--color-dark-surface);
  overflow: hidden;
}

.testimonials-slider {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  min-width: 100%;
  padding: 48px 40px;
  background: rgba(26, 26, 46, 0.5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  left: 32px;
  font-family: Georgia, serif;
  font-size: 5rem;
  color: rgba(200, 166, 86, 0.15);
  line-height: 1;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-bottom: 20px;
}

.testimonial-stars svg {
  width: 20px;
  height: 20px;
  fill: var(--color-gold);
}

.testimonial-card blockquote {
  font-size: 1.05rem;
  color: var(--color-text);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
}

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

.testimonial-author .avatar {
  width: 48px;
  height: 48px;
  background: var(--gradient-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-black);
}

.testimonial-author .info h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-white);
}

.testimonial-author .info span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(200, 166, 86, 0.1);
  border: 1px solid rgba(200, 166, 86, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  color: var(--color-gold);
}

.slider-btn:hover {
  background: var(--color-gold);
  color: var(--color-black);
}

.slider-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(200, 166, 86, 0.2);
  border: none;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.slider-dots .dot.active {
  background: var(--color-gold);
  width: 28px;
  border-radius: 5px;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery {
  background: var(--gradient-dark);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

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

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

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.8), transparent);
  opacity: 0;
  transition: var(--transition-smooth);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

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

.gallery-item .overlay span {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Gallery Span Variants */
.gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: var(--radius-md);
  box-shadow: 0 0 50px rgba(200, 166, 86, 0.2);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  font-size: 2rem;
  color: var(--color-white);
  transition: var(--transition-smooth);
}

.lightbox-close:hover {
  color: var(--color-gold);
  transform: rotate(90deg);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  background: var(--color-dark-surface);
}

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

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

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: rgba(26, 26, 46, 0.5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
}

.contact-card:hover {
  border-color: rgba(200, 166, 86, 0.3);
  background: rgba(26, 26, 46, 0.7);
}

.contact-card .card-icon {
  width: 50px;
  height: 50px;
  background: rgba(200, 166, 86, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 4px;
}

.contact-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.contact-card a {
  color: var(--color-gold);
  font-weight: 500;
}

.contact-card a:hover {
  text-decoration: underline;
}

.phone-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-phone-small {
  display: inline-block;
  background: var(--gradient-gold);
  color: var(--color-black) !important;
  /* Override default link color */
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: var(--transition-smooth);
}

.btn-phone-small:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(200, 166, 86, 0.3);
}

.hours-table {
  width: 100%;
  margin-top: 8px;
}

.hours-table tr {
  /* Removed display flex to use standard table behavior */
  border-bottom: 1px solid rgba(200, 166, 86, 0.08);
}

.hours-table td {
  padding: 12px 0;
}

.hours-table td:last-child {
  text-align: left;
  padding-left: 20px;
}

.hours-table td:first-child {
  color: var(--color-text);
  font-size: 0.88rem;
}

.hours-table td:last-child {
  color: var(--color-gold);
  font-weight: 500;
  font-size: 0.88rem;
}

.hours-table tr.closed td:last-child {
  color: #e74c3c;
}

.contact-buttons {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-gold);
  color: var(--color-black);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.btn-phone:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hero-btn);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: var(--color-white);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  background: #20bd5a;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  min-height: 450px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 450px;
  border: none;
  filter: brightness(0.85) contrast(1.1);
}

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

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-white);
}

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

.footer-copy {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  background: rgba(200, 166, 86, 0.08);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.footer-socials a:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
}

.footer-socials a svg {
  width: 18px;
  height: 18px;
  fill: var(--color-text-muted);
  transition: var(--transition-smooth);
}

.footer-socials a:hover svg {
  fill: var(--color-black);
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition-smooth);
  animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: white;
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }

  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
}

/* ============================================
   RESPONSIVE — Mobile First Overrides
   ============================================ */
@media (max-width: 992px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1rem;
  }

  .hamburger {
    display: flex;
    z-index: 1000;
  }

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

  .about-image img {
    height: auto;
    min-height: auto;
    object-fit: contain;
    width: 100%;
    border-radius: var(--radius-lg);
  }

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

  .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }

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

  .contact-map {
    min-height: 350px;
  }

  .contact-map iframe {
    min-height: 350px;
  }
}

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

  .section-header {
    margin-bottom: 40px;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

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

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

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

  .testimonial-card {
    padding: 32px 24px;
  }

  .contact-buttons {
    flex-direction: column;
  }

  .btn-phone,
  .btn-whatsapp {
    justify-content: center;
  }

  .footer .container {
    flex-direction: column;
    text-align: center;
  }
}

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

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

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

  .gallery-item:nth-child(1) {
    grid-column: span 1;
  }

  .testimonial-card blockquote {
    font-size: 0.95rem;
  }
}

/* ============================================
   APPOINTMENT MODAL
   ============================================ */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: var(--color-dark-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal.active .modal-content {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 28px;
  font-weight: bold;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.close-modal:hover {
  color: var(--color-gold);
}

.modal-content h2 {
  font-family: var(--font-heading);
  color: var(--color-white);
  margin-bottom: 12px;
  text-align: center;
}

.modal-content p {
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: 24px;
  font-size: 0.9rem;
}

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

.form-group label {
  display: block;
  color: var(--color-white);
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-gold);
  background: rgba(255, 255, 255, 0.1);
}

.form-group select option {
  background-color: #1a1a2e;
  /* Fix for white text on white bg */
  color: var(--color-white);
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: #25d366;
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition-smooth);
}

.btn-submit:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

/* Desktop Layout: Single Row for <= 8 items (Moved to end for precedence) */
@media (min-width: 992px) {

  /* Widen container to give more space for 6 columns */
  .services .container,
  .why-us .container {
    max-width: 95%;
    /* Use almost full width */
    padding: 0 40px;
  }

  /* Grid Layout */
  .services-grid,
  .why-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    /* Comfortable gap */
  }

  /* Adjust internal spacing slightly, but keep font readable */
  .service-card,
  .why-item {
    padding: 24px 16px;
    /* Reduced side padding */
  }

  .service-card h3,
  .why-item h3 {
    font-size: 1.1rem;
    /* Restored size */
    margin-bottom: 10px;
  }

  .service-card p,
  .why-item p {
    font-size: 0.95rem;
    /* Restored size */
    line-height: 1.5;
  }

  .service-icon,
  .why-icon {
    font-size: 2.2rem;
    /* Restored size */
    margin-bottom: 15px;
  }
}

/* Mobile Gallery Slider */
.gallery-controls.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .gallery-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .gallery-grid::-webkit-scrollbar {
    display: none;
  }

  .gallery-item {
    min-width: 85%;
    scroll-snap-align: center;
    height: 300px;
    margin-bottom: 0;
  }

  .gallery-controls.mobile-only {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
  }

  .gallery-controls .slider-btn {
    background: rgba(200, 166, 86, 0.2);
    border: 1px solid var(--color-gold);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--color-gold);
  }

  .gallery-controls .slider-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
  }
}