@import url('https://fonts.googleapis.com/css2?family=Old+Standard+TT:ital,wght@0,400;0,700;1,400&display=swap');

/* General Styles */
body {
    font-family: "Old Standard TT", serif;
    font-size: 1.2em;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    color: #333;
}

body div {
    /*border: 1px solid green;*/
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    background: #333;
    color: #fff;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

header .logo {
    font-size: 1.5em;
    font-weight: bold;
    display: inline-block;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
}

.nav-links li a.btn {
    background: #e67e22;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
}

/* Menu Toggle (Hamburger) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease-in-out;
}

header .btn {
    background: #e67e22;
    color: #fff;
    padding: 5px 15px;
    border-radius: 5px;
    text-decoration: none;
}

/* Hero Section */
.hero {
    background: url('img/hero.jpg') no-repeat center center/cover;
    height: 100vh;
    color: #fff;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 600px;
    background: rgba(0, 0, 0, 0.6); /* Fondo semitransparente */
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 70%;
}

.hero-content h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.hero-content p {
    margin-bottom: 20px;
}

.hero-content .btn {
    margin: 10px;
}

.scroll-btn {
    background: #e67e22;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.scroll-btn:hover {
    background: #d35400;
}


.why {
    text-align: center;
}

.why .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.why .container .feature {
    width: 22%;
    padding: 15px;
    background-color: #888888;
    color: #ebebeb;
    border-radius: 5px;
    margin-bottom: 50px;
}

.why .container .feature .title-feature {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.why .container .feature i {
    font-size: 1.6em;
}

.why .container .feature h3 {
    font-weight: bolder;
}

.why .container .feature p {
    font-style: italic;
    font-size: larger;
}


/* Destinations Section */
.destinations {
    padding: 50px 0;
    text-align: center;
}

.destinations .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.destinations .card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
}

.destinations .card .card-text, 
.destinations .card .card-title {
    padding: 0px;
}

.destinations .card img {
    width: 100%;
    border-radius: 5px;
}

.destinations .card .btn {
    background: green;
    color: #fff;
    font-size: larger;
    width: 100%;
    padding: 5px 0px;
    border-radius: 5px;
    border: none;
    text-decoration: none;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.review-carousel {
    display: flex;
    align-items: center;
    position: relative;
    width: 80%;
    margin: 50px auto;
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.reviews {
    text-align: center;
}

.review {
    min-width: 100%;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.carousel-btn {
    background: #333;
    color: #fff;
    border: none;
    font-size: 2rem;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    opacity: 0.7;
}

.carousel-btn:hover {
    opacity: 1;
}

.prev-btn {
    left: -50px;
}

.next-btn {
    right: -50px;
}

/* CONTACT FORM */
/* Contact Form Styles */
#contact-form {
    padding: 50px 0;
    background: #fff;
    text-align: center;
}

form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input, select, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.error-message {
    color: red;
    font-size: 14px;
    display: none;
}

button {
    background: #e67e22;
    color: white;
    border: none;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background: #d35400;
}

/* Success Message */
.hidden {
    display: none;
}

#successMessage {
    margin-top: 20px;
    padding: 15px;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
}



/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        margin-left: auto;
    }

    .nav-links {
        display: none; /* Oculta el menú inicialmente */
        flex-direction: column;
        gap: 10px;
        position: absolute;
        top: 60px;
        right: 10px;
        background: #333;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex; /* Muestra el menú al activarlo */
    }

    .why .container {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .menu-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .why .container {
        flex-direction: column;
    }

    .why .container .feature {
        width: auto;
    }

    .hero-content h1 {
        font-size: 2em;
    }
}
