/* HAPUS JARAK ATAS-BAWAH */
.section-header,
.section-header h2,
#about-content,
.about-wrapper {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* sedikit jarak saja biar tidak dempet mati */
.about-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* proporsi */
.about-text {
    flex: 0 0 65%;
}

.about-image {
    flex: 0 0 35%;
    text-align: center;
}

/* responsive */
@media (max-width: 991px) {
    .about-wrapper {
        flex-direction: column;
        gap: 10px;
    }
}

section {
    padding: 80px 0;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 520px; /* desktop */
    overflow: hidden;
}

.banner-slider {
    width: 100%;
}

.banner-slider .slider-img img {
    width: 100%;
    height: 100%; /* ikut height parent */
    object-fit: cover;
}

/* Pastikan nav & dots muncul */
.owl-nav,
/* POSISI DOTS */
.banner-slider .owl-dots {
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

/* DOT BUTTON */
.banner-slider .owl-dots .owl-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    transition: all 0.3s ease;
}

/* HILANGKAN STYLE DEFAULT */
.banner-slider .owl-dots .owl-dot span {
    display: none;
}

/* ACTIVE DOT */
.banner-slider .owl-dots .owl-dot.active {
    background: #ffffff;
    border-color: #ffffff;
    transform: scale(1.2);
}

/* HERO */
.hero-section {
    position: relative;
    height: 100vh;
}

/* OVERLAY CENTER */
.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 10;
    pointer-events: none;
}

/* SMOOTH ANIMATION */
.banner-content {
    transition: opacity .7s ease, transform .7s ease;
}

.banner-content.fade-out {
    opacity: 0;
    transform: translateY(15px);
}

.banner-content.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
}

.blog-item {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #000;
}

/* Card KIRI & KANAN */
.col-lg-4 .blog-item {
    height: 300px;
}

/* Card TENGAH */
.col-lg-4:nth-child(2) .blog-item {
    height: 300px;
}

.blog-item .blog-img,
.blog-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-overlay-content {
    position: absolute;
    inset: 0;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(
        to top,
        rgba(0,0,0,.85),
        rgba(0,0,0,.45),
        rgba(0,0,0,.05)
    );
}

.iframe-about-us{
    width: 100%;
    height: 500px;
    position: relative;
    background-size: cover;
    border-radius: 5px;
    overflow: hidden;
    background-attachment: fixed;
}

/* HERO SECTION */
.hero-section {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
}

/* SLIDER */
.banner-slider {
    width: 100%;
    height: 610px; /* desktop height */
}
 
.banner-slider .slider-img {
    width: 100%;
    height: 610px;
}

/* OVERLAY GELAP (opsional tapi disarankan) */
.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}

.hero-section { height: 610px; }
.hero-section { height: 100vh; }
.hero-section { height: 610px; }

/* TEXT */
.hero-title {
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    max-width: 720px;
    line-height: 1.6;
}

/* TABLET */
@media (max-width: 991px) {
    .banner-slider,
    .banner-slider .slider-img {
        height: 420px;
    }

    .hero-title {
        font-size: 2rem;
    }
}

@media (max-width: 991px) {
    .hero-section { height: 420px; }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 0.95rem; }
}

@media (max-width: 576px) {
    .hero-section { height: 320px; }
    .hero-title { font-size: 1.6rem; }
    .hero-subtitle { font-size: 0.85rem; }
}

/* MOBILE */
@media (max-width: 576px) {
    .banner-slider,
    .banner-slider .slider-img {
        height: 320px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        padding: 0 15px;
    }
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

.fade-out {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.4s ease;
}

/* WRAPPER TEXT */
.banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* POSISI DI TENGAH HERO */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -10%);
    z-index: 2;
    width: 100%;
    padding: 0 15px;
}

/* TITLE */
.hero-title {
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* SUBTITLE */
.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.6;
}

/* TABLET */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.2rem;
    }
}

/* MOBILE */
@media (max-width: 576px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }
}

.section-header h2 {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.service-box {
    /* background: linear-gradient(145deg, #1e3c72, #2a5298); */
    background:#0b2f9f;
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.08);
    transition: all 0.4s ease;
}

.service-box:hover::before {
    left: 0;
}

.service-box:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.service-title h2 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
    position: relative; /* penting */
    display: inline-block;
}

.service-title::after {
    content: "";
    width: 125px;
    height: 3px;
    background: #ffd700;
    display: block;
    margin-top: 8px;
    border-radius: 5px;
}

.service-list {
    padding-left: 18px;
    margin: 0;
}

.service-list li {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.6;
}

/* =========================
   ABOUT US – MARSYA TRAVEL
========================= */

.destination-section {
    background: #fff;
    padding: 60px 0;
}

