/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
:root {
  --primary-gold: #b38428;
  --primary-gold-hover: #966d1f;
  --dark-bg: #121212;
  --light-bg: #fcfbfa;
  --card-bg: #ffffff;
  --text-color: #222222;
  --text-muted: #666666;
  --border-color: #e2e2e2;
  --whatsapp-green: #25d366;
  --whatsapp-hover: #1da851;
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1200px;
  --radius: 8px;
  --transition: all 0.3s ease;
}

[data-theme="dark"] {
  --light-bg: #121212;
  --card-bg: #1e1e1e;
  --text-color: #e0e0e0;
  --text-muted: #b8b8b8;
  --border-color: #3a3a3a;
  --primary-gold: #d4af37;
  --primary-gold-hover: #e1c45c;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--light-bg);
  color: var(--text-color);
  line-height: 1.6;
  padding-bottom: 60px; /* Space for mobile sticky CTA bar */
}

/* Prevent body scrolling when mobile menu or lightbox is open */
body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ==========================================================================
   Typography & Reusable Components
   ========================================================================== */
h1, h2, h3, h4 {
  color: #1a1a1a;
  line-height: 1.25;
  margin-bottom: 0.5em;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem auto;
}

.section-header h2 {
  font-size: 2.2rem;
  color: #111;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.badge {
  display: inline-block;
  background-color: rgba(179, 132, 40, 0.12);
  color: var(--primary-gold);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.badge-tag {
  background-color: #f0f0f0;
  color: #555;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-gold);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--primary-gold-hover);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--primary-gold);
  color: var(--primary-gold);
}

.btn-secondary:hover {
  background-color: var(--primary-gold);
  color: #ffffff;
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: #ffffff;
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
}

.btn-large {
  padding: 0.9rem 1.8rem;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.2rem;
  color: #111;
  letter-spacing: 0.5px;
}

.logo-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.desktop-nav ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 1.5rem;
}

.desktop-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: #333;
  transition: var(--transition);
}

.desktop-nav a:hover {
  color: var(--primary-gold);
}

.nav-btn {
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
}

.theme-toggle-btn {
  padding: 0.5rem 0.9rem;
  background-color: var(--card-bg);
  color: var(--text-color);
  border: 1px solid var(--primary-gold);
  border-radius: 20px;
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
}

