/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-img {
    height: 26px;
    width: auto;
}

.auth-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-secondary {
    background: transparent;
    border: 1px solid #d1d5db;
    color: #374151;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-secondary:hover {
    background: #f9fafb;
}
.btn-primary {
    background: #ff6b6b;
    border: 1px solid #ff6b6b;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-primary:hover {
    background: #ff5252;
}

/* Hero Section */
.hero {
    background: #fff;
    color: #333;
    text-align: left;
    padding: 60px 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #FF6B6B;
    margin-bottom: 10px;
    letter-spacing: normal;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 400;
    margin: 0;
    max-width: none;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: left;
    margin-bottom: 60px;
    color: #333;
}

/* Tours Section */
.tours-section, .reviews-section {
    padding: 80px 0;
    background: #f9f9f9;
}
.reviews-section {
    background: white;
}

/* Carousel Arrows */
.carousel-container {
    position: relative;
    overflow: hidden;
    padding: 0 40px;
}
.carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.carousel::-webkit-scrollbar {
    display: none;
}

/* Carousel Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: #ccc;
    background: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 10;
    user-select: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-arrow-left {
    left: 10px;
}

.carousel-arrow-right {
    right: 10px;
}

.carousel-arrow:hover {
    color: #FF6B35;
    background: #f8f8f8;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

/* Tour Cards */
.tour-card, .review-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 280px;
    max-width: 280px;
    flex: 0 0 auto;
}
.tour-card:hover, .review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.tour-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.tour-content {
    padding: 20px;
}
.tour-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
    text-align: left;
}
.tour-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.stars {
    color: #FFD700;
    font-size: 1.1rem;
}
.rating-text {
    color: #666;
    font-size: 0.9rem;
}
.tour-guide {
    color: #888;
    font-size: 0.9rem;
}

/* Review Cards */
.review-card {
    padding: 30px;
    min-width: 400px;
}
.review-rating {
    margin-bottom: 20px;
}
.review-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
    color: #555;
}
.review-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.review-date {
    color: #888;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #f9f9f9;
}
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    overflow: hidden;
    background: white;
}
.faq-question {
    width: 100%;
    padding: 25px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.faq-question:hover {
    background-color: #f5f5f5;
}
.faq-question-content {
    display: flex;
    align-items: center;
    gap: 15px;
}
.faq-icon {
    width: 20px;
    height: 20px;
    color: #666;
}
.faq-question span {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    text-align: left;
}
.faq-arrow {
    width: 24px;
    height: 24px;
    color: #666;
    transition: transform 0.3s ease;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-answer p {
    padding: 0 25px 25px;
    color: #666;
    line-height: 1.6;
}

/* Cities Section */
.cities-section {
    padding: 80px 0;
    background: white;
}
.cities-map {
    text-align: center;
}
.map-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Become Guide Section */
.become-guide-box {
    background-image: url('../media/becomes-guru.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    border-radius: 15px;
    overflow: hidden;
}


.become-guide-overlay {
    width: 100%;
    padding: 40px 20px;
    background: transparent;
    text-align: left;
}


/* Contenido encima del fondo */
.become-guide-content.over-background {
    background-color: rgba(255, 255, 255, 0.7); /* opcional: da contraste al texto */
    padding: 40px;
    border-radius: 20px;
    max-width: 600px;
}

.become-guide-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    text-align: left;
}

.become-guide-section {
    padding: 80px 0;
    background: white;
    color: white;
}
.become-guide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.become-guide-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
    color: #000;
}
.btn-become-guide {
    background: white;
    color: #FF6B35;
    padding: 15px 35px;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-become-guide:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.guide-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

/* Footer */
.footer {
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    padding: 48px 0 24px;
  }
  .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
  }
  .footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 16px;
  }
  .footer-section ul {
    list-style: none;
  }
  .footer-section ul li {
    margin-bottom: 8px;
  }
  .footer-section ul li a {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
  }
  .footer-section ul li a:hover {
    color: #ff6b6b;
  }
  .footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
    color: #6b7280;
    font-size: 14px;
  }

  .footer-section ul li button.footer-link-button {
    background-color: transparent;
    border: none;
    color: #6b7280; /* Matches existing link color */
    text-decoration: none;
    font-size: 14px; /* Matches existing link font-size */
    padding: 0;
    margin: 0;
    cursor: pointer;
    text-align: left; /* Aligns button text like a link */
    font-family: inherit; /* Inherits font from body */
    line-height: inherit; /* Ensures proper alignment in list item */
  }
  .footer-section ul li button.footer-link-button:hover {
    color: #ff6b6b; /* Matches existing link hover color */
    text-decoration: underline; /* Common hover effect for links */
  }
  
/* Responsive Design */
@media (max-width: 768px) {
    .carousel-arrow {
        display: none;
    }

    .tour-card, .review-card {
        min-width: 240px;
        max-width: 240px;
    }

    .tour-image {
        height: 180px;
    }

    .tour-title {
        font-size: 1rem;
    }

    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-section h4,
    .footer-section ul {
        text-align: center; /* Center footer section titles and lists on mobile */
    }

    /* Stack Tours Carousel vertically on mobile */
    .carousel-container {
        overflow: visible;
        padding: 0;
    }
    .carousel {
        flex-direction: column;
        overflow-x: hidden;
    }
    .tour-card {
        min-width: auto !important;
        max-width: none !important;
        width: 100%;
        flex: none;
    }
    /* Also make Review cards full width on mobile */
    .review-card {
        min-width: auto !important;
        max-width: none !important;
        width: 100%;
        flex: none;
    }
}
