/* ================= NAVBAR ================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    background: transparent;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

    padding: 18px 40px;

    transition: all 0.4s ease;

    z-index: 999;
}

/* On Scroll */
.navbar.scrolled {
    background: rgba(8, 8, 26, 0.768);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Container */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ================= LOGO ================= */
.logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: "Playfair Display", serif;
}

.logo-icon {
    font-size: 20px;
    color: #f5c542;
}

.logo-text {
    font-size: 22px;
    font-weight: 500;
    color: #ffffff;
}

.logo-text strong {
    color: #f5c542;
    font-weight: 600;
}

/* ======= MENU ======== */
.nav-menu {
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu ul {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: nowrap;
}

.menu li {
    list-style: none;
}

.menu li::marker {
    content: '';
}

.menu li a {
    color: #cfcfe8;
    text-decoration: none;
    font-size: 15px;

    padding: 8px 16px;
    border-radius: 20px;

    transition: all 0.3s ease;
}

/* Hover */
.menu li a:hover {
    background: rgba(245, 197, 66, 0.15);
    color: #f5c542;
}

/* Active */
.menu li.current-menu-item a {
    background: rgba(245, 197, 66, 0.2);
    color: #f5c542;
}

/* ====== CTA ======== */
.nav-cta .btn-primary {
    padding: 10px 24px;
    background: linear-gradient(135deg, #f5c542, #ffb800);
    color: #000;

    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;

    transition: all 0.3s ease;
}

.nav-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 197, 66, 0.4);
}

/* ====== HAMBURGER ====== */
.hamburger {
    display: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

/* ======= MOBILE ======== */
@media (max-width: 768px) {

    .navbar {
        padding: 14px 20px;
    }

    .hamburger {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;

        background: rgba(5, 5, 20, 0.95);
        backdrop-filter: blur(10px);

        display: none;
        flex-direction: column;
        align-items: center;

        padding: 20px 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .menu {
        flex-direction: column;
        gap: 20px;
    }

    .nav-cta {
        display: none;
    }

    /* Mobile dropdown */
    .menu li ul {
        position: static;
        background: transparent;
        box-shadow: none;
        padding: 0;
        margin-top: 10px;

        opacity: 1;
        visibility: visible;
        transform: none;

        display: none;
    }

    /* Show when active */
    .menu li.active>ul {
        display: flex;
        flex-direction: column;
    }

    /* Slight indent */
    .menu li ul li a {
        padding-left: 30px;
        font-size: 14px;
    }
}


/* ============= DROPDOWN MENU ============== */

.menu li {
    position: relative;
}

/* Dropdown container */
.menu li ul {
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);

    display: block; 

    background: #0b0b1f; 
    padding: 10px 0;

    min-width: 240px;

    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.05);

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);

    opacity: 0;
    visibility: hidden;

    transition: all 0.3s ease;

    z-index: 999;
}

/* Show dropdown */
.menu li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Items */
.menu li ul li {
    list-style: none;
    width: 100%; 
}

/* Link style */
.menu li ul li a {
    display: block;
    padding: 12px 18px;

    background: transparent; 
    border-radius: 0;

    color: #dcdcff;
    font-size: 14px;
    font-weight: 500;

    transition: all 0.25s ease;
}

/* Hover */
.menu li ul li a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #f5c542;
    padding-left: 22px; 
}

/* Arrow */
.menu li.menu-item-has-children > a::after {
    content: "▾";
    margin-left: 6px;
    font-size: 12px;
    color: #f5c542;
}


/* ================= FOOTER ================= */
.site-footer {
    background: radial-gradient(circle at top, #0b0b2d, #05051a);
    padding: 80px 40px 20px;
    color: #ccc;
}

/* Grid */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #aaa;
    text-decoration: none;
}

.footer-col a:hover {
    color: #f5c542;
}

/* Bottom */
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float{
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  z-index: 9999;
  text-decoration: none;

  /* animation */
  animation: whatsappPulse 1.8s infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover{
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
}

@keyframes whatsappPulse{
  0%{
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70%{
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }
  100%{
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}