/*
Theme Name: Anglesey Adventures
Author: Owen Sutton
Author URI: https://quietwork.co.uk
Description: Custom theme for outdoor adventure activity provider on Anglesey, North Wales
Version: 1.0.0
License: Proprietary
Text Domain: anglesey
*/


/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
    --brand: #2474bb;
    --navy: #002038;
    --ocean: #2474bb;
    --ocean-light: #003b60;
    --sand: #e8f1f8;
    --sand-dark: #d0e3f0;
    --white: #ffffff;
    --charcoal: #002038;
    --text: #333333;
    --text-light: #555555;
    --accent: #cea90f;
    --accent-hover: #b5940d;
    --green: #27ae60;
    --radius: 8px;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
    --gold: #cea90f;
}


/* ============================================
   RESET & BASE STYLES
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ocean); text-decoration: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* ============================================
   HEADER — Sticky, mobile-first
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 32, 56, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    transition: background 0.3s;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    height: 40px;
    width: auto;
}

.header-phone {
    display: none;
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
}

.header-phone a { color: var(--white); }

.nav {
    display: none;
}

.nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.nav li {
    list-style: none;
}

.nav a {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 12px;
    transition: color 0.2s;
}

.nav a:hover { color: var(--accent); }

/* Hamburger button */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1002;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 32, 56, 0.98);
    z-index: 1001;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mobile-menu li {
    list-style: none;
}

.mobile-menu a {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 600;
    padding: 12px 24px;
    transition: color 0.2s;
    text-align: center;
}

.mobile-menu a:hover { color: var(--accent); }

.mobile-menu .btn-book {
    margin-top: 16px;
    font-size: 1.1rem;
    padding: 14px 32px;
}

.btn-book {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-book:hover {
    background: var(--accent-hover);
    color: #fff;
    transform: translateY(-1px);
}

.header-book { display: none; }

/* Mobile sticky book bar */
.mobile-book-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--navy);
    padding: 10px 16px;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.mobile-book-bar a.btn-call {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mobile-book-bar .btn-book {
    flex: 1;
    text-align: center;
    justify-content: center;
    padding: 12px 20px;
}


/* ============================================
   HERO — Video background (homepage)
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--navy);
}

.hero-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(0,32,56,0.4) 0%, rgba(0,32,56,0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 20px 120px;
    max-width: 800px;
}

.hero-tag {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 24px;
}

.hero h1 {
    color: var(--white);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-hero-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-hero-primary:hover {
    background: var(--accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

.btn-hero-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-hero-secondary:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
}


/* ============================================
   PAGE HERO — Activity detail pages
   ============================================ */
.page-hero {
    position: relative;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    margin-top: 64px;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(0deg, rgba(0,32,56,0.85) 0%, rgba(0,32,56,0.2) 50%, transparent 100%);
}

.page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent 30%, rgba(0,32,56,0.85));
}

.page-hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px 48px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 12px;
}

.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: #fff; }

.page-hero h1 {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 12px;
}

.page-hero h1 span { color: var(--accent); }

.page-hero-tagline {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin-bottom: 24px;
    max-width: 600px;
}


/* ============================================
   TRUST BAR — Accreditation logos
   ============================================ */
.trust-bar {
    background: var(--navy);
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.trust-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-logos img {
    height: 50px;
    width: auto;
    opacity: 0.8;
    filter: brightness(0) invert(1);
    transition: opacity 0.2s;
}

.trust-logos img.logo-jpg {
    filter: none;
    mix-blend-mode: screen;
    opacity: 0.9;
}

.trust-logos img:hover { opacity: 1; }


/* ============================================
   SECTION STYLES — Shared
   ============================================ */
.section {
    padding: 60px 0;
}

.section-label {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 8px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--charcoal);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}

/* Subtle rock/concrete texture background */
.pattern-bg {
    background-color: #f0f0ed;
    background-image: url('assets/images/bg-rock-light.png');
    background-repeat: repeat;
}


/* ============================================
   ACTIVITIES GRID
   ============================================ */
.activities-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.activity-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.activity-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.activity-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.activity-card-body {
    padding: 20px;
}

.activity-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.activity-card-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.activity-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.activity-card-meta svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.activity-card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ocean);
    margin-bottom: 16px;
}

.activity-card-ctas {
    display: flex;
    gap: 10px;
}


/* ============================================
   BUTTON STYLES
   ============================================ */
