/* === STYLES DE BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === STYLES MAIN === */
main {
    margin-top: 5vw;
    padding: 60px 20px;
    min-height: 100vh;
}

main h1 {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

main > p {
    text-align: center;
    font-size: 1.2rem;
    color: #4a5568;
    max-width: 800px;
    margin: 0 auto 80px auto;
    line-height: 1.7;
}

/* === SECTION SERVICES === */
.services {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
    background-image: url("/images/Waterfallscanyoning5.JPG");
    background-size: cover;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    padding: 3em 0 ;
}

.services-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
}

.divider {
    width: 120px;
    height: 6px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 0 auto 25px auto;
    border-radius: 3px;
}

.subtitle {
    font-size: 1.1rem;
    color: #718096;
    font-style: italic;
}

/* === GRID DES SERVICES === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    justify-items: center;
}

/* === CARTES === */
.card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    transition: all 0.4s ease;
    max-width: 350px;
    width: 100%;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover img {
    transform: scale(1.05);
}

.card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d3748;
    margin: 20px 24px 12px 24px;
}

.card p {
    color: #718096;
    font-size: 1rem;
    margin: 0 24px 20px 24px;
}

.btn-link {
    display: inline-block;
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    margin: 0 24px 24px 24px;
    padding: 12px 20px;
    border: 2px solid #667eea;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-link:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* === POPUP MODAL === */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup {
    background: white;
    border-radius: 20px;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.8) translateY(50px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.popup-overlay.active .popup {
    transform: scale(1) translateY(0);
}

.popup-header {
    position: relative;
}

.popup-image {
    width: 100%;
    max-height: 70vh;
    object-fit: cover;
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #333;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.popup-close:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.popup-content {
    padding: 40px;
}

.popup-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.popup-description {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 30px;
}

.popup-details {
    background: #f8fafc;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1rem;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    color: #667eea;
}

.popup-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
    padding: 13px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .popup {
        width: 95%;
        max-height: 90vh;
    }

    .popup-content {
        padding: 30px 25px;
    }

    .popup-title {
        font-size: 1.8rem;
    }

    .popup-actions {
        flex-direction: column;
    }

    main h1 {
        font-size: 2.5rem;
    }

    .services {
        padding: 30px 20px;
    }
}

/* CONTACT SECTION STYLES */
.db {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 2em auto;
}
.db p {
  margin: 0 5em;
  padding: 0.5rem 3rem;
  border-radius: 25px;
  background-color: #a8386e;
  font-size: xx-large;
}

.contact {
  padding: 4rem 1rem;
  background: #fafafa;
  font-family: Arial, sans-serif;
  text-align: center;
}

.contact .container {
  max-width: 800px;
  margin: 0 auto;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.contact .divider.center {
  width: 60px;
  height: 4px;
  background: #a8386e;
  margin: 1rem auto 2rem;
  border-radius: 2px;
}

.contact h3 {
  font-size: 1.4rem;
  margin: 2rem 0 1rem;
  color: #444;
}

.contact .db.info a {
  color: #d4ccd0;
  text-decoration: none;
  font-weight: bold;
}

.contact .db.info a:hover {
  text-decoration: underline;
}

.contact .db.links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 1.5rem 0 2rem;
}

.contact .db.links a svg {
  transition: transform 0.3s ease;
}

.contact .db.links a:hover svg {
  transform: scale(1.2);
}

.contact p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto;
}

.contact p a {
  font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  main {
    padding: 10px 20px 30px;
  }
  .contact h2 {
    font-size: 1.6rem;
  }

  .contact h3 {
    font-size: 1.2rem;
  }

  .contact .db.links, .contact .db.info {
    flex-direction: column;
    gap: 1rem;
  }

  .contact p {
    font-size: 4vw;
  }

  .db p {
    padding: 2vw 5vw; 
  }

  .contact .db.info p a {
    font-size: 4vw;
  }
}

