/* ═══════════════════════════════════════════
   ACTIVITY DETAIL PAGE — activity-detail.css
   ═══════════════════════════════════════════ */

.activity-detail-page {
    padding-top: 120px;
    background: #fff;
    min-height: 100vh;
}

.ad-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 5rem;
}

/* ═══ BREADCRUMBS ═══ */
.ad-breadcrumb {
    font-family: 'Raleway', sans-serif;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ad-breadcrumb a {
    color: #444;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ad-breadcrumb a:hover {
    color: #000;
}

.ad-breadcrumb span {
    color: #111;
    font-weight: 500;
}

/* ═══ MAIN LAYOUT ═══ */
.ad-row {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
}

.ad-gallery {
    flex: 1 1 500px;
}

.ad-details {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
}

/* ═══ GALLERY ═══ */
.ad-main-image-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f8f8f8;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.ad-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.4s ease;
}

.ad-thumbnails {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.8rem;
}

.ad-thumb {
    aspect-ratio: 1 / 1;
    width: 100%;
    object-fit: cover;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.3s ease;
    opacity: 0.6;
    border: 1px solid transparent;
}

.ad-thumb:hover, .ad-thumb.active {
    opacity: 1;
    border-color: #000;
}

/* ═══ PRODUCT INFO ═══ */
.ad-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.ad-price {
    font-family: 'Raleway', sans-serif;
    font-size: 1.8rem;
    color: #222;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.ad-divider {
    height: 1px;
    background: #eee;
    width: 100%;
    margin: 1.5rem 0;
}

.ad-description {
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

.ad-description p {
    margin-bottom: 1.2rem;
}

.ad-description em {
    font-weight: 600;
    color: #333;
    font-style: normal;
}

.ad-description ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 1.5rem;
}

.ad-description li {
    margin-bottom: 0.5rem;
}

.ad-description img,
.ad-description iframe,
.ad-description video {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.ad-description table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    overflow-x: auto;
    display: block;
    margin: 1.5rem 0;
}

.ad-link-underline {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
}

/* ═══ SOCIAL SHARE ═══ */
.ad-social {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.ad-social a {
    color: #444;
    font-size: 1.1rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.ad-social a:hover {
    color: #000;
    transform: translateY(-2px);
}

/* ═══ CART ACTIONS ═══ */
.ad-cart-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: auto;
}

.ad-qty-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ad-qty-label {
    font-family: 'Raleway', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ad-qty-input {
    width: 80px;
    height: 45px;
    border: 1px solid #ddd;
    text-align: center;
    font-size: 1rem;
    font-family: 'Raleway', sans-serif;
    transition: border-color 0.3s ease;
}

.ad-qty-input:focus {
    border-color: #000;
    outline: none;
}

.ad-btn-add {
    background: #000;
    color: #fff;
    border: 1px solid #000;
    padding: 1.2rem 3rem;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
}

.ad-btn-add:hover {
    background: transparent;
    color: #000;
}

/* ═══ NEARBY / RELATED ATTRACTIONS GRID ═══ */
.atr-nearby-section {
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid #eee;
}

.atr-nearby-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2rem;
    text-align: left;
}

.atr-nearby-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.atr-nearby-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #eadfd3;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(42, 31, 24, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    height: 100%;
}

.atr-nearby-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(42, 31, 24, 0.12);
    border-color: #3d9283;
}

.atr-nearby-card .nc-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    height: 220px;
    overflow: hidden;
    background: #f4ede4;
    position: relative;
    flex-shrink: 0;
}

.atr-nearby-card .nc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.atr-nearby-card:hover .nc-img img {
    transform: scale(1.06);
}

.atr-nearby-card .nc-body {
    padding: 1.25rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.atr-nearby-card .nc-tag {
    font-family: 'Raleway', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f766e;
    margin-bottom: 0.4rem;
    display: block;
}

.atr-nearby-card .nc-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0;
    line-height: 1.25;
    transition: color 0.3s ease;
}

.atr-nearby-card:hover .nc-title {
    color: #3d9283;
}

/* ═══ CATEGORY & LOCATION LISTINGS ═══ */
.activities-section {
    padding: 60px 0 80px;
}

.activities-section .ad-breadcrumb {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.activities-section .ad-breadcrumb a {
    color: #fff;
    opacity: 0.85;
}

.activities-section .ad-breadcrumb a:hover {
    color: #fff;
    opacity: 1;
    text-decoration: underline;
}

.activities-section .ad-breadcrumb span {
    color: #fff;
}

.act-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.act-card {
    background: #ffffff;
    border: 1px solid #eadfd3;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(42, 31, 24, 0.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.act-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(42, 31, 24, 0.12);
    border-color: #3d9283;
}

.act-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    height: 220px;
    overflow: hidden;
    background: #f4ede4;
    flex-shrink: 0;
    display: block;
}

.act-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.act-card:hover .act-img img {
    transform: scale(1.06);
}

.act-body {
    padding: 20px 22px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.act-body h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.25;
}

.act-body p {
    font-family: 'Raleway', sans-serif;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.act-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid #eee;
    margin-top: auto;
}

.act-price {
    font-family: 'Raleway', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f766e;
}

.act-view-link {
    font-family: 'Raleway', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #1a1a1a;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s ease;
}

.act-view-link:hover {
    color: #3d9283;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 991px) {
    .ad-row {
        gap: 2.5rem;
    }
    
    .ad-title {
        font-size: 2.5rem;
    }

    .atr-nearby-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .act-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .ad-row {
        flex-direction: column;
    }
    
    .ad-gallery, .ad-details {
        flex: 1 1 100%;
    }
    
    .ad-container {
        padding: 0 1.5rem 3rem;
    }
    
    .activity-detail-page {
        padding-top: 80px;
    }
}

@media (max-width: 600px) {
    .atr-nearby-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .atr-nearby-card .nc-img {
        height: 200px;
    }

    .act-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .act-img {
        height: 200px;
    }
}