.btn-sm {
    padding: 10px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius);
    text-align: center;
    flex: 1;
    transition: all 0.2s;
}

.btn-primary { background: var(--ocean); color: var(--white); border: 2px solid var(--ocean); }
.btn-primary:hover { background: var(--navy); border-color: var(--navy); }
.btn-outline { background: transparent; color: var(--ocean); border: 2px solid var(--ocean); }
.btn-outline:hover { background: var(--ocean); color: var(--white); }

.view-all {
    text-align: center;
    margin-top: 32px;
}

.view-all a {
    font-weight: 600;
    color: var(--ocean);
    font-size: 1rem;
}


/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.why-item {
    text-align: center;
    padding: 24px 16px;
}

.why-icon {
    width: 56px;
    height: 56px;
    background: var(--ocean);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--white);
    font-size: 1.5rem;
}

.why-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 6px;
}

.why-item p {
    font-size: 0.85rem;
    color: var(--text-light);
}


/* ============================================
   REVIEWS CAROUSEL
   ============================================ */
.reviews-section {
    background: var(--sand);
}

.reviews-wrapper {
    overflow: hidden;
    position: relative;
}

.reviews-track {
    display: flex;
    gap: 24px;
    animation: reviewsScroll 30s linear infinite;
    width: max-content;
}

.reviews-track:hover {
    animation-play-state: paused;
}

@keyframes reviewsScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.review-card {
    min-width: 300px;
    max-width: 360px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    scroll-snap-align: start;
    flex-shrink: 0;
}

.review-stars {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.review-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--charcoal);
    margin-bottom: 10px;
}

.review-text {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
    font-style: italic;
}

.review-author {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--charcoal);
}

.review-activity {
    font-size: 0.8rem;
    color: var(--text-light);
}

.reviews-cta {
    text-align: center;
    margin-top: 28px;
}


/* ============================================
   GROUP BANNER
   ============================================ */
.group-banner {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}

.group-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(26, 35, 50, 0.7);
}

.group-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
}

.group-content h2 {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.group-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 24px;
}

.group-tag {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
    transition: background 0.2s;
}

a.group-tag { color: var(--white); }
a.group-tag:hover { background: rgba(255,255,255,0.3); }

.group-content p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 24px;
}


/* ============================================
   PHOTO GALLERY
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
    gap: 6px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(0.7);
}

.gallery-item .gallery-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: linear-gradient(transparent, rgba(0,32,56,0.85));
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s, transform 0.3s;
}

.gallery-item:hover .gallery-label {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item.tall { grid-row: span 2; }
.gallery-item.tall img { height: 100%; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.wide img { height: 240px; }

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
}

.lightbox.active { display: flex; }

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 2001;
    line-height: 1;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-caption {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    font-weight: 600;
    margin-top: 16px;
    text-align: center;
}


/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    text-align: center;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    border-bottom: 1px solid var(--sand-dark);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--charcoal);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--ocean);
    flex-shrink: 0;
    transition: transform 0.2s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 0 20px;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}


/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(26, 35, 50, 0.6);
}

.final-cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 20px;
}

.final-cta h2 {
    color: var(--white);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.final-cta p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 28px;
    font-size: 1.05rem;
}

.final-cta .contact-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    margin-top: 20px;
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.final-cta .contact-row a { color: var(--white); font-weight: 600; }


/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--navy);
    color: rgba(255,255,255,0.7);
    padding: 48px 0 100px; /* extra bottom padding for mobile book bar */
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.footer h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer a {
    color: rgba(255,255,255,0.7);
    display: block;
    padding: 3px 0;
    transition: color 0.2s;
}

.footer a:hover { color: var(--white); }

.footer-brand p {
    margin-bottom: 16px;
    line-height: 1.6;
}

.footer-accred {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.footer-accred img {
    height: 36px;
    opacity: 0.7;
    filter: brightness(0) invert(1);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    font-size: 0.85rem;
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 32px;
    padding-top: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-bottom a { display: inline; padding: 0 8px; }


/* ============================================
   ACTIVITY DETAIL PAGE — Quick info bar
   ============================================ */
.quick-info {
    background: var(--navy);
    color: #fff;
    padding: 0;
}

.quick-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.quick-info-item {
    padding: 20px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.quick-info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 4px;
}

.quick-info-value {
    font-size: 1.1rem;
    font-weight: 700;
}

.quick-info-value.price {
    color: var(--accent);
    font-size: 1.3rem;
}

/* Alternate quick-info layout (flex-based) */
.quick-info-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    background: var(--sand);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 32px;
}

.quick-info-flex .quick-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--charcoal);
    font-weight: 600;
    padding: 0;
    border: none;
}

