/* Google Fonts - Plus Jakarta Sans */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #333;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

.gold-text {
    color: #C8A036;
}

.btn-primary {
    background-color: #C8A036;
    border-color: #C8A036;
    color: white;
    padding: 8px 30px;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #A98A2D;
    border-color: #A98A2D;
}

.btn-dark {
    background-color: #111;
    border-color: #111;
    color: white;
    padding: 8px 30px;
    font-weight: 600;
}

.btn-dark:hover {
    background-color: #000;
    border-color: #000;
}

.btn-outline-dark {
    border-color: #111;
    color: #111;
    padding: 8px 30px;
    font-weight: 600;
}

.btn-outline-dark:hover {
    background-color: #111;
    color: white;
}

.rounded-pill {
    border-radius: 50px;
}

/* Navbar */
.navbar {
    padding: 15px 0;
    height: 80px;
    transition: background-color 0.3s ease;
}

/* Make navbar transparent by default on desktop */
@media (min-width: 992px) {
    .navbar {
        background-color: transparent;
    }
    
    .navbar.scrolled {
        background-color: #000;
    }
}

/* Keep navbar black on mobile */
@media (max-width: 991px) {
    .navbar {
        background-color: #000;
    }
}

.logo-background {
    position: absolute;
    width: 200px;
    height: 100px;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    top: 0;
    left: 45px;
}

.navbar-brand {
    position: relative;
    z-index: 1060;
}

/* Desktop Menu Styles */
@media (min-width: 992px) {
    .navbar-collapse {
        position: static;
        height: auto;
        background-color: transparent;
        box-shadow: none;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        padding-bottom: 0;
        width: auto;
    }
    
    .navbar-nav {
        display: flex;
        flex-direction: row;
        padding: 0;
        margin-left: auto; /* Push to the right */
    }
    
    .navbar-nav .nav-item {
        margin-bottom: 0;
        margin-left: 5px;
        position: relative;
    }
    
    .navbar-dark .navbar-nav .nav-link {
        color: rgba(255, 255, 255, 1); /* Pure white */
        font-weight: 500;
        padding: 10px 15px;
        font-size: 16px;
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
        letter-spacing: 0.5px;
    }
    
    /* Bottom line animation */
    .navbar-dark .navbar-nav .nav-link::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #C8A036;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    /* Background animation */
    .navbar-dark .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(200, 160, 54, 0.1); /* Very subtle gold background */
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.3s ease;
        z-index: -1;
    }
    
    .navbar-dark .navbar-nav .nav-link:hover {
        color: #C8A036;
        transform: translateY(-3px);
        text-shadow: 0 0 1px rgba(200, 160, 54, 0.5);
    }
    
    .navbar-dark .navbar-nav .nav-link:hover::before {
        transform: translateX(0);
    }
    
    .navbar-dark .navbar-nav .nav-link:hover::after {
        transform: scaleX(1);
        transform-origin: left;
    }
    
    .navbar-dark .navbar-nav .nav-link.active {
        color: #C8A036;
    }
    
    .navbar-dark .navbar-nav .nav-link.active::before {
        transform: translateX(0);
    }
    
    .dropdown-close {
        display: none; /* Hide close button on desktop */
    }
}

