@charset "UTF-8";

/* =========================================
   Day Trip Page Specific Styles
   (Aligned with Multi-Day Tour Theme)
   ========================================= */

/* Prevent horizontal scroll on mobile */
html,
body {
    overflow-x: hidden;
    max-width: 100vw;
}

main {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Ensure all images fit container */
img {
    max-width: 100%;
    height: auto;
}

/* Mobile First Base Styles */
.container {
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow-x: hidden;
}

.post-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 1rem 0;
}

/* Fix for post-main overflow */
.post-main {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 1rem;
    background: white;
    border-radius: 8px;
}

/* Ensure all children don't overflow */
.post-main>* {
    max-width: 100%;
    box-sizing: border-box;
}

/* Tour Header */
.tour-header {
    margin-bottom: 1rem;
    width: 100%;
}

.tour-title-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
    width: 100%;
}

.post-title {
    text-align: left;
    margin: 0;
    font-size: 1.8rem;
    line-height: 1.2;
    width: 100%;
    word-wrap: break-word;
    font-family: 'Merriweather', serif;
    color: #333;
}

.tour-price-section {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.tour-price-section .price-old {
    font-size: 1.2rem;
    color: #a0aec0;
    text-decoration: line-through;
    margin-bottom: 0.25rem;
}

.tour-price-section .price-current {
    font-size: 2rem;
    font-weight: 700;
    color: #2b6cb0; /* Blue theme */
    margin-bottom: 0;
}

.tour-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #666;
    font-size: 0.85rem;
    width: 100%;
}

.tour-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tour-meta i {
    color: #4a5568;
    min-width: 20px;
}

.tour-meta .fa-star,
.tour-meta-single-line .fa-star,
.stars .fa-star {
    color: #f1c40f !important; /* Yellow stars */
}

.comments-section .stars i {
    cursor: pointer;
}

.comments-section .review-rating i {
    color: #f1c40f;
}

.comment-form-container .comment-feedback {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
}

.comment-form-container .comment-feedback.success {
    background: #ecfdf5;
    border: 1px solid #10b981;
    color: #065f46;
}

.comment-form-container .comment-feedback.error {
    background: #fef2f2;
    border: 1px solid #ef4444;
    color: #7f1d1d;
}

/* =========================================
   Tour Gallery (Aligned with Multi-Day Tour)
   ========================================= */
.tour-gallery {
    margin-bottom: 2rem;
    width: 100%;
}

.main-gallery-image {
    margin-bottom: 0.75rem;
    width: 100%;
}

.main-gallery-image img {
    width: 100%;
    height: auto;
    max-height: 400px; /* Kept 400px for better detail on day trips */
    object-fit: cover;
    border-radius: 8px;
    transition: opacity 0.2s ease-in-out;
}

.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    position: relative;
}

.gallery-thumbnails::-webkit-scrollbar {
    display: none;
}

.gallery-thumbnails-container {
    position: relative;
    width: 100%;
}

.gallery-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: rgba(43, 108, 176, 0.8);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-scroll-btn:hover {
    background: #2b6cb0;
}

.gallery-scroll-btn.prev {
    left: 5px;
}

.gallery-scroll-btn.next {
    right: 5px;
}

.gallery-thumbnails-container:hover .gallery-scroll-btn {
    opacity: 1;
}

.gallery-thumb {
    width: 70px;
    height: 52px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.gallery-thumb.active {
    opacity: 1;
    border-color: #2b6cb0;
}

.gallery-thumb:hover {
    opacity: 1;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================
   Tour Description
   ========================================= */
.post-content h2 {
    font-family: 'Merriweather', serif;
    font-size: 1.5rem;
    color: #333;
    margin-top: 0;
    margin-bottom: 1rem;
    text-align: left;
}

.post-content .lead {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #34495e;
    margin-bottom: 20px;
}

.tour-description-content {
    margin: 20px 0;
    line-height: 1.8;
    color: #333;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* =========================================
   Tour Details & Booking Section
   ========================================= */
.tour-details-section {
    margin: 2rem 0;
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
}

.details-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.details-column {
    width: 100%;
}

.details-column h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.2rem;
    color: #333;
    margin: 1.5rem 0 1rem;
    text-align: left;
}

.details-column h3:first-child {
    margin-top: 0;
}

.included-list,
.excluded-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    width: 100%;
}

.included-list li,
.excluded-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #444;
    width: 100%;
}

