/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Raleway', sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background-color: #222222;
  font-weight: 300;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

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

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

.btn-primary { /* Style for the button if it's OUTSIDE the nav */
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #d4af37, #d4af37); /* Dourado */
  color: #ffffff;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.3s;
}

.btn-primary:hover {
  transform: scale(1.05);
}

.btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  background-color: #d4af37; /* Dourado */
  border: none;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-secondary:hover {
  background-color: #b8860b; /* Dourado escuro */
  transform: scale(1.05);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
}

/* Header */
.header {
  background: linear-gradient(135deg, #000, #1a1f25);
  color: #ffffff;
  padding: 15px 0;
  position: fixed;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px; /* Container padding */
}

.logo img {
  max-width: 50px;
  display: block; /* Prevents extra space below */
}

/* --- DESKTOP Navigation --- */
.nav-bar {
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-bar a { /* Styles all links within the nav */
  color: #ffffff;
  font-family: 'Montserrat', serif;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s, transform 0.3s;
  position: relative;
  padding: 5px 0; /* Base padding */
}

/* Exclude the button from underline effect if it's inside nav */
.nav-bar a:not(.nav-button-mobile):after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #fff;
  transition: width 0.3s;
}
.nav-bar a:not(.nav-button-mobile):hover:after {
  width: 100%;
}
.nav-bar a:not(.nav-button-mobile):hover {
  color: #fff;
  transform: translateY(-2px);
}

/* Style for the button specifically IF INSIDE the nav on DESKTOP */
.nav-bar a.nav-button-mobile {
  display: inline-block;
  padding: 8px 18px;
  background: linear-gradient(135deg, #d4af37, #d4af37);
  color: #ffffff;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.3s;
  font-size: 14px;
  margin-left: 15px; /* Space before button */
}
.nav-bar a.nav-button-mobile:hover {
   transform: scale(1.05);
   color: #ffffff; /* Ensure hover color is white */
}

/* Hide mobile toggle on desktop */
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #ffffff;
}

/* --- MOBILE Navigation (Triggered by max-width: 768px below) --- */

/* Hero Section */
.hero {
  padding-top: 280px;
  padding-bottom: 100px;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('assets/bg-miriam.jpg') no-repeat center center/cover;
  color: #ffffff;
  text-align: center;
}

.hero-content {
  max-width: 800px; /* Allow a bit wider content */
  margin: 0 auto;
}

/* --- Hero Headings - Adjusted Hierarchy --- */
.hero h1 { /* CONSULTORIA DE VISAGISMO */
  font-family: 'Playfair Display', serif;
  font-size: 48px; /* Larger */
  font-weight: 300; /* Bolder */
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 5px;
  margin-top: 200px;
  animation: fadeIn 1s ease-in-out forwards;
  opacity: 0;
  /* === Gradient Text === */
  background: #fff;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block; /* Added for reliability */
}

.hero h3 { /* BEM VINDO AO SEU */
  font-family: 'Playfair Display', serif;
  font-size: 24px; /* Medium size */
  font-weight: 300; /* Regular */
  margin-bottom: 5px;
  text-transform: uppercase;
  animation: fadeIn 1s ease-in-out 1s forwards;
  opacity: 0;
  /* === Gradient Text === */
  background: #fff;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block; /* Added for reliability */
}

.hero h2 { /* PRÓXIMO NÍVEL */
  font-family: 'Playfair Display', serif;
  font-size: 64px; /* Largest */
  font-weight: 300; /* Bolder */
  margin-bottom: 25px; /* More space after */
  text-transform: uppercase;
  animation: fadeIn 1s ease-in-out 2s forwards;
  opacity: 0;
  /* === Gradient Text === */
  background: #fff;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block; /* Was already here */
}

/* Hero Paragraph */
.hero p {
  font-family: 'Raleway', sans-serif; /* Match body */
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  animation: slideUp 1.5s ease-in-out 3s forwards; /* Delay slideUp */
  opacity: 0; /* Initial state for slideUp */
  color: #eee; /* Slightly lighter text */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

/* Apresentacao Video Section */
.apresentacao {
  width: 100%;
  padding: 0;
  margin: 0;
  line-height: 0; /* Remove space below video */
}
.apresentacao video {
    display: block; /* Ensure block level */
    width: 100%;
    height: auto; /* Maintain aspect ratio */
}

/* About Section */
.about {
  padding: 80px 0; /* More padding */
  background: #000;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px; /* Increased gap */
}

.about-text {
    flex: 1; /* Allow text to take available space */
}

.about-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #fff;
}

.about-text p {
  font-size: 18px;
  margin-bottom: 15px;
  text-align: justify;
  text-justify: inter-word;
  color: #ccc; /* Lighter paragraph text */
}

.about-image {
    flex-shrink: 0; /* Prevent image from shrinking */
}
.about-image img {
  max-width: 450px; /* Adjusted size */
  border-radius: 12px;
  /* border: 3px solid #d4af37;  Gold border */
  /* box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);  Subtle gold shadow */
}

/* Services Section */
.services {
  padding: 80px 0;
  background: #111; /* Darker background */
  text-align: center;
}
.services h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #fff;
}

