/* Modern Tour Single Template Styles */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --success-color: #059669;
    --warning-color: #d97706;
    --danger-color: #dc2626;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --white: #ffffff;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.call-now-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: #e76f51; /* Same as Submit button color */
    color: #fff;
    font-size: 23px;
    font-weight: 800;
    border: none;
    border-radius: 8px;
    padding: 14px;
    margin-top: 12px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.call-now-btn:hover {
    background-color: #fff; /* Slightly darker on hover */
      fill:  #e76f51;
}

.call-now-btn svg {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    fill: #fff;
}

.call-now-btn svg:hover {
    fill:  #e76f51;
}
/* Base Styles */
.tour-single-main {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

/* Modern Hero Section */
.tour-hero-modern {
    /*padding: 2rem 0 3rem 0;*/
    background: var(--white);
}

/* Breadcrumb */
.tour-breadcrumb {
    margin-bottom: 1.5rem;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.breadcrumb-list li:not(:last-child)::after {
    content: ">";
    margin-left: 0.5rem;
    color: var(--gray-400);
}

.breadcrumb-list a {
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-list a:hover {
    color: var(--primary-color);
}

.breadcrumb-list li:last-child {
    color: var(--gray-900);
    font-weight: 500;
}

/* Tour Header Info */
.tour-header-info {
    margin-bottom: 2rem;
}

.tour-title {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.tour-location-rating {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.location-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
    font-size: 0.95rem;
}

.location-info .icon {
    width: 1.125rem;
    height: 1.125rem;
    color: var(--primary-color);
}

.rating-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    display: flex;
    gap: 0.125rem;
}

.star {
    width: 1rem;
    height: 1rem;
    color: #fbbf24;
}

.rating-text {
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* Action Buttons */
.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    color: var(--gray-700);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.action-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.action-btn .icon {
    width: 1.125rem;
    height: 1.125rem;
}

/* Hero Featured Image */
.hero-featured-image {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.hero-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Tour Meta Grid */
.tour-main-content {
    width: 100%;
    min-width: 0; /* Prevents overflow */
}

.tour-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.meta-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
}

.meta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--e-global-color-primary);
    border-radius: var(--radius);
    flex-shrink: 0;
}

.meta-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--white);
}

.meta-content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.meta-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.025em;
}

.meta-value {
    font-size: 0.875rem;
    font-weight: 600;©
    color: var(--gray-900);
}

/* Hero Pricing */
.hero-pricing {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 1.5rem 0;
    border-top: 1px solid var(--gray-200);
}

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

.from-text {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 0.25rem;
}

.price-display {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.original-price {
    font-size: 1.125rem;
    color: var(--gray-500);
    text-decoration: line-through;
}

.current-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.per-person {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Content Section */
.tour-content-section {
    padding: 4rem 0;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
}

.tour-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    /*padding: 0 1rem;*/
}

/* Content Blocks */
.content-block {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.content-block h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.content-block h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 1.5rem 0 1rem 0;
}

/* Tour Description */
.content-wrapper p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

.tour-highlights {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: var(--radius);
    border-left: 4px solid var(--primary-color);
}

.highlights-content {
    color: var(--gray-700);
    line-height: 1.7;
}

/* Includes & Excludes */
.includes-excludes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title.included {
    color: var(--success-color);
}

.section-title.excluded {
    color: var(--danger-color);
}

.includes-list,
.excludes-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.list-item:last-child {
    border-bottom: none;
}

.item-icon {
    width: 1rem;
    height: 1rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.includes-list .item-icon {
    color: var(--success-color);
}

.excludes-list .item-icon {
    color: var(--danger-color);
}

/* Itinerary */
.itinerary-timeline {
    position: relative;
}

.itinerary-timeline::before {
    content: "";
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-200);
}

.itinerary-day {
    position: relative;
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.day-marker {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.day-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow);
}

.day-content {
    flex: 1;
    padding-top: 0.5rem;
}

.day-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 1rem 0;
}

.day-description {
    color: var(--gray-700);
    line-height: 1.7;
}

/* FAQ Section */
.faq-accordion {
    background: none !important;
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-900);
    cursor: pointer;
    transition: background-color 0.2s;
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-question[aria-expanded="true"] {
    background: var(--gray-50);
}

