/* General Styles */
:root {
    --primary-color: #0051a1;
    --secondary-color: #f3f3f3;
    --accent-color: #ffc107;
    --text-color: #333;
    --light-text: #fff;
    --dark-bg: #002552;
    --border-radius: 6px;
    --box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
}

/* Typography */
h1, h2 {
    font-family: 'Helvetica Neue', 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 100; /* Thin font weight */
    letter-spacing: -0.5px;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
}

.section-title {
    color: var(--primary-color);
    font-weight: 100; /* Thin font weight for section titles */
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

/* Navbar Styles */
header {
    transition: all 0.3s ease;
}

header.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: var(--box-shadow);
}

header.fixed-header .navbar-brand-container {
    padding: 5px 15px;
}

header.fixed-header .navbar-nav .nav-link {
    padding: 15px 15px !important;
}

header .navbar {
    padding: 0;
}

.navbar-brand-container {
    background-color: #fff;
    padding: 15px 25px;
    /*border-radius: 0 0 var(--border-radius) var(--border-radius);*/
    border-radius: 0 0 25px 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    padding: 0;
}

.navbar {
    background-color: var(--primary-color);
}

.navbar-nav .nav-link {
    color: var(--light-text) !important;
    padding: 20px 15px !important;
    font-weight: 500;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Section */


#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    /*background-color: rgba(0, 81, 161, 0.8);*/ /* Semi-transparent primary color */
    border-radius: 0 50% 50% 0;
    z-index: 0;
}

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

.hero-title {
    font-size: 3rem;
    font-weight: 100; /* Thin font weight to match other headings */
    margin-bottom: 1.2rem;
    margin-top: 5rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Packages Category */
#packages-category {
    margin-top: -70px;
    position: relative;
    z-index: 100;
}

.packages-tabs {
    background-color: #000;
    border-radius: 80px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 100;
}

.package-tab {
    flex: 1;
    text-align: center;
    color: var(--light-text);
    padding: 15px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.package-tab:hover,
.package-tab.active {
    background-color: var(--dark-bg);
}

/* Packages Section */
#packages {
    padding: 60px 0;
}

.package-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.package-image {
    position: relative;
    overflow: hidden;
}

.package-image img {
    width: 100%;
    transition: transform 0.5s ease;
}

/* Base styling untuk semua ukuran layar */
.package-card:hover .package-image img {
    transform: scale(1.05);
}

.package-days {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    line-height: 1;
    z-index: 10;
}

.package-days span {
    font-size: 1.2rem;
    font-weight: 700;
}

.package-days small {
    font-size: 0.7rem;
    opacity: 0.9;
}

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

.package-details h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1.3;
    min-height: 40px;
}

/* Package Card - Features */
.package-features {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    display: flex;
    flex-wrap: wrap;
}

.package-features li {
    background-color: rgba(0, 81, 161, 0.08);
    color: var(--primary-color);
    font-size: 0.75rem;
    padding: 5px 10px;
    border-radius: 20px;
    margin-right: 8px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.package-features li i {
    margin-right: 4px;
    font-size: 0.7rem;
}

/* Package Price */
.package-price {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    padding-top: 12px;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.package-price span {
    font-size: 0.7rem;
    color: #777;
    margin-bottom: 3px;
}

.package-price h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

/* Package Card - List Style Info Items */
.package-info {
    display: block;
    padding: 12px 15px;
    margin-bottom: 15px;
    background-color: rgba(0, 81, 161, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(0, 81, 161, 0.08);
}

.package-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    position: relative;
    padding-left: 26px;
    width: 100%;
}

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

.package-info-item i {
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 2px;
    transform: none;
    width: 18px;
    text-align: center;
    font-size: 0.85rem;
}

.package-info-item div {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.package-info-item span {
    font-size: 0.7rem;
    color: #777;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    font-weight: 500;
}

.package-info-item strong {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.3;
}

/* Improved Hotel Info Section */
.hotel-info {
    display: flex;
    margin-bottom: 12px;
    padding: 10px;
    background-color: rgba(0, 81, 161, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(0, 81, 161, 0.08);
}

.hotel-column {
    flex: 1;
    padding: 0 5px;
}

.package-info-title {
    font-size: 0.7rem;
    color: #777;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.hotel-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-color);
}

.hotel-location {
    font-size: 0.8rem;
    color: #666;
    display: flex;
    align-items: center;
}

.hotel-location::before {
    content: "\f3c5";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 5px;
    font-size: 0.7rem;
    color: #999;
}

/* Promo Section */
#promo {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 90px 0;
}

.promo-card {
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    width: 90%;
    margin: 0 auto 30px;
    position: relative;
}

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

.promo-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

/* About Section */
#about {
    padding: 80px 0;
}

/* Testimonial Section */
#testimonial {
    background-color: var(--secondary-color);
    padding: 80px 0;
}

.testimonial-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 30px 20px;
    box-shadow: var(--box-shadow);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-top: 60px;
}

.testimonial-profile {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid var(--primary-color);
}

