/* Machu Picchu Theme CSS */

/* Responsive Design */
@media (max-width: 768px) {
  .hero-machu-picchu {
 
    min-height: 400px;
    text-align: center;
  }
  
  .hero-content {
    padding: 20px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-stats {
    margin: 20px 0;
    padding: 15px;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .hero-badge {
    padding: 20px;
    margin-top: 20px;
  }
  
  .badge-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
  }
  
  .feature-card-peru {
    margin-bottom: 30px;
  }
  
  .cta-stat {
    margin-bottom: 20px;
    flex-direction: column;
  }
  
  .stat-icon {
    margin-right: 0;
    margin-bottom: 10px;
  }
}

/* Navbar responsiveness */
@media (max-width: 991px) {
  .navbar-nav {
    background: var(--machu-dark);
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
  }
  
  .navbar-nav .nav-link {
    color: white !important;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .navbar-nav .nav-link:hover {
    color: var(--machu-gold) !important;
  }
}

/* Additional theme enhancements */
.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: var(--machu-gold) !important;
}
.dropdown-toggle::after {
    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    background-color: transparent !important;
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}

.dropdown-toggle:hover::after {
    width: 0em !important;
    
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--machu-gold);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* User dropdown styling */
.dropdown-menu {
  background: white;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.dropdown-item {
  padding: 12px 20px;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}


.dropdown-item:last-child {
  border-bottom: none;
}

/* Footer styling */
footer {
  background: linear-gradient(135deg, var(--machu-dark), var(--machu-primary));
  color: white;
  padding: 40px 0 20px;
  margin-top: 50px;
}

footer a {
  color: var(--machu-gold);
  text-decoration: none;
  transition: all 0.3s ease;
}

footer a:hover {
  color: white;
  text-decoration: underline;
}

/* Loading animations */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--machu-gold);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Form styling */
.form-control {
  border-radius: 10px;
  border: 2px solid rgba(44, 85, 48, 0.2);
  padding: 12px 15px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--machu-primary);
  box-shadow: 0 0 0 0.2rem rgba(44, 85, 48, 0.25);
}

.form-label {
  color: var(--machu-dark);
  font-weight: 500;
  margin-bottom: 8px;
}

/* Alert styling */
.alert {
  border-radius: 15px;
  border: none;
  padding: 20px;
  margin-bottom: 20px;
}

.alert-success {
  background: linear-gradient(135deg, rgba(44, 85, 48, 0.1), rgba(212, 175, 55, 0.1));
  color: var(--machu-dark);
  border-left: 5px solid var(--machu-primary);
}

.alert-danger {
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(255, 107, 53, 0.1));
  color: #721c24;
  border-left: 5px solid #dc3545;
}

.alert-warning {
  background: linear-gradient(135deg, rgba(205, 133, 63, 0.1), rgba(212, 175, 55, 0.1));
  color: var(--machu-dark);
  border-left: 5px solid var(--machu-terracotta);
}

/* Card styling */
.card {
  border: none;
  border-radius: 15px ;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  overflow: visible;
}

.card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.card-header {
  
  border-bottom: none;
  background: linear-gradient(135deg, var(--machu-primary), var(--machu-dark));
  color: white;
  padding: 20px 25px;
}
.card-header:first-child {
    border-radius: 15px 15px 0 0;
}
.card-body {
  padding: 25px;
}

/* Badge styling */
.badge {
  border-radius: 20px;
  padding: 8px 15px;
  font-weight: 500;
  font-size: 0.8rem;
}

.badge.bg-success {
  background: linear-gradient(135deg, var(--machu-primary), var(--machu-gold)) !important;
}

.badge.bg-warning {
  background: linear-gradient(135deg, var(--machu-terracotta), var(--machu-gold)) !important;
  color: white !important;
}

/* Table styling */
.table {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.table thead th {
 
  color: white;
  border: none;
  padding: 15px;
  font-weight: 600;
}

.table tbody td {
  padding: 15px;
  border-color: rgba(44, 85, 48, 0.1);
  vertical-align: middle;
}

.table tbody tr:hover {
  background-color: rgba(44, 85, 48, 0.05);
}

/* Modal styling */
.modal-content {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
  background: linear-gradient(135deg, var(--machu-primary), var(--machu-dark));
  color: white;
  border-bottom: none;
  padding: 25px 30px;
}

.modal-body {
  padding: 30px;
}

.modal-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 20px 30px;
}

/* Breadcrumb styling */
.breadcrumb {
  background: none;
  padding: 0;
  margin: 20px 0;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: var(--machu-gold);
  font-weight: 600;
}

.breadcrumb-item.active {
  color: var(--machu-dark);
}

.breadcrumb-item a {
  color: var(--machu-primary);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: var(--machu-gold);
}