.service-cards {
  display: flex;
  justify-content: center; /* Center cards if they don't fill width */
  flex-wrap: wrap; /* Allow wrapping */
  gap: 30px; /* Increased gap */
  margin-top: 40px;
}

.service-card {
  background: #1f1f1f; /* Slightly lighter card background */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  flex-basis: calc(50% - 40px); /* Two cards per row on wider screens */
  max-width: 500px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
  border: 1px solid #333;
}
.service-card:hover {

    border-color: #fff;
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card h3 {
  font-size: 22px; /* Larger heading */
  margin-bottom: 15px;
  color: #fff;
}

.service-card p {
  font-size: 16px;
  color: #ccc; /* Lighter text */
  text-shadow: none; /* Remove shadow if background is dark */
  text-align: left; /* Align text left within card */
}
.collapsible-content p { /* Ensure collapsible text is also left-aligned */
    text-align: left;
}

/* Why Visagism Section */
.why-visagism {
  padding: 80px 0;
  background: #000; /* Black background */
  text-align: center;
}
.why-visagism h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #fff;
}
.why-visagism > .container > p { /* Style the intro paragraph */
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #ccc;
    font-size: 18px;
}

.visagism-comparison {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.comparison-item {
  background: #1f1f1f;
  padding: 30px;
  border-radius: 12px;
  flex-basis: calc(50% - 40px); /* Two cards per row */
  max-width: 500px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
  border: 1px solid #333;
}
.comparison-item:hover {

    border-color: #fff;
}

.comparison-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.comparison-item h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #fff;
}

.comparison-item p {
  font-size: 16px;
  color: #ccc;
  text-shadow: none;
  text-align: left; /* Align text left */
}

/* Baldness Technique Section */
.baldness-technique {
  padding: 80px 0;
  background: #111; /* Match services */
  text-align: center;
}

.baldness-technique h2 {
  margin-bottom: 20px;
  font-size: 36px;
  color: #fff;
}
.baldness-technique > .container > p { /* Intro paragraphs */
    max-width: 800px;
    margin: 0 auto 20px auto;
    color: #ccc;
    font-size: 18px;
}

.before-after {
  display: flex;
  justify-content: center; /* Center images */
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
}

/* --- Image Sizing Fix --- */
.before-after img {
  display: block;      /* Prevents extra space below image */
  max-width: 100%;   /* CRUCIAL: Image won't be wider than its container */
  height: auto;      /* CRUCIAL: Maintains aspect ratio */
  width: auto;       /* Allow image to shrink */

  /* Keep existing styles */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 2px solid #444;
}

/* Benefits List inside Baldness Section */
.baldness-technique .benefits-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 40px auto; /* Center list */
  max-width: 700px;
  text-align: left; /* Align list items left */
}

.baldness-technique .benefits-list li {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: flex-start; /* Align icon top */
}

.baldness-technique .benefits-list .icon {
  flex-shrink: 0;
}

.baldness-technique .benefits-list .icon i {
  font-size: 24px;
  color: #fff;
  margin-top: 3px; /* Align icon with text */
}
.baldness-technique .benefits-list .content {
    flex-grow: 1;
}
.baldness-technique .benefits-list strong {
  font-weight: bold;
  color: #ffffff;
}
/* Style text directly within .content */
.baldness-technique .benefits-list .content {
    font-size: 16px;
    color: #ccc;
    line-height: 1.5;
}
.baldness-technique .benefits-list .content strong {
    display: block; /* Make strong a block */
    margin-bottom: 5px; /* Space after strong */
    font-size: 18px;
}

