:root {
  /* Peru/Machu Picchu Color Palette */
  --machu-primary: #2C5530; /* Deep forest green */
  --machu-secondary: #8B4513; /* Earthy brown */
  --machu-gold: #D4AF37; /* Inca gold */
  --machu-terracotta: #CD853F; /* Peru clay */
  --machu-stone: #708090; /* Ancient stone */
  --machu-sky: #87CEEB; /* Andean sky */
  --machu-dark: #1B3B36; /* Dark forest */
  --machu-light: #F5F5DC; /* Beige stone */
  --machu-accent: #FF6B35; /* Sunset orange */
  
  /* Traditional colors as fallbacks */
  --primary-color: var(--machu-primary);
  --secondary-color: var(--machu-gold);
  --dark-color: var(--machu-dark);
  --light-color: var(--machu-light);
  --danger-color: #e74c3c;
  --warning-color: var(--machu-terracotta);
  --info-color: var(--machu-sky);
  --success-color: var(--machu-primary);
  --border-radius: 0.5rem;
  --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  --transition-speed: 0.3s;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, 'Source Sans Pro', sans-serif;
  color: var(--machu-dark);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #fafafa;
  margin: 0;
  padding: 0;
}

main {
  flex: 1;
  padding: 0;
  margin: 0;
}

/* Custom Button Styles */
.btn-machu-primary {
  background: linear-gradient(135deg, var(--machu-primary), #3a6b3f);
  border: none;
  color: white;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 50px;
  transition: all var(--transition-speed);
  box-shadow: 0 4px 15px rgba(44, 85, 48, 0.3);
}

.btn-machu-primary:hover {
  background: linear-gradient(135deg, #3a6b3f, var(--machu-primary));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44, 85, 48, 0.4);
  color: white;
}

.btn-machu-gold {
  background: linear-gradient(135deg, var(--machu-gold), #b8941f);
  border: none;
  color: var(--machu-dark);
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 50px;
  transition: all var(--transition-speed);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-machu-gold:hover {
  background: linear-gradient(135deg, #b8941f, var(--machu-gold));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
  color: var(--machu-dark);
}



/* Navigation Styles */
.navbar-machu-dark {
  background: linear-gradient(135deg, var(--machu-dark), var(--machu-primary));
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.logo-container {
  display: flex;
  align-items: center;
  color: white;
}

.logo-mountain {
  position: relative;
  margin-right: 12px;
  font-size: 2rem;
  color: var(--machu-gold);
}

.logo-sun {
  position: absolute;
  top: -8px;
  right: -8px;
  font-size: 1rem;
  color: #FFD700;
  animation: sunrise 3s ease-in-out infinite alternate;
}

@keyframes sunrise {
  0% { opacity: 0.7; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1.1); }
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-main {
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
}

.logo-sub {
  font-size: 0.8rem;
  color: var(--machu-gold);
  font-weight: 400;
}

/* Hero Section */
.hero-machu-picchu {
  position: relative;
  padding-top: 15vh;
  padding-bottom: 15vh;
  min-height: 500px;
  max-height: 700px;
  
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3)),
                   url('/img/machupicchu.jpg');
  background-size: cover;
  background-position: center 0%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
  margin: 0;
  width: 100%;
}

/* Responsive background positioning for larger screens */
@media (min-width: 1650px) {
  .hero-machu-picchu {
    background-position: center center, center calc(0% - (100vw - 1650px) * 0.5);
  }
}



.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(44, 85, 48, 0.7), rgba(212, 175, 55, 0.3));
}

.hero-content-height {
  height: 100%;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 0;
}

.hero-title {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 2rem;
}

.text-machu-gold {
  color: var(--machu-gold) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.no-shadow {
  text-shadow: none !important;
}

.hero-subtitle {
  font-size: 1.2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  margin-bottom: 2rem;
  max-width: 90%;
}

.hero-stats {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--machu-gold);
}

.stat-label {
  font-size: 0.9rem;
  color: white;
  opacity: 0.9;
}

.hero-badge-container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  padding: 30px;
  border-radius: 20px;
  border: 2px solid rgba(212, 175, 55, 0.3);
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.hero-badge:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.badge-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.badge-content h5 {
  color: white;
  font-weight: 600;
  margin-bottom: 5px;
}

.badge-content p {
  color: rgba(255, 255, 255, 0.8);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 1.5rem;
  animation: bounce 2s infinite;
  z-index: 2;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* Section Styling */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--machu-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.section-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--machu-gold), var(--machu-terracotta));
  margin: 0 auto 3rem;
  border-radius: 2px;
}

