/* ====================================
   Experience Detail Page Styles
   ==================================== */

/* Hero Section */
.spot-hero {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    max-height: 700px;
    overflow: hidden;
    margin-top: 80px; /* Account for fixed header */
}

.spot-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.spot-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 100%
    );
}

.spot-hero__content {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    z-index: 2;
    color: white;
}

.spot-hero__badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spot-hero__title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.spot-hero__meta {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 16px;
}

.spot-hero__meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.spot-hero__meta-item i {
    color: #FFD700;
}

.meta-reviews {
    opacity: 0.9;
}

.spot-hero__add {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
}

.spot-hero__add i {
    font-size: 24px;
    color: #8B4513;
}

.spot-hero__add:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

.spot-hero__add.added {
    background: #8B4513;
}

.spot-hero__add.added i {
    color: white;
}

/* Detail Content */
.spot-detail {
    padding: 80px 0;
    background: #fff;
}

.spot-detail.section {
    padding: 80px 0;
}

.spot-detail .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.spot-detail__grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    max-width: 100%;
}

/* Detail Cards */
.detail-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.detail-card__title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 24px 0;
    color: #1a1a1a;
}

.detail-card__title i {
    color: #8B4513;
    font-size: 24px;
}

.detail-card__text {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.feature-item i {
    font-size: 24px;
    color: #8B4513;
    margin-top: 2px;
    flex-shrink: 0;
}

.feature-item__content {
    flex: 1;
}

.feature-item__title {
    font-weight: 600;
    font-size: 16px;
    margin: 0 0 4px 0;
    color: #1a1a1a;
}

.feature-item__text {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Lists */
.detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
    line-height: 1.6;
}

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

.detail-list li i {
    margin-top: 3px;
    color: #8B4513;
    flex-shrink: 0;
}

/* Photo Gallery */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.photo-gallery__item {
    position: relative;
    width: 100%;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.photo-gallery__item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-gallery__item:hover img {
    transform: scale(1.1);
}

/* Tips Container */
.tips-container {
    display: grid;
    gap: 20px;
}

.tip-card {
    padding: 24px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border-left: 4px solid #8B4513;
}

.tip-card__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #1a1a1a;
}

.tip-card__title i {
    color: #8B4513;
}

.tip-card__text {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

/* Map Section */
.map-section {
    margin-top: 30px;
}

.access-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.access-card {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.access-card__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 16px;
    margin: 0 0 10px 0;
    color: #1a1a1a;
}

.access-card__title i {
    color: #8B4513;
}

.access-card__text {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.map-container {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Sidebar */
.spot-detail__sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
}

.sidebar-card__title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #1a1a1a;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

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

.info-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: #666;
    font-size: 14px;
}

.info-label i {
    color: #8B4513;
    width: 20px;
}

.info-value {
    font-weight: 600;
    color: #1a1a1a;
    text-align: right;
    font-size: 15px;
}

/* Booking Card */
.sidebar-card--booking {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: white;
    border: none;
}

.sidebar-card--booking .sidebar-card__title {
    color: white;
}

.booking-description {
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 20px 0;
    opacity: 0.95;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn--primary {
    background: white;
    color: #8B4513;
}

.btn--primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn--secondary {
    background: #f8f9fa;
    color: #333;
    border: 2px solid #ddd;
}

.btn--secondary:hover {
    background: white;
    border-color: #8B4513;
    color: #8B4513;
}

.btn--full {
    width: 100%;
    margin-bottom: 12px;
}

.btn--full:last-child {
    margin-bottom: 0;
}

/* Related Experiences Section */
.section--gray {
    background: #f8f9fa;
    padding: 80px 0;
}

.section__header {
    text-align: center;
    margin-bottom: 50px;
}

.section__title {
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    color: #1a1a1a;
}

.experiences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Ad Containers */
.ad-container {
    text-align: center;
    margin: 40px 0;
}

.ad-label {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .spot-hero {
        height: 60vh;
        min-height: 400px;
    }

    .spot-hero__content {
        bottom: 40px;
    }

    .spot-hero__title {
        font-size: 32px;
    }

    .spot-hero__add {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .spot-hero__add i {
        font-size: 20px;
    }

    .spot-detail {
        padding: 50px 0;
    }

    .spot-detail__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .spot-detail__sidebar {
        position: static;
    }

    .detail-card {
        padding: 30px;
    }

    .detail-card__title {
        font-size: 24px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .access-info {
        grid-template-columns: 1fr;
    }

    .experiences-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .spot-hero {
        height: 50vh;
        min-height: 350px;
    }

    .spot-hero__title {
        font-size: 28px;
    }

    .spot-hero__meta {
        font-size: 14px;
        gap: 20px;
    }

    .detail-card {
        padding: 24px;
        border-radius: 15px;
    }

    .detail-card__title {
        font-size: 22px;
    }

    .section__title {
        font-size: 28px;
    }

    .sidebar-card {
        padding: 24px;
    }
}
