/**
 * Bokun Elementor Widgets CSS
 * Estilos para widgets y dynamic tags de Bokun en Elementor
 */

/* =================================
   EXPERIENCIA CARDS
   ================================= */
.bokun-experience-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.2s ease;
}

.bokun-experience-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.bokun-experience-card .experience-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.bokun-experience-card .experience-content {
    padding: 20px;
}

.bokun-experience-card .bokun-experience-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
}

.bokun-experience-card .bokun-experience-title a {
    text-decoration: none;
    color: inherit;
}

.bokun-experience-card .experience-price {
    margin-bottom: 10px;
}

.bokun-experience-card .experience-price .price {
    font-weight: bold;
    color: #e74c3c;
    font-size: 18px;
}

.bokun-experience-card .experience-price .per-person {
    font-size: 12px;
    color: #666;
    margin-left: 5px;
}

.bokun-experience-card .experience-duration {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.bokun-experience-card .experience-duration .icon-clock:before {
    content: "🕒";
    margin-right: 5px;
}

.bokun-experience-card .experience-excerpt {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.5;
}

.bokun-experience-card .experience-actions {
    text-align: center;
}

.bokun-experience-card .btn {
    display: inline-block;
    padding: 10px 25px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.2s ease;
}

.bokun-experience-card .btn:hover {
    background: #2980b9;
}

/* =================================
   EXPERIENCIA GRID/LIST
   ================================= */
.bokun-experience-list {
    display: grid;
    gap: 30px;
}

.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 !important;
    }
}

/* =================================
   EXPERIENCIA DETAIL
   ================================= */
.bokun-experience-detail .experience-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
}

.bokun-experience-detail .experience-meta span {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.bokun-experience-detail .experience-meta span i {
    margin-right: 5px;
}

.bokun-experience-detail .experience-gallery {
    margin-bottom: 30px;
}

.bokun-experience-detail .gallery-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.bokun-experience-detail .gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
}

.bokun-experience-detail .gallery-thumbs img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.bokun-experience-detail .gallery-thumbs img.active,
.bokun-experience-detail .gallery-thumbs img:hover {
    opacity: 1;
}

.bokun-experience-detail .experience-description,
.bokun-experience-detail .experience-itinerary,
.bokun-experience-detail .experience-included,
.bokun-experience-detail .experience-requirements {
    margin-bottom: 30px;
}

.bokun-experience-detail .experience-included {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .bokun-experience-detail .experience-included {
        grid-template-columns: 1fr;
    }
}

.bokun-experience-detail .included ul,
.bokun-experience-detail .not-included ul {
    list-style: none;
    padding: 0;
}

.bokun-experience-detail .included li,
.bokun-experience-detail .not-included li {
    padding: 5px 0;
    display: flex;
    align-items: center;
}

.bokun-experience-detail .included li .icon-check:before {
    content: "✓";
    color: #27ae60;
    margin-right: 10px;
    font-weight: bold;
}

.bokun-experience-detail .not-included li .icon-close:before {
    content: "✗";
    color: #e74c3c;
    margin-right: 10px;
    font-weight: bold;
}

/* =================================
   FORMULARIO DE RESERVA
   ================================= */
.bokun-booking-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.bokun-booking-form .form-section {
    margin-bottom: 25px;
}

.bokun-booking-form .form-section h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
}

.bokun-booking-form .form-field {
    margin-bottom: 15px;
}

.bokun-booking-form .form-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.bokun-booking-form .form-field input,
.bokun-booking-form .form-field select,
.bokun-booking-form .form-field textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.bokun-booking-form .form-field input:focus,
.bokun-booking-form .form-field select:focus,
.bokun-booking-form .form-field textarea:focus {
    outline: none;
    border-color: #3498db;
}

/* =================================
   CALENDARIO DE RESERVAS
   ================================= */
.bokun-booking-calendar {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.bokun-booking-calendar .calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #3498db;
    color: white;
}

.bokun-booking-calendar .calendar-header button {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 3px;
    transition: background 0.2s ease;
}

.bokun-booking-calendar .calendar-header button:hover {
    background: rgba(255,255,255,0.2);
}

.bokun-booking-calendar .calendar-body {
    padding: 20px;
}

/* =================================
   GALERÍA
   ================================= */
.bokun-gallery {
    display: grid;
    gap: 15px;
}

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

.bokun-gallery.bokun-gallery-grid.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.bokun-gallery.bokun-gallery-grid.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.bokun-gallery.bokun-gallery-grid.columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.bokun-gallery .gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

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

.bokun-gallery.bokun-gallery-carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
}

.bokun-gallery.bokun-gallery-carousel .gallery-item {
    flex: 0 0 300px;
    margin-right: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .bokun-gallery.bokun-gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .bokun-gallery.bokun-gallery-carousel .gallery-item {
        flex: 0 0 250px;
    }
}

@media (max-width: 480px) {
    .bokun-gallery.bokun-gallery-grid {
        grid-template-columns: 1fr !important;
    }
    
    .bokun-gallery.bokun-gallery-carousel .gallery-item {
        flex: 0 0 200px;
    }
}

/* =================================
   INFO WIDGETS
   ================================= */
.bokun-experience-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.bokun-experience-info .bokun-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

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

.bokun-experience-info .info-label {
    font-weight: 500;
    color: #666;
}

.bokun-experience-info .info-value {
    font-weight: bold;
    color: #333;
}

.bokun-experience-info .price-item .info-value {
    color: #e74c3c;
    font-size: 18px;
}

/* =================================
   REVIEWS
   ================================= */
.bokun-reviews-list .review-item {
    background: #f8f9fa;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.bokun-reviews-list .review-item .rating {
    color: #f39c12;
    margin-bottom: 10px;
    font-size: 18px;
}

.bokun-reviews-list .review-item .comment {
    margin-bottom: 10px;
    line-height: 1.5;
}

.bokun-reviews-list .review-item .author {
    font-style: italic;
    color: #666;
    font-size: 14px;
}

/* =================================
   UTILIDADES
   ================================= */
.bokun-loading {
    text-align: center;
    padding: 40px;
}

.bokun-error {
    background: #fee;
    color: #c33;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #fcc;
}

.bokun-success {
    background: #efe;
    color: #363;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #cfc;
}

/* =================================
   CAROUSEL NAVIGATION
   ================================= */
.carousel-nav,
.gallery-navigation {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.carousel-nav button,
.gallery-navigation button {
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.carousel-nav button:hover,
.gallery-navigation button:hover {
    background: #2980b9;
}