/* Mobile Menu Styles */
.navbar-toggler {
    margin-left: auto;
    border-color: rgba(255, 255, 255, 0.5);
    z-index: 1070; /* Higher z-index to stay above the dropdown */
    transition: all 0.3s ease;
    padding: 0.5rem;
    position: relative;
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

/* Hamburger Menu Styles */
.hamburger-menu {
    width: 24px;
    height: 18px;
    position: relative;
    transform: rotate(0deg);
    transition: 0.5s ease-in-out;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-menu .line {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger-menu .line-1 {
    top: 0;
}

.hamburger-menu .line-2 {
    top: 8px;
}

.hamburger-menu .line-3 {
    top: 16px;
}

/* Hamburger Animation - Active State */
.navbar-toggler[aria-expanded="true"] .hamburger-menu .line-1 {
    top: 8px;
    transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .hamburger-menu .line-2 {
    opacity: 0;
    transform: translateX(-20px);
}

.navbar-toggler[aria-expanded="true"] .hamburger-menu .line-3 {
    top: 8px;
    transform: rotate(-45deg);
}

/* Remove menu overlay */
.menu-overlay {
    display: none !important;
}

/* Mobile Menu Fixes */
@media (max-width: 991px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 80%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.95);
        z-index: 1050;
        padding: 100px 30px 30px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        overflow-y: auto;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    }
    
    .navbar-collapse.show {
        transform: translateX(0);
    }
    
    .navbar-nav {
        width: 100%;
        padding-top: 20px;
    }
    
    .navbar-nav .nav-item {
        margin-bottom: 20px;
        width: 100%;
        transform: translateY(20px);
        opacity: 0;
        transition: all 0.4s ease;
        transition-delay: 0.1s;
    }
    
    .navbar-collapse.show .navbar-nav .nav-item {
        transform: translateY(0);
        opacity: 1;
    }
    
    .navbar-collapse.show .navbar-nav .nav-item:nth-child(1) { transition-delay: 0.1s; }
    .navbar-collapse.show .navbar-nav .nav-item:nth-child(2) { transition-delay: 0.2s; }
    .navbar-collapse.show .navbar-nav .nav-item:nth-child(3) { transition-delay: 0.3s; }
    .navbar-collapse.show .navbar-nav .nav-item:nth-child(4) { transition-delay: 0.4s; }
    .navbar-collapse.show .navbar-nav .nav-item:nth-child(5) { transition-delay: 0.5s; }
    
    .navbar-dark .navbar-nav .nav-link {
        color: #fff !important;
        font-size: 20px;
        padding: 12px 0;
        display: block;
        width: 100%;
        position: relative;
        z-index: 1060;
        font-weight: 600;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-dark .navbar-nav .nav-link:hover,
    .navbar-dark .navbar-nav .nav-link.active {
        color: #C8A036 !important;
        transform: translateX(10px);
    }
    
    .navbar-dark .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background-color: #C8A036;
        transition: width 0.3s ease;
    }
    
    .navbar-dark .navbar-nav .nav-link:hover::after,
    .navbar-dark .navbar-nav .nav-link.active::after {
        width: 30px;
    }
    
    .dropdown-close {
        display: none; /* Hide the separate close button since we're animating the hamburger */
    }
}

/* Hero Section */
#hero {
    background: url('images/wallpaper-05.png') center/cover no-repeat;
    height: 100vh;
    position: relative;
    color: white;
    padding-top: 100px; /* For navbar */
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: rgba(0, 0, 0, 0.6);*/
    z-index: 1;
}

#hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    padding: 50px 0;
    text-align: right;
    margin-left: auto; /* Push content to the right */
}

