/* --- RESET & VARIABLES --- */
:root {
    --primary-teal: #0d9488;
    --primary-teal-dark: #0f766e;
    --primary-orange: #f97316;
    --primary-orange-light: #fb923c;
    --text-dark: #1f2937;
    --text-gray: #4b5563;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --footer-bg: #1f2937;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- UTILITIES --- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
.hidden { display: none !important; }
.text-center { text-align: center; }

/* --- PRELOADER --- */
#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--white); z-index: 9999;
    display: flex; justify-content: center; align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s;
}
.loader-content { text-align: center; }
.loader-icon { font-size: 4rem; color: var(--primary-teal); margin-bottom: 1rem; display: block; animation: fly 2s infinite ease-in-out; }
.brand-title { font-size: 1.25rem; font-weight: bold; color: var(--primary-teal); }
.loader-text { color: var(--text-gray); font-size: 0.875rem; }

@keyframes fly {
    0% { transform: translateX(-50px) translateY(10px) rotate(-10deg); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(50px) translateY(-10px) rotate(10deg); opacity: 0; }
}

/* --- FLOATING BUTTONS --- */
.floating-btns {
    position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9990;
    display: flex; flex-direction: column; gap: 1rem;
}
.float-btn {
    width: 3.5rem; height: 3.5rem; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    transition: transform 0.3s; animation: float-pulse 2s infinite;
}
.float-btn:hover { transform: scale(1.1); }
.call-btn { background: #2563eb; }
.whatsapp-btn { background: #22c55e; }

@keyframes float-pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* --- NAVBAR --- */
.navbar {
    background: var(--white); position: fixed; width: 100%; top: 0; left: 0; z-index: 50;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 1rem; }
.logo { display: flex; align-items: center; }
.logo-icon { font-size: 1.875rem; color: var(--primary-teal); margin-right: 0.5rem; }
.logo-text { font-weight: bold; font-size: 1.5rem; color: var(--text-dark); }

.desktop-nav { display: none; align-items: center; gap: 2rem; }
.desktop-nav a { font-weight: 500; color: var(--text-gray); }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--primary-teal); transform: scale(1.05); }

.btn-contact {
    background: var(--primary-orange); color: white !important;
    padding: 0.5rem 1.25rem; border-radius: 9999px; font-weight: bold;
}
.btn-contact:hover { opacity: 0.9; }

.mobile-toggle button { background: none; border: none; font-size: 1.875rem; color: var(--primary-teal); cursor: pointer; }
#mobile-menu {
    position: absolute; top: 100%; left: 0; width: 100%; background: var(--white);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); border-top: 1px solid #f3f4f6;
    display: flex; flex-direction: column;
}
#mobile-menu a { padding: 1rem 1.5rem; font-weight: 600; color: var(--text-gray); border-bottom: 1px solid #f3f4f6; }
#mobile-menu a.active-mobile { color: var(--primary-teal); background-color: var(--bg-light); }
.mobile-contact { color: var(--primary-orange) !important; font-weight: bold; }

@media (min-width: 768px) {
    .mobile-toggle { display: none; }
    .desktop-nav { display: flex; }
    #mobile-menu { display: none !important; }
}

/* --- HEADER --- */
.page-header {
    position: relative; height: 50vh; display: flex; align-items: center; justify-content: center;
    text-align: center; margin-top: 70px; background-size: cover; background-position: center;
}
.header-content h1 { font-size: 2.25rem; color: white; font-weight: bold; margin-bottom: 0.5rem; }
.header-content p { font-size: 1.125rem; color: rgba(255,255,255,0.9); font-weight: 300; }

@media (min-width: 768px) {
    .header-content h1 { font-size: 3.75rem; }
    .header-content p { font-size: 1.25rem; }
}

/* --- DESTINATIONS GRID --- */
.section-destinations { padding: 5rem 0; background-color: var(--bg-light); }
.dest-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2.5rem; }

.dest-card {
    background: var(--white); border-radius: 0.75rem; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    overflow: hidden; display: flex; flex-direction: column; height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dest-card:hover { transform: translateY(-10px); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }

.card-image { height: 14rem; position: relative; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.dest-card:hover .card-image img { transform: scale(1.1); }

.badge {
    position: absolute; top: 1rem; right: 1rem; color: white; font-size: 0.75rem; font-weight: bold;
    padding: 0.25rem 0.75rem; border-radius: 9999px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}
.badge-orange { background: var(--primary-orange); }
.badge-blue { background: #2563eb; }
.badge-yellow { background: #eab308; }
.badge-purple { background: #a855f7; }
.badge-pink { background: #ec4899; }

.card-content { flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 1.5rem; }
.card-info h3 { font-size: 1.5rem; font-weight: bold; color: var(--primary-teal); margin-bottom: 0.5rem; }
.card-info p { color: var(--text-gray); font-size: 0.875rem; margin-bottom: 1rem; }

.btn-book {
    display: block; width: 100%; text-align: center; background: var(--primary-teal); color: white;
    font-weight: bold; padding: 0.75rem 1rem; border-radius: 0.5rem; transition: background 0.3s;
}
.btn-book:hover { background: var(--primary-teal-dark); animation: pulse 1s infinite; }

@media (min-width: 768px) { .dest-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .dest-grid { grid-template-columns: repeat(3, 1fr); } }

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(13, 148, 136, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(13, 148, 136, 0); }
}

/* --- FOOTER --- */
.footer { background: var(--footer-bg); color: white; padding-top: 4rem; padding-bottom: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-title { font-size: 1.25rem; font-weight: bold; margin-bottom: 1rem; }
.footer-col:first-child .footer-title { color: var(--primary-teal); }
.footer-text { color: #9ca3af; margin-bottom: 1rem; }
.contact-item { margin-bottom: 0.5rem; }
.contact-item i { color: var(--primary-teal); margin-right: 0.5rem; }
.contact-label { font-weight: bold; color: var(--primary-orange-light); margin-bottom: 0.5rem; }
.contact-list li { margin-bottom: 0.25rem; }
.contact-list a { color: #d1d5db; }
.contact-list a:hover { color: white; }
.btn-whatsapp { display: inline-block; background: #22c55e; color: white; font-weight: bold; padding: 0.5rem 1.5rem; border-radius: 0.25rem; transition: background 0.3s; }
.btn-whatsapp:hover { background: #16a34a; }
.footer-bottom { border-top: 1px solid #374151; padding-top: 2rem; text-align: center; color: #6b7280; font-size: 0.875rem; }

@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }