/* Bokun Integration - Public Styles */

/* Reset & Base Styles */
.bokun-widget {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.bokun-widget *,
.bokun-widget *::before,
.bokun-widget *::after {
    box-sizing: inherit;
}

/* Language Switcher */
.bokun-language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.bokun-language-switcher.dropdown select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    font-size: 14px;
}

.bokun-language-switcher.flags .language-link,
.bokun-language-switcher.text .language-link {
    padding: 6px;
    text-decoration: none;
    border-radius: 4px;
}

.bokun-language-switcher.flags .language-link:hover,
.bokun-language-switcher.text .language-link:hover {
    background-color: #f5f5f5;
}

.bokun-language-switcher.flags .language-link.active,
.bokun-language-switcher.text .language-link.active {
    /*background-color: #0073aa;*/
    color: white;
}

/* Experience List */
.bokun-experience-list {
    display: grid;
    gap: 20px;
    margin: 20px 0;
}

.bokun-experience-list.bokun-experience-grid.columns-1 {
    grid-template-columns: 1fr;
}

.bokun-experience-list.bokun-experience-grid.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.bokun-experience-list.bokun-experience-grid.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.bokun-experience-list.bokun-experience-grid.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.bokun-experience-list.bokun-experience-list {
    grid-template-columns: 1fr;
}

/* Responsive */
@media (max-width: 768px) {
    .bokun-experience-list.bokun-experience-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .bokun-experience-list.bokun-experience-grid.columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .bokun-experience-list.bokun-experience-grid.columns-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Experience Card */
.bokun-experience-card {
    background: white;
    border-radius: 8px;
/* Bokun Integration - Public Styles */

/* Reset & Base Styles */
.bokun-widget {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.bokun-widget *,
.bokun-widget *::before,
.bokun-widget *::after {
    box-sizing: inherit;
}

/* Language Switcher */
.bokun-language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.bokun-language-switcher.dropdown select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    font-size: 14px;
}

.bokun-language-switcher.flags .language-link,
.bokun-language-switcher.text .language-link {
    padding: 6px;
    text-decoration: none;
    border-radius: 4px;
}

.bokun-language-switcher.flags .language-link:hover,
.bokun-language-switcher.text .language-link:hover {
    background-color: #f5f5f5;
}

.bokun-language-switcher.flags .language-link.active,
.bokun-language-switcher.text .language-link.active {
    /*background-color: #0073aa;*/
    color: white;
}

/* Experience List */
.bokun-experience-list {
    display: grid;
    gap: 20px;
    margin: 20px 0;
}

.bokun-experience-list.bokun-experience-grid.columns-1 {
    grid-template-columns: 1fr;
}

.bokun-experience-list.bokun-experience-grid.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.bokun-experience-list.bokun-experience-grid.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.bokun-experience-list.bokun-experience-grid.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.bokun-experience-list.bokun-experience-list {
    grid-template-columns: 1fr;
}

/* Responsive */
@media (max-width: 768px) {
    .bokun-experience-list.bokun-experience-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .bokun-experience-list.bokun-experience-grid.columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .bokun-experience-list.bokun-experience-grid.columns-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Experience Card */
.bokun-experience-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.bokun-experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.bokun-experience-card .experience-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.bokun-experience-card .experience-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.bokun-experience-card:hover .experience-image img {
    transform: scale(1.05);
}

.bokun-experience-card .experience-content {
    padding: 20px;
}

.bokun-experience-title {
    margin: 0 0 10px 0;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
}

.bokun-experience-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.bokun-experience-title a:hover {
    color: #0073aa;
}

.experience-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin: 10px 0;
    font-weight: 600;
    color: #2c5aa0;
}

.experience-price .price {
    font-size: 1.5rem;
}

.experience-price .per-person {
    font-size: 0.9rem;
    font-weight: normal;
    color: #666;
}

.experience-duration {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 8px 0;
    color: #666;
    font-size: 0.9rem;
}

.experience-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 15px 0;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.experience-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: #666;
}

.experience-excerpt {
    margin: 15px 0;
    color: #666;
    line-height: 1.5;
}

.experience-actions {
    margin-top: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
}

.btn-secondary:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.btn-success {
    background: linear-gradient(135deg, #56ccf2 0%, #2f80ed 100%);
    color: white;
}

.btn-success:hover {
    background: linear-gradient(135deg, #4ac5f0 0%, #2970d9 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(86, 204, 242, 0.4);
}

/* Experience Detail */
.bokun-experience-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.experience-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #333;
    line-height: 1.2;
}

/* Gallery */
.experience-gallery {
    margin: 30px 0;
}

.gallery-main {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 15px;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0;
}

.gallery-thumbs img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.gallery-thumbs img:hover,
.gallery-thumbs img.active {
    opacity: 1;
}

/* Content Sections */
.experience-description,
.experience-itinerary,
.experience-included,
.experience-requirements {
    margin: 40px 0;
}

.experience-description h3,
.experience-itinerary h3,
.experience-requirements h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 20px 0;
    color: #333;
}

.experience-included {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .experience-included {
        grid-template-columns: 1fr;
    }
}

.experience-included h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #333;
}

