/* ========================================
   CSS Variables & Reset
======================================== */
:root {
  --color-primary: #1e3a5f;
  --color-primary-dark: #0f1f33;
  --color-accent: #8b0000;
  --color-background: #f5f7fa;
  --color-surface: #FFFFFF;
  --color-text: #2c3e50;
  --color-text-muted: #5a6c7d;
  --color-border: #d1d9e6;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-body: 'Lora', Georgia, serif;
  --font-sans: system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 1px 2px rgba(30, 58, 95, 0.05);
  --shadow-md: 0 4px 6px rgba(30, 58, 95, 0.07);
  --shadow-lg: 0 10px 25px rgba(30, 58, 95, 0.1);
  --transition: 0.3s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
}

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

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

ul {
  list-style: none;
}

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

.section-subtitle {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 2rem;
}

/* ========================================
   Navbar
======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-surface);
  transition: color var(--transition);
}

.navbar.scrolled .nav-logo {
  color: var(--color-primary-dark);
}

.logo-icon {
  width: 28px;
  height: 28px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-surface);
  transition: color var(--transition);
  position: relative;
}

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

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

.navbar.scrolled .nav-links a {
  color: var(--color-text);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--color-primary);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-surface);
  transition: background var(--transition), transform var(--transition);
}

.navbar.scrolled .mobile-menu-btn span {
  background: var(--color-text);
}

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

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(30, 58, 95, 0.4) 0%,
    rgba(30, 58, 95, 0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--color-surface);
  padding: 0 1.5rem;
  max-width: 800px;
}

.hero-subtitle {
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
  opacity: 0.9;
  text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.9);
  font-family: var(--font-sans);
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(3rem, 10vw, 5rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 4px 4px 16px rgba(0, 0, 0, 0.95);
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.9);
  font-family: var(--font-sans);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  background: var(--color-surface);
  color: var(--color-primary-dark);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 50px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.hero-btn-whatsapp {
  background: #25d366;
  color: #ffffff;
}

.hero-btn-secondary {
  background: var(--color-surface);
  color: var(--color-primary-dark);
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--color-surface);
  background: transparent;
  cursor: pointer;
  transition: background var(--transition);
}

.indicator.active,
.indicator:hover {
  background: var(--color-surface);
}

/* ========================================
   About Section
======================================== */
.about {
  padding: 5rem 0 7rem;
  background: var(--color-background);
}

.about .container {
  max-width: 1024px;
}

.about-header {
  text-align: center;
  margin-bottom: 4rem;
}

.about-header .section-subtitle {
  margin-bottom: 1rem;
}

.about-header .section-title {
  margin-bottom: 1.5rem;
}

.section-divider {
  width: 5rem;
  height: 2px;
  background: var(--color-primary);
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-text {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-text:first-child {
  font-size: 1.125rem;
}

.about-features {
  display: grid;
  gap: 1.5rem;
}

.feature-card {
  padding: 1.5rem;
  background: var(--color-surface);
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(30, 58, 95, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-accent);
}

.feature-content h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
}

.feature-content p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ========================================
   Gallery Section
======================================== */
.gallery {
  padding: 6rem 0;
  background: var(--color-background);
  text-align: center;
}

.gallery-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-track-container {
  overflow: hidden;
  flex: 1;
}

.gallery-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s ease;
}

.gallery-item {
  flex: 0 0 calc(33.333% - 1rem);
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

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

.gallery-nav {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  background: var(--color-surface);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}

.gallery-nav:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.gallery-nav:hover svg {
  stroke: var(--color-surface);
}

.gallery-nav svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-text);
  transition: stroke var(--transition);
}

/* ========================================
   Hours & Location Section
======================================== */
.hours-location {
  padding: 6rem 0;
  background: var(--color-surface);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.info-card {
  padding: 2.5rem;
  background: var(--color-background);
  border-radius: 16px;
  text-align: center;
}

.info-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-surface);
}

.info-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 1.5rem;
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}

.hours-list li:last-child {
  border-bottom: none;
}

.hours-list li span:first-child {
  color: var(--color-text-muted);
}

.hours-list li span:last-child {
  font-weight: 600;
  color: var(--color-primary-dark);
}

.address-info {
  font-style: normal;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-info p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--color-text);
}

.contact-info svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-accent);
}

/* ========================================
   Reviews Section
======================================== */
.reviews {
  padding: 6rem 0;
  background: var(--color-background);
  text-align: center;
}

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

.review-card {
  padding: 2rem;
  background: var(--color-surface);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  text-align: left;
  transition: transform var(--transition), box-shadow var(--transition);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.review-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.review-stars svg {
  width: 18px;
  height: 18px;
  fill: #F59E0B;
}

.review-card blockquote {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}

.author-name {
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 0.125rem;
}

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

/* ========================================
   Map Section
======================================== */
.map-section {
  padding: 6rem 0 0;
  background: var(--color-surface);
  text-align: center;
}

.map-container {
  margin-top: 3rem;
  filter: grayscale(30%);
  transition: filter var(--transition);
}

.map-container:hover {
  filter: grayscale(0%);
}

.map-container iframe {
  display: block;
}

/* ========================================
   Footer
======================================== */
.footer {
  padding: 4rem 0 2rem;
  background: var(--color-primary-dark);
  color: var(--color-surface);
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer-logo .logo-icon {
  width: 24px;
  height: 24px;
}

.footer-brand p {
  opacity: 0.7;
  font-size: 0.9rem;
}

.social-title {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

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

.social-links a:hover {
  background: var(--color-surface);
  border-color: var(--color-surface);
}

.social-links a:hover svg {
  fill: var(--color-primary-dark);
  stroke: var(--color-primary-dark);
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--color-surface);
}

.footer-bottom {
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.6;
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 999;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.34);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(37, 211, 102, 0.42);
}

.whatsapp-float svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
}

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 1024px) {
  .about-grid {
    gap: 3rem;
  }
  
  .gallery-item {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
    display: none;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links a {
    color: var(--color-text);
    padding: 0.5rem 0;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-item {
    flex: 0 0 calc(100% - 1rem);
  }
  
  .gallery-nav {
    width: 36px;
    height: 36px;
  }
  
  .gallery-nav svg {
    width: 16px;
    height: 16px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 320px);
    margin: 0 auto;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
}