.testimonial-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    color: #666;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 60px 0 30px;
}

footer h5 {
    color: var(--light-text);
    font-weight: 600;
    margin-bottom: 20px;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--light-text);
}

.social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    color: var(--light-text);
    margin-right: 10px;
    transition: background-color 0.3s;
}

.social-icons a:hover {
    background-color: var(--accent-color);
    color: var(--text-color);
}

/* Copyright */
.copyright {
    background-color: var(--dark-bg);
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive */
@media (max-width: 991px) {
    #hero::before {
        width: 100%;
        border-radius: 0;
    }
    
    /* Add padding to hero container on tablet */
    #hero .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    /* Mobile navbar styling with skewed shape */
    .navbar-brand-container {
        background-color: #fff;
        padding: 10px 30px 10px 15px; /* Add more padding on the right to accommodate skew */
        margin: 8px 0;
        transform: skew(-15deg);
        border-radius: 0;
        position: relative;
        overflow: hidden;
        box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
    }
    
    /* Add a subtle accent to the skewed shape */
    .navbar-brand-container::after {
        content: '';
        position: absolute;
        top: 0;
        left: -5px;
        height: 100%;
        width: 8px;
        background-color: rgba(0, 255, 255, 0.6);
        transform: skew(15deg);
    }
    
    /* Add a second accent line on the right */
    .navbar-brand-container::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
        width: 3px;
        background-color: rgba(0, 81, 161, 0.3); /* Primary color with transparency */
        transform: skew(15deg);
    }
    
    /* Keep the logo straight */
    .navbar-brand {
        transform: skew(15deg);
        display: block;
        position: relative;
        z-index: 1;
        padding-right: 10px; /* Add some extra space on the right */
    }
    
    .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
        background-color: rgba(255, 255, 255, 0.2);
        border-radius: 5px;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
    }
    
    /* Custom hamburger icon color */
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    
    .navbar-nav .nav-link {
        padding: 12px 15px !important;
    }

    /* Mobile menu styles */
    body.menu-open {
        overflow: hidden;
    }

    .navbar-collapse {
        position: fixed;
        top: 70px;
        left: 0;
        padding: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--primary-color);
        z-index: 999;
        overflow-y: auto;
        transition: transform 0.3s ease;
        transform: translateX(-100%);
        box-shadow: 3px 0 15px rgba(0, 0, 0, 0.2);
    }

    body.menu-open .navbar-collapse {
        transform: translateX(0);
    }

    .navbar-nav {
        padding: 20px;
    }

    .promo-card {
        width: 85%;
    }

    .navbar-nav .nav-link {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 15px 20px !important;
        font-weight: 400;
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        background-color: rgba(0, 255, 255, 0.1);
        color: rgba(0, 255, 255, 0.9) !important;
    }
    
    .navbar-nav .nav-link.active {
        border-left: 4px solid rgba(0, 255, 255, 0.8);
    }

    #hero {
        height: 600px;
        padding: 80px 0;
    }
    
    .hero-title {
        margin-top: 3rem;
        font-size: 2.6rem;
    }

    .package-info-item {
        margin-bottom: 10px;
        padding-left: 22px;
    }
    
    .hotel-info {
        flex-direction: column;
        padding: 12px;
    }
    
    .hotel-column:first-child {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        padding-right: 0;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }
    
    .hotel-column:last-child {
        padding-left: 0;
    }
    
    .package-features {
        justify-content: flex-start;
    }
    
    .package-features li {
        margin-bottom: 6px;
        font-size: 0.8rem;
    }
}

@media (max-width: 767px) {
    /* Add padding to hero container on mobile */
    #hero .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .package-card,
    .testimonial-card,
    .promo-card {
        margin-bottom: 40px;
    }
    
    #packages .col-lg-4 {
        margin-bottom: 40px;
    }
    
    #packages-category {
        margin-top: -50px;
    }
    
    .packages-tabs {
        border-radius: 50px;
    }
    
    .package-tab {
        padding: 12px 8px;
        font-size: 0.9rem;
    }

    .promo-card {
        width: 80%;
        margin-bottom: 40px;
    }

    .package-info, .hotel-info, .package-price {
        padding: 10px;
    }
    
    .package-details h3 {
        font-size: 1rem;
    }

    .package-card {
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }

    .package-image {
        height: auto;
    }
    
    .package-image img {
        height: 180px;
        object-fit: cover;
    }
}

