/* ===== Custom Font - PSLxSamson ===== */
@font-face {
    font-family: 'PSLxSamson';
    src: url('../PSLxSamson BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

/* Utility class for PSLxSamson font */
.font-pslx-samson {
    font-family: 'Pattaya', 'PSLxSamson', 'Prompt', sans-serif;
    font-weight: bold;
    font-style: italic;
}

/* ===== Trip Detail Page Styles ===== */

/* Header for Trip Page */
.header-trip {
    position: relative;
    top: 0;
    background: var(--darker);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-trip .logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Trip Hero Section */
.trip-hero {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.trip-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(13, 13, 13, 1) 100%);
}

.trip-hero .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.trip-hero-content {
    padding-bottom: 30px;
    display: flex;
    justify-content: flex-end;
}

.gallery-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
    border-radius: 8px;
    color: var(--white);
    font-weight: 500;
    font-family: 'Pattaya', 'Poppins', 'Prompt', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-btn:hover {
    background: var(--orange);
    border-color: var(--orange);
}

.gallery-icon {
    font-size: 1.3rem;
}

/* Trip Title Section */
.trip-title-section {
    background: var(--darker);
    padding: 40px 0;
}

.trip-title-wrapper {
    margin-bottom: 30px;
}

.trip-main-title {
    font-size: 3.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.trip-location {
    display: flex;
    gap: 20px;
    align-items: center;
}

.location-text {
    color: var(--text-muted);
    font-size: 1.35rem;
}

.trip-rating {
    color: var(--orange);
    font-size: 1.1rem;
}

/* Trip Info Cards */
.trip-info-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: var(--orange);
    background: rgba(232, 106, 51, 0.1);
}

.info-icon {
    font-size: 2rem;
}

.info-text {
    display: flex;
    flex-direction: column;
}

.info-value {
    font-size: 1.65rem;
    font-weight: 600;
    color: var(--white);
}

.info-label {
    font-size: 1.3rem;
    color: var(--text-muted);
}

/* Trip Tab Navigation */
.trip-tabs-nav {
    background: var(--dark);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trip-tabs {
    display: flex;
    gap: 5px;
    list-style: none;
    overflow-x: auto;
    padding: 15px 0;
    scrollbar-width: none;
}

.trip-tabs::-webkit-scrollbar {
    display: none;
}

.tab-link {
    white-space: nowrap;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.tab-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.tab-link.active {
    background: var(--orange);
    color: var(--white);
}

/* Trip Main Content Layout */
.trip-main-content {
    background: var(--darker);
    padding: 50px 0 100px;
}

.trip-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

/* Content Column */
.trip-content-col {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* Trip Sections */
.trip-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 35px;
}

.section-heading {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--orange);
    display: inline-block;
}

.section-content h3 {
    font-size: 1.7rem;
    color: var(--orange);
    margin: 20px 0 10px;
}

.section-content h4 {
    font-size: 1.5rem;
    color: var(--white);
    margin: 25px 0 15px;
}

.section-content p {
    color: var(--text-light);
    font-size: 1.5rem;
    line-height: 2;
    margin-bottom: 15px;
}

.section-content ul {
    list-style: none;
    padding: 0;
}

.section-content ul li {
    color: var(--text-light);
    font-size: 1.45rem;
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
}

/* Accordion Styles */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.accordion-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.accordion-item.active {
    border-color: var(--orange);
}

.accordion-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.day-badge {
    background: var(--orange);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.accordion-title {
    flex: 1;
    color: var(--white);
    font-weight: 500;
}

.accordion-icon {
    color: var(--orange);
    font-size: 0.9rem;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
}

.itinerary-details {
    padding: 0 20px 20px;
    color: var(--text-light);
    font-size: 1.45rem;
}

.itinerary-details p {
    margin-bottom: 15px;
    font-size: 1.45rem;
}

.itinerary-details ul {
    list-style: none;
    padding: 0;
}

.itinerary-details ul li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-light);
    font-size: 1.45rem;
}

.itinerary-details ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--orange);
}

/* Batch Section */
.batch-months {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.batch-month-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 6px;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.batch-month-btn:hover,
.batch-month-btn.active {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
}

.batch-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.batch-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
}

.batch-item:hover {
    border-color: var(--orange);
}

.batch-item.sold-out {
    opacity: 0.6;
}

.batch-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--orange);
    padding: 15px 20px;
    border-radius: 8px;
    min-width: 80px;
}

.date-day {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
}

.date-month {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
}

.batch-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.batch-slots {
    color: var(--text-light);
    font-size: 0.9rem;
}

.batch-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
}

.batch-book-btn {
    background: var(--orange);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.batch-book-btn:hover:not(:disabled) {
    background: var(--orange-dark);
}

.batch-book-btn:disabled {
    background: var(--gray);
    cursor: not-allowed;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Inclusion/Exclusion Lists */
.inclusion-list,
.exclusion-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.inclusion-item,
.exclusion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.inclusion-icon,
.exclusion-icon {
    font-size: 1.2rem;
}

.inclusion-item span:last-child,
.exclusion-item span:last-child {
    color: var(--text-light);
}

/* Reach Options */
.reach-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.reach-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.reach-icon {
    font-size: 2.5rem;
}

.reach-content h4 {
    color: var(--white);
    margin-bottom: 8px;
}

.reach-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* Things to Carry Grid */
.things-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.things-category h4 {
    color: var(--orange);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.things-category ul {
    list-style: none;
    padding: 0;
}

.things-category ul li {
    color: var(--text-light);
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.things-category ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--orange);
}

/* FAQ Accordion */
#faq .accordion-header {
    padding: 18px 20px;
}

#faq .accordion-title {
    font-size: 1rem;
}