.hero-content h1 {
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content h1 span {
    font-size: 60px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-content .btn-container {
    display: flex;
    justify-content: flex-end;
}

/* Package Navigation */
#package-nav {
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

.package-nav-item {
    text-align: center;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.package-nav-item.active {
    border-bottom: 3px solid #C8A036;
    font-weight: 600;
}

.package-nav-item:hover {
    border-bottom: 3px solid #C8A036;
}

.package-nav-item span {
    font-size: 16px;
}

/* Package Section */
#umroh-package {
    padding: 80px 0;
}

/* Package Cards */
.package-card {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.package-image {
    position: relative;
    overflow: hidden;
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background-color: #ffffff;
}

.package-image img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: top;
    transition: transform 0.5s ease;
    background-color: #ffffff;
}

.package-card:hover .package-image img {
    transform: scale(1.05);
}

.promo-tag {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color: #ffc107;
    color: #000;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 2;
}

.package-days {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    text-align: center;
    font-weight: bold;
    z-index: 2;
}

/* Add shadow to the tags to make them stand out against any background */
.promo-tag, .package-days {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.package-days span {
    display: block;
    font-size: 18px;
    line-height: 1;
}

.package-days small {
    font-size: 12px;
    opacity: 0.9;
}

.package-title {
    padding: 15px;
    font-weight: bold;
    font-size: 14px;
    color: #333;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.package-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.package-date {
    font-size: 11px;
    color: #666;
    display: flex;
    align-items: center;
}

.package-date i {
    color: #d4af37;
    margin-right: 5px;
}

.package-location {
    font-size: 14px;
    color: #444;
    display: flex;
    align-items: center;
    gap: 5px;
}

.location-icon, .flight-icon {
    color: #d4af37;
}

.info-grid {
    display: flex;
    justify-content: space-between;
    margin: 8px 0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-icon {
    color: #d4af37;
    font-size: 16px;
}

.hotel-container {
    background-color: #ededed;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
    position: relative;
    border-left: 3px solid #d4af37;
}

.hotel-container::before {
    content: 'Akomodasi';
    position: absolute;
    top: -10px;
    left: 10px;
    background-color: #d4af37;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 10px;
    border-radius: 3px;
}

.hotel-info {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
    padding: 5px;
    border-radius: 4px;
    background-color: transparent;
}

.hotel-info:last-child {
    margin-bottom: 0;
}

.hotel-icon {
    color: #d4af37;
    font-size: 16px;
    margin-top: 3px;
}

.hotel-details {
    font-size: 14px;
    color: #666;
}

.hotel-name {
    font-weight: 600;
    color: #333;
}

.package-price {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed #e5e5e5;
}

.price-label {
    font-size: 12px;
    color: #666;
}

.price-value {
    font-size: 18px;
    font-weight: bold;
    color: #d4af37;
}

/* Promo Section */
#promo {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.promo-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #111;
}

.promo-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.promo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Call to Action Section */
#cta {
    padding: 80px 0;
    background-color: white;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111;
}

.cta-content p {
    color: #666;
    font-size: 16px;
    margin-bottom: 20px;
}

.cta-image {
    border-radius: 10px;
    overflow: hidden;
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); */
}

/* Testimonial Section */
#testimonial {
    background-color: #f8f9fa;
    padding: 80px 0;
}

/* Testimonial Carousel */
.testimonial-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    padding: 30px 0;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
    position: relative;
    will-change: transform;
}

.testimonial-card {
    position: relative;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px 20px 20px;
    margin-top: 30px;
    min-width: calc(33.333% - 20px);
    flex: 0 0 calc(33.333% - 20px);
    transition: all 0.3s ease;
    height: auto;
}

/* Ensure consistent height for testimonial cards */
.testimonial-content {
    min-height: 120px;
    display: flex;
    align-items: center;
}

.testimonial-profile {
    text-align: center;
    margin-bottom: 20px;
}

