/* ============================================================
   PAGE LOADER
   ============================================================ */
#page-loader {
    position: fixed;
    inset: 0;
    background-color: #1C3829;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

#page-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* Animated logo text */
.loader-logo {
    font-family: "Playfair Display", serif;
    font-size: 2.6rem;
    color: #BAA363;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(18px);
    animation: loaderFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

/* Subtitle tagline */
.loader-tagline {
    font-family: "Poppins", sans-serif;
    font-size: 0.72rem;
    color: rgba(244, 239, 215, 0.55);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 6px;
    opacity: 0;
    transform: translateY(12px);
    animation: loaderFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

/* Progress bar track */
.loader-bar-wrap {
    width: 180px;
    height: 1px;
    background: rgba(186, 163, 99, 0.18);
    margin-top: 28px;
    border-radius: 2px;
    overflow: hidden;
    opacity: 0;
    animation: loaderFadeIn 0.4s ease 0.6s forwards;
}

/* Progress bar fill */
.loader-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #BAA363, #C09B59, #BAA363);
    background-size: 200% 100%;
    border-radius: 2px;
    animation: loaderProgress 2s cubic-bezier(0.4, 0, 0.2, 1) 0.7s forwards,
               loaderShimmer 1.5s linear 0.7s infinite;
}

/* Pulsing dots */
.loader-dots {
    display: flex;
    gap: 8px;
    margin-top: 22px;
    opacity: 0;
    animation: loaderFadeIn 0.4s ease 0.8s forwards;
}

.loader-dots span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(186, 163, 99, 0.5);
    animation: loaderPulse 1.2s ease-in-out infinite;
}

.loader-dots span:nth-child(2) { animation-delay: 0.2s; }
.loader-dots span:nth-child(3) { animation-delay: 0.4s; }

/* Keyframes */
@keyframes loaderFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes loaderFadeIn {
    to { opacity: 1; }
}

@keyframes loaderProgress {
    0%   { width: 0%; }
    50%  { width: 65%; }
    80%  { width: 88%; }
    100% { width: 100%; }
}

@keyframes loaderShimmer {
    0%   { background-position: 200% center; }
    100% { background-position: -200% center; }
}

@keyframes loaderPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50%       { opacity: 1;   transform: scale(1.4); }
}

/* ============================================================
   HERO ENTRY ANIMATIONS (triggered by JS after loader exits)
   ============================================================ */
.hero-entry {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-entry.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   CUSTOM FONT
   ============================================================ */
/* CUSTOM FONT */
@font-face {
    font-family: "Thrai";
    src: url(font/thrai.ttf) format("truetype");
}

/* RESET */
body {
    font-family: "Poppins", sans-serif;
}

/* HEADER */
header .navbar {
    background-color: #1C3829;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.logo-text {
    font-family: "Playfair Display", serif;
    font-size: 1.6rem;
    font-weight: 500;
    color: #BAA363;
    letter-spacing: 0.5px;
}

.logo-text:hover {
    color: #BAA363;
}

header .nav-link {
    font-family: "Poppins", sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    padding: 0.4rem 0.75rem;
    transition: color 0.2s ease;
}

header .nav-link:hover {
    color: #fff;
}

header .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.4);
}

header .navbar-toggler-icon {
    filter: invert(1);
}

.main-hero-section {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100vh;
    background-image: url(img/fly-image-hero-main.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    z-index: 0;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    color: #fff;
    padding-top: 80px;
}

.mm-txt {
    font-size: 72px;
    font-family: "Playfair Display", serif;
    line-height: 90px;
    margin-bottom: 30px;
}

.mm-txt span {
    display: block;
    text-shadow: 0px 4px 3px rgba(0, 0, 0, 0.4),
        0px 8px 13px rgba(0, 0, 0, 0.1),
        0px 18px 23px rgba(0, 0, 0, 0.1);

}

.mm-sub-txt {
    font-size: 16px;
    color: #F4EFD7;
    width: 670px;
    margin: auto;
    text-align: center;
}

.hero-button {
    padding: 30px 0;
    display: flex;
    gap: 20px;
}

.hero-button a {
    display: inline-block;
    padding: 20px 40px;
    border: 1px solid #F4EFD7;
    color: #F4EFD7;
    text-decoration: none;
    font-weight: 500;
}

.active {
    border: 1px solid #1C3829 !important;
    background-color: #1C3829;
}

.comming-soon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%) rotate(350deg);
    font-family: "Thrai", sans-serif;
    font-size: 118px;
    color: #ffffff;
    white-space: nowrap;
    pointer-events: none;
    z-index: 9999;
    /*animation: commingSoonHeartbeat 10s ease-in-out infinite;*/
    transform-origin: center center;
}

@keyframes commingSoonHeartbeat {
    0%, 100% { transform: translateX(-50%) translateY(-50%) rotate(350deg) scale(1); }
    50%       { transform: translateX(-50%) translateY(-50%) rotate(350deg) scale(1.06); }
}


/* TABLET (768px - 1024px) */
@media (max-width: 1024px) {
    .mm-txt {
        font-size: 52px;
        line-height: 68px;
        margin-bottom: 20px;
    }

    .mm-sub-txt {
        width: 90%;
        font-size: 15px;
    }

    .hero-button a {
        padding: 15px 28px;
    }
}

/* MOBILE (max 767px) */
@media (max-width: 767px) {
    .mm-txt {
        font-size: 36px;
        line-height: 50px;
        margin-bottom: 16px;
    }

    .mm-sub-txt {
        width: 90%;
        font-size: 13px;
    }

    .hero-button {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 20px 0;
    }

    .hero-button a {
        padding: 14px 32px;
        width: 100%;
        text-align: center;
    }

    .comming-soon {
        font-size: clamp(2.5rem, 14vw, 6rem);
        top: 50%;
        white-space: normal;
        text-align: center;
        width: 100%;
        left: 0;
        transform: translateY(-50%) rotate(350deg);
    }
}

/* DISABLE ALL LINKS */
a {
    pointer-events: none;
    cursor: default;
}