.section-header h2 {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.section-header .text-primary {
    color: #0d2c9c !important;
}

/* CONTENT */
.about-content {
    max-width: 100% !important;
    padding-right: 30px;
}

.about-content h3 {
    font-size: 32px;
    line-height: 1.3;
    text-transform: uppercase;
}

.about-content h3 .text-primary {
    color: #0d2c9c !important;
    letter-spacing: 1px;
}

/* .about-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #6c757d;
    margin-bottom: 14px;
} */

.about-content p {
    font-size: 15px;
    line-height: 2;            /* bikin teks terasa panjang */
    color: #6c757d;
    margin-bottom: 22px;
    text-align: justify;       /* ini yang paling penting */
    word-break: break-word;
}

/* IMAGE */
.about-image {
    position: relative;
    display: inline-block;
    padding: 25px;
}

.about-image img {
    width: 260px;
    height: 260px;
    object-fit: contain;
    background: #000;
    border-radius: 50%;
    padding: 25px;
    position: relative;
    z-index: 2;
}

/* DECORATION */
.about-image .circle {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.about-image .circle-yellow {
    width: 150px;
    height: 150px;
    background: #f5b400;
    top: -15px;
    right: -15px;
}

.about-image .circle-black {
    width: 120px;
    height: 120px;
    background: #000;
    bottom: -15px;
    left: -15px;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .about-content {
        text-align: center;
        margin-bottom: 30px;
    }

    .about-content h3 {
        font-size: 26px;
    }

    .about-image img {
        width: 220px;
        height: 220px;
    }
}

.team-item {
    position: relative;
}

/* Card fix */
.team-item .card {
    width: 300px;
    height: 350px;
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

/* Area gambar (80%) */
.team-item .card-body {
    padding: 5px;
    width: 100%;
    height: 100%;
}

/* Gambar responsive */
.team-item img {
    width: 350px;
    height: 350px;
    object-fit: cover;
}

/* Area teks (20%) */
.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
}

/* Text */
.team-overlay h3 {
    font-size: 17px;
    margin-bottom: 2px;
    line-height: 1.2;
}

.team-overlay h5 {
    font-size: 15px;
    margin-bottom: 0;
    line-height: 1.2;
}

/* Hide carousel nav */
.team-carousel .owl-nav {
    display: none !important;
}

/* ===== Review Card ===== */
.team-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.team-item img {
    transition: transform .4s ease;
    cursor: zoom-in;
}

.team-item:hover img {
    transform: scale(1.08);
}

/* ===== Overlay ===== */
.team-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.65);
    opacity: 0;
    transition: all .4s ease;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.team-item:hover .team-overlay {
    opacity: 1;
}

/* ===== Rating ===== */
.review-rating {
    font-size: 22px;
    color: #ffc107;
    margin-bottom: 10px;
    animation: fadeUp .5s ease forwards;
}

.review-rating span {
    margin: 0 2px;
}

.star-empty {
    color: #ddd;
}

/* ===== Review Text ===== */
.review-text h5 {
    color: #fff;
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
    animation: fadeUp .7s ease forwards;
}

/* ===== Animations ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Modal Zoom ===== */
.image-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}

.image-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    animation: zoomIn .4s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(.6);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===== Responsive ===== */
@media (max-width: 576px) {
    .review-rating {
        font-size: 18px;
    }

    .review-text h5 {
        font-size: 14px;
    }
}

.review-carousel .owl-nav {
    display: none !important;
}

/* ===== ANIMASI CONTAINER ===== */
#paket-container {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition:
        opacity .4s ease,
        transform .4s cubic-bezier(.4,0,.2,1);
    will-change: opacity, transform;
}

/* Saat loading / keluar */
#paket-container.paket-loading {
    opacity: 0;
    transform: translateY(30px) scale(.98);
    pointer-events: none;
}

/* Saat tampil / masuk */
#paket-container.paket-show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ===============================
   HERO GALLERY CONTAINER
   =============================== */
.hero-gallery{
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
    border-radius: 14px;
    margin-bottom: 15px;
}

/* ===============================
   TRACK / SLIDES
   =============================== */
.hero-track{
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-track a{
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 0;
}

.hero-track a.active{
    opacity: 1;
    z-index: 2;
}

/* ===============================
   IMAGES & ZOOM EFFECT
   =============================== */
.hero-track img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.3s ease; /* reset cepat saat non-active */
    transform-origin: center center;
}

.hero-track a.active img {
    animation: zoomIn 6s ease forwards;
}

@keyframes zoomIn {
    0%   { transform: scale(1); }
    100% { transform: scale(1.15); }
}

/* ===============================
   OPTIONAL HERO OVERLAY / TEXT
   =============================== */
.hero-zoom{
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 34px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,.6));
    pointer-events: none;
    z-index: 1;
}

/* ===============================
   DOTS NAVIGATION
   =============================== */
.hero-dots{
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.hero-dots span{
    width: 9px;
    height: 9px;
    background: #aaa;
    display: inline-block;
    border-radius: 50%;
    margin: 0 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.hero-dots span.active{
    background: #fff;
}

/* Fade + slide down modal */
.modal.fade .modal-dialog {
    transform: translateY(-50px);
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0;
}

.modal.show .modal-dialog {
    transform: translateY(0);
    opacity: 1;
}

/* Tambahan opsional untuk backdrop smooth */
.modal-backdrop.fade {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal-backdrop.show {
    opacity: 0.5; /* sesuai default bootstrap */
}

/* RESET LIST DARI SUMMERNOTE / DATABASE */
.content-area ul {
    list-style: disc !important;
    padding-left: 20px !important;
    margin-left: 0 !important;
}

.content-area ol {
    list-style: decimal !important;
    padding-left: 20px !important;
}

.content-area li {
    margin-bottom: 6px;
}

.price-card{
    border-radius:12px;
    overflow:hidden;
    width:100%;
    max-width:100%;   /* HAPUS LIMIT */
    box-shadow:0 8px 20px rgba(0,0,0,.12);
    box-sizing:border-box;
}

.price-title{
    background:#2f4e83;
    color:#fff;
    text-align:center;
    font-weight:600;
    font-size:15px;
    padding:10px;
    margin:0;
}

.price-box{
    background:linear-gradient(135deg,#5a8dee,#3f6ed3);
    padding:14px 16px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.price-label{
    color:#fff;
    font-size:13px;
    display:flex;
    align-items:center;
    gap:6px;
    opacity:.9;
}

.price-label i{
    font-size:16px;
}

.price-amount{
    color:#fff;
    font-size:24px;
    font-weight:700;
    margin:0;
}