.faq-icon {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.2s;
    color: var(--gray-500);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 1.25rem 1.25rem 1.25rem;
}

.faq-question[aria-expanded="true"] + .faq-answer {
    display: block;
}

.faq-answer-content {
    color: var(--gray-700);
    line-height: 1.7;
}

/* Sidebar */
.tour-sidebar {
    position: sticky;
    top: 2rem;
    width: 100%;
}

.sidebar-sticky {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

/* Booking Widget */
.booking-widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.widget-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 1.5rem;
    text-align: center;
}

.widget-header h3 {
    margin: 0 0 24px 0;
     font-size: 1.5rem;
    font-weight: 700;
    color:#fff;
}

.widget-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.75rem;
}

.old-price {
    text-decoration: line-through;
    opacity: 0.7;
    font-size: 1rem;
}

.new-price,
.price {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Booking Form */
.booking-form {
    padding: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Form Actions */
.form-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.btn-outline:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
}

/* Info Widget */
.info-widget,
.gallery-widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 1.5rem;
}

.info-widget h4,
.gallery-widget h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-200);
}

.info-list {
    display: flex;
    flex-direction: column;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.info-value {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-900);
}

/* Gallery Widget */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
    transition: transform 0.2s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .tour-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 800px;
    }
    
    .tour-sidebar {
        position: static;
        max-width: 100%;
        width: 100%;
    }
    
    .includes-excludes-grid {
        grid-template-columns: 1fr;
    }

    .hero-featured-image {
        height: 250px;
    }

    .tour-meta-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .container {
        max-width: 100%;
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-featured-image {
        height: 200px;
    }
    
    .content-block {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .itinerary-day {
        flex-direction: column;
        gap: 1rem;
    }
    
    .itinerary-timeline::before {
        display: none;
    }
    
    .day-marker {
        align-self: flex-start;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tour-meta-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-pricing {
        justify-content: center;
        text-align: center;
    }

    .price-container {
        text-align: center;
    }

    .price-display {
        justify-content: center;
    }

    .tour-layout {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .tour-hero-modern {
        /*padding: 1rem 0 2rem 0;*/
    }
    
    .breadcrumb-list {
        font-size: 0.8rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .hero-featured-image {
        height: 180px;
    }
    
    .content-block {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .booking-widget,
    .info-widget,
    .gallery-widget {
        padding: 1rem;
    }

    .tour-meta-grid {
        grid-template-columns: 1fr;
    }

    .meta-card {
        padding: 0.75rem;
    }
}

/* Print Styles */
@media print {
    .tour-sidebar {
        display: none;
    }
    
    .tour-layout {
        grid-template-columns: 1fr;
    }
    
    .hero-overlay {
        display: none;
    }
}

/* Form validation styles */
.form-group.has-error .form-control {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

/* Booking summary */
.booking-summary {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    border-left: 4px solid #007cba;
}

.booking-summary h5 {
    margin: 0 0 0.75rem 0;
    color: #333;
    font-size: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.summary-item.total {
    font-weight: 600;
    border-top: 1px solid #dee2e6;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
}

/* Enhanced gallery modal */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    cursor: pointer;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    margin: 5vh auto;
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
}

.modal-header {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
}

.modal-close {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: background-color 0.2s;
}

.modal-close:hover,
.modal-close:focus {
    background: rgba(0, 0, 0, 0.9);
    outline: 2px solid white;
}

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

/* Notification system */
.tour-notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    max-width: 400px;
    z-index: 10000;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: none;
}

.notification-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    gap: 1rem;
}

.notification-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.notification-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.notification-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.notification-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.notification-close:hover {
    opacity: 1;
}

/* Skip links for accessibility */
.skip-links {
    position: absolute;
    top: -40px;
    left: 6px;
    z-index: 999999;
}

.skip-link {
    position: absolute;
    left: -9999px;
    padding: 8px 16px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
}

.skip-link:focus {
    left: 6px;
    top: 7px;
}

/* Loading spinner */
.spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Difficulty Colors */
.difficulty-easy { color: var(--success-color); }
.difficulty-moderate { color: var(--warning-color); }
.difficulty-challenging { color: var(--warning-color); }
.difficulty-difficult { color: var(--danger-color); }