/* =====================
   GENERAL
===================== */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f6f7f8;
    color: #00334d;
}

h1, h2, h3 {
    margin: 0;
}

/* =====================
   HEADER
===================== */
.header {
    background: #00334d;
    padding: 15px 25px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* LOGO */
.logo img {
    height: 60px;
}

/* CENTER TITLE */
.header-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 26px;
    font-weight: bold;
}

/* MENU */
.header ul {
    display: flex;
    gap: 20px;
    list-style: none;
}

.header a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.header a.active,
.header a:hover {
    color: #ff9f40;
}

/* =====================
   HERO
===================== */
.hero {
    position: relative;
    height: 450px;
    background-image: url('/img/roatan.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero.small {
    height: 300px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 51, 77, 0.45);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: bold;
}

.hero-content p {
    margin-top: 8px;
    font-size: 18px;
}

.hero-logo {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.hero-logo img {
    width: 200px;       /* tamaño ideal */
    max-width: 100%;
    opacity: 0.95;
}

.hero-logo img {
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
}



/* =====================
   HERO BUTTONS (FIX FINAL)
===================== */
.hero-buttons {
    margin-top: 16px;
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.hero-buttons .hero-btn {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;

    /* CLAVES QUE LO ARREGLAN */
    line-height: 1;
    height: auto;
    width: auto;
    min-width: unset;
    min-height: unset;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    transition: all 0.2s ease;
}

/* COLORS */
.hero-buttons .about {
    background-color: #ff9f40;
    color: #ffffff;
}

.hero-buttons .book {
    background-color: #0077a3;
    color: #ffffff;
}

/* HOVER */
.hero-buttons .hero-btn:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

/* =====================
   TOURS
===================== */
.tours {
    padding: 40px 20px;
    text-align: center;
}

.tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    padding-top: 25px;
}

.tour-card {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.tour-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.price {
    font-size: 20px;
    font-weight: bold;
    color: #0077a3;
}

.buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

/* TOUR BUTTONS */
.btn {
    padding: 10px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.btn.book {
    background: #0077a3;
    color: white;
}

.btn.info {
    background: #ff9f40;
    color: white;
}

/* =====================
   ABOUT
===================== */
.about {
    padding: 40px 20px;
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.about h2 {
    margin-top: 30px;
    margin-bottom: 10px;
}

/* =====================
   BOOK FORM
===================== */
.booking {
    padding: 40px 20px;
    max-width: 600px;
    margin: auto;
}

.booking h2 {
    text-align: center;
    margin-bottom: 20px;
}

.booking form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.booking label {
    font-weight: bold;
}

.booking input,
.booking select,
.booking textarea {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 16px;
}

.booking textarea {
    height: 100px;
    resize: none;
}

.booking button {
    width: 200px;
    align-self: center;
}



.why-us {
    background: #f6f7f8;
    padding: 60px 20px 40px;
}

.why-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
}

.why-item i {
    font-size: 2.8rem;
    color: #f9c74f;
    margin-bottom: 15px;
}

.why-item h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #00334d;
}

.why-item p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.4;
}

/* AJUSTE FINAL HERO BUTTONS */
.hero-buttons {
    margin-top: 20px;          /* un poco más abajo */
    justify-content: center;   /* perfectamente centrados */
}

/* Tamaño un poco mayor, pero controlado */
.hero-buttons .hero-btn {
    padding: 10px 20px;        /* más ancho y alto */
    font-size: 15px;           /* texto un poco más grande */
    border-radius: 7px;        /* más suave */
}

.footer {
    background: linear-gradient(180deg, #063a52 0%, #052f44 100%);
    color: #ffffff;
    padding: 70px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    align-items: flex-start;
    text-align: center;
}

/* BRAND */
.footer-brand img {
    width: 130px;
    margin-bottom: 15px;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

.footer-brand p {
    font-size: 14px;
    opacity: 0.85;
    max-width: 230px;
    margin: auto;
}

/* LINKS */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffa726;
}

/* SOCIALS */
.footer-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background-color: #ffa726;
    color: #063a52;
    transform: translateY(-3px);
}

/* DIVIDER */
.footer-divider {
    margin: 40px auto 20px;
    max-width: 1100px;
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

/* COPYRIGHT */
.footer-copy {
    text-align: center;
    font-size: 13px;
    opacity: 0.8;
}