/* Gallery Section */
#galeria { /* Assuming galeria is the ID of the section */
  padding: 80px 0;
  background: #000; /* Match background */
  text-align: center;
}
#galeria h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #fff;
}
#galeria > .container > p { /* Intro paragraph */
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #ccc;
    font-size: 18px;
}

/* Gallery Grid */
.galeria { /* The grid container */
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px; /* Space after intro text */
}

/* --- Image Sizing Fix --- */
.galeria img {
  display: block;      /* Prevents extra space below image */
  max-width: 100%;   /* CRUCIAL: Image won't be wider than its container */
  height: auto;      /* CRUCIAL: Maintains aspect ratio */
  width: 100%;       /* Make images fill grid cell width */

  /* Keep existing styles */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid #444;
}


/* Testimonials Section (Text) */
.testimonials {
  padding: 80px 0;
  background: #000;
  color: #ffffff;
  text-align: center;
}
.testimonials h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #fff;
}
.testimonials > .container > p { /* Intro paragraph */
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #ccc;
    font-size: 18px;
}

.testimonial-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background: #1f1f1f;
  padding: 30px;
  border-radius: 12px;
  flex-basis: calc(33.33% - 40px); /* Three cards per row */
  max-width: 350px;
  min-width: 280px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
  border: 1px solid #333;
  text-align: left;
}
.testimonial-card:hover {
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.2);
    border-color: #fff;
}

.testimonial-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-card p { /* The quote */
  font-size: 18px;
  margin-bottom: 15px; /* Space before name */
  color: #ccc;
  font-style: italic;
  text-shadow: none;
}

.testimonial-card span { /* The name */
  font-size: 16px;
  color: #fff;
  font-weight: bold;
  display: block; /* Put name on new line */
  margin-top: 15px;
}

/* Testimonials Section (Video) */
.services-videos {
  background-color: #ffffff; /* White background for contrast */
  color: #232224; /* Dark text */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 14px;
  text-align: center;
}
.services-videos h2 {
  text-transform: uppercase;
  font-size: 38px;
  margin-bottom: 14px;
  color: #111; /* Dark heading */
}
.services-videos > p { /* Different from .services-content p */
  line-height: 1.5;
  margin-bottom: 40px; /* More space before videos */
  max-width: 840px;
  color: #555; /* Grey text */
}
.services-videos .btn-primary { /* Button style on white background */
    margin-top: 40px; /* Space after videos */
    background: #d4af37;
    color: #000;
}
.services-videos .btn-primary:hover {
    background: #b8860b;
}

.haircuts {
  display: flex;
  justify-content: center;
  align-items: stretch; /* Align items to stretch vertically */
  flex-wrap: wrap; /* Allow wrapping */
  gap: 20px; /* Gap between videos */
  padding: 0; /* Remove padding if container handles it */
  width: 100%;
  max-width: 1300px; /* Limit max width */
}

.haircuts div { /* Container for iframe */
  width: 100%;
  max-width: 402px; /* Max width per video */
  flex-grow: 1; /* Allow growing */
  aspect-ratio: 402 / 715; /* Maintain aspect ratio */
}
.haircuts iframe {
    width: 100%;
    height: 100%;
    border: none; /* Remove iframe border */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
}

/* Map Section */
#mapa {
    padding: 0; /* Remove padding if iframe fills */
    line-height: 0; /* Remove potential space below iframe */
}
#mapa hr {
    border: none;
    height: 1px;
    background-color: #444;
    margin: 0;
}
#mapa iframe {
    display: block; /* Remove extra space below iframe */
    width: 100%; /* Ensure full width */
}

/* Call to Action Section */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #d4af37, #b8860b); /* Darker gold gradient */
  color: #000;
  text-align: center;
}

.cta h2 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 700;
}