.quick-info-flex .quick-info-item svg {
    width: 20px;
    height: 20px;
    color: var(--ocean);
}


/* ============================================
   ACTIVITY DETAIL PAGE — Content sections
   ============================================ */
.activity-intro {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.activity-text p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.activity-text p:first-of-type {
    font-size: 1.1rem;
    color: var(--text);
}

.activity-side-img {
    border-radius: var(--radius);
    overflow: hidden;
}

.activity-side-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.activity-content {
    max-width: 800px;
}

.activity-content h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--charcoal);
    margin: 32px 0 16px;
}

.activity-content p {
    margin-bottom: 16px;
    line-height: 1.7;
    color: var(--text-light);
}

.activity-content ul {
    margin: 0 0 16px 20px;
}

.activity-content li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: var(--text-light);
}


/* ============================================
   ACTIVITY DETAIL PAGE — What's included / What to bring
   ============================================ */
.two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.info-box {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: var(--white);
    overflow: hidden;
}

.info-box h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    padding: 14px 28px;
    background: var(--navy);
}

.info-box.accent-border h3 { background: var(--ocean); }

.info-box ul {
    padding: 20px 28px;
    list-style: none;
}

.info-box li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.info-box li svg,
.info-box li .icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.info-box li.included svg,
.info-box li.included .icon { color: var(--ocean); }

.info-box li.bring svg,
.info-box li.bring .icon { color: var(--accent); }


/* ============================================
   ACTIVITY DETAIL PAGE — Pricing cards
   ============================================ */
.pricing-section {
    background: #f0f0ed;
    background-image: url('assets/images/bg-rock-light.png');
    background-repeat: repeat;
}

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

.price-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.price-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.price-card.featured {
    border: 2px solid var(--ocean);
    position: relative;
}

.price-card.featured::after {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ocean);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 4px;
}

.price-card .price-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.price-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--ocean);
    margin-bottom: 4px;
}

.price-per {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.price-features {
    list-style: none;
    text-align: left;
    margin-bottom: 20px;
}

.price-features li {
    font-size: 0.9rem;
    color: var(--text-light);
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-features li::before {
    content: '\2713';
    color: var(--ocean);
    font-weight: 700;
}

.btn-price {
    display: block;
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-price-primary { background: var(--ocean); color: #fff; }
.btn-price-primary:hover { background: var(--navy); }
.btn-price-accent { background: var(--accent); color: var(--navy); }
.btn-price-accent:hover { background: var(--accent-hover); color: #fff; }

/* Alternate pricing card style */
.pricing-card {
    background: var(--white);
    border: 2px solid var(--sand-dark);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
}

.pricing-card.featured { border-color: var(--ocean); }

.pricing-card h3 {
    font-size: 1rem;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.pricing-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--ocean);
}

.pricing-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 4px;
}


/* ============================================
   ACTIVITY DETAIL PAGE — Group rates table
   ============================================ */
.group-rates {
    margin-top: 24px;
}

.group-rates table {
    width: 100%;
    border-collapse: collapse;
}

.group-rates th,
.group-rates td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--sand-dark);
    font-size: 0.95rem;
}

.group-rates th {
    background: var(--sand);
    font-weight: 700;
    color: var(--charcoal);
}

.group-rates-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.group-rates-table th {
    background: var(--navy);
    color: #fff;
    padding: 12px 16px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: left;
}

.group-rates-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
    color: var(--text-light);
}

.group-rates-table tr:last-child td { border-bottom: none; }
.group-rates-table tr:hover td { background: var(--sand); }


/* ============================================
   ACTIVITY DETAIL PAGE — Coasteering variants
   ============================================ */
.variants-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.variant-card {
    display: grid;
    grid-template-columns: 1fr;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

.variant-card:hover { transform: translateY(-3px); }

.variant-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.variant-body { padding: 24px; }

.variant-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.variant-body p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.6;
}

.variant-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.variant-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.variant-meta svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.variant-meta strong { color: var(--ocean); }

.variant-ctas {
    display: flex;
    gap: 10px;
}


/* ============================================
   ACTIVITY DETAIL PAGE — Related activities
   ============================================ */
.related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.related-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

.related-card:hover { transform: translateY(-4px); }

