/* Custom Styles for Jasa Website Makassar */

/* Desktop Navigation - Hidden by default, only show on desktop */
.desktop-nav {
    display: none !important;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex !important;
        align-items: center;
        gap: 2.5rem;
    }
}

.floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 50;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.popup-overlay.active .popup-content {
    transform: translateY(0);
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 1.5rem;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #E63946;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    cursor: pointer;
    width: 24px;
    height: 24px;
    transition: all 0.25s;
    position: relative;
}

.hamburger-top,
.hamburger-middle,
.hamburger-bottom {
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: #1D3557;
    transform: rotate(0);
    transition: all 0.5s;
}

.hamburger-middle {
    transform: translateY(7px);
}

.hamburger-bottom {
    transform: translateY(14px);
}

.open .hamburger-top {
    transform: rotate(45deg) translateY(6px) translate(6px);
}

.open .hamburger-middle {
    display: none;
}

.open .hamburger-bottom {
    transform: rotate(-45deg) translateY(6px) translate(-6px);
}

.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.mobile-menu.open {
    max-height: 500px;
}

.mobile-menu.hidden {
    display: none;
}

.mobile-menu.open.hidden {
    display: block;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.badge {
    position: absolute;
    top: -10px;
    right: 20px;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-weight: bold;
    font-size: 0.75rem;
    text-transform: uppercase;
}

@media (min-width: 1536px) {
  .container {
    max-width: 1200px!important;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1200px!important;
  }
}
