/* ===================================
   EXPERIENCE DETAIL PAGE STYLES
   =================================== */

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.detail-hero {
    position: relative;
    height: 75vh;
    min-height: 650px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image: url('../../assets/images/blog/hero-experiance-details.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    color: white;
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    opacity: 0.95;
    color: white;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 0.7;
}

.breadcrumb span {
    margin: 0 0.5rem;
    color: white;
}

.breadcrumb i {
    color: white;
    font-size: 0.7rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: white;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    color: white;
}

/* Main Container */
.detail-section .container {
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 2rem;
}

/* Content Layout */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
}

.detail-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Gallery Section */
.detail-gallery {
    margin-bottom: 2rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.main-image-container {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: #f5f5f5;
}

.main-image-container img,
.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.5rem;
    padding: 1rem;
    background: white;
}

.gallery-section {
    margin-bottom: 3rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.gallery-main {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: #f5f5f5;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
    z-index: 10;
}

.gallery-nav button,
.gallery-nav.prev,
.gallery-nav.next {
    pointer-events: all;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.gallery-nav.prev {
    left: 2rem;
}

.gallery-nav.next {
    right: 2rem;
}

.gallery-nav button:hover,
.gallery-nav.prev:hover,
.gallery-nav.next:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav button i {
    font-size: 1.2rem;
    color: #333;
}

.gallery-nav.prev i,
.gallery-nav.next i {
    font-size: 1.2rem;
    color: #333;
}

.image-counter {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.5rem;
    padding: 1rem;
    background: white;
}

.thumbnail {
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail:hover {
    border-color: #667eea;
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: #667eea;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content Layout */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
}

/* Experience Details */
.detail-content {
    background: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.detail-content h2 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.detail-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

.detail-header {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.header-top {
    margin-bottom: 1.5rem;
}

.header-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffc107;
    font-weight: 600;
}

.category-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.detail-title {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff3cd;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    margin-bottom: 1.5rem;
}

.rating-badge .fa-star {
    color: #ffc107;
}

.quick-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.info-text h4 {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.info-text p {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
}

/* Description Section */
.description-section {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid #e0e0e0;
}

.description-section h2 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.description-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

/* Highlights Section */
.highlights-section {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid #e0e0e0;
}

.highlights-section h2 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.highlights-list {
    list-style: none;
    padding: 0;
}

.highlights-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: #555;
}

.highlights-list .fa-check-circle {
    color: #28a745;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* Inclusions Section */
.inclusions-section {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid #e0e0e0;
}

.inclusions-section h2 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.inclusions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.inclusion-group,
.inclusion-column {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
}

.inclusion-group h3,
.inclusion-column h3 {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.inclusion-group h3 i,
.inclusion-column h3 i {
    font-size: 1.1rem;
}

.inclusion-group.included h3,
.inclusion-column h3 .fa-check-circle {
    color: #28a745;
}

.inclusion-group.not-included h3,
.inclusion-column h3 .fa-times-circle {
    color: #dc3545;
}

.inclusion-group ul,
.inclusion-column ul {
    list-style: none;
    padding: 0;
}

.inclusion-group li,
.inclusion-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
}

.inclusion-group li:last-child,
.inclusion-list li:last-child {
    border-bottom: none;
}

.inclusion-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Booking Widget */
.booking-sidebar {
    position: sticky;
    top: 100px;
}

.booking-widget {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.widget-header {
    margin-bottom: 2rem;
}

.price-display {
    text-align: center;
}

.price-display .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
}

.price-display .price-period {
    color: #666;
    font-size: 0.95rem;
}

.price-display .amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
}

.price-display .per-person {
    color: #666;
    font-size: 0.95rem;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-input {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-input:focus {
    outline: none;
    border-color: #667eea;
}

.guests-counter,
.guest-counter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
}

.counter-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #667eea;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.counter-btn:hover {
    background: #764ba2;
    transform: scale(1.1);
}

.counter-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: scale(1);
}

.counter-display,
.counter-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    min-width: 40px;
    text-align: center;
}

/* Price Breakdown */
.price-breakdown {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-top: 1.5rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: #555;
}

.price-row.total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #ddd;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
}

.btn-reserve {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.btn-reserve:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Reviews Section */
.reviews-section {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-top: 3rem;
}

.reviews-section h2 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 2rem;
}

.reviews-summary {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.rating-big {
    text-align: center;
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
    color: #667eea;
}

.stars-display {
    color: #ffc107;
    margin: 0.5rem 0;
}

.total-reviews {
    color: #666;
    font-size: 0.95rem;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-item {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
}

.reviewer-details h4 {
    font-size: 1rem;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.review-date {
    font-size: 0.85rem;
    color: #666;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-rating .fa-star,
.review-rating .fa-star-half-alt {
    color: #ffc107;
}

.review-rating .fa-star.far {
    color: #ddd;
}

.rating-number {
    font-weight: 600;
    color: #666;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #d4edda;
    color: #155724;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.review-text {
    line-height: 1.6;
    color: #555;
}

.no-reviews {
    text-align: center;
    padding: 3rem;
    color: #999;
}

.no-reviews i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }
    
    .booking-sidebar {
        position: static;
        top: auto;
    }
    
    .booking-widget {
        position: static;
        margin-top: 2rem;
    }
    
    .quick-info {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .inclusions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .detail-hero {
        height: 65vh;
        min-height: 550px;
    }
    
    .hero-content {
        margin-top: 90px;
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .breadcrumb {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .detail-section .container {
        padding: 0 1rem;
        margin: 2rem auto;
    }
    
    /* Gallery */
    .main-image-container {
        height: 400px;
    }
    
    .thumbnail-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 8px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
        padding: 0.75rem;
    }
    
    .thumbnail-grid::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .thumbnail {
        flex: 0 0 100px;
        height: 70px;
        scroll-snap-align: start;
    }
    
    .gallery-nav button,
    .gallery-nav.prev,
    .gallery-nav.next {
        width: 40px;
        height: 40px;
    }
    
    .gallery-nav.prev {
        left: 1rem;
    }
    
    .gallery-nav.next {
        right: 1rem;
    }
    
    .gallery-nav {
        padding: 0 1rem;
    }
    
    .image-counter {
        bottom: 1rem;
        right: 1rem;
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Detail Content */
    .detail-header {
        padding: 1.5rem;
    }
    
    .detail-content {
        padding: 1.5rem 0;
    }
    
    .detail-content h2 {
        font-size: 1.5rem;
    }
    
    .detail-title {
        font-size: 1.6rem;
    }
    
    .category-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.9rem;
    }
    
    /* Quick Info */
    .quick-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .info-item {
        justify-content: flex-start;
    }
    
    .info-icon {
        width: 36px;
        height: 36px;
    }
    
    /* Inclusions */
    .inclusions-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .inclusion-column {
        padding: 1.25rem;
    }
    
    .inclusion-column h3 {
        font-size: 1.1rem;
    }
    
    /* Booking Widget */
    .booking-widget {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .price-display .price {
        font-size: 2rem;
    }
    
    .price-display .price-period {
        font-size: 0.9rem;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-group label {
        font-size: 0.95rem;
    }
    
    .btn-reserve {
        padding: 0.9rem;
        font-size: 1rem;
    }
    
    /* Reviews */
    .reviews-summary {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .review-item {
        padding: 1.25rem;
    }
    
    .reviewer-avatar {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .detail-hero {
        height: 60vh;
        min-height: 450px;
    }
    
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .breadcrumb {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .breadcrumb i {
        font-size: 0.7rem;
    }
    
    /* Gallery */
    .main-image-container {
        height: 280px;
    }
    
    .thumbnail-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 6px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
        padding: 0.5rem;
    }
    
    .thumbnail-grid::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .thumbnail {
        flex: 0 0 90px;
        height: 60px;
        scroll-snap-align: start;
    }
    
    .gallery-nav button,
    .gallery-nav.prev,
    .gallery-nav.next {
        width: 35px;
        height: 35px;
    }
    
    .gallery-nav.prev {
        left: 0.75rem;
    }
    
    .gallery-nav.next {
        right: 0.75rem;
    }
    
    .gallery-nav button i,
    .gallery-nav.prev i,
    .gallery-nav.next i {
        font-size: 1rem;
    }
    
    /* Detail Content */
    .detail-header {
        padding: 1rem;
    }
    
    .detail-title {
        font-size: 1.4rem;
        line-height: 1.3;
    }
    
    .category-badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.8rem;
    }
    
    .detail-content h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .detail-content p {
        font-size: 0.95rem;
    }
    
    /* Quick Info */
    .info-icon {
        width: 32px;
        height: 32px;
    }
    
    .info-text h4 {
        font-size: 0.8rem;
    }
    
    .info-text p {
        font-size: 0.95rem;
    }
    
    /* Inclusions */
    .inclusion-column {
        padding: 1rem;
    }
    
    .inclusion-column h3 {
        font-size: 1rem;
    }
    
    .inclusion-column li {
        padding: 0.6rem 0;
        font-size: 0.9rem;
    }
    
    /* Booking Widget */
    .booking-widget {
        padding: 1.25rem;
    }
    
    .price-display .price {
        font-size: 1.8rem;
    }
    
    .widget-header {
        margin-bottom: 1.5rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-input {
        padding: 0.75rem;
        font-size: 0.95rem;
    }
    
    .guest-counter,
    .counter-value {
        padding: 0.75rem;
    }
    
    .counter-btn {
        width: 32px;
        height: 32px;
    }
    
    .counter-value {
        font-size: 1.1rem;
    }
    
    .price-breakdown {
        padding: 1.25rem;
        margin-top: 1.25rem;
    }
    
    .price-row {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }
    
    .price-row.total {
        font-size: 1rem;
    }
    
    .btn-reserve {
        padding: 0.85rem;
        font-size: 0.95rem;
    }
    
    /* Reviews */
    .reviews-summary {
        padding: 1.25rem;
    }
    
    .rating-number {
        font-size: 2.5rem;
    }
    
    .review-item {
        padding: 1rem;
    }
    
    .reviewer-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .reviewer-details h4 {
        font-size: 0.95rem;
    }
    
    .review-date {
        font-size: 0.8rem;
    }
    
    .review-text {
        font-size: 0.9rem;
    }
    
    .verified-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Animation */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
