/* GENERAL STYLES */
:root {
    --premium-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --premium-ease-fast: cubic-bezier(0.25, 1, 0.5, 1);
    --premium-transition: transform 0.35s var(--premium-ease-fast), box-shadow 0.35s var(--premium-ease-fast), background-color 0.35s var(--premium-ease-fast), color 0.35s var(--premium-ease-fast), border-color 0.35s var(--premium-ease-fast);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html, body {
    min-height: 100%;
    background-color: #fbf9f5;
    overflow: visible !important;
    transform: none !important;
}

body {
    color: #333;
    opacity: 0;
    animation: pageFadeIn 0.8s var(--premium-ease) forwards;
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--premium-ease), transform 0.8s var(--premium-ease);
    will-change: opacity, transform;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER (Transparent sa taas, Solid White kapag nag-scroll) */
.header {
    background: transparent !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 999999 !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    transition: background-color 0.45s var(--premium-ease), box-shadow 0.45s var(--premium-ease), transform 0.45s var(--premium-ease);
}

.header.scrolled {
    background: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10) !important;
}

.header:not(.scrolled) {
    background: transparent !important;
    box-shadow: none !important;
}

.header.scrolled .brand-name {
    color: #0b2545 !important;
}

.header.scrolled .brand-sub {
    color: #d4af37 !important;
}

.header.scrolled .brand-tagline {
    color: #666 !important;
}

.header.scrolled .nav-links a {
    color: #333 !important;
}

.header.scrolled .nav-links a:hover, 
.header.scrolled .nav-links a.active {
    color: #d4af37 !important;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 45px !important;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-left: 10px !important;
}

.logo img {
    width: auto;
    height: 52px;
    object-fit: contain;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.brand-sub {
    font-size: 0.75rem;
    font-weight: 600;
    color: #d4af37;
    transition: color 0.3s;
}

.brand-tagline {
    font-size: 0.65rem;
    color: #ffd700;
    font-style: italic;
    transition: color 0.3s;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.4s var(--premium-ease-fast), border-color 0.4s var(--premium-ease-fast), transform 0.4s var(--premium-ease-fast);
}

.nav-links a:hover, .nav-links a.active {
    color: #d4af37;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 2px;
    transform: translateY(-1px);
}

.btn-inquire {
    background-color: #d4af37;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--premium-transition);
    box-shadow: 0 10px 26px rgba(212,175,55,0.18);
}

.btn-inquire:hover {
    background-color: #c19b2e;
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(193,155,46,0.24);
}

.filter-btn,
.tour-item-card,
.btn-submit,
.form-control,
.feature-item,
.card-btn,
.card-img-arrow,
.card-scroll-btn,
.social-btn,
.footer-logo-box,
.feature-icon {
    transition: var(--premium-transition) !important;
}

.filter-btn:hover,
.tour-item-card:hover,
.btn-submit:hover,
.card-img-arrow:hover,
.card-scroll-btn:hover,
.social-btn:hover,
.feature-item:hover,
.footer-logo-box:hover,
.feature-icon:hover {
    transform: translateY(-2px);
}

.filter-btn:hover,
.filter-btn.active {
    transition: var(--premium-transition) !important;
}

/* HERO SECTION SLIDER (Binabaan ang taas para hindi masyadong malaki ang space) */
.hero {
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
    padding-top: 120px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.5s var(--premium-ease), transform 1.5s var(--premium-ease);
    will-change: opacity, transform;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1.08);
}

.hero-content, .hero-dots, .slider-arrow {
    z-index: 10;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 850px;
    padding: 0 20px;
    text-align: center;
}

.hero-subtitle,
.hero h1,
.hero-desc,
.section-title,
.section-subtitle,
.feature-item h4,
.feature-item p,
.footer-col h4,
.footer-col p,
.footer-about,
.cta-content h2,
.cta-content p {
    transition: none !important;
}

.hero-subtitle {
    font-size: 1.1rem;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 5px;
}

.hero h1 {
    font-size: 3.5rem;
    font-family: Georgia, serif;
    font-style: italic;
    font-weight: 400;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
    line-height: 1.1;
}

.hero-desc {
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
}

.btn {
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.4s cubic-bezier(0.25, 1, 0.5, 1), color 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background: #fff;
    color: #000;
    box-shadow: 0 16px 36px rgba(0,0,0,0.16);
}

.btn-primary {
    background-color: #d4af37;
    color: #fff;
    border: 2px solid #d4af37;
    box-shadow: 0 10px 26px rgba(212,175,55,0.18);
}

.btn-primary:hover {
    background-color: #c19b2e;
    border-color: #c19b2e;
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(193,155,46,0.24);
}

.nav-links a {
    transition: color 0.4s var(--premium-ease-fast), border-color 0.4s var(--premium-ease-fast), transform 0.4s var(--premium-ease-fast);
}

.nav-links a:hover,
.nav-links a.active {
    transition: color 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* SLIDER ARROWS */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: background 0.3s;
    z-index: 20;
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.25);
}

.prev-arrow {
    left: 40px;
}

.next-arrow {
    right: 40px;
}

.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.dot.active-dot {
    background-color: #fff;
}

