/* ═══════════════════════════════════════════════════════
   GuanaTravelCR — Custom Stylesheet
   Mobile-first, responsive across all breakpoints
════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────── */
:root {
    --primary:   #0E4C92;
    --secondary: #F9A826;
    --light:     #F5F5F5;
    --dark:      #1E3A5F;
    --success:   #28a745;
}

/* ── Base ───────────────────────────────────────────────── */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #f8f9fa;
}

/* ── Navbar ─────────────────────────────────────────────── */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
    padding: 8px 0;
}

.logo-img {
    height: 44px;
    width: auto;
    border-radius: 5px;
}

.nav-link {
    font-weight: 500;
    transition: color .3s;
}
.nav-link:hover { color: var(--secondary) !important; }

@media (max-width: 991px) {
    .navbar .btn { font-size: .8rem; padding: 6px 14px; }
}

/* ── Buttons ────────────────────────────────────────────── */
.btn-primary {
    background-color: var(--primary);
    border-color:     var(--primary);
    border-radius: 50px;
    padding: 10px 25px;
}
.btn-primary:hover {
    background-color: var(--dark);
    border-color:     var(--dark);
}

.btn-outline-primary {
    border-color: var(--dark);
    color: navy;
    border-radius: 50px;
    padding: 10px 25px;
}

.btn-success {
    background-color: var(--success);
    border-color:     var(--success);
    color: #fff;
    border-radius: 50px;
    padding: 10px 25px;
}

.btn-warning {
    background-color: var(--secondary);
    border-color:     var(--secondary);
    color: #fff;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
}
.btn-warning:hover {
    background-color: #e59400;
    border-color:     #e59400;
    color: #fff;
}

/* ── Hero Section ───────────────────────────────────────── */
.hero-section {
    background: url('../../lib/imagenes/private-liberia-taxi-tours-explore-costa-ricas-historical-gems.jpg')
                no-repeat center center / cover;
    position: relative;
    padding: 60px 0 50px;
    border-radius: 0 0 30px 30px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Darker overlay — makes hero text clearly legible */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    border-radius: inherit;
    z-index: 0;
}

.hero-section > .container {
    position: relative;
    z-index: 1;
}

/* Hero text — dark for readability over the light photo areas */
.hero-section h1,
.hero-section h2,
.hero-section h3 {
    color: #0a1a2e !important;
    text-shadow: none;
}

.hero-section .lead,
.hero-section p,
.hero-section .d-flex div {
    color: #1a2a3a !important;
    text-shadow: none;
}

.hero-section h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
}

/* Booking card */
.hero-booking {
    background: rgba(14, 76, 146, .95);
    border-radius: 15px;
    padding: 28px 24px;
    box-shadow: none;
}

/* Everything inside the booking card stays white */
.hero-booking h3,
.hero-booking h4,
.hero-booking p,
.hero-booking label,
.hero-booking span {
    color: #fff !important;
    text-shadow: none;
}

.hero-booking h3 {
    color: #fff;
    font-size: 1.2rem;
    letter-spacing: .05em;
}

@media (max-width: 991px) {
    .hero-section {
        padding: 40px 0;
        border-radius: 0;
        min-height: 100dvh;
        align-items: flex-start;
    }
    .hero-section h1 { font-size: 1.75rem; }
    /* Hide the desktop CTA button block on mobile */
    .hero-section .col-lg-6.order-2 p.text-center { display: none; }
    .hero-booking { padding: 20px 16px; margin-top: 20px; }
}

@media (max-width: 400px) {
    .hero-section h1 { font-size: 1.5rem; }
}

/* ── Form controls ──────────────────────────────────────── */
.form-control,
.form-select {
    border-radius: 10px;
    padding: 11px 14px;
    font-size: .93rem;
}

@media (max-width: 768px) {
    .form-control,
    .form-select {
        padding: 13px 14px;
        font-size: 1rem;
    }
}

/* ── Section Titles ─────────────────────────────────────── */
.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    font-weight: 700;
    color: var(--primary);
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}
.text-center .section-title::after,
.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* ── Section text — dark on light backgrounds ───────────── */
section:not(.hero-section) h1,
section:not(.hero-section) h2,
section:not(.hero-section) h3,
section:not(.hero-section) h4,
section:not(.hero-section) h5,
section:not(.hero-section) p,
section:not(.hero-section) .lead,
section:not(.hero-section) .card-title,
section:not(.hero-section) .card-text {
    color: #2c3e50;
}

section:not(.hero-section) .section-title {
    color: var(--primary);
}

/* ── Value / Feature Cards ──────────────────────────────── */
.value-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,.05);
    transition: transform .3s;
    height: 100%;
}
.value-card:hover { transform: translateY(-5px); }

/* ── Service Cards ──────────────────────────────────────── */
.services-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.service-card {
    border: none;
    border-radius: 15px;
    transition: transform .3s ease, box-shadow .3s ease;
    height: 100%;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,.1);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #0a58ca 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.icon-wrapper i {
    font-size: 2rem;
    color: #fff;
}

/* ── Gallery Cards ──────────────────────────────────────── */
#gallery .card img {
    height: 220px;
    object-fit: cover;
}
#gallery .card {
    transition: transform .3s ease;
}
#gallery .card:hover { transform: translateY(-5px); }

/* ── About / misc ───────────────────────────────────────── */
.rounded-section {
    border-radius: 20px;
    overflow: hidden;
}

.destination-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,.1);
    transition: transform .3s;
    height: 100%;
}
.destination-card:hover { transform: translateY(-5px); }

.testimonial-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,.05);
}

/* ── Footer ─────────────────────────────────────────────── */
footer {
    background: var(--dark);
    color: #fff;
}

footer h3, footer h4, footer h5,
footer p,  footer a,
footer li, footer span { 
    color: #fff !important; 
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all .3s;
}
.social-icon:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.desktop-contact { display: block; }
.mobile-actions  { display: none;  }

@media (max-width: 768px) {
    .desktop-contact { display: none;  }
    .mobile-actions  { display: block; }
    .mobile-actions > a { font-size: 28px; }
}

/* ── Utilities ──────────────────────────────────────────── */
.text-primary { color: var(--primary) !important; }

.alert {
    display: none;
    text-align: center;
}

.booking-form {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0,0,0,.1);
}

/* ── Floating WhatsApp button ───────────────────────────── */
.whatsapp-float {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,.3);
    z-index: 9999 !important;
    transition: transform .2s;
    text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float i { color: #fff; font-size: 1.7rem; }
