/* ===== RESET & GLOBAL ===== */
* { 
  box-sizing: border-box;
}

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

body { 
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  margin: 0; 
  background: #fff; 
  color: #000; 
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== INCREASED SIDE MARGINS ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

section { 
  padding: 60px 40px;
}

header .header-inner,
footer .footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { 
  font-family: Georgia, 'Times New Roman', serif;
  margin-bottom: 0.5em;
  line-height: 1.3;
  font-weight: 600;
}

h1 { 
  font-size: clamp(2rem, 5vw, 2.5rem);
}

h2 { 
  font-size: clamp(1.75rem, 4vw, 2rem);
}

h3 { 
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}

p {
  margin-bottom: 1em;
}

/* ===== ACCESSIBILITY ===== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
.faq-question:focus-visible {
  outline: 3px solid #000;
  outline-offset: 2px;
  border-radius: 2px;
}

/* Remove default focus outline for mouse users */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

/* Skip link for keyboard users */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 10000;
  border-radius: 4px;
  font-weight: bold;
}

.skip-link:focus {
  top: 6px;
}

/* ===== HEADER & NAVIGATION ===== */
header { 
  background: #fff; 
  border-bottom: 1px solid #eee; 
  position: sticky; 
  top: 0; 
  padding: 15px 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.business-name {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-family: Georgia, serif;
}

nav ul { 
  display: flex; 
  justify-content: center; 
  gap: 20px; 
  margin: 0; 
  padding: 0; 
  list-style: none;
  flex-wrap: wrap;
}

nav a { 
  text-decoration: none; 
  color: #000; 
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 500;
  display: inline-block;
}

nav a:hover,
nav a:focus-visible { 
  color: #666; 
  background: #f5f5f5;
  transform: translateY(-1px);
}

/* ===== SECTIONS ===== */
.center-text { 
  text-align: center; 
}

/* ===== GALLERY ===== */
.gallery { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
  gap: 24px;
  margin-top: 40px;
}

.gallery img { 
  width: 100%; 
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  display: block; 
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/* ===== ABOUT SECTION ===== */
#about { 
  background: #FBF3D5; 
  padding: 80px 40px;
  color: #000;
}

#about h2,
#about h3,
#about p,
#about ul,
#about li {
  color: #000;
}

#about ul {
  line-height: 2;
  list-style: none;
  padding-left: 0;
}

#about ul li {
  margin-bottom: 10px;
}

/* ===== CENTRAL BANNER ===== */
.central-banner { 
  text-align: center; 
  padding: 100px 40px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  font-style: italic;
}

.central-banner h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: #333;
}

/* ===== PACKAGES ===== */
.packages { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
  gap: 30px;
  margin-top: 40px;
}

.package-card { 
  background: #fff; 
  border: 2px solid #eee; 
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s ease;
}

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  border-color: #000;
}

.package-card h3 {
  margin-top: 0;
  font-size: 1.5rem;
}

.package-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.package-card li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.package-card li:last-child {
  border-bottom: none;
}

/* ===== REVIEWS CAROUSEL ===== */
.review-carousel { 
  position: relative; 
  overflow: hidden; 
  max-width: 900px;
  margin: 40px auto 0;
  padding: 0 60px;
}