.cta p {
  font-size: 18px;
  margin-bottom: 25px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta .btn-secondary { /* CTA button style */
  background: #000;
  color: #ffffff;
  padding: 15px 30px; /* Larger button */
  border-radius: 50px;
  font-weight: bold;
  transition: transform 0.3s, background-color 0.3s;
  font-size: 20px;
  border: 2px solid #000;
}

.cta .btn-secondary:hover {
  transform: scale(1.05);
  background-color: #333;
  border-color: #333;
}
.cta .btn-secondary i {
    margin-right: 10px;
}

/* Footer */
.footer {
  background: #000;
  color: #ffffff;
  text-align: center;
  padding: 50px 0;
}

.footer-logo img {
  max-width: 200px; /* Adjusted size */
  margin-bottom: 20px;
}

.footer-social {
    margin-bottom: 20px;
}
.footer-social a {
  color: #fff; /* Gold icons */
  margin: 0 15px; /* More spacing */
  font-size: 28px; /* Larger icons */
  transition: transform 0.3s, color 0.3s;
}

.footer-social a:hover {
  transform: scale(1.2) translateY(-3px);
  color: #fff; /* White on hover */
}
.footer p { /* Copyright text */
    color: #aaa;
    font-size: 14px;
}

/* WhatsApp Button */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: #ffffff; /* White icon */
  padding: 0; /* Remove padding */
  width: 55px; /* Fixed size */
  height: 55px; /* Fixed size */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, background-color 0.3s;
  z-index: 998; /* Below back-to-top */
}

.whatsapp-button:hover {
  transform: scale(1.1);
  background-color: #128C7E; /* Darker green */
}

.whatsapp-button i {
  font-size: 28px; /* Larger icon */
}

.whatsapp-button span {
  display: none;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 90px; /* Position above WhatsApp */
  right: 20px;
  background: #d4af37;
  color: #000;
  width: 45px; /* Slightly larger */
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  border: 2px solid #000;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #b8860b;
  transform: translateY(-3px);
}
.back-to-top i {
    font-size: 18px;
}

/* Spacers */
.spacer-large {
  margin-top: 100px; /* Reduced from 200px */
  margin-bottom: 100px;
}
.spacer {
  margin-top: 20px;
  margin-bottom: 20px;
}
.spacer-small {
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Collapsible Sections */
.collapsible-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out; /* Slightly slower transition */
}

.collapsible-content.expanded {
  max-height: 1000px; /* Large enough max height */
  margin-top: 15px; /* Add space when expanded */
}

.expand-btn {
  background: none;
  border: 2px solid #d4af37;
  color: #fff;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 4px;
  margin: 10px 0 0 0; /* Only top margin */
  transition: all 0.3s ease;
  font-weight: bold;
}

.expand-btn:hover {
  background: #d4af37;
  color: #000;
}

.expand-btn i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.expand-btn.expanded i {
  transform: rotate(180deg);
}


/* --- Responsiveness --- */