/* FEATURED DESTINATIONS (Compact padding) */
.destinations-section {
    padding: 40px 0;
    background-color: #fbf9f5;
    text-align: center;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0b2545;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.title-decorator {
    color: #d4af37;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.section-subtitle {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.destinations-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.destinations-grid {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 5px 25px 5px;
    scrollbar-width: none;
}

.destinations-grid::-webkit-scrollbar {
    display: none;
}

.destination-card {
    flex: 0 0 270px;
    height: 420px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    text-align: left;
    position: relative;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(11, 37, 69, 0.08), 0 8px 18px rgba(11, 37, 69, 0.05);
    transition: transform 0.45s var(--premium-ease-fast), box-shadow 0.45s var(--premium-ease-fast), filter 0.45s var(--premium-ease-fast);
}

.destination-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 28px 70px rgba(11, 37, 69, 0.16), 0 12px 26px rgba(11, 37, 69, 0.08);
    filter: saturate(1.05);
}

/* Card Image Navigation Arrows */
.card-img-arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    z-index: 5;
    transition: background 0.35s cubic-bezier(0.25, 1, 0.5, 1), transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.card-img-arrow:hover {
    background: #d4af37;
    color: #000;
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.card-img-prev {
    left: 15px;
}

.card-img-next {
    right: 15px;
}

.card-content {
    z-index: 2;
    color: #fff;
}

.destination-card h3 {
    font-size: 1.6rem;
    font-family: Georgia, serif;
    font-weight: 700;
    margin-bottom: 18px;
    color: #fff;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
    line-height: 1.2;
}

.card-btn {
    display: inline-block;
    background: #fff;
    color: #111;
    padding: 10px 22px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0,0,0,0.16);
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), background 0.35s cubic-bezier(0.25, 1, 0.5, 1), color 0.35s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.card-btn:hover {
    transform: translateY(-2px);
    background: #d4af37;
    color: #fff;
    box-shadow: 0 14px 36px rgba(0,0,0,0.22);
}

.card-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: #333;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.14);
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), background 0.35s cubic-bezier(0.25, 1, 0.5, 1), color 0.35s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 10;
}

.card-scroll-btn:hover {
    transform: translateY(-3px);
    background: #0b2545;
    color: #fff;
    box-shadow: 0 16px 38px rgba(0,0,0,0.2);
}

.card-prev {
    left: -10px;
}

.card-next {
    right: -10px;
}

/* WHY CHOOSE US */
.why-choose-us {
    padding: 45px 0;
    background-color: #fff;
    text-align: center;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.feature-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: #d4af37;
    opacity: 0.4;
}

.feature-icon {
    width: 65px;
    height: 65px;
    background-color: #0b2545;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.35s var(--premium-ease-fast), box-shadow 0.35s var(--premium-ease-fast);
}

.feature-icon:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 14px 32px rgba(0,0,0,0.18);
}

.feature-item h4 {
    font-size: 0.9rem;
    color: #0b2545;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.feature-item p {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.5;
}

/* CTA BANNER */
.cta-banner {
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1488646953014-85cb44e25828?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    padding: 55px 0;
    color: #fff;
}

.cta-container {
    display: flex;
    justify-content: flex-start;
}

.cta-content {
    max-width: 600px;
    text-align: left;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
    font-family: Georgia, serif;
    font-weight: 700;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.cta-content p {
    font-size: 1rem;
    margin-bottom: 25px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
/* ==========================================
   FINAL PULISHED FOOTER DESIGN
   ========================================== */
.footer {
    background-color: #e2e8f0 !important; /* Elegant, professional soft light gray-blue (hindi masyadong matingkad na asul) */
    color: #1e293b !important;
    padding: 60px 0 30px 0 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
}

/* Linisin ang grid, alisin ang hiwa-hiwalay na background boxes */
.footer-grid {
    background-color: transparent !important;
    display: grid;
    grid-template-columns: 1.2fr 1.5fr 1.5fr 1fr;
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(100, 116, 139, 0.2);
}

.footer-col {
    background-color: transparent !important;
}

.footer-col h4 {
    font-size: 0.95rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: #0f172a !important;
    font-weight: 700;
}

.footer-logo img {
    width: 40px;
    height: 40px;
}

.footer-about {
    font-size: 0.82rem;
    color: #334155 !important;
    line-height: 1.6;
    margin-top: 15px;
}

.footer-col p {
    font-size: 0.82rem;
    color: #334155 !important;
    margin-bottom: 12px;
    display: flex;
    gap: 10px;
    line-height: 1.4;
}

.footer-col p i {
    color: #2563eb !important;
    margin-top: 3px;
}

/* ==========================================
   ACCREDITATION BADGES & LOGOS
   ========================================== */
.accreditations-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.badge-box {
    background: #ffffff !important;
    color: #1e293b !important;
    padding: 10px 12px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    text-align: center;
    flex: 1;
    border: 1px solid rgba(203, 213, 225, 0.8) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.badge-box img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    filter: none !important;
    opacity: 1 !important;
}

/* ==========================================
   SOCIAL BUTTONS
   ========================================== */
.social-links-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-btn {
    color: #1e293b !important;
    background: #ffffff !important;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(203, 213, 225, 0.8) !important;
    transition: all 0.2s ease;
}

.social-btn:hover {
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
}

.social-btn i {
    color: #1e293b !important;
    font-size: 1.1rem;
}

/* ==========================================
   FOOTER BOTTOM / COPYRIGHT
   ========================================== */
.footer-bottom {
    text-align: center;
    padding: 20px 0 10px 0;
    font-size: 0.75rem;
    color: #475569 !important;
    background-color: transparent !important;
    border-top: none !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.footer .copyright,
.footer .rights,
.footer .footer-copy,
.footer-bottom p,
.footer-bottom span {
    color: #475569 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

@media(max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}