:root {
    --primary-blue: #0057a8;
    --secondary-blue: #0080cd;
    --light-blue: #e6f0fa;
    --tower-gray: #545454;
    --light-gray: #f5f5f5;
    --dark-gray: #333333;
    --white: #ffffff;
    --yellow: #ffd700;
    --accent-orange: #ff8c00;
    --success-green: #28a745;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-gray);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-image {
    width: 200px;
    height: auto;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-blue);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('hero1.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-container {
    margin-top: 2rem;
}

.cta-text {
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-orange);
    color: var(--white);
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s;
    margin-right: 1rem;
}

.cta-button:hover {
    background-color: #e67e00;
    transform: translateY(-3px);
}

.secondary-cta {
    display: inline-block;
    background-color: transparent;
    color: var(--white);
    padding: 0.7rem 1.8rem;
    font-weight: 600;
    border: 2px solid var(--white);
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
    cursor: pointer;
}

.secondary-cta:hover {
    background-color: var(--white);
    color: var(--dark-gray);
    transform: translateY(-3px);
}

/* Sections General */
section {
    padding: 5rem 10%;
}

section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    position: relative;
}

section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-blue);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Flota Section */
.flota {
    background-color: var(--light-gray);
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.tab-button {
    background-color: transparent;
    border: none;
    padding: 0.8rem 2rem;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

.tab-button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-blue);
    transition: width 0.3s;
}

.tab-button:hover::after,
.tab-button.active::after {
    width: 100%;
}

.tab-button.active {
    color: var(--primary-blue);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

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

.vehicle-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.vehicle-icon {
    margin-bottom: 1rem;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.van-icon, .car-icon {
    width: 100px;
    height: 60px;
}

.vehicle-card h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.capacity {
    display: inline-block;
    background-color: var(--light-blue);
    color: var(--primary-blue);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin: 0.8rem 0;
}

.vehicle-cta {
    display: inline-block;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
    margin-top: 1rem;
    transition: background-color 0.3s;
}

.vehicle-cta:hover {
    background-color: var(--secondary-blue);
}

.vehicle-img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.car-image-container, .van-image-container {
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    overflow: hidden;
}

/* Precios Section */
.precios {
    background-color: var(--white);
}

.price-table-container {
    overflow-x: auto;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
}

.price-table th, .price-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.price-table th {
    background-color: var(--primary-blue);
    color: var(--white);
}

.price-table tr:nth-child(even) {
    background-color: var(--light-gray);
}

.price-table tr:hover {
    background-color: var(--light-blue);
}

/* Por Qué Section */
.por-que {
    background-color: var(--light-blue);
}

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

.feature-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
}

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

.feature-icon {
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.feature-svg {
    width: 48px;
    height: 48px;
}

.feature-card h3 {
    color: var(--primary-blue);
    margin-bottom: 0.7rem;
}

/* Plazas Section */
.plazas {
    background-color: var(--light-gray);
}

.plazas-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.plazas-text {
    flex: 1;
    min-width: 300px;
}

.plazas-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.plazas-img {
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Que Ver Section */
.que-ver {
    background-color: var(--white);
}

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

.attraction-card {
    background-color: var(--light-blue);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.attraction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.attraction-icon {
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.attraction-svg {
    width: 48px;
    height: 48px;
}

.attraction-card h3 {
    color: var(--primary-blue);
    margin-bottom: 0.7rem;
}

/* FAQs Section */
.faqs {
    background-color: var(--light-gray);
}

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

.accordion-item {
    margin-bottom: 1rem;
    border-radius: 5px;
    overflow: hidden;
}

.accordion-button {
    width: 100%;
    text-align: left;
    padding: 1rem;
    background-color: var(--white);
    border: none;
    border-left: 4px solid var(--primary-blue);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s;
}

.accordion-button:hover {
    background-color: var(--light-blue);
}

.accordion-button::after {
    content: '+';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

.accordion-button.active::after {
    content: '-';
}

.accordion-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    background-color: var(--white);
    transition: max-height 0.3s ease-out, padding 0.3s;
}

.accordion-content.active {
    padding: 1rem;
    max-height: 200px;
}

/* Contacto Section */
.contacto {
    background-color: var(--primary-blue);
    color: var(--white);
}

.contacto h2::after {
    background-color: var(--white);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-detail {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 24px;
    height: 24px;
    margin-right: 1rem;
    fill: var(--white);
}

.contact-detail a {
    color: var(--white);
    text-decoration: underline;
}

.contact-map {
    flex: 2;
    min-width: 300px;
    height: 400px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
}

.footer-logo-image {
    width: 160px;
    height: auto;
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
}

.footer-column h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--accent-orange);
    position: absolute;
    bottom: -6px;
    left: 0;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.7rem;
}

.footer-column a {
    color: #ccc;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: #ccc;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
    position: relative;
    background-color: var(--white);
    margin: 15% auto;
    padding: 2rem;
    border-radius: 8px;
    width: 80%;
    max-width: 500px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.4s ease-out;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--dark-gray);
}

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

.modal-message h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.modal-message p {
    margin-bottom: 1.5rem;
}

.modal-call-btn {
    display: inline-block;
    margin-top: 1rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem;
    }
    
    nav ul {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0.5rem;
    }
    
    .hero {
        height: auto;
        padding: 4rem 1rem;
    }
    
    section {
        padding: 3rem 1rem;
    }
    
    .price-table th, .price-table td {
        padding: 0.7rem;
    }
    
    .footer-content {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .cta-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button, .secondary-cta {
        width: 100%;
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .contact-map {
        height: 300px;
    }
}