.theme-toggle-btn:hover,
.theme-toggle-btn:focus-visible {
  background-color: var(--primary-gold);
  color: #ffffff;
  outline: none;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background-color: #ffffff;
  box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  z-index: 1100;
  transition: right 0.3s ease;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.mobile-drawer.is-active {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.close-drawer {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.mobile-nav a {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #ffffff 0%, #f7f5f0 100%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 2.6rem;
  margin-bottom: 0.5rem;
  color: #111;
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-gold);
  margin-bottom: 0.25rem;
}

.hero-tagline {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.hero-description {
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #555;
}

.hero-image-wrapper img {
  border-radius: var(--radius);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* ==========================================================================
   Trust Bar
   ========================================================================== */
.trust-bar {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 1.5rem 0;
}

.trust-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.trust-title {
  display: block;
  font-size: 1.1rem;
  color: var(--primary-gold);
}

.trust-desc {
  font-size: 0.85rem;
  color: #ccc;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
  padding: 5rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.service-img-wrapper {
  height: 180px;
  overflow: hidden;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content {
  padding: 1.5rem;
}

.service-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.service-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.service-link {
  font-weight: 600;
  color: var(--primary-gold);
  font-size: 0.9rem;
}

/* ==========================================================================
   About Us & Hubs Section
   ========================================================================== */
.about-section {
  padding: 5rem 0;
  background-color: #ffffff;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image-wrapper img {
  border-radius: var(--radius);
}

.about-points {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-point {
  font-size: 0.95rem;
  color: #444;
}

.hubs-section {
  padding: 4rem 0;
  background-color: #f7f5f0;
}

.hubs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.hub-card {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}

.hub-card h3 {
  color: var(--primary-gold);
  margin-bottom: 0.5rem;
}

.hub-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Featured Menu Section
   ========================================================================== */
.menu-section {
  padding: 5rem 0;
  background-color: #ffffff;
}

.menu-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: #f0f0f0;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background-color: var(--primary-gold);
  color: #ffffff;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.menu-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.5rem;
  background-color: var(--light-bg);
}

.menu-card.is-hidden {
  display: none;
}

.menu-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.menu-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.menu-footer-cta {
  text-align: center;
  margin-top: 3rem;
}

.menu-footer-cta p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Packages Section
   ========================================================================== */
.packages-section {
  padding: 5rem 0;
}

.package-factors-box {
  background-color: #f7f5f0;
  border: 1px solid var(--primary-gold);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

.package-factors-box span {
  font-weight: 700;
  color: #111;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.package-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.package-featured {
  border: 2px solid var(--primary-gold);
  box-shadow: 0 5px 20px rgba(179, 132, 40, 0.15);
}

.featured-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background-color: var(--primary-gold);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.package-header h3 {
  font-size: 1.4rem;
}

.package-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.package-pricing-note {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-gold);
  margin-bottom: 1.5rem;
}

.package-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.package-features li {
  font-size: 0.9rem;
  padding: 0.4rem 0;
  border-bottom: 1px dashed #f0f0f0;
}

.package-features li::before {
  content: "✓ ";
  color: var(--primary-gold);
  font-weight: bold;
}

/* Commercial Terms Block */
.commercial-terms {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.terms-title {
  display: block;
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #111;
}

.terms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Gallery Section & Lightbox
   ========================================================================== */
.gallery-section {
  padding: 5rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 220px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  font-weight: 600;
}

.gallery-item:hover .gallery-overlay,
.gallery-item:focus .gallery-overlay {
  opacity: 1;
}

/* Lightbox Modal */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.85);
}

.lightbox.is-open {
  display: block;
}

.lightbox-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 800px;
  border-radius: var(--radius);
}

#lightbox-caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  font-weight: 600;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* ==========================================================================
   Reviews & FAQ
   ========================================================================== */
.reviews-section {
  padding: 5rem 0;
  background-color: #ffffff;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.review-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.5rem;
  background-color: var(--light-bg);
}

.rating {
  color: var(--primary-gold);
  margin-bottom: 0.5rem;
}

.review-text {
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.review-author strong {
  display: block;
  font-size: 0.9rem;
}

.review-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.faq-section {
  padding: 5rem 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
}

.faq-item summary {
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
}

.faq-answer {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Contact Form Section
   ========================================================================== */
.contact-section {
  padding: 5rem 0;
  background-color: #ffffff;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-details {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: #111;
}

.form-wrapper {
  background-color: var(--light-bg);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: var(--radius);
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

input, select, textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-gold);
}

.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.form-status.success { color: #155724; }
.form-status.error { color: #721c24; }

/* ==========================================================================
   Footer & Sticky Mobile CTA
   ========================================================================== */
.site-footer {
  background-color: #111111;
  color: #aaaaaa;
  padding: 4rem 0 0 0;
  font-size: 0.9rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-logo .brand-name {
  color: #fff;
}

.footer-tagline {
  color: var(--primary-gold);
  font-style: italic;
  margin-bottom: 0.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #222;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.8rem;
}

/* Sticky Mobile CTA */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  z-index: 999;
}

.sticky-btn {
  flex: 1;
  padding: 0.75rem 0;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.sticky-call { background-color: #f4f4f4; color: #333; }
.sticky-whatsapp { background-color: var(--whatsapp-green); color: #fff; }
.sticky-quote { background-color: var(--primary-gold); color: #fff; }

/* Dark theme adjustments for sections that use fixed light colors. */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] .section-header h2,
[data-theme="dark"] .hero-content h1,
[data-theme="dark"] .package-factors-box span,
[data-theme="dark"] .terms-title,
[data-theme="dark"] .contact-value {
  color: var(--text-color);
}

[data-theme="dark"] .site-header,
[data-theme="dark"] .mobile-drawer,
[data-theme="dark"] .about-section,
[data-theme="dark"] .menu-section,
[data-theme="dark"] .reviews-section,
[data-theme="dark"] .contact-section,
[data-theme="dark"] .package-card,
[data-theme="dark"] .commercial-terms,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .hub-card {
  background-color: var(--card-bg);
}

[data-theme="dark"] .hero-section,
[data-theme="dark"] .hubs-section,
[data-theme="dark"] .package-factors-box {
  background: #181818;
}

[data-theme="dark"] .desktop-nav a,
[data-theme="dark"] .mobile-nav a,
[data-theme="dark"] .brand-logo,
[data-theme="dark"] .hero-description,
[data-theme="dark"] .about-point,
[data-theme="dark"] .hero-meta,
[data-theme="dark"] .filter-btn {
  color: var(--text-color);
}

[data-theme="dark"] .filter-btn,
[data-theme="dark"] .badge-tag {
  background-color: #2a2a2a;
  color: var(--text-color);
}

[data-theme="dark"] .hamburger span {
  background-color: var(--text-color);
}

[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
  background-color: #252525;
  color: var(--text-color);
}

@media (max-width: 768px) {
  .theme-toggle-btn {
    margin-left: auto;
    margin-right: 1rem;
  }
}