#faq .accordion-content p {
    padding: 0 20px 20px;
    margin: 0;
}

/* Sidebar Column */
.trip-sidebar-col {
    grid-column: 2;
    position: sticky;
    top: 80px;
}

.trip-sidebar {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Price Box */
.price-box {
    text-align: center;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.price-label {
    color: var(--text-muted);
    font-size: 1rem;
}

.price-original {
    color: var(--gray);
    text-decoration: line-through;
    font-size: 1.15rem;
}

.price-current {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
}

.price-amount {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--orange);
}

.price-per {
    color: var(--text-muted);
    font-size: 1rem;
}

.price-discount {
    margin-top: 5px;
}

.discount-badge {
    background: rgba(232, 106, 51, 0.2);
    color: var(--orange);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Sidebar Actions */
.sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.btn-book-now {
    background: var(--orange);
    color: var(--white);
    text-align: center;
    padding: 8px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-book-now:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 106, 51, 0.4);
}

.btn-enquiry {
    background: transparent;
    color: var(--orange);
    text-align: center;
    padding: 6px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid var(--orange);
    transition: all 0.3s ease;
}

.btn-enquiry:hover {
    background: var(--orange);
    color: var(--white);
}

.btn-download {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    text-align: center;
    padding: 6px;
    border-radius: 6px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Contact Box */
.contact-box {
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    text-align: center;
}

.contact-box h4 {
    color: var(--white);
    margin-bottom: 2px;
    font-size: 0.85rem;
}

.contact-box p {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-bottom: 8px;
}


.contact-phone,
.contact-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 6px;
    border-radius: 5px;
    color: var(--white);
    transition: all 0.3s ease;
    margin-bottom: 5px;
    font-size: 0.85rem;
}

.contact-phone {
    background: var(--orange);
}

.contact-phone:hover {
    background: var(--orange-dark);
}

.contact-line {
    background: #00B900;
}

.contact-line:hover {
    background: #009900;
}

.phone-icon,
.line-icon {
    font-size: 1.2rem;
}

/* Quick Info */
.quick-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quick-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.quick-icon {
    font-size: 1.3rem;
}

/* ===== Compact Sidebar Styles ===== */
.trip-sidebar.compact {
    background: var(--white);
    padding: 25px;
    gap: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Price Row */
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.price-left {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.price-row .price-label {
    color: #666;
    font-size: 0.85rem;
}

.price-row .price-label del {
    color: #999;
}

.price-main {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price-row .price-amount {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--orange);
}

.price-row .price-per {
    color: #666;
    font-size: 0.9rem;
}

.price-gst {
    color: var(--orange);
    font-size: 0.8rem;
}

.price-right {
    display: flex;
    align-items: flex-start;
}

.price-right .discount-badge {
    background: var(--orange);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 700;
}

/* Offers Row */
.offers-row {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 0.9rem;
    padding: 10px 0;
}

.offers-icon {
    font-size: 1.2rem;
}

/* Sidebar Divider */
.sidebar-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 5px 0;
}

/* Sidebar Quick Info */
.sidebar-quick-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quick-row {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333;
    font-size: 0.9rem;
}

.quick-row .quick-icon {
    font-size: 1.2rem;
}

/* Sidebar Buttons */
.sidebar-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-enquiry-compact {
    background: var(--white);
    color: var(--orange);
    text-align: center;
    padding: 12px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid var(--orange);
    transition: all 0.3s ease;
}

.btn-enquiry-compact:hover {
    background: var(--orange);
    color: var(--white);
}

.btn-pdf {
    background: var(--white);
    color: var(--orange);
    text-align: center;
    padding: 12px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid var(--orange);
    transition: all 0.3s ease;
}

.btn-pdf:hover {
    background: var(--orange);
    color: var(--white);
}

.compact .btn-book-now {
    background: var(--orange);
    color: var(--white);
    text-align: center;
    padding: 14px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
}

.compact .btn-book-now:hover {
    background: var(--orange-dark);
}

/* Contact Compact */
.contact-compact {
    background: #f5f5f5;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.contact-compact h4 {
    color: #333;
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-compact p {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.contact-phone-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--orange);
    color: var(--white);
    padding: 12px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-phone-compact:hover {
    background: var(--orange-dark);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .trip-layout {
        grid-template-columns: 1fr 320px;
    }

    .trip-info-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .trip-layout {
        grid-template-columns: 1fr;
    }

    .trip-sidebar-col {
        grid-column: 1;
        position: relative;
        top: 0;
    }

    .trip-info-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .things-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .trip-hero {
        height: 300px;
    }

    .trip-main-title {
        font-size: 2rem;
    }

    .trip-info-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .trip-tabs {
        gap: 3px;
    }

    .tab-link {
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    .trip-section {
        padding: 25px;
    }

    .things-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .batch-item {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .trip-info-cards {
        grid-template-columns: 1fr;
    }

    .trip-location {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}