.section-divider-light {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--machu-gold), white);
  margin: 0 auto 3rem;
  border-radius: 2px;
}

/* Feature Cards */
.feature-card-peru {
  position: relative;
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  transition: all var(--transition-speed);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  overflow: hidden;
  height: 100%;
}

.feature-card-peru:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon-peru {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--machu-primary), var(--machu-gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  box-shadow: 0 10px 20px rgba(44, 85, 48, 0.3);
}

.feature-pattern {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 30px;
  height: 30px;
  background: var(--machu-gold);
  border-radius: 50%;
  opacity: 0.3;
}

.feature-inca-pattern {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, transparent 30%, var(--machu-gold) 30%, var(--machu-gold) 70%, transparent 70%);
  opacity: 0.1;
}

.feature-title {
  color: var(--machu-dark);
  font-weight: 600;
  margin-bottom: 15px;
}

.feature-description {
  color: #666;
  line-height: 1.6;
}

/* How It Works Section with Inca Theme */
.inca-pattern-bg {
  background: linear-gradient(135deg, var(--machu-dark), var(--machu-primary));
  position: relative;
  overflow: hidden;
}

.inca-pattern-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.process-card-inca {
  position: relative;
  padding: 30px 20px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-speed);
}

.process-card-inca:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.process-icon-inca {
  position: relative;
  margin-bottom: 20px;
}

.icon-circle-inca {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--machu-gold), #b8941f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--machu-dark);
  margin: 0 auto;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.step-number-inca {
  position: absolute;
  top: -10px;
  right: calc(50% - 45px);
  background: var(--machu-terracotta);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(139, 69, 19, 0.4);
}

.inca-decoration {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--machu-gold);
  border-radius: 2px;
}

/* Testimonials with Peru Influence */
.testimonial-card-peru {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-left: 5px solid var(--machu-gold);
  position: relative;
  transition: all var(--transition-speed);
}

.testimonial-card-peru:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, transparent 30%, var(--machu-gold) 30%, var(--machu-gold) 32%, transparent 32%);
  opacity: 0.1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.author-avatar {
  margin-right: 15px;
  font-size: 2.5rem;
}

.author-info {
  flex-grow: 1;
}

.testimonial-name {
  font-weight: 600;
  color: var(--machu-dark);
  margin-bottom: 5px;
}

.testimonial-location {
  font-size: 0.9rem;
}

/* CTA Section with Mountain Background */
.cta-mountain-bg {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)),
              url('/img/vendor/cta-bg.jpg') center/cover;
  padding: 80px 0;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(44, 85, 48, 0.8), rgba(27, 59, 54, 0.6));
  z-index: 1;
}

.cta-mountain-bg .container {
  position: relative;
  z-index: 2;
}

.cta-stats {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 2;
}

.cta-section .btn {
  position: relative;
  z-index: 3;
}

.cta-stat {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.stat-icon {
  font-size: 2rem;
  color: var(--machu-gold);
  margin-right: 15px;
}

.stat-text .stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: white;
  display: block;
}

.stat-text .stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.section-title {
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.section-title:after {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* How It Works */
.step-circle {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 auto;
}

/* CTA Section */
.cta-section {
  background-color: var(--light-color);
  padding: 3rem;
  border-radius: var(--border-radius);
}

/* Dashboard */
.dashboard-header {
  background-color: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 1.5rem;
}

.stats-card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed);
}

.stats-card:hover {
  transform: translateY(-5px);
}

.card-value {
  font-size: 2rem;
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0;
}

.notification-card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: background-color var(--transition-speed);
}

.notification-card:hover {
  background-color: #f8f9fa;
}

.notification-details {
  margin-top: 0.5rem;
}

.notification-details .badge {
  margin-right: 0.5rem;
}

.notification-toggle {
  margin: 0;
}

.form-switch .form-check-input {
  width: 3em;
  height: 1.5em;
}

/* Empty state */
.empty-state {
  padding: 3rem 1rem;
  background-color: #f8f9fa;
  border-radius: var(--border-radius);
}

.empty-state-icon {
  font-size: 3rem;
  color: #adb5bd;
  margin-bottom: 1rem;
}

/* Forms */
.form-card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
}

/* Verification pages shared styles */
.form-card {
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  overflow: hidden;
}