.carousel-wrapper { 
  display: flex; 
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-card { 
  min-width: 100%; 
  padding: 50px 40px;
  background: #f9f9f9; 
  border-radius: 12px;
  margin: 10px; 
  border-left: 5px solid #000;
  font-style: italic;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.review-card p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.review-card footer { 
  margin-top: 20px;
  font-weight: bold; 
  color: #666;
  font-style: normal;
  text-align: right;
}

.prev-btn, .next-btn { 
  position: absolute; 
  top: 50%; 
  transform: translateY(-50%); 
  background: #000; 
  color: #fff; 
  border: none; 
  border-radius: 50%; 
  padding: 15px 18px;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.3s ease;
  z-index: 10;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prev-btn:hover, 
.next-btn:hover,
.prev-btn:focus-visible, 
.next-btn:focus-visible {
  background: #333;
  transform: translateY(-50%) scale(1.1);
}

.prev-btn { 
  left: 0;
} 

.next-btn { 
  right: 0;
}

/* Carousel indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  border: 2px solid #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-indicator:hover {
  background: #999;
  border-color: #999;
}

.carousel-indicator.active {
  background: #000;
  border-color: #000;
  transform: scale(1.2);
}

/* ===== FAQ ===== */
.faq-section { 
  max-width: 900px;
  margin: 40px auto 0;
}

.faq-item { 
  margin-bottom: 20px;
  border: 2px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item:hover {
  border-color: #ddd;
}

.faq-question { 
  width: 100%; 
  padding: 24px 30px;
  background: #000; 
  color: #fff; 
  border: none; 
  border-radius: 0;
  text-align: left; 
  cursor: pointer; 
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
  font-weight: 600;
}

.faq-question:hover {
  background: #222;
}

.faq-question::after {
  content: '+';
  font-size: 2rem;
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-question[aria-expanded="true"]::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer { 
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  background: #fff;
}

.faq-answer.open {
  padding: 30px;
  max-height: 600px;
}

/* ===== BUTTONS ===== */
.btn { 
  display: inline-block; 
  background: #000; 
  color: #fff; 
  padding: 16px 36px;
  border-radius: 8px;
  text-decoration: none; 
  font-weight: 700;
  transition: all 0.3s ease;
  border: 2px solid #000;
  font-size: 1rem;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  background: #fff;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

/* ===== FLOATING BUTTONS ===== */
.floating-btns { 
  position: fixed; 
  bottom: 30px;
  right: 30px;
  display: flex; 
  flex-direction: column; 
  gap: 15px;
  z-index: 1000;
}

.floating-btns a { 
  width: 64px;
  height: 64px;
  border-radius: 50%; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  color: #fff; 
  font-size: 28px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.floating-btns a:hover,
.floating-btns a:focus-visible {
  transform: scale(1.15);
  box-shadow: 0 8px 28px rgba(0,0,0,0.3);
}

.whatsapp-btn { 
  background: #25D366;
}

.whatsapp-btn:hover {
  background: #1fba57;
}

.call-btn { 
  background: #000;
}

.call-btn:hover {
  background: #333;
}

/* ===== FOOTER ===== */
footer { 
  text-align: center; 
  padding: 50px 40px;
  font-size: 14px; 
  border-top: 2px solid #eee; 
  background: #f8f9fa;
  color: #666;
}

footer a {
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover,
footer a:focus-visible {
  color: #666;
  text-decoration: underline;
}

footer p {
  margin: 8px 0;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { 
    opacity: 0; 
    transform: translateY(30px);
  }
  to { 
    opacity: 1; 
    transform: translateY(0);
  }
}

.fade-in { 
  animation: fadeIn 0.8s ease-out forwards;
  opacity: 0;
}

/* Stagger animation for sections */
section:nth-child(1) { animation-delay: 0.1s; }
section:nth-child(2) { animation-delay: 0.2s; }
section:nth-child(3) { animation-delay: 0.3s; }

/* ===== TEXT + IMAGE BLOCKS ===== */
.text-image-block {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
}

.text-image-block .text { 
  flex: 1;
}

.text-image-block .image { 
  flex: 1;
}

.text-image-block img { 
  width: 100%; 
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  transition: transform 0.4s ease;
}

.text-image-block img:hover {
  transform: scale(1.02);
}

/* Automatic alternating layout for storytelling section */
#storytelling .text-image-block.alternate-layout:nth-child(odd) {
  flex-direction: row; /* Image on right */
}

#storytelling .text-image-block.alternate-layout:nth-child(even) {
  flex-direction: row-reverse; /* Image on left */
}

/* Keep About section as default (image on right) */
#about .text-image-block {
  flex-direction: row;
}

/* ===== GEO LOCATION BADGE ===== */
.geo-badge {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 1rem;
  margin: 10px 0;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ===== IMAGE OPTIMIZATION ===== */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 3px solid #000;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-text {
  flex: 1;
}

.cookie-text h3 {
  font-size: 1.3rem;
  margin: 0 0 0.5rem 0;
  color: #333;
}

.cookie-text p {
  margin: 0 0 0.5rem 0;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

.cookie-link {
  color: #000;
  text-decoration: underline;
  font-size: 0.9rem;
  font-weight: 600;
}

.cookie-link:hover {
  color: #666;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.btn-cookie {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-accept {
  background: #000;
  color: #fff;
}

.cookie-accept:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.btn-refuse {
  background: transparent;
  color: #666;
  border: 2px solid #ddd;
}

.btn-refuse:hover {
  background: #f5f5f5;
  border-color: #999;
  color: #333;
}

/* Mobile Cookie Banner */
@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    padding: 1.5rem 1rem;
    gap: 1rem;
  }

  .cookie-text h3 {
    font-size: 1.1rem;
  }

  .cookie-text p {
    font-size: 0.9rem;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

  .btn-cookie {
    width: 100%;
    padding: 1rem;
  }
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  
  section {
    padding: 40px 20px;
  }
  
  header .header-inner,
  footer .footer-content {
    padding: 0 20px;
  }

  .business-name {
    font-size: 1.2rem;
  }
  
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  
  .text-image-block,
  .text-image-block.reverse {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
  }
  
  nav ul {
    gap: 10px;
    padding: 0 10px;
  }

  nav a {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
  
  .gallery {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gallery img {
    height: 280px;
  }
  
  .packages {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .package-card {
    padding: 30px 20px;
  }
  
  .review-carousel {
    padding: 0 50px;
  }

  .review-card {
    padding: 30px 20px;
    font-size: 0.95rem;
  }

  .review-card p {
    font-size: 1rem;
  }

  .prev-btn, .next-btn {
    width: 40px;
    height: 40px;
    padding: 10px;
    font-size: 16px;
  }
  
  .floating-btns {
    bottom: 15px;
    right: 15px;
    gap: 10px;
  }

  .floating-btns a {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }

  .central-banner {
    padding: 60px 20px;
  }

  .faq-question {
    padding: 18px 20px;
    font-size: 1rem;
  }

  .faq-answer.open {
    padding: 20px;
  }

  .btn {
    padding: 14px 28px;
    font-size: 0.95rem;
  }
}

/* ===== TABLET RESPONSIVE ===== */
@media (min-width: 769px) and (max-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .text-image-block {
    gap: 40px;
  }
}

/* ===== HIGH CONTRAST MODE ===== */
@media (prefers-contrast: high) {
  .package-card {
    border: 3px solid #000;
  }
  
  .gallery img {
    border: 2px solid #000;
  }

  .btn {
    border-width: 3px;
  }

  .faq-item {
    border-width: 3px;
  }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  html {
    scroll-behavior: auto;
  }

  .fade-in {
    animation: none;
    opacity: 1;
  }

  .gallery img:hover,
  .text-image-block img:hover {
    transform: none;
  }
}

/* ===== DARK MODE SUPPORT (Optional) ===== */
@media (prefers-color-scheme: dark) {
  body {
    background: #1a1a1a;
    color: #e0e0e0;
  }

  header {
    background: #1a1a1a;
    border-bottom-color: #333;
  }

  nav a {
    color: #e0e0e0;
  }

  nav a:hover,
  nav a:focus-visible {
    background: #2a2a2a;
    color: #fff;
  }

  .package-card,
  .review-card {
    background: #2a2a2a;
    border-color: #444;
  }

  footer {
    background: #1a1a1a;
    border-top-color: #333;
    color: #999;
  }

  footer a {
    color: #e0e0e0;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  header,
  .floating-btns,
  .carousel-indicators,
  .prev-btn,
  .next-btn {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  a {
    text-decoration: underline;
  }

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