/* ===== MASTHEAD AIRBNB STYLE ===== */
.masthead-details {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f7f7f7 0%, #ffffff 100%);
    overflow: hidden;
    padding: 3rem 0 2rem;
}

.details-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/img/header.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    z-index: 1;
}

.masthead-details .container {
    position: relative;
    z-index: 2;
}

.details-content {
    max-width: 900px;
}

.breadcrumb-custom {
    margin-bottom: 1rem;
}

.breadcrumb-link {
    color: #666666;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.breadcrumb-link:hover {
    color: #5FA882;
}

.details-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #222222;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.details-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.badge-custom {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.875rem;
}

.separator {
    color: #999999;
}

.category-text {
    color: #666666;
    font-size: 0.95rem;
}

/* ===== GALLERY MODERNA ===== */
.service-gallery {
    margin-bottom: 0;
}

.gallery-carousel {
    position: relative;
    background: #f8f8f8;
}

.gallery-image-wrapper {
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

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

.single-image-wrapper {
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #000;
}

.single-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modern-control {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    opacity: 0;
    transition: all 0.3s;
}

.gallery-carousel:hover .modern-control {
    opacity: 1;
}

.modern-control:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.control-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #222222;
}

.image-counter {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 10;
}

.thumbnails-wrapper {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    overflow-x: auto;
    background: white;
}

.thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
    background: none;
}

.thumbnail:hover {
    border-color: #82BFA3;
}

.thumbnail.active {
    border-color: #5FA882;
}

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

/* ===== CONTENT SECTIONS ===== */
.price-section {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(130, 191, 163, 0.1) 0%, rgba(95, 168, 130, 0.05) 100%);
    border-radius: 12px;
}

.price-label {
    font-size: 0.875rem;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.price-value {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #82BFA3 0%, #5FA882 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-hint {
    font-size: 0.875rem;
    color: #999999;
    margin-top: 0.5rem;
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #222222;
    margin-bottom: 1rem;
}

.section-title-large {
    font-size: 1.5rem;
    font-weight: 700;
    color: #222222;
}

.description-content {
    color: #555555;
    line-height: 1.8;
    font-size: 1rem;
}

/* ===== BOOKING SIDEBAR ===== */
.sidebar-sticky {
    position: sticky;
    top: 100px;
}

.booking-card {
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.booking-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.booking-label {
    font-size: 0.875rem;
    color: #666666;
}

.booking-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #222222;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
    color: white;
}

.info-title {
    font-size: 1rem;
    font-weight: 600;
    color: #222222;
    margin-bottom: 1rem;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.info-item i {
    font-size: 1.25rem;
    color: #82BFA3;
    margin-top: 0.25rem;
}

.info-item > div {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-size: 0.875rem;
    color: #999999;
}

.info-value {
    font-size: 0.95rem;
    color: #222222;
    font-weight: 500;
}

/* ===== RELATED CARDS ===== */
.related-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.related-card {
    transition: all 0.3s;
    border-radius: 12px;
    overflow: hidden;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1) !important;
}

.related-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.related-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-card:hover .related-image {
    transform: scale(1.05);
}

.related-title {
    font-size: 1rem;
    font-weight: 600;
    color: #222222;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.badge-mini {
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

.related-category {
    font-size: 0.875rem;
    color: #999999;
}

.related-price {
    font-size: 0.875rem;
    color: #666666;
}

.price-highlight {
    font-weight: 600;
    color: #5FA882;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .masthead-details {
        min-height: auto;
        padding: 2rem 0 1.5rem;
    }

    .details-title {
        font-size: 2rem;
    }

    .gallery-image-wrapper,
    .single-image-wrapper {
        height: 300px;
    }

    .sidebar-sticky {
        position: static;
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .details-title {
        font-size: 1.75rem;
    }

    .details-meta {
        font-size: 0.875rem;
    }

    .gallery-image-wrapper,
    .single-image-wrapper {
        height: 250px;
    }

    .price-value {
        font-size: 1.5rem;
    }

    .modern-control {
        width: 40px;
        height: 40px;
        opacity: 1;
    }

    .image-counter {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
}