.profile-pic {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #C8A036;
    margin-top: -65px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-profile h5 {
    margin-top: 10px;
    font-weight: 600;
    color: #111;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.carousel-control {
    background-color: #C8A036;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 15px;
}

.carousel-control:hover {
    background-color: #111;
}

.pagination {
    display: flex;
    justify-content: center;
    margin: 0 10px;
}

.page-bullet {
    width: 10px;
    height: 10px;
    background-color: #ddd;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-bullet.active {
    background-color: #C8A036;
    transform: scale(1.3);
}

/* Responsive Carousel */
@media (max-width: 992px) {
    .testimonial-card {
        min-width: calc(50% - 15px);
        flex: 0 0 calc(50% - 15px);
    }
    
    .testimonial-content {
        min-height: 140px;
    }
}

@media (max-width: 576px) {
    .testimonial-card {
        min-width: 100%;
        flex: 0 0 100%;
    }
    
    .carousel-track {
        gap: 20px;
    }
    
    .testimonial-content {
        min-height: 100px;
    }
    
    .carousel-controls {
        margin-top: 20px;
    }
}

/* Footer */
footer {
    background-color: #111;
    color: white;
    padding: 60px 0 30px;
}

footer h5 {
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.social-icons a {
    color: white;
    font-size: 18px;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #C8A036;
}

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

/* Responsive */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 40px;
    }
    
    .hero-content h1 span {
        font-size: 48px;
    }
    
    .logo-background {
        width: 150px;
        height: 130px;
        padding-top: 15px;
    }
    
    .navbar-toggler {
        position: absolute;
        right: 15px;
        top: 20px;
        z-index: 1080;
    }
    
    .navbar-collapse {
        padding-bottom: 80px;
    }
    
    .package-info {
        margin-top: 40px;
        text-align: center;
    }
    
    .promo-content {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .cta-content {
        text-align: center;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    /* Hero section height adjustment for mobile */
    #hero {
        height: 400px;
        min-height: 400px;
    }
    
    /* Adjust spacing for the hero content */
    .hero-content {
        padding: 20px 0;
        text-align: center;
        margin-left: 0;
    }
    
    /* Package navigation adjustments */
    #package-nav {
        position: relative;
        top: -50px; /* Move up to overlap with hero section */
        margin-bottom: -50px; /* Compensate for the negative top */
        background-color: rgba(255, 255, 255, 1);
    }
    
    /* Make package navigation items appear in a single row */
    .package-nav-item {
        padding: 10px 5px;
        font-size: 14px;
        white-space: nowrap;
    }
    
    .package-nav-item span {
        font-size: 12px;
    }
    
    .logo-background {
        width: 120px;
        height: 120px;
        padding-top: 10px;
    }
    
    .hero-content .btn-container {
        justify-content: center;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content h1 span {
        font-size: 38px;
    }
    
    #umroh-package {
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    #hero {
        height: 400px;
        padding-top: 80px;
    }
    
    .hero-content {
        padding: 10px 0;
    }
    
    .hero-content h1 {
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .hero-content h1 span {
        font-size: 34px;
    }
    
    .hero-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    #package-nav {
        top: -40px;
        margin-bottom: -40px;
    }
    
    .package-nav-item {
        padding: 8px 2px;
    }
    
    .package-nav-item span {
        font-size: 11px;
    }
    
    .logo-background {
        width: 100px;
        height: 100px;
        padding-top: 5px;
        left: 15px;
    }
    
    .navbar-toggler {
        top: 15px;
        right: 15px;
    }
    
    .col-md-4 {
        margin-bottom: 30px;
    }
    
    #umroh-package {
        padding: 20px 0;
    }
}

/* Responsive Styles for Package Cards */
@media (max-width: 992px) {
    .package-image {
        height: 200px;
    }
    
    .package-location {
        justify-content: center;
    }
    
    .package-date {
        justify-content: center;
    }
    
    .info-grid {
        justify-content: center;
        gap: 30px;
    }
    
    .package-price {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .package-image {
        height: 180px;
    }
    
    .package-title {
        font-size: 13px;
        padding: 12px;
        text-align: center;
    }
    
    .package-info {
        padding: 12px;
        gap: 10px;
    }
    
    .package-location {
        justify-content: center;
    }
    
    .date-container {
        text-align: center;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #C8A036;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #A98A2D;
    transform: translateY(-3px);
}

/* Fix testimonial carousel */
.testimonial-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    padding: 30px 0;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
    position: relative;
}

.testimonial-card {
    position: relative;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px 20px 20px;
    margin-top: 30px;
    flex: 0 0 calc(33.333% - 20px);
    transition: all 0.3s ease;
}

@media (max-width: 992px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 576px) {
    .testimonial-card {
        flex: 0 0 100%;
    }
} 