.included-list i {
    color: #48bb78; /* Green check */
    flex-shrink: 0;
    margin-top: 4px;
}

.excluded-list i {
    color: #e53e3e; /* Red cross */
    flex-shrink: 0;
    margin-top: 4px;
}

.important-info {
    background: white;
    padding: 1rem;
    border-radius: 6px;
    border-left: 4px solid #ed8936;
    width: 100%;
    box-sizing: border-box;
}

.important-info p {
    margin-bottom: 0.75rem;
    color: #444;
    font-size: 0.9rem;
}

.important-info p:last-child {
    margin-bottom: 0;
}

/* Booking Card (Blue Theme) */
.booking-column {
    width: 100%;
}

.booking-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.booking-form h4 {
    font-family: 'Merriweather', serif;
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: none;
}

.form-group {
    margin-bottom: 1.2rem;
    width: 100%;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #444;
    font-weight: 500;
    font-size: 0.95rem;
    width: 100%;
}

.form-group input, 
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    background: white;
    color: #333;
    box-sizing: border-box;
}

.form-group input:focus, 
.form-group select:focus {
    outline: none;
    border-color: #2b6cb0;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

/* Date Picker */
.date-picker {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    background: white;
    color: #333;
    cursor: pointer;
    box-sizing: border-box;
}

.participants-group h5 {
    font-family: 'Merriweather', serif;
    font-size: 1rem;
    color: #333;
    margin-bottom: 1rem;
    text-align: left;
}

.participants-row.single-line {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    width: 100%;
}

.participants-row .form-group.compact {
    margin-bottom: 0;
}

.participants-row .form-group.compact label {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.age-info {
    display: block;
    font-size: 0.75rem;
    color: #718096;
    margin-top: 0.25rem;
    text-align: center;
}

/* Tour Type Radio Buttons */
.tour-type-group {
    margin-bottom: 1.5rem;
}

.tour-type-group h5 {
    font-family: 'Merriweather', serif;
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.75rem;
}

.tour-type-options {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
}

.tour-type-option {
    flex: 1;
    min-width: 120px;
}

.tour-type-option input[type="radio"] {
    display: none;
}

.tour-type-option label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border: 2px solid #cbd5e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.tour-type-option input[type="radio"]:checked + label {
    border-color: #2b6cb0;
    background: #ebf8ff;
}

.tour-type-label {
    font-weight: 500;
    color: #333;
}

.tour-type-price {
    display: none;
}

/* Price Summary */
.price-summary {
    background: #f7fafc;
    padding: 1rem;
    border-radius: 6px;
    margin: 1.5rem 0;
}

.summary-item, .summary-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    color: #666;
    font-size: 0.9rem;
}

.summary-total {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 2px solid #e2e8f0;
    font-weight: 700;
    font-size: 1rem;
    color: #333;
    margin-bottom: 0;
}

.discount-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    color: #48bb78;
    font-weight: 600;
}

.book-now-btn {
    width: 100%;
    background: #2b6cb0;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: background 0.2s ease;
}

.book-now-btn:hover {
    background: #1a4f8c;
}

.secure-booking {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: #718096;
    font-size: 0.85rem;
}

.secure-booking i {
    color: #48bb78;
}

/* =========================================
   Sidebar & Similar Tours
   ========================================= */