.related-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.related-card-body { padding: 16px; }

.related-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 4px;
}

.related-card .related-price {
    color: var(--ocean);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 12px;
}


/* ============================================
   ACTIVITY DETAIL PAGE — Highlights
   ============================================ */
.highlights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 24px 0;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--sand);
    border-radius: var(--radius);
}

.highlight-icon {
    width: 40px;
    height: 40px;
    background: var(--ocean);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.highlight-icon svg {
    width: 20px;
    height: 20px;
}

.highlight-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 4px;
}

.highlight-text p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}


/* ============================================
   ACTIVITY DETAIL PAGE — CTA banner
   ============================================ */
.cta-banner {
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,32,56,0.75);
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 48px 20px;
}

.cta-content h2 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-content p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 24px;
    font-size: 1rem;
}

.btn-accent { background: var(--accent); color: var(--navy); }
.btn-accent:hover { background: var(--accent-hover); color: #fff; transform: translateY(-2px); }


/* ============================================
   ACTIVITY DETAIL PAGE — Gallery thumbs
   ============================================ */
.gallery-grid .gallery-thumb {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-grid .gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-grid .gallery-thumb:hover img { transform: scale(1.08); }

.gallery-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,20,38,0.92);
    align-items: center;
    justify-content: center;
    padding: 20px;
    cursor: pointer;
}

.gallery-lightbox.active { display: flex; }

.gallery-lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius);
    object-fit: contain;
}

.gallery-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}


/* ============================================
   MYSTERY ADD-ON
   ============================================ */
