/* Font imports */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Lora:wght@400;700&family=Roboto:wght@300;400;500;700&family=Montserrat:wght@500;700&display=swap');
@import url("https://use.typekit.net/uuo8gva.css");
@import url("https://use.typekit.net/uuo8gva.css");
/* Root variables */
:root {
    --primary-color: #0056b3;
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --light-text-color: #666;
    --white: #fff;
    --dark: #333;
}

/* Global styles */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    font-size: 16px;
}

h1, h2, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

p, a, input, textarea, button{
    font-family: "proxima-nova", sans-serif;
    font-weight: 400;
    font-style: normal;
}
ul li {
    font-family: "proxima-nova", sans-serif;
    font-weight: 400;
    font-style: normal;
}

h3{
    font-family: "minion-pro", serif;
    font-weight: 700;
    font-style: normal;
}

/* Navbar styles */
.navbar {
    padding: 1rem 2rem;
    background-color: rgba(53, 53, 53, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background-color 0.3s ease;
}

.navbar-brand img {
    width: 200px;
}

.nav-link {
    font-family: "proxima-nova", sans-serif;
    color: var(--white);
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link:focus {
    color: #f0f0f0;
}

/* Hero section styles */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    padding: 2rem 0;
    width: 100%;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero .lead {
    font-family: "proxima-nova", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Footer styles */
footer {
    background-color: #002944;
    color: var(--white);
    padding: 4rem 0 2rem;
}

footer h4 {
    font-family: 'Lora', serif;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

footer p, footer a {
    font-size: 0.9rem;
    color: #ccc;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--white);
    text-decoration: none;
}

footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: none;
    z-index: 99;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    background: var(--primary-color);
    color: #ffffff;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background: #004494;
}

/* Custom title and description */
.tittle-1 {
    font-weight: 600;
}

.Descriptiuon1 {
    font-family: 'Lora', serif;
    font-size: 1rem;
}

/* Detail travel */
.detail-travel {
    background-image: url("data:image/svg+xml,<svg id='patternId' width='100%' height='100%' xmlns='http://www.w3.org/2000/svg'><defs><pattern id='a' patternUnits='userSpaceOnUse' width='120' height='27' patternTransform='scale(5) rotate(165)'><rect x='0' y='0' width='100%' height='100%' fill='hsla(203.8235294117647, 100%, 13.333333333333334%, 1)'/><path d='M-50.129 12.685C-33.346 12.358-16.786 4.918 0 5c16.787.082 43.213 10 60 10s43.213-9.918 60-10c16.786-.082 33.346 7.358 50.129 7.685'  stroke-width='0.5' stroke='hsla(203.8235294117647, 98.16429554841667%, 19.194733980575513%, 1)' fill='none'/></pattern></defs><rect width='800%' height='800%' transform='translate(0,0)' fill='url(%23a)'/></svg>")
}

/* Custom button */
.custom-button {
    font-family: 'Lora', serif;
    background-color: transparent;
    border: 1px solid white;
    border-radius: 0;
    padding: 10px;
    color: #edf8ff;
    font-weight: 600;
}

.custom-button:hover {
    background-color: white;
    border-radius: 0;
    padding: 10px;
    color: #10415f;
    font-weight: 800;
}

/* Carousel image zoom */
.carousel-item img {
    cursor: pointer;
}

.modal-content {
    background-color: transparent;
    border: none;
}

.modal-header {
    border: none;
    padding: 0;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1050;
}

.modal-header .close {
    font-size: 2rem;
    color: white;
    opacity: 1;
    text-shadow: 0 0 3px rgba(0,0,0,0.5);
}

.modal-body {
    padding: 0;
}

.modal-body img {
    width: 100%;
    height: auto;
}

/* ---------------------Parallax effect --------------------*/
/* Efek Paralaks */
.paralaxContainer {
    position: relative;
    width: 100%;
    overflow: hidden;
    z-index: 0;
}

.paralaxBG {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    filter: brightness(50%);  /* Tetap mempertahankan ini sesuai permintaan */
    z-index: 1;
}

/* Untuk desktop: Gunakan background-attachment: fixed */
@media (min-width: 1025px) {
    .paralaxBG {
        background-attachment: fixed;
    }
}

/* Untuk tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    .paralaxBG {
        background-attachment: scroll;
        background-size: 100% auto;  /* Menyesuaikan ukuran gambar */
    }
}

/* Untuk mobile */
@media (max-width: 767px) {
    .paralaxBG {
        background-attachment: scroll;
        background-size: auto 100%;  /* Menyesuaikan ukuran gambar */
        background-position: center top;  /* Memastikan bagian atas gambar selalu terlihat */
    }
}

.content {
    position: relative;
    z-index: 2;
    padding: 20px;
    height: 100%;
}

/* Penyesuaian responsif */
@media (max-width: 768px) {
    .paralaxContainer {
        padding: 40px 0;
    }

    .content {
        padding: 10px;
    }

    .tittle-1 {
        font-size: 2rem;
    }

    .card-blur {
        margin-top: 20px;
    }
}
/* ---------------------Parallax effect end --------------------*/

/* Form input styles */
.form-control {
    background-color: #ffffff;
    border: none;
    border-radius: 0;
}

.btn-submit {
    background-color: #fff;
    color: #333;
    border: 2px solid #333;
    border-radius: 0;
    padding: 10px 30px;
    font-weight: bold;
    font-family: "proxima-nova", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.btn-submit:hover {
    background-color: #333;
    color: #fff;
}

/* Custom subscribe form */
.card-blur {
    background: rgba(255, 255, 255, 0.438);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.custom-input {
    background: rgb(255, 255, 255);
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    color: rgb(75, 75, 75);
}

.custom-input::placeholder {
    color: rgba(53, 53, 53, 0.7);
}

.custom-btn {
    background: transparent;
    width: 100%;
    border: 1px solid white;
    border-radius: 0;
    color: white;
    font-weight: bold;
    transition: all 0.3s ease;
    font-family: "proxima-nova", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.custom-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Custom design destination */
.booking-container {
    display: flex;
    justify-content: center;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.booking-form {
    display: flex;
    align-items: center;
    background-color: #f0f0f0;
    border-radius: 50px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.select-wrapper {
    position: relative;
    margin-right: 10px;
}

.select-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    width: 200px;
}

.dropdown-menu {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 1050;
    overflow-y: auto;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px 20px;
}

.dropdown-item:hover {
    background-color: #f0f0f0;
}

.dropdown-item.selected {
    background-color: #e8f0fe;
    color: #1a73e8;
}

.dropdown-item span {
    margin-left: 10px;
}

.date-menu {
    width: 300px;
}

.date-item {
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.date-item:not(.sold-out):hover {
    background-color: #f0f0f0;
}

.date-item.sold-out {
    opacity: 0.7;
    cursor: not-allowed;
}

.date {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

.date-info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.info-item {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.available { background-color: #e6f4ea; color: #137333; }
.sold { background-color: #fce8e6; color: #c5221f; }
.hold { background-color: #e8f0fe; color: #1a73e8; }
.sold-out { background-color: #f1f3f4; color: #5f6368; }

.book-button {
    background-color: #002944;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 10px 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.book-button:hover {
    background-color: #003f69;
}

/* Social icon styles */
.social-icon {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 15px;
    border-radius: 10px;
    display: inline-block;
    margin-right: 10px;
    transition: background-color 0.3s ease-in-out;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
}

.social-icon:last-child {
    margin-right: 0;
}

.social-icon:hover {
    background-color: #d4d4d4;
    color: #0056b3;
}

.social-icon a {
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.social-icon a:hover, .social-icon a:focus {
    text-decoration: none;
}

/* Header cover (outside home) */
.header-image {
    height: 40vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}

.header-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.header-image .container {
    position: relative;
    z-index: 1;
}

.header-image h1, .header-image p {
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.header-image h1 {
    font-size: 3rem;
    font-weight: bold;
}

.header-image p {
    font-size: 1.2rem;
}

/* Responsive styles */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero .lead {
        font-size: 1.25rem;
    }

    .navbar-brand img {
        width: 200px;
    }

    footer {
        text-align: center;
    }

    .header-image h1 {
        font-size: 2rem;
    }

    .header-image p {
        font-size: 1rem;
    }

    /* Stack the destination and date buttons vertically */
    .booking-form {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .select-wrapper {
        margin-right: 0;
        margin-bottom: 10px;
        width: 100%;
    }

    .select-button {
        width: 100%;
        border-radius: 15px;
    }

    /* Fullscreen dropdown for mobile */
    .dropdown-menu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100% - 60px);
        background-color: white;
        z-index: 1000;
        overflow-y: auto;
        padding: 20px;
        border-radius: 15px;
    }

    .dropdown-item {
        font-size: 18px;
        padding: 15px 20px;
        border-radius: 10px;
    }

    .dropdown-item i {
        font-size: 20px;
    }

    /* Adjust the book button for mobile */
    .book-button {
        width: 100%;
        margin-top: 10px;
        border-radius: 20px;
    }

    /* Adjust the card layout and width */
    .booking-container {
        padding: 20px;
        width: 100%;
    }

    .booking-form {
        border-radius: 20px;
        padding: 15px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
        background-color: #f8f8f8;
    }
}

/* Styles for smaller desktop screens */
@media (min-width: 769px) and (max-width: 1024px) {
    .dropdown-menu {
        max-height: 250px;
        top: 100%;
    }

    .section-below-dropdown {
        padding-top: 20px;
    }
}

/* Styles for larger desktop screens */
@media (min-width: 1025px) {
    .dropdown-menu {
        max-height: 300px;
    }
}

/* Modal styles */
.modal {
    z-index: 1060;
}

.modal-backdrop {
    z-index: 1050;
}

.modal, .modal-backdrop {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.modal-content {
    background-color: white;
}


/* --------------Gallery foto-------------------- */
.gallery-container {
    padding: 20px 0;
}
.gallery-item {
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}
.gallery-item:hover {
    transform: scale(1.02);
}
.gallery-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    cursor: pointer;
}
.modal-content {
    background-color: transparent;
    border: none;
}
.carousel-item img {
    max-height: 95vh;
    max-width: 95vw;
    width: auto;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}
.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    padding: 15px;
}

.modal-dialog {
    max-width: 50vw;
    margin: 1.75rem auto;
}

.modal-body {
    padding: 0;
}

/* Media query for mobile devices */
@media (max-width: 767px) {
    .gallery-item {
        margin-bottom: 15px;
    }
    
    .gallery-img {
        border-radius: 3px;
    }
    
    .modal-dialog {
        margin: 0.5rem auto;
        max-width: 98vw;
    }
    
    .carousel-item img {
        max-height: 80vh;
        max-width: 98vw;
    }
    
    .carousel-control-prev-icon, .carousel-control-next-icon {
        padding: 10px;
    }
    
    /* Optional: Adjust font sizes for mobile if needed */
    .modal-title {
        font-size: 1.2rem;
    }
}

/* Additional media query for very small devices */
@media (max-width: 380px) {
    .carousel-item img {
        max-height: 70vh;
    }
    
    .carousel-control-prev-icon, .carousel-control-next-icon {
        padding: 8px;
    }
}


/* --------------location image icon etc for location design --------------- */

.location-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
}
.icon-list {
    list-style-type: none;
    padding-left: 0;
}
.icon-list li {
    margin-bottom: 10px;
}
.icon-list i {
    margin-right: 10px;
    color: #002944;
}


/* --------------------------- */
/* ----------book a trip------ */
/* --------------------------- */
.section {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    padding: 2rem;
}
.section-title {
    font-size: 1.8rem;
    color: #04203d;
    border-bottom: 2px solid #04203d;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}
.subsection-title {
    font-size: 1.4rem;
    color: #28a745;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}
.cabin-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.cabin-card:hover {
    transform: translateY(-5px);
}
.price-tag {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff;
    background-color: #28a745;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 1rem;
}
.info-list {
    padding-left: 1.5rem;
    list-style-type: none;
}
.info-list li {
    margin-bottom: 0.5rem;
}
.info-list li i {
    margin-right: 0.5rem;
    color: #04203d;
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* book a trip card */
.card-img-top {
    height: 350px;
    object-fit: cover;
}
.card-title {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}


/* book a trip calendar */
.custom-booking-container {
    display: flex;
    justify-content: center;
    padding-bottom: 20px;
    font-family: Arial, sans-serif;
}

.custom-booking-form {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.custom-destination-group {
    margin-bottom: 30px;
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.custom-destination-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #002944;
    border-bottom: 2px solid #002944;
    padding-bottom: 15px;
    display: flex;
    align-items: center;
}

.custom-date-item {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-date-item:not(.custom-sold-out):hover {
    background-color: #e8f0fe;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.custom-date-item.selected {
    background-color: #e8f0fe;
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px #1a73e8;
}

.custom-date {
    font-weight: bold;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.custom-date-info {
    display: flex;
    gap: 15px;
}

.custom-info-item {
    font-size: 0.9rem;
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.custom-book-button {
    background-color: #002944;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 12px 35px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-top: 25px;
}

.custom-book-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.custom-legend {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    margin-top: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.custom-legend-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #002944;
    display: flex;
    align-items: center;
}

.custom-legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.custom-legend-color {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 15px;
}

.custom-legend-text {
    font-size: 1rem;
}

#form-reservation .form-control {
    background-color: #ffffff;
    border: 1px solid #b6b6b6;
    border-radius: 1px;
}

#form-reservation .form-control:disabled {
    background-color: #e4e4e4;
}

.diver-certificate {
    display: none;
}

.text-right {
    text-align: right;
}

.link-color a {
    color: var(--text-color);
}