/* Tablet Portrait and Smaller (992px) */
@media (max-width: 992px) {
    .about-content {
        gap: 30px;
    }
    .about-image img {
        max-width: 350px;
    }
    .service-card, .comparison-item {
        flex-basis: calc(50% - 30px); /* Ensure two columns */
    }
    .testimonial-card {
        flex-basis: calc(50% - 30px); /* Two columns */
        max-width: none; /* Allow stretching */
    }
    .haircuts {
        gap: 15px;
    }
     /* Adjust grid min size earlier */
    .galeria {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

/* Mobile Devices (768px) */
@media (max-width: 768px) {
  /* --- MOBILE Navigation --- */
  .menu-toggle {
    display: block; /* Show hamburger */
  }

  /* Hide the main button that might be OUTSIDE the nav */
  .header > .container > .btn-primary {
      display: none;
  }

  /* Style the mobile nav container */
  .nav-bar {
    display: none; /* Hide initially */
    position: absolute;
    top: 100%; /* Position below header */
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95); /* Darker background */
    flex-direction: column;
    padding: 10px 0; /* Vertical padding */
    text-align: center;
    box-shadow: 0 5px 10px rgba(0,0,0,0.4);
    border-top: 1px solid #333;
    gap: 0; /* Reset gap for vertical layout */
  }

  .nav-bar.active {
    display: flex; /* Show when active */
  }

  /* Style links within mobile nav */
  .nav-bar a {
    padding: 15px 20px; /* Touch-friendly padding */
    width: 100%; /* Full width */
    border-bottom: 1px solid #444; /* Separator */
    font-size: 16px;
    color: #eee;
    position: static; /* Reset position */
    margin-left: 0; /* Reset margin */
  }
  .nav-bar a:hover {
    background-color: #333;
    color: #fff;
    transform: none; /* Reset transform */
  }
  .nav-bar a:after {
    display: none; /* Hide underline pseudo-element */
  }
  .nav-bar a:last-child { /* No border on the very last item */
      border-bottom: none;
  }

  /* Style the button SPECIFICALLY within the mobile nav */
  .nav-bar a.nav-button-mobile {
      background: #d4af37;
      color: #000;
      margin: 15px auto; /* Center button */
      padding: 12px 25px;
      border-radius: 50px;
      width: calc(100% - 40px);
      max-width: 300px;
      font-weight: bold;
      border-bottom: none; /* Ensure no border from general link style */
  }
   .nav-bar a.nav-button-mobile:hover {
      background: #b8860b; /* Darker gold */
      color: #000;
      transform: scale(1.02);
   }

  .header-content {
    /* No need to change flex-direction here */
    padding: 0 15px; /* Mobile padding */
    min-height: 60px; /* Ensure consistent height */
  }
  /* --- END MOBILE Navigation --- */


  /* Hero Section */
  .hero {
      padding-top: 150px; /* Less padding */
      padding-bottom: 80px;
  }
  .hero h1 { font-size: 36px; }
  .hero h3 { font-size: 20px; }
  .hero h2 { font-size: 48px; }
  .hero p { font-size: 16px; }

  /* About Section */
  .about { padding: 60px 0; }
  .about-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .about-image img {
    max-width: 80%; /* Control image size */
    margin-top: 20px;
  }

  /* Services Section */
  .services { padding: 60px 0; }
  .service-cards {
    flex-direction: column;
    gap: 20px;
  }
  .service-card {
    max-width: 100%; /* Full width */
    padding: 25px;
    flex-basis: auto; /* Reset basis */
  }
  .service-card h3 { font-size: 20px; }

  /* Why Visagism Section */
  .why-visagism { padding: 60px 0; }
  .visagism-comparison {
    flex-direction: column;
    gap: 20px;
  }
  .comparison-item {
    max-width: 100%;
    padding: 25px;
    flex-basis: auto;
  }
  .comparison-item h3 { font-size: 22px; }

  /* Baldness Technique Section */
  .baldness-technique { padding: 60px 0; }
  .before-after {
    flex-direction: column;
    align-items: center; /* Center stacked images */
    gap: 30px;
  }
  .before-after img {
    max-width: 90%; /* Control image width */
    width: auto; /* Allow shrinking */
  }
  .baldness-technique .benefits-list {
      margin: 30px auto;
      padding: 0 15px; /* Add padding on mobile */
  }

  /* Gallery Section */
  #galeria { padding: 60px 0; }
  .galeria {
    /* Min size already adjusted at 992px */
    gap: 15px;
  }

  /* Testimonials Section */
  .testimonials { padding: 60px 0; }
  .testimonial-cards {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .testimonial-card {
    width: 100%;
    max-width: 90%; /* Limit width slightly */
    flex-basis: auto;
  }

  /* Video Testimonials */
   .services-videos { padding: 60px 14px; }
   .haircuts div {
      max-width: 100%; /* Full width iframe container */
      aspect-ratio: 16 / 9; /* More standard video ratio on mobile */
   }

  /* Call to Action Section */
  .cta { padding: 60px 0; }
  .cta h2 { font-size: 36px; }
  .cta p { font-size: 16px; }
  .cta .btn-secondary {
      font-size: 18px;
      padding: 12px 25px;
  }

  /* Footer */
  .footer { padding: 40px 0; }
  .footer-logo img { max-width: 180px; }
  .footer-social a {
      font-size: 24px;
      margin: 0 10px;
  }
}

/* Small Mobile Devices (480px) */
@media (max-width: 480px) {
    .hero h1 { font-size: 32px; }
    .hero h3 { font-size: 18px; }
    .hero h2 { font-size: 40px; }

    .galeria {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px; /* More gap for single column */
    }
    .before-after img {
        max-width: 100%; /* Allow full width */
    }
    .service-card, .comparison-item, .testimonial-card {
        padding: 20px; /* Slightly less padding */
    }
    .cta h2 { font-size: 30px; }
    .cta p { font-size: 15px; }
}