.mystery-addon {
    margin-top: 32px;
    background: linear-gradient(135deg, #f8f4e8 0%, #f0ebe0 100%);
    border: 2px dashed var(--gold, #cea90f);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.mystery-addon-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--gold, #cea90f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.mystery-addon-icon svg {
    width: 24px;
    height: 24px;
}

.mystery-addon-text {
    flex: 1;
}

.mystery-addon-text h3 {
    margin: 0 0 4px 0;
    font-size: 1.1rem;
    color: var(--navy, #002038);
}

.mystery-addon-text p {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
}

.mystery-addon-price {
    flex-shrink: 0;
    text-align: center;
}

.mystery-addon-price .price {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy, #002038);
}

.mystery-addon-price .per {
    display: block;
    font-size: 0.8rem;
    color: #777;
}

@media (max-width: 600px) {
    .mystery-addon {
        flex-direction: column;
        text-align: center;
    }
}


/* ============================================
   ACTIVITIES ARCHIVE — Filter bar
   ============================================ */
.filter-bar {
    background: var(--white);
    border-bottom: 1px solid #e5e5e5;
    padding: 16px 0;
    position: sticky;
    top: 64px;
    z-index: 100;
}

.filter-bar .container {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    margin-right: 8px;
}

.filter-btn {
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    border: 1.5px solid #ddd;
    background: var(--white);
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover { border-color: var(--ocean); color: var(--ocean); }
.filter-btn.active { background: var(--ocean); border-color: var(--ocean); color: #fff; }


/* ============================================
   N8N CHAT WIDGET OVERRIDES
   ============================================ */
.n8n-chat .chat-window {
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 32, 56, 0.18) !important;
    border: none !important;
}

.n8n-chat .chat-header {
    background: linear-gradient(135deg, #2474bb 0%, #003b60 100%) !important;
    padding: 16px 20px !important;
    border-radius: 16px 16px 0 0 !important;
    display: grid !important;
    grid-template-columns: 44px 1fr !important;
    grid-template-rows: auto auto !important;
    column-gap: 14px !important;
    row-gap: 2px !important;
    align-items: center !important;
}

.n8n-chat .chat-header::before {
    content: '';
    display: block;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: url('assets/images/ali_AA.jpg') center/cover no-repeat;
    grid-row: 1 / 3;
    grid-column: 1;
}

.n8n-chat .chat-header .chat-title {
    grid-column: 2 !important;
    grid-row: 1 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
}

.n8n-chat .chat-header .chat-subtitle {
    grid-column: 2 !important;
    grid-row: 2 !important;
    opacity: 0.85 !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
}

.n8n-chat .chat-messages-list {
    padding: 16px !important;
}

.n8n-chat .chat-message-markdown {
    border-radius: 12px !important;
    text-align: left !important;
}

.n8n-chat .chat-message.chat-message-from-user .chat-message-markdown {
    border-radius: 12px 12px 4px 12px !important;
    background-color: #2474bb !important;
    color: #ffffff !important;
}

.n8n-chat .chat-message.chat-message-from-bot {
    position: relative !important;
    padding-left: 38px !important;
}

.n8n-chat .chat-message.chat-message-from-bot::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: url('assets/images/ali_AA.jpg') center/cover no-repeat;
}

.n8n-chat .chat-message.chat-message-from-bot .chat-message-markdown {
    border-radius: 12px 12px 12px 4px !important;
}

.n8n-chat .chat-message-typing {
    max-width: none !important;
    padding: 8px 12px !important;
}

.n8n-chat .chat-message-typing .chat-message-typing-body {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}

/* CSS custom property overrides */
.n8n-chat {
    --chat--color--primary: #2474bb !important;
    --chat--color--primary-shade-50: #1a5a96 !important;
    --chat--color--primary--shade-100: #003b60 !important;
    --chat--color--secondary: #2474bb !important;
    --chat--color-secondary-shade-50: #1a5a96 !important;
    --chat--message--user--background: #2474bb !important;
    --chat--message--user--color: #ffffff !important;
    --chat--toggle--background: #2474bb !important;
    --chat--heading--font-size: 16px !important;
    --chat--subtitle--font-size: 13px !important;
    --chat--subtitle--line-height: 1.3 !important;
}

.n8n-chat .chat-input {
    border-radius: 0 0 16px 16px !important;
    border-top: 1px solid #e8f1f8 !important;
}

.n8n-chat .chat-input textarea {
    border-radius: 24px !important;
    border: 1px solid #dde6ee !important;
    padding: 10px 16px !important;
    margin: 8px !important;
}

.n8n-chat .chat-input textarea:focus {
    border-color: #2474bb !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(36, 116, 187, 0.15) !important;
}

.n8n-chat .chat-input .chat-inputs-btn {
    background: #2474bb !important;
    border-radius: 50% !important;
    margin-right: 8px !important;
}

.n8n-chat .new-conversation-button {
    background: #2474bb !important;
    border-radius: 24px !important;
}

.n8n-chat .new-conversation-button:hover {
    background: #003b60 !important;
}

/* Hide Eola's own floating button — we trigger the widget from our own Book Now buttons */
.eola-widget__button { display: none !important; }

.n8n-chat .chat-toggle {
    border-radius: 50% !important;
    box-shadow: 0 4px 16px rgba(0, 32, 56, 0.25) !important;
}


/* ============================================
   DESKTOP RESPONSIVE OVERRIDES (768px+)
   ============================================ */
@media (min-width: 768px) {
    .mobile-book-bar { display: none; }

    .header-phone { display: block; }

    .hamburger { display: none; }
    .mobile-menu { display: none !important; }
    .header-book { display: inline-flex; }

    .nav {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .hero h1 { font-size: 3.2rem; }
    .hero p { font-size: 1.2rem; }

    .hero-ctas {
        flex-direction: row;
        justify-content: center;
    }

    .trust-logos img { height: 50px; }

    .section { padding: 80px 0; }
    .section-title { font-size: 2.2rem; }

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

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

    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 240px;
        gap: 8px;
    }

    .gallery-item.tall { grid-row: span 2; }
    .gallery-item.wide { grid-column: span 2; }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }

    .footer { padding-bottom: 48px; }

    .group-content h2 { font-size: 2.4rem; }

    /* Activity detail page overrides */
    .page-hero { min-height: 500px; }
    .page-hero h1 { font-size: 3.2rem; }

    .quick-info-grid { grid-template-columns: repeat(4, 1fr); }
    .quick-info-item { border-bottom: none; }

    .activity-intro { grid-template-columns: 1.2fr 0.8fr; align-items: start; }
    .activity-side-img img { height: 100%; min-height: 320px; }

    .two-col { grid-template-columns: 1fr 1fr; }

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

    .variants-grid { grid-template-columns: 1fr; }
    .variant-card { grid-template-columns: 280px 1fr; }
    .variant-img { height: 100%; min-height: 200px; }

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

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

    .cta-content h2 { font-size: 2.2rem; }

    .footer-bottom { padding-bottom: 8px; }
}


/* ============================================
   DESKTOP OVERRIDES (1024px+)
   ============================================ */
@media (min-width: 1024px) {
    .hero h1 { font-size: 3.8rem; }

    .activity-card-img { height: 260px; }

    .page-hero h1 { font-size: 3.2rem; }
}
