:root {
    --primary: #e67e22;
    --secondary: #d35400;
    --dark: #34495e;
    --light: #ecf0f1;
    --success: #27ae60;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

header {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item:nth-child(1) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('Logos/Portada.jpg');
}

.carousel-item:nth-child(2) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('Logos/portada1.jpg');
}

.carousel-item:nth-child(3) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('Logos/portada3.jpg');
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}

.carousel-control {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background 0.3s;
}

.carousel-control:hover {
    background: rgba(255, 255, 255, 0.5);
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.indicator.active {
    background: var(--primary);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 100%;
    padding: 0 2rem;
    z-index: 5;
}

.logo-container {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    z-index: 10;
}

.logo-img {
    height: 50px;
    margin-right: 10px;
}

.logo-text {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
}

nav {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s;
}

.btn:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.tours {
    padding: 5rem 2rem;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tour-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.tour-img {
    height: 200px;
    overflow: hidden;
}

.tour-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.tour-card:hover .tour-img img {
    transform: scale(1.1);
}

.tour-info {
    padding: 1.5rem;
}

.tour-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.tour-info p {
    color: #666;
    margin-bottom: 1rem;
}

.tour-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 1rem;
}

.tour-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background: #f5f5f5;
    margin: 0 -1.5rem -1.5rem;
}

.tour-details-content {
    padding: 1.5rem;
    text-align: left;
}

.tour-details h4 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.tour-details ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.tour-details li {
    margin-bottom: 0.5rem;
}

.tour-details.active {
    max-height: 1310px;
}

.toggle-details {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    margin: 0 auto;
    padding: 0.5rem 1rem;
    transition: all 0.3s;
}

.toggle-details:hover {
    color: var(--secondary);
}

.toggle-details i {
    margin-left: 0.5rem;
    transition: transform 0.3s;
}

.toggle-details.active i {
    transform: rotate(180deg);
}

.about {
    padding: 5rem 2rem;
    background: var(--light);
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact {
    padding: 5rem 2rem;
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
}

footer {
    background: var(--dark);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-links {
    margin-bottom: 2rem;
}

.social-links a {
    display: inline-block;
    margin: 0 1rem;
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary);
}

.footer-info {
    margin-bottom: 2rem;
}

.footer-info p {
    margin-bottom: 0.5rem;
}

.copyright {
    font-size: 0.9rem;
}

/* REGLA CORREGIDA PARA GARANTIZAR COLOR BLANCO EN DERECHOS DE AUTOR */
footer,
footer *,
footer .copyright,
footer .copyright strong,
footer .copyright p,
footer .copyright strong p {
    color: #ffffff !important;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--dark);
        transition: right 0.3s;
        z-index: 999;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 1rem 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .logo-text {
        font-size: 1.5rem;
    }
}

/* Estilos para la sección Protégeme */
.protegeme-section {
    padding: 5rem 2rem;
    text-align: center;
    background-color: #fff;
}

.protegeme-images {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.protegeme-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.protegeme-img:hover {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .protegeme-images {
        flex-direction: column;
        align-items: center;
    }
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 1s ease-in;
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section-title {
    text-align: center;
    color: #2c5530;
    margin-bottom: 30px;
    font-size: 28px;
    border-bottom: 2px solid #2c5530;
    padding-bottom: 10px;
}

.subtitle {
    color: #2c5530;
    margin: 25px 0 15px;
    font-size: 22px;
    border-left: 4px solid #2c5530;
    padding-left: 10px;
}

.terms-content {
    text-align: justify;
}

.terms-content p {
    margin-bottom: 15px;
    text-align: justify;
}

.terms-content ul {
    margin: 15px 0;
    padding-left: 30px;
}

.terms-content li {
    margin-bottom: 10px;
    text-align: justify;
}

.note-box {
    background-color: #f1f8e9;
    border-left: 4px solid #689f38;
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 5px 5px 0;
}

.note-box p {
    margin-bottom: 0;
    font-style: italic;
}

strong {
    color: #2c5530;
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    .section-title {
        font-size: 24px;
    }

    .subtitle {
        font-size: 20px;
    }
}