.experience-included ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.experience-included li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
    line-height: 1.5;
}

.included li {
    color: #28a745;
}

.not-included li {
    color: #dc3545;
}

/* Booking Form */
.bokun-booking-form {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 30px 0;
}

@media (max-width: 1024px) {
    .bokun-booking-form {
        flex-direction: column;
    }
}

.booking-step {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.booking-step.active {
    border-color: #667eea;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.1);
}

.booking-step h3 {
    margin: 0 0 20px 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.booking-summary {
    flex: 1;
    background: white;
    padding: 25px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.booking-summary h4 {
    margin: 0 0 20px 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #f1f3f4;
    padding-bottom: 10px;
}

/* Booking Calendar */
.bokun-booking-calendar {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 20px 0;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.calendar-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.calendar-prev,
.calendar-next {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1.2rem;
}

.calendar-prev:hover,
.calendar-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.calendar-body {
    padding: 25px;
}

/* Available Times */
#available-times {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.time-slot {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.time-slot:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.time-slot.selected {
    border-color: #667eea;
    background: #667eea;
    color: white;
}

.time-slot.unavailable {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f8f9fa;
}

/* Loading States */
.bokun-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Alerts & Messages */
.bokun-alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 4px solid;
}

.bokun-alert-success {
    background: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.bokun-alert-error {
    background: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

.bokun-alert-warning {
    background: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

.bokun-alert-info {
    background: #d1ecf1;
    border-color: #17a2b8;
    color: #0c5460;
}

/* Carousel */
.bokun-experience-carousel {
    position: relative;
    overflow: hidden;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.carousel-prev,
.carousel-next {
    background: #667eea;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: #5a6fd8;
}

/* Utility Classes */
.bokun-hidden {
    display: none !important;
}

.bokun-text-center {
    text-align: center;
}

.bokun-text-left {
    text-align: left;
}

.bokun-text-right {
    text-align: right;
}

.bokun-mb-10 { margin-bottom: 10px; }
.bokun-mb-20 { margin-bottom: 20px; }
.bokun-mb-30 { margin-bottom: 30px; }

.bokun-mt-10 { margin-top: 10px; }
.bokun-mt-20 { margin-top: 20px; }
.bokun-mt-30 { margin-top: 30px; }

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .bokun-experience-card {
        background: #2d3748;
        color: #e2e8f0;
    }
    
    .bokun-experience-title a {
        color: #e2e8f0;
    }
    
    .booking-step {
        background: #2d3748;
        color: #e2e8f0;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        background: #4a5568;
        border-color: #718096;
        color: #e2e8f0;
    }
}

/* Print styles */
@media print {
    .bokun-booking-form,
    .booking-summary,
    .calendar-nav,
    .btn {
        display: none !important;
    }
}
.bokun-experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}