@media (max-width: 576px) {
    /* Container padding for all sections on small mobile */
    .container {
        padding-left: 40px;
        padding-right: 40px;
    }

    /*khusus untuk hero banner*/
        .align-items-center{
            padding-right:160px;
            padding-top: 90px;
        }
    
    .navbar-brand-container {
        max-width: 75%; /* Increased from 70% to accommodate skew */
        padding: 8px 25px 8px 15px; /* More padding on the right */
        transform: skew(-12deg); /* Slightly less skewed for smaller screens */
    }
    
    .navbar-brand {
        transform: skew(12deg);
    }
    
    .navbar-brand img {
        height: 35px;
    }
    
    .navbar-toggler {
        padding: 0.2rem 0.4rem;
    }
    
    #hero {
        height: 500px;
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    #packages-category {
        margin-top: -40px;
    }

    .hotel-info {
        padding: 10px 8px;
        flex-direction: row;
    }
    
    .hotel-column:first-child {
        border-right: 1px solid rgba(0, 0, 0, 0.08);
        border-bottom: none;
        padding-right: 8px;
        padding-bottom: 0;
        margin-bottom: 0;
    }
    
    .hotel-column:last-child {
        padding-left: 8px;
    }
    
    .package-card .package-details {
        padding: 15px 10px;
    }
    
    .package-info {
        padding: 8px;
    }
    
    .package-info-item {
        padding-left: 20px;
    }
    
    .package-info-item i {
        font-size: 0.8rem; /* Further reduced for mobile */
    }
    
    .package-info-item span {
        font-size: 0.65rem; /* Further reduced for mobile */
        min-width: 80px; /* Smaller min-width for mobile */
    }
    
    .package-info-item strong {
        font-size: 0.8rem; /* Further reduced for mobile */
    }
    
    .package-features {
        margin-bottom: 15px;
    }
    
    .package-features li {
        font-size: 0.75rem;
        padding: 4px 8px;
        margin-right: 5px;
        margin-bottom: 5px;
    }
    
    .package-price {
        padding: 8px 10px;
    }
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--light-text);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: var(--dark-bg);
    border-color: var(--dark-bg);
}

.btn-warning {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--text-color);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 500;
}

.btn-warning:hover {
    background-color: #e0a800;
    border-color: #e0a800;
}

.btn-outline-light {
    border-color: var(--light-text);
    color: var(--light-text);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 500;
}

.btn-outline-light:hover {
    background-color: var(--light-text);
    color: var(--primary-color);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
    opacity: 0.8;
}

::-webkit-scrollbar-thumb:hover {
    background: #0046a3;
}

/* Modern Button Styling */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 6px;
    font-weight: 500;
    padding: 8px 20px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 81, 161, 0.2);
}

.btn-primary:hover {
    background-color: #0046a3;
    border-color: #0046a3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 81, 161, 0.3);
}

.btn-warning {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
    border-radius: 6px;
    font-weight: 500;
    padding: 8px 20px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(224, 113, 4, 0.2);
}

.btn-warning:hover {
    background-color: #d06503;
    border-color: #d06503;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(224, 113, 4, 0.3);
}

/* Package Card Additional Enhancements */
.package-card .package-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    pointer-events: none;
    z-index: 5;
}

.package-details h3 b {
    font-weight: 700;
    color: var(--primary-color);
}

/* Media queries for better responsiveness */
@media (max-width: 992px) {
    .package-days {
        font-size: 0.9rem;
        padding: 4px 8px;
    }
    
    .package-details h3 {
        font-size: 0.9rem;
    }
    
    .package-info-item strong {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .package-card {
        margin-bottom: 20px;
    }
    
    .col-md-4 {
        margin-bottom: 20px;
    }
}

/* Theme highlights */
::selection {
    background-color: var(--primary-color);
    color: white;
}

/* Media query untuk mobile, mempertahankan tampilan yang sudah bagus */
@media (max-width: 768px) {
    .package-image img {
        height: 180px; /* Kembalikan fixed height untuk mobile */
        object-fit: cover; /* Tetap gunakan cover untuk mobile */
    }
}

/* Penyesuaian untuk tablet */
@media (min-width: 768px) and (max-width: 991px) {
    .package-image {
        position: relative;
        width: 100%;
        padding-top: 65%; /* Aspect ratio untuk tablet */
        overflow: hidden;
    }
    
    .package-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .package-card {
        height: 100%;
    }
}

/* Penyesuaian untuk desktop */
@media (min-width: 992px) {
    .package-card {
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    
    .package-details {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding: 18px;
    }
    
    /* Penyempurnaan tampilan banner */
    .package-image {
        position: relative;
        width: 100%;
        padding-top: 60%; /* Aspect ratio yang lebih tinggi untuk menampilkan banner penuh */
        overflow: hidden;
    }
    
    .package-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* Penyesuaian untuk package-days */
    .package-days {
        bottom: 15px;
        right: 15px;
        padding: 6px 12px;
    }
    
    .package-days span {
        font-size: 1.3rem;
    }
    
    .package-days small {
        font-size: 0.8rem;
    }
    
    /* Pastikan semua card dalam satu baris memiliki tinggi yang sama */
    .row.equal-height {
        display: flex;
        flex-wrap: wrap;
    }
    
    .row.equal-height > [class*='col-'] {
        display: flex;
        flex-direction: column;
    }
}

/* Penyesuaian untuk layar yang lebih besar */
@media (min-width: 1200px) {
    .package-image {
        padding-top: 56.25%; /* 16:9 Aspect Ratio untuk layar besar */
    }
    
    .container {
        max-width: 1140px;
    }
} 