/* Estilos específicos para la página de contacto */

:root {
    --primary-color: #175C84;
    --secondary-color: #f8f8f8;
    --text-color: #333;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-dark: #6c757d;
}


/* Hero section */
.contact-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/contact-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.contact-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.contact-hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--white);
}

/* Info cards */
.contact-info {
    padding: 80px 0;
    background-color: var(--gray-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.contact-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-color);
}

.contact-card p {
    color: var(--gray-dark);
    font-size: 1rem;
}

/* Form section */
.contact-form-section {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-form-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.contact-form-section h2 span {
    color: var(--primary-color);
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-check {
    display: flex;
    align-items: center;
}

.form-check input {
    width: auto;
    margin-right: 10px;
    cursor: pointer;
}

.form-check label {
    margin-bottom: 0;
    cursor: pointer;
}

.btn-primary {
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.btn-primary:hover {
    background-color: #124a6a;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
    display: block;
}

.form-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.form-status.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-status.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Responsive styles */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-form {
        padding: 30px 20px;
    }
    
    .contact-hero {
        padding: 60px 0;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}

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

/* Header Styles */
header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    background-color: var(--white);
    z-index: 1000;
}

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

.logo {
    width: 200px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover, 
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active {
    font-weight: 600;
}

.header-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

.btn-primary:hover {
    background-color: #124a6a;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 24px;
}

/* Hero Section */
.hero {
    padding: 80px 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--gray-dark);
}

.hero-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    position: relative;
}

.hero-image {
    border-radius: 20px;
    overflow: hidden;
    height: 250px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image:nth-child(1) {
    transform: translateY(20px);
}

.hero-image:nth-child(3) {
    transform: translateY(-20px);
}

/* Booking Section */
.booking {
    background-color: var(--white);
    padding: 0 0 60px;
}

.booking-tabs {
    background-color: var(--primary-color);
    padding: 15px 0;
    margin-bottom: 30px;
}

.tabs-container {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.tab {
    display: flex;
    align-items: center;
    color: var(--white);
    cursor: pointer;
    padding: 10px;
    font-weight: 500;
    opacity: 0.7;
    transition: opacity 0.3s;
    gap: 10px;
}

.tab.active {
    opacity: 1;
    border-bottom: 2px solid var(--white);
}

.tab i {
    font-size: 1.2rem;
}

.booking-form-container {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.trip-type {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.radio-container {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-container input {
    cursor: pointer;
}

.booking-form {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
}

.form-control::placeholder {
    color: #aaa;
}

.icon-input {
    position: relative;
}

.icon-input i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
}

.icon-input input {
    padding-left: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--gray-light);
    padding: 80px 0;
}

.testimonials-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.testimonials-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.testimonials-header h2 span {
    color: var(--primary-color);
}

.testimonials-header p {
    color: var(--gray-dark);
    font-size: 1.1rem;
}

.testimonial-slider {
    position: relative;
    padding: 30px;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial {
    display: none;
}

.testimonial.active {
    display: block;
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-weight: 600;
    margin-bottom: 5px;
}

.author-info p {
    color: var(--gray-dark);
    font-size: 0.9rem;
}

.testimonial-navigation {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.nav-btn.prev {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.nav-btn.next {
    background-color: var(--primary-color);
    color: var(--white);
    border: 1px solid var(--primary-color);
}

.next-testimonial {
    margin-top: 15px;
    padding: 15px;
    background-color: #f8f8f8;
    border-radius: 8px;
}

/* Blog Section */
.blog {
    padding: 80px 0;
    background-color: var(--gray-light);
}

.blog-header {
    text-align: center;
    margin-bottom: 50px;
}

.blog-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.blog-header h2 span {
    color: var(--primary-color);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.blog-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

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

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-date {
    color: var(--gray-dark);
    font-size: 0.85rem;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 5px;
}

.page-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
}

.page-dot.active {
    background-color: var(--primary-color);
}

/* Newsletter Section */
.newsletter {
    padding: 30px 0;
}

.newsletter-container {
    background-color: var(--primary-color);
    padding: 40px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.newsletter-content h2 {
    color: var(--white);
    font-size: 2.2rem;
    font-weight: 600;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    width: 50%;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
}

.newsletter-form button {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    background-color: var(--white);
    color: var(--text-color);
    font-weight: 600;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    background-color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-container,
    .testimonials-container,
    .footer-container {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content {
        order: 1;
    }

    .hero-images {
        order: 0;
        margin-bottom: 30px;
    }

    .newsletter-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .newsletter-form {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-menu, .header-buttons {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .booking-form {
        grid-template-columns: 1fr;
    }

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

    .newsletter-form {
        flex-direction: column;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}