/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, #66d9a6 0%, #7ed957 100%);
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
}

.nav {
    display: flex;
    gap: 1.5rem;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav a:hover {
    opacity: 0.8;
}

/* Carousel */
.carousel-container {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
    margin-bottom: 3rem;
}

.carousel {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem 3rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.carousel-caption h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.carousel-caption p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    color: #333;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 1);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: white;
}

/* About Section */
.about-section {
    background: white;
    padding: 4rem 0;
    margin-bottom: 2rem;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h3 {
    color: #66d9a6;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f0f9f5;
    border-radius: 8px;
}

.feature-icon {
    color: #66d9a6;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Fleet Section */
.fleet-section {
    background: #f9f9f9;
    padding: 4rem 0;
    margin-bottom: 2rem;
}

.fleet-intro {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
}

.fleet-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.fleet-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.fleet-info {
    padding: 2rem;
}

.fleet-info h3 {
    color: #66d9a6;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.fleet-info p {
    color: #555;
    margin-bottom: 1rem;
}

.fleet-info ul {
    list-style: none;
    margin-top: 1rem;
}

.fleet-info ul li {
    padding: 0.5rem 0;
    color: #555;
    border-bottom: 1px solid #eee;
}

.fleet-info ul li:before {
    content: "✓ ";
    color: #66d9a6;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Filters Section */
.filters-section {
    background: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: #66d9a6;
    margin-bottom: 2rem;
}

.filters {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 600;
    color: #555;
}

.filter-group select {
    padding: 0.75rem 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: border-color 0.3s;
    min-width: 200px;
}

.filter-group select:focus {
    outline: none;
    border-color: #66d9a6;
}

/* Tours Section */
.tours-section {
    padding: 2rem 0;
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tour-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

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

.tour-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.tour-card-content {
    padding: 1.5rem;
}

.tour-card-title {
    font-size: 1.5rem;
    color: #66d9a6;
    margin-bottom: 0.75rem;
}

.tour-card-description {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.tour-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.tour-duration {
    color: #555;
    font-size: 0.9rem;
}

.tour-difficulty {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.difficulty-facil {
    background: #d4edda;
    color: #155724;
}

.difficulty-moderada {
    background: #fff3cd;
    color: #856404;
}

.difficulty-alta {
    background: #f8d7da;
    color: #721c24;
}

/* Reviews Section */
.reviews-section {
    background: white;
    padding: 4rem 0;
    margin-bottom: 2rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.review-card {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.review-stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-text {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.review-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.review-author strong {
    color: #66d9a6;
    font-size: 1.1rem;
}

.review-author span {
    color: #999;
    font-size: 0.9rem;
}

/* Page Container */
.page-container {
    padding: 2rem 0;
    min-height: 60vh;
}

.page-title {
    font-size: 2.5rem;
    color: #66d9a6;
    margin-bottom: 2rem;
    text-align: center;
}

.back-link {
    display: inline-block;
    color: #66d9a6;
    text-decoration: none;
    margin-bottom: 1rem;
    font-weight: 600;
    transition: color 0.3s;
}

.back-link:hover {
    color: #7ed957;
}

/* Info Sections */
.info-section {
    background: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.info-content {
    max-width: 900px;
    margin: 0 auto;
}

.info-content h3 {
    color: #66d9a6;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.info-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* FAQ Section */
.faq-section-page {
    background: white;
    padding: 3rem 0;
}

.faq-content {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #f9f9f9;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #66d9a6;
    font-size: 1.1rem;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f0f0f0;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: #66d9a6;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 700px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: #555;
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    background: white;
    padding: 3rem 0;
}

.contact-intro {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.contact-info h2 {
    color: #66d9a6;
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    color: #66d9a6;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.contact-item p {
    color: #555;
    line-height: 1.6;
}

.contact-item a {
    color: #66d9a6;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #7ed957;
}

.contact-note {
    font-size: 0.9rem;
    color: #999;
    margin-top: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-link {
    padding: 0.5rem 1rem;
    background: #66d9a6;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s;
}

.social-link:hover {
    background: #7ed957;
}

.contact-form-container h2 {
    color: #66d9a6;
    margin-bottom: 2rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

/* Tour Detail Page */
.tour-detail-container {
    padding: 2rem 0;
}

.tour-detail-title {
    font-size: 2.5rem;
    color: #66d9a6;
    margin-bottom: 2rem;
    text-align: center;
}

/* Image Gallery */
.tour-gallery {
    margin-bottom: 3rem;
}

.main-image-container {
    position: relative;
    width: 100%;
    height: 700px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.tour-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 10;
}

.gallery-nav:hover {
    background: white;
}

.gallery-nav.prev {
    left: 20px;
}

.gallery-nav.next {
    right: 20px;
}

.thumbnails-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.thumbnail {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: border-color 0.3s, transform 0.3s;
}

.thumbnail:hover {
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: #66d9a6;
}

/* Tour Description */
.tour-description-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.tour-description-section h2 {
    color: #66d9a6;
    margin-bottom: 1rem;
}

.tour-full-description {
    color: #555;
    line-height: 1.8;
    text-align: justify;
}

/* Tour Info Grid */
.tour-info-section {
    margin-bottom: 2rem;
}

.tour-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
}

.info-card h3 {
    color: #66d9a6;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.info-card p {
    color: #555;
    font-size: 1.1rem;
}

/* Includes Section */
.includes-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.includes-section h2 {
    color: #66d9a6;
    margin-bottom: 1.5rem;
}

.includes-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.includes-list li {
    padding: 0.75rem;
    background: #f0f9f5;
    border-left: 4px solid #66d9a6;
    border-radius: 4px;
    color: #555;
}

.includes-list li::before {
    content: "✓ ";
    color: #66d9a6;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Reservation Form */
.reservation-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.reservation-section h2 {
    color: #66d9a6;
    margin-bottom: 2rem;
    text-align: center;
}

.reservation-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #66d9a6;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #66d9a6 0%, #7ed957 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 217, 166, 0.3);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.modal-content h2 {
    color: #66d9a6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.confirmation-details,
.success-details {
    margin-bottom: 2rem;
}

.confirmation-details p,
.success-details p {
    margin-bottom: 0.75rem;
    color: #555;
    line-height: 1.6;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-primary,
.btn-secondary {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #66d9a6 0%, #7ed957 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 217, 166, 0.3);
}

.btn-secondary {
    background: #f5f5f5;
    color: #555;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

.success-modal {
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #66d9a6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 1.5rem;
}

.success-note {
    background: #fff3cd;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: #66d9a6;
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-top: 3rem;
}

.footer p {
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .carousel-container {
        height: 300px;
    }
    
    .carousel-caption {
        bottom: 40px;
        padding: 1rem 1.5rem;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group select {
        min-width: 100%;
    }
    
    .tours-grid {
        grid-template-columns: 1fr;
    }

    .fleet-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .main-image-container {
        height: 300px;
    }
    
    .thumbnails-container {
        flex-wrap: wrap;
    }
    
    .thumbnail {
        width: 100px;
        height: 70px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .tour-detail-title {
        font-size: 1.8rem;
    }
    
    .carousel-btn {
        padding: 0.5rem 1rem;
        font-size: 1.2rem;
    }

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