.verification-icon, 
.verification-success-icon, 
.verification-error-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.verification-icon {
  color: #17a2b8;
}

.verification-success-icon {
  color: #28a745;
}

.verification-error-icon {
  color: #dc3545;
}

.email-address {
  background-color: #f8f9fa;
  padding: 0.5rem;
  border-radius: 5px;
  display: inline-block;
}

.email-tips {
  background-color: #fff3cd;
  border-left: 4px solid #ffc107;
}

.email-tips h5 {
  color: #856404;
}

.email-tips ul {
  padding-left: 1.5rem;
}

.separator {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.5rem 0;
}

.separator::before,
.separator::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #dee2e6;
}

.separator span {
  padding: 0 10px;
  color: #6c757d;
  font-size: 0.9rem;
}

/* Buttons */
.btn {
  border-radius: var(--border-radius);
  padding: 0.5rem 1rem;
  transition: all var(--transition-speed);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #2980b9;
  border-color: #2980b9;
}

.btn-success {
  background-color: var(--success-color);
  border-color: var(--success-color);
}

.btn-success:hover {
  background-color: #27ae60;
  border-color: #27ae60;
}

.btn-danger {
  background-color: var(--danger-color);
  border-color: var(--danger-color);
}

.btn-danger:hover {
  background-color: #c0392b;
  border-color: #c0392b;
}

/* Footer */
footer {
  background-color: var(--light-color);
  padding: 2rem 0;
  margin-top: 3rem;
}

footer a {
  color: var(--dark-color);
  text-decoration: none;
}

footer a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Authentication Pages Background */
body.auth-page {
  background-color: var(--machu-light) !important;
}

/* Target auth pages by their container structure */
body:has(.form-card) {
  background-color: var(--machu-light) !important;
}

/* For pages that don't have the auth-page class, target specific auth containers */
.auth-container,
.verification-container,
.reset-container,
.forgot-container {
  background-color: var(--machu-light);
  min-height: 100vh;
  padding: 2rem 0;
}

/* Ensure main content areas on auth pages have light background */
main:has(.form-card),
main:has(.auth-form),
main:has(.verification-form) {
  background-color: var(--machu-light);
  min-height: calc(100vh - 120px);
}

/* Fallback for browsers that don't support :has() selector */
.container:has(.form-card) {
  background-color: var(--machu-light);
  min-height: 100vh;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Target containers with auth-related cards */
.container .card.form-card {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: none;
}

/* Ensure the body background shows through for auth pages */
body:not(.dashboard-body) {
  background-color: var(--machu-light);
}

/* But keep the home page background as intended */
body:not(.dashboard-body):has(.hero-machu-picchu) {
  background-color: #fafafa;
}

/* Subscribe page specific background */
body:has(.subscribe-page) {
  background-color: #f5f5f5 !important;
}

/* Media Queries */
@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 0;
  }
  
  .step-circle {
    margin-bottom: 1rem;
  }
  
  .testimonial-section,
  .cta-section {
    padding: 2rem 1rem;
  }
}

.btn-primary-machupicchu:hover {
  background: linear-gradient(135deg, #b8941f, var(--machu-gold));
  
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
  color: #ffffff;
border-color: transparent;

}

/* XL Button (between lg and xxl) */
.btn-xlg {
  padding: 1rem 2rem;          /* Larger than .btn-lg */
  font-size: 1.35rem;          /* Slight increase in font size */
  line-height: 1.4;
  border-radius: 0.4rem;
}

.btn-xlg i {
  margin-right: 0.5rem;
}

/* XXL Button (big, but not excessive) */
.btn-xxlg {
  padding: 1.15rem 2.3rem;     /* Slightly more padding than xl */
  font-size: 1.45rem;          /* Larger font size */
  line-height: 1.45;
  border-radius: 0.45rem;
}

.btn-xxlg i {
  margin-right: 0.5rem;
}

/* Shared hover/focus effect */
.btn-xlg:hover, .btn-xxlg:hover,
.btn-xlg:focus, .btn-xxlg:focus {
  opacity: 0.9;
  transform: translateY(-1px);
  transition: all 0.2s ease-in-out;
}



.navbar-toggler {
  border-color: transparent;
}

/* Brighter gold text class for enhanced visibility */
.text-machu-gold-brighter {
  color: #FFD700 !important; /* Bright gold */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
  font-weight: 700 !important;
} 