.post-sidebar {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.sidebar-section {
    width: 100%;
    margin-bottom: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

.sidebar-section h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.2rem;
    color: #222;
    margin-bottom: 1.2rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #eee;
    text-align: left;
}

.similar-tours {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.similar-tour {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    width: 100%;
    box-sizing: border-box;
    text-decoration: none;
}

.similar-tour:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.similar-tour .tour-image {
    position: relative;
    flex-shrink: 0;
    width: 100px;
    height: 80px;
    overflow: hidden;
    border-radius: 6px;
}

.similar-tour .tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #f7fafc;
}

.tour-price-overlay {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.1rem;
    bottom: auto;
    left: auto;
    background: none;
    padding: 0;
}

.tour-price-overlay .price-current {
    background: #2b6cb0;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1;
}

.tour-price-overlay .price-old {
    color: white;
    font-size: 0.65rem;
    text-decoration: line-through;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.1rem 0.3rem;
    border-radius: 2px;
    line-height: 1;
}

.tour-price-overlay .price-save-small {
    background: #48bb78; /* Green for consistency */
    color: white;
    font-size: 0.6rem;
    padding: 0.1rem 0.3rem;
    border-radius: 2px;
    font-weight: 600;
    line-height: 1;
    margin-top: 0.1rem;
}

/* Tour Info - Left aligned */
.similar-tour .tour-info {
    flex: 1;
    min-width: 0;
    text-align: left;
    display: block; /* Reset flex */
    padding: 0;
    gap: 0;
}

.similar-tour h4 {
    margin: 0 0 0.5rem 0;
    font-size: 0.95rem;
    line-height: 1.2;
    font-family: 'Merriweather', serif;
    text-align: left;
}

.similar-tour h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.similar-tour h4 a:hover {
    color: #2b6cb0;
}

.tour-meta-single-line {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #666;
    justify-content: flex-start;
}

.tour-meta-single-line span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.tour-meta-single-line i {
    margin-right: 0.25rem;
}

/* Advertisement Card */
.advertisement-card {
    background: linear-gradient(135deg, #2b6cb0, #2c5282); /* Blue gradient */
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.ad-logo {
    font-size: 3rem;
    margin-bottom: 10px;
    opacity: 0.2;
}

.advertisement-card h4 {
    font-size: 1.5rem;
    margin: 0 0 10px 0;
    color: white;
    font-family: 'Merriweather', serif;
}

.ad-features {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 15px 0;
    font-size: 0.9rem;
}

.ad-button {
    display: inline-block;
    background: white;
    color: #2b6cb0;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s;
}

.ad-button:hover {
    transform: scale(1.05);
}

/* Day Trip Points (Migrated styles with Blue Theme) */
.day-trip-points-section {
    margin: 40px 0;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
}

.day-trip-points-section h2 {
    color: #333;
    margin-bottom: 25px;
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    font-family: 'Merriweather', serif;
}

.points-container {
    max-width: 800px;
    margin: 0 auto;
}

.point-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.point-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.point-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: #2b6cb0; /* Blue */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 20px;
    margin-right: 20px;
}

.point-content h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 600;
    font-family: 'Merriweather', serif;
}

/* =========================================
   Tablet Styles (768px+)
   ========================================= */
@media (min-width: 768px) {
    .container {
        max-width: 720px;
        margin: 0 auto;
    }

    .post-layout {
        flex-direction: row;
        align-items: flex-start;
    }

    .post-main {
        flex: 1;
        min-width: 0;
        padding: 1.5rem;
    }

    .post-sidebar {
        width: 350px;
        flex-shrink: 0;
    }

    .tour-title-row {
        flex-direction: row;
        align-items: flex-start;
    }

    .tour-price-section {
        align-items: flex-end;
        text-align: right;
        width: auto;
    }

    .tour-meta {
        flex-direction: row;
        gap: 1.5rem;
    }

    .main-gallery-image img {
        height: 350px;
    }

    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        flex-direction: row;
    }

    .similar-tour {
        flex-direction: row;
    }

    .tour-image {
        width: 120px;
        height: 100px;
    }
}

/* Desktop Styles (1024px+) */
@media (min-width: 1024px) {
    .container {
        max-width: 1440px;
        width: 90%;
    }

    .post-main {
        padding: 2rem;
    }

    .details-content {
        display: grid;
        grid-template-columns: 1fr 350px;
        gap: 30px;
    }
    
    .details-column {
        width: auto;
    }

    .main-gallery-image img {
        height: 400px;
    }

    .post-title {
        font-size: 2.2rem;
    }

    .tour-price-section .price-current {
        font-size: 2.5rem;
    }

    .gallery-thumb {
        width: 80px;
        height: 60px;
    }

    .booking-card {
        position: sticky;
        top: 1rem;
    }
}

/* =========================================
   Small Mobile Adjustments
   ========================================= */
@media (max-width: 375px) {
    .container {
        padding: 0 10px;
    }

    .post-title {
        font-size: 1.6rem;
    }

    .tour-price-section .price-current {
        font-size: 1.8rem;
    }

    .participants-row.single-line {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .tour-image {
        width: 90px;
        height: 70px;
    }

    .similar-tour {
        gap: 0.75rem;
    }
}

/* Date input wrapper for clear button positioning */
.date-input-wrapper {
    position: relative;
    width: 100%;
}

.date-input-wrapper .date-picker {
    padding-right: 100px !important;
}

