/*
Theme Name: Lombok Experience
Theme URI: https://lombokexperience.com
Author: ArtHub
Author URI: https://iyann.store/
Description: Tema WordPress SEO-friendly untuk Lombok Experience - Tour & Travel Services. Mendukung kategori Tour Packages dan Transport Rental dengan filter dinamis.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lombok-experience
Tags: travel, tour, responsive, seo-friendly, bootstrap, custom-menu, featured-images, theme-options
*/

/* ============================================
   BASE & VARIABLES
   ============================================ */
:root {
    --primary-blue: #010f49;
    --secondary: #f8f9fa;
    --accent-orange: #ff6b00;
    --dark: #212529;
    --light: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    scroll-behavior: smooth;
    padding-top: 80px;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    overflow-x: hidden;
    color: #333;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ============================================
   LOADING SCREEN
   ============================================ */
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.navbar-brand img {
    transition: all 0.3s ease;
    max-height: 35px;
    width: auto;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    margin: 0 10px;
    color: var(--dark) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 10px;
}

.dropdown-item {
    border-radius: 8px;
    padding: 8px 15px;
    font-weight: 500;
}

.dropdown-item:hover,
.dropdown-item.active {
    background: var(--primary-blue);
    color: white;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/img/hero-default.jpg') center/cover no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .8);
    margin-top: -80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    animation: fadeInUp 1.5s ease-in-out;
    z-index: 2;
    text-align: center;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p.lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   SECTION STYLING
   ============================================ */
section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    position: relative;
    margin-bottom: 3rem;
    font-weight: 700;
    color: var(--dark);
    text-align: center;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-blue);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* ============================================
   CARDS
   ============================================ */
.card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    background: white;
}

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

.card-img-top {
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
    width: 100%;
}

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

.card-body {
    padding: 1.5rem;
}

.card-body h5,
.card-body h6 {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.card-body p {
    color: #6c757d;
    margin-bottom: 0.5rem;
}

/* ============================================
   CATEGORY FILTER
   ============================================ */
.category-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
}

.category-btn {
    background: white;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 8px 20px;
    margin: 5px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    font-size: 0.95rem;
}

.category-btn.active,
.category-btn:hover {
    background: var(--primary-blue);
    color: white;
}

/* ============================================
   ICON BOXES
   ============================================ */
.icon-box {
    text-align: center;
    padding: 40px 25px;
    border-radius: 12px;
    transition: all 0.4s ease;
    background: white;
    height: 100%;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.icon-box:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.icon-box:hover:before {
    transform: scaleX(1);
}

.icon-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.icon-box i {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.icon-box:hover i {
    transform: scale(1.1);
    color: var(--accent-orange);
}

.icon-box h6 {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
    background-color: var(--accent-orange);
    border-color: var(--accent-orange);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    color: white;
}

.btn-primary:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--primary-blue);
    transition: all 0.3s;
    border-radius: 50px;
    z-index: -1;
}

.btn-primary:hover:before {
    width: 100%;
}

.btn-primary:hover {
    border-color: var(--accent-orange);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: white;
}

.btn-outline-primary {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline-primary:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin: 20px 0;
    position: relative;
}

.testimonial-card:after {
    content: 'D';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 4rem;
    color: var(--primary-blue);
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
    border: 4px solid var(--primary-blue);
}

.rating .fas.fa-star {
    color: #FFD700;
}

.rating .far.fa-star,
.rating .fas.fa-star.text-muted {
    color: #dee2e6;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: linear-gradient(to right, var(--primary-blue), #00175c) !important;
    padding-top: 80px;
    color: white;
    position: relative;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--accent-orange);
}

footer h6 {
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

footer h6:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 40px;
    height: 3px;
    background: var(--accent-orange);
}

footer ul li {
    margin-bottom: 12px;
    transition: all 0.3s;
}

footer ul li:hover {
    color: var(--accent-orange);
    transform: translateX(5px);
}

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

footer a:hover {
    color: var(--accent-orange);
}

footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    margin-right: 10px;
    transition: all 0.3s;
}

footer .social-links a:hover {
    background: var(--accent-orange);
    transform: translateY(-3px);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    border: none;
    cursor: pointer;
}

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

.back-to-top:hover {
    background: var(--accent-orange);
    transform: translateY(-5px);
    color: white;
}

/* ============================================
   TOUR DETAILS PAGE
   ============================================ */
.tour-details-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/img/hero-default.jpg') center/cover no-repeat;
    padding: 80px 0;
    color: white;
    text-align: center;
}

.tour-highlights,
.tour-schedule,
.tour-includes,
.tour-bring,
.tour-notes {
    padding: 60px 0;
}

.tour-highlights { background-color: #f8f9fa; }
.tour-schedule { background-color: white; }
.tour-includes { background-color: #f8f9fa; }
.tour-bring { background-color: white; }
.tour-notes { background-color: #f8f9fa; }

.highlight-item,
.schedule-item,
.include-item,
.bring-item {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.highlight-item i,
.schedule-item i,
.include-item i,
.bring-item i {
    color: var(--primary-blue);
    margin-right: 10px;
    margin-top: 5px;
    flex-shrink: 0;
}

.time-badge {
    background-color: var(--primary-blue);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    margin-right: 15px;
    min-width: 100px;
    text-align: center;
    flex-shrink: 0;
}

.tour-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Gallery Slider */
.gallery-slider {
    position: relative;
    margin-bottom: 30px;
}

.main-slide {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
    background: #f0f0f0;
}

.main-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.slide-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
    z-index: 10;
    pointer-events: none;
}

.slide-btn {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
}

.slide-btn:hover {
    background: white;
    transform: scale(1.1);
}

.slide-indicators {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.thumbnail-grid img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.thumbnail-grid img:hover,
.thumbnail-grid img.active {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Tour Details Content */
.tour-details-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.details-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.details-header i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-right: 10px;
}

.details-header h3 {
    margin: 0;
    color: var(--primary-blue);
    font-size: 1.3rem;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
}

.detail-item i {
    margin-right: 10px;
    color: var(--primary-blue);
    width: 20px;
    text-align: center;
}

.description p {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Collapsible Sections */
.section-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    background: none;
    border: none;
    border-bottom: 1px solid #e9ecef;
    text-align: left;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 1rem;
}

.section-toggle i:first-child {
    margin-right: 10px;
    width: 20px;
}

.collapsible-content {
    padding: 15px 0;
    display: none;
}

.collapsible-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.highlights-list,
.includes-list,
.bring-list,
.notes-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlights-list li,
.includes-list li,
.bring-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.highlights-list i,
.includes-list i,
.bring-list i {
    color: var(--accent-orange);
    margin-right: 10px;
    margin-top: 4px;
    flex-shrink: 0;
}

.notes-list li {
    margin-bottom: 15px;
    line-height: 1.6;
    padding-left: 20px;
    position: relative;
}

.notes-list li:before {
    content: "•";
    color: var(--accent-orange);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.schedule-item-detail {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
}

.time {
    min-width: 100px;
    font-weight: 600;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.activity {
    flex: 1;
}

/* Right Sidebar */
.right-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.booking-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.booking-header {
    text-align: center;
    margin-bottom: 20px;
}

.booking-header h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.booking-header p {
    color: #6c757d;
    margin-bottom: 5px;
}

.booking-header small {
    color: #6c757d;
}

.price-btn {
    background: var(--accent-orange);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    margin-top: 10px;
    cursor: pointer;
    display: inline-block;
}

.pricing-table {
    margin: 20px 0;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.price-row:last-child {
    border-bottom: none;
}

.whatsapp-btn {
    width: 100%;
    background: #25D366;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
}

.whatsapp-btn:hover {
    background: #128C7E;
    color: white;
}

.google-review {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.google-logo {
    margin-bottom: 10px;
}

.review-text {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 5px;
}

.stars {
    color: #FFD700;
    margin-bottom: 5px;
}

.review-count {
    font-size: 14px;
    color: var(--primary-blue);
}

/* Breadcrumb */
.breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 30px;
}

.breadcrumb-item a {
    color: var(--primary-blue);
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* ============================================
   ARCHIVE & CATEGORY PAGES
   ============================================ */
.archive-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/img/hero-default.jpg') center/cover no-repeat;
    padding: 100px 0;
    color: white;
    text-align: center;
    margin-top: -80px;
}

.archive-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.archive-content {
    padding: 60px 0;
}

/* Pagination */
.pagination {
    justify-content: center;
    margin-top: 40px;
}

.page-link {
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    margin: 0 5px;
    border-radius: 50px;
    padding: 8px 16px;
    font-weight: 600;
}

.page-link:hover,
.page-item.active .page-link {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

/* ============================================
   WORDPRESS DEFAULTS
   ============================================ */
.alignleft {
    float: left;
    margin-right: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.9rem;
    color: #6c757d;
    text-align: center;
    margin-top: 10px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.gallery-item {
    text-align: center;
}

.gallery-icon img {
    border-radius: 8px;
}

/* Screen Reader Text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    .right-sidebar {
        position: static;
        order: 1;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    .hero {
        height: 80vh;
        background-attachment: scroll;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p.lead {
        font-size: 1.1rem;
    }
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    .icon-box {
        padding: 25px 15px;
    }
    .time-badge {
        min-width: 80px;
        font-size: 0.9rem;
    }
    .tour-header h1 {
        font-size: 2rem;
    }
    .thumbnail-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .category-filter {
        flex-direction: column;
        align-items: center;
    }
    .category-btn {
        width: 200px;
        margin: 5px 0;
    }
    .slide-controls {
        padding: 0 10px;
    }
    .slide-btn {
        width: 40px;
        height: 40px;
    }
    .archive-hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    .section-title {
        font-size: 1.6rem;
    }
    .time-badge {
        min-width: 70px;
        font-size: 0.8rem;
        margin-right: 10px;
    }
    .time {
        min-width: 80px;
    }
}
