/* Bristol Walking Tours Stylesheet */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden; /* Additional protection against horizontal scroll */
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #000;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

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

/* Header Styles */
header {
    background-color: #2c3e50;
    color: white;
    padding: 1rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    opacity: 0.8;
    z-index: 0;
}

header h1 {
    font-size: 4rem;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    justify-content: center;
    padding: 0.5rem 0;
    background-color: rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 10;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0 1rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

.nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.nav-menu a.active {
    background-color: #3498db;
}

/* Hamburger Menu for Mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        align-items: center;
    }
    
    .menu-toggle {
        display: block;
        width: 100%;
        text-align: right;
        padding-right: 2rem;
    }
    
    .nav-menu ul {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
    }
    
    .nav-menu ul.show {
        display: flex;
    }
    
    .nav-menu li {
        margin: 0.5rem 0;
    }
    
    .nav-menu a {
        display: block;
        padding: 0.8rem 1rem;
    }
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem; /* Reduced from 3rem */
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-section picture,
.hero-section img.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    line-height: 1.2;
    margin: 0;
}

/* Tours Grid */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 3rem 0;
}

/* Tour Cards */
.tour-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.tour-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #ddd;
    /* Placeholder gradient - replace with actual images */
    background-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.tour-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: white; /* Ensure white background for tour cards */
}

.tour-card h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    margin-top: 0;
}

.tour-card .description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.tour-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    gap: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    min-height: 90px; /* forces consistency across all cards */
}

.tour-detail {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.tour-detail-label {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.tour-detail-value {
    font-size: 0.9rem;
    color: #2c3e50;
    font-weight: bold;
    line-height: 1.2;
}

/* Call to Action Button */
.cta {
    background-color: #3498db;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: block;
    width: 100%;
}

.cta:hover {
    background-color: #2980b9;
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) {
    .tours-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.25rem;
    }
    
    .hero-section {
        height: 350px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .tours-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tour-card {
        margin-bottom: 1rem;
    }
}

/* About Section on the About Page */
.about-section {
    padding: 3rem 0;
    color: #333;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-content h1 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    text-align: center;
}

.about-content h2 {
    color: #3498db;
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.about-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 5px;
    margin: 1.5rem 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.feature-list {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.feature-list li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 0.5rem;
}

.back-to-tours {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 2rem;
    transition: background-color 0.3s ease;
}

.back-to-tours:hover {
    background-color: #2980b9;
}

@media (max-width: 768px) {
    .about-content h1 {
        font-size: 2rem;
    }
    
    .about-content {
        padding: 1.5rem;
    }
}

/* About Preview Section on Index Page */
.about-preview {
    padding: 4rem 0;
    background-color: #111;
    color: white;
    position: relative;
}

.about-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #3498db, #2ecc71, #f1c40f, #e74c3c, #9b59b6);
}

.about-preview-content {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.about-preview-text {
    flex: 2;
}

.about-preview-text h3 {
    color: #3498db;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.about-preview-text p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
    color: #e0e0e0;
    font-size: 1.05rem;
}

.about-preview-image {
    flex: 1;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.preview-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    transition: transform 0.5s ease;
}

.about-preview-image:hover .preview-img {
    transform: scale(1.03);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.8rem;
    font-size: 0.9rem;
    text-align: center;
}

.about-preview-cta {
    margin-top: 2rem;
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #3498db;
    border: 2px solid #3498db;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #3498db;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Responsive adjustments for About Preview */
@media (max-width: 1024px) {
    .about-preview-content {
        flex-direction: column-reverse;
        gap: 2rem;
    }
    
    .about-preview-image {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-preview {
        padding: 3rem 0;
    }
    
    .about-preview-text h3 {
        font-size: 1.3rem;
    }
    
    .about-preview-text p {
        font-size: 1rem;
    }
    
    .btn-secondary {
        display: block;
        text-align: center;
    }
}

/* Highlights Section Styles */
.highlights-section {
    padding: 3rem 0;
    margin-top: 2rem;
    background-color: #1a2a3a;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

.tour-section-title {
    font-size: 1.8rem;
    color: white;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.tour-section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #3498db;
    border-radius: 2px;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e0e0e0;
}

.about-teaser {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.text-link {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.text-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Responsive Adjustments for Highlights Section */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-intro {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .about-teaser {
        padding: 1rem;
        margin: 1.5rem 1rem 0 1rem;
    }
}

/* Slideshow Styles */
.slideshow-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.slideshow-slide {
    display: none;
    animation: fade 1.5s ease;
    height: 500px;
    position: relative;
}

/* Make the first slide visible by default */
.slideshow-slide:first-child {
    display: block;
}

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

.slideshow-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem;
    text-align: center;
}

.slideshow-caption h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
}

.slideshow-caption p {
    margin: 0;
    font-size: 1rem;
}

.slideshow-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}

.slideshow-button {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 0 1rem;
}

.slideshow-button:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slideshow-dots {
    text-align: center;
    position: absolute;
    bottom: 70px;
    width: 100%;
    z-index: 10;
}

.slideshow-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slideshow-dot.active {
    background-color: white;
}

@keyframes fade {
    from {opacity: 0.6}
    to {opacity: 1}
}

@media (max-width: 768px) {
    .slideshow-container {
        margin-bottom: 2rem;
    }
    
    .slideshow-slide {
        height: 350px;
    }
    
    .slideshow-caption h3 {
        font-size: 1.2rem;
    }
    
    .slideshow-caption p {
        font-size: 0.9rem;
    }
    
    .slideshow-button {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* ===== TOUR PAGE SPECIFIC STYLES ===== */

/* Mobile-First Tour Page Styles */

/* Base Mobile Styles (320px+) */
.tour-hero {
    position: relative;
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
}

/* Individual tour backgrounds */
.tour-hero.banksy-tour {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/banksy-tour-large.jpg') center/cover;
}

.tour-hero.blackbeard-banksy {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/history-tour-large.jpg') center/cover;
}

.tour-hero.cycle-city {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/cycling-tour-large.jpg') center/cover;
}

.tour-hero.haunted-hidden {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/ghost-tour-large.jpg') center/cover;
}

.tour-hero.show-bristol {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/private-tour-large.jpg') center/cover;
}

.tour-hero.spanish-tour {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/spanish-tour-large.jpg') center/cover;
}

.tour-hero-content {
    color: white;
    padding: 1rem;
    z-index: 2;
    width: 100%;
}

.tour-hero h1 {
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.tour-subtitle {
    font-size: 1rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.hero-rating {
    display: inline-block;
    background: rgba(255,255,255,0.95);
    color: #2c3e50;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8rem;
}

/* Hero Reviews Center */
.hero-reviews-center {
    margin: 1rem 0;
    display: flex;
    justify-content: center;
}

.hero-reviews-center iframe {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    max-width: 100%;
    height: auto;
    min-height: 150px;
}

/* Top CTA Section - Now Sticky */
.top-cta-section {
    background: #000;
    padding: 1rem 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    border-bottom: 2px solid #3498db;
}

.top-cta-container {
    padding: 0 1rem;
}

.tour-highlights {
    padding: 0 1rem;
}

.highlights-text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    text-align: left;
}

.tour-highlights-list {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.tour-highlights-list h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.tour-highlights-list ul {
    list-style: none;
    padding: 0;
}

.tour-highlights-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    padding-left: 1.5rem;
    color: #333;
}

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

.tour-highlights-list li::before {
    content: "•";
    color: #3498db;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.tour-description-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.tour-description-card .highlights-text {
    margin-bottom: 1.5rem;
    color: #333;
}

.tour-description-card .highlights-text:last-child {
    margin-bottom: 0;
}

/* Video Container Styles */
.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    margin: 2rem 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Itinerary Section Styles - REDUCED PADDING */
.itinerary-section {
    background: #000;
    padding: 1rem 0; /* Reduced from 3rem to 1rem */
}

.itinerary-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.itinerary-expand-button {
    display: inline-block;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    cursor: pointer;
    margin-bottom: 2rem;
    min-width: 280px;
}

.itinerary-expand-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #2980b9, #1f618d);
}

.itinerary-expand-icon {
    margin-left: 0.5rem;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.itinerary-expand-button[aria-expanded="true"] .itinerary-expand-icon {
    transform: rotate(45deg);
}

.itinerary-expand-button[aria-expanded="true"] .itinerary-expand-icon::before {
    content: "−";
}

.itinerary-expand-icon::before {
    content: "+";
}

.itinerary-accordion {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.itinerary-accordion.expanded {
    max-height: 5000px;
}

.itinerary-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.itinerary-header {
    width: 100%;
    background: #f8f9fa;
    border: none;
    padding: 1.2rem 1.5rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.3s ease;
    font-size: 1rem;
}

.itinerary-header:hover {
    background: #e9ecef;
}

.itinerary-header[aria-expanded="true"] {
    background: #3498db;
    color: white;
}

.itinerary-title {
    flex: 1;
    font-weight: bold;
    color: #2c3e50;
}

.itinerary-header[aria-expanded="true"] .itinerary-title {
    color: white;
}

.itinerary-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #3498db;
    transition: transform 0.3s ease;
}

.itinerary-header[aria-expanded="true"] .itinerary-toggle {
    color: white;
    transform: rotate(45deg);
}

.itinerary-header[aria-expanded="true"] .itinerary-toggle::before {
    content: "−";
}

.itinerary-toggle::before {
    content: "+";
}

.itinerary-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
}

.itinerary-content.active {
    max-height: 500px;
}

.itinerary-content p {
    padding: 1rem 1.5rem 0.5rem;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

.itinerary-content ul {
    padding: 0.5rem 1.5rem 1.5rem 3rem;
    margin: 0;
    color: #666;
}

.itinerary-content li {
    margin-bottom: 0.3rem;
}

/* FAQ Section Styles - REDUCED PADDING */
.faq-section {
    background: #000;
    padding: 1rem 0; /* Reduced from 3rem to 1rem */
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.faq-expand-button {
    display: inline-block;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    cursor: pointer;
    margin-bottom: 2rem;
    min-width: 280px;
}

.faq-expand-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #2980b9, #1f618d);
}

.faq-expand-icon {
    margin-left: 0.5rem;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-expand-button[aria-expanded="true"] .faq-expand-icon {
    transform: rotate(45deg);
}

.faq-expand-button[aria-expanded="true"] .faq-expand-icon::before {
    content: "−";
}

.faq-expand-icon::before {
    content: "+";
}

.faq-accordion {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.faq-accordion.expanded {
    max-height: 5000px;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.faq-question {
    width: 100%;
    background: white;
    border: none;
    padding: 1.5rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: bold;
    color: #2c3e50;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question[aria-expanded="true"] {
    background: #e3f2fd;
    color: #3498db;
}

.faq-icon {
    font-size: 1.5rem;
    color: #3498db;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-question[aria-expanded="true"] .faq-icon::before {
    content: "−";
}

.faq-icon::before {
    content: "+";
}

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

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

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

/* Reviews Section Styles - REDUCED PADDING */
.reviews-section {
    background: #000;
    padding: 1.5rem 0; /* Reduced from 2rem */
    text-align: center;
}

.reviews-container {
    padding: 0 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.tripadvisor-widget {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    margin-top: 1.5rem;
}

/* Tour Info Section - REDUCED PADDING */
.tour-info-section {
    background: #000;
    padding: 1rem 0; /* Reduced from 2rem */
}

.tour-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.tour-card-info {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.tour-card-info h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.info-item {
    text-align: center;
    padding: 1rem 0.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.info-label {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
}

.info-value {
    font-weight: bold;
    color: #2c3e50;
    font-size: 1rem;
    line-height: 1.2;
}

.accessibility-info {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #e8f5e8;
    border-radius: 8px;
    border-left: 4px solid #27ae60;
    font-size: 0.9rem;
}

.map-container {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.map-container h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.map-embed {
    width: 100%;
    height: 250px;
    border: none;
    border-radius: 8px;
}

.meeting-point-info {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
}

.carousel-section {
    padding: 2rem 0;
    background: white;
}

.carousel-container {
    padding: 0 1rem;
    text-align: center;
}

.cta-top {
    margin-bottom: 2rem;
}

.cta-bottom {
    margin-top: 2rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    width: 100%;
    max-width: 280px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #2980b9, #1f618d);
}

.image-carousel {
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.carousel-slide {
    display: none;
    position: relative;
}

.carousel-slide.active {
    display: block;
}

.carousel-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 1rem;
    text-align: center;
}

.carousel-caption h3 {
    margin: 0 0 0.3rem 0;
    font-size: 1.1rem;
}

.carousel-caption p {
    margin: 0;
    font-size: 0.9rem;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav:hover {
    background: rgba(0,0,0,0.8);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-dots {
    text-align: center;
    margin-top: 1rem;
}

.carousel-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 4px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.carousel-dot.active {
    background: #3498db;
}

/* Tablet Styles (768px+) */
@media (min-width: 768px) {
    .tour-hero {
        height: 400px;
    }
    
    .tour-hero h1 {
        font-size: 2.5rem;
    }
    
    .tour-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-rating {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
    
    .hero-reviews-center iframe {
        width: 400px;
        min-height: 200px;
    }
    
    .top-cta-section {
        padding: 1.2rem 0;
    }
    
    .tour-page-content {
        padding: 1.5rem 0; /* Reduced */
    }
    
    .tour-highlights {
        max-width: 800px;
        margin: 0 auto;
        padding: 0 2rem;
    }
    
    .tour-section-title {
        font-size: 2.2rem;
    }
    
    .highlights-text {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .tour-highlights-list {
        padding: 2rem;
        margin: 3rem 0;
    }
    
    .tour-description-card {
        padding: 2.5rem;
        margin: 3rem 0;
    }
    
    .reviews-section {
        padding: 1.5rem 0; /* Reduced */
    }
    
    .reviews-container {
        padding: 0 2rem;
    }
    
    .tripadvisor-widget {
        padding: 2rem;
        margin-top: 2rem;
    }
    
    .tour-info-section {
        padding: 1.5rem 0; /* Reduced */
    }
    
    .tour-info-grid {
        max-width: 900px;
        margin: 0 auto;
        padding: 0 2rem;
    }
    
    .tour-card-info {
        padding: 2rem;
    }
    
    .tour-card-info h2 {
        font-size: 1.7rem;
    }
    
    .info-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .map-container {
        padding: 2rem;
    }
    
    .map-container h2 {
        font-size: 1.7rem;
    }
    
    .map-embed {
        height: 300px;
    }
    
    .carousel-section {
        padding: 3rem 0;
    }
    
    .carousel-container {
        max-width: 800px;
        margin: 0 auto;
        padding: 0 2rem;
    }
    
    .cta-button {
        width: auto;
        min-width: 300px;
        font-size: 1.1rem;
        padding: 1.1rem 2.2rem;
    }
    
    .carousel-image {
        height: 300px;
    }
    
    .carousel-nav {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    
    .carousel-prev {
        left: 15px;
    }
    
    .carousel-next {
        right: 15px;
    }
    
    .carousel-dots {
        margin-top: 1.5rem;
    }
    
    .carousel-dot {
        width: 12px;
        height: 12px;
        margin: 0 5px;
    }
}

/* Desktop Styles (1024px+) */
@media (min-width: 1024px) {
    .tour-hero {
        height: 500px;
    }
    
    .tour-hero h1 {
        font-size: 3.2rem;
    }
    
    .tour-subtitle {
        font-size: 1.3rem;
    }
    
    .tour-page-content {
        padding: 2rem 0; /* Reduced from 4rem */
    }
    
    .tour-highlights {
        max-width: 1000px;
    }
    
    .tour-section-title {
        font-size: 2.5rem;
    }
    
    .tour-highlights-list h3 {
        font-size: 1.5rem;
    }
    
    .tour-info-grid {
        max-width: 1000px;
        margin: 0 auto;
        padding: 0 2rem;
    }
    
    .carousel-container {
        max-width: 1000px;
    }
    
    .carousel-image {
        height: 400px;
    }
    
    .carousel-nav {
        left: 20px;
    }
    
    .carousel-next {
        right: 20px;
    }
}

/* Large Desktop Styles (1200px+) */
@media (min-width: 1200px) {
    .tour-hero {
        height: 600px;
    }
    
    .tour-hero h1 {
        font-size: 3.5rem;
    }
    
    .highlights-text {
        font-size: 1.15rem;
    }
    
    .carousel-container {
        max-width: 1200px;
    }
    
    .carousel-image {
        height: 450px;
    }
}

.faq { margin: 2rem auto; max-width: 900px; padding: 0 1rem; }
@media (max-width: 640px) {
  .faq { max-width: 100%; padding: 0 0.75rem; }
}

/* --- Filter overlay & tabs (merged from inline) --- */
/* Tabs container */
.tour-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1rem 0;
}
.tour-tab {
  padding: .5rem .8rem;
  border: 1px solid #ddd;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font: inherit;
}
.tour-tab[aria-selected="true"],
.tour-tab.is-active {
  border-color: #111;
  font-weight: 600;
}

/* Overflow "More" dropdown */
.tab-more { position: relative; }
.tab-more > summary {
  list-style: none;
  padding: .5rem .8rem;
  border: 1px solid #ddd;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}
.tab-more[open] > summary { border-color: #111; font-weight: 600; }
.tab-more-menu {
  position: absolute; right: 0; z-index: 20; margin-top: .25rem;
  min-width: 14rem; background: #fff; border: 1px solid #ddd; border-radius: .75rem;
  box-shadow: 0 6px 24px rgba(0,0,0,.08); padding: .25rem;
}
.tab-more-menu button { width: 100%; text-align: left; padding: .5rem .75rem; border: 0; background: transparent; cursor: pointer; border-radius: .5rem; }
.tab-more-menu button:hover { background: #f7f7f7; }
.tab-more-menu button.is-active { font-weight: 600; }

/* Mobile: keep bubble tabs; scroll horizontally; hide select */
.tour-tab-select-wrap { display: none !important; margin: .75rem 0; }
@media (max-width: 600px) {
  .tour-tabs {
    display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: .5rem;
  }
  .tour-tabs::-webkit-scrollbar { display: none; }
  .tour-tab { white-space: nowrap; }
}

/* Filter trigger button */
.filter-trigger {
  appearance: none; border: 1px solid #ddd; background: #fff; border-radius: 999px;
  padding: .55rem .9rem; font: inherit; cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.filter-trigger:active { transform: translateY(1px); }

/* Overlay (mobile-first) */
.filter-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); display: none; z-index: 100; }
.filter-overlay[aria-hidden="false"] { display: block; }
.filter-sheet {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 100%; max-width: 400px; max-height: 90vh; background: #fff; border-radius: 1rem; box-shadow: 0 10px 30px rgba(0,0,0,.2);
  display: flex; flex-direction: column; overflow: hidden;
}
.sheet-header, .sheet-footer { padding: .9rem 1rem; background: #fff; }
.sheet-header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #eee; }
.sheet-title { font-weight: 700; }
.sheet-close { border: 0; background: transparent; font: inherit; cursor: pointer; }
.sheet-body { padding: 1rem; overflow: auto; }

/* Chips */
.chip { padding: .45rem .75rem; border: 1px solid #ddd; border-radius: 999px; background: #fff; cursor: pointer; font: inherit; }
.chip.is-active, .chip[aria-pressed="true"] { border-color: #111; font-weight: 600; }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.group { margin-bottom: 1rem; }
.group-label { display: block; font-weight: 700; margin-bottom: .5rem; }

.sheet-footer { border-top: 1px solid #eee; display: flex; gap: .5rem; justify-content: flex-end; }
.btn { padding: .6rem .9rem; border-radius: .7rem; border: 1px solid #ddd; background: #fff; cursor: pointer; font: inherit; }
.btn-primary { background: #111; color: #fff; border-color: #111; }
.btn-ghost { background: transparent; }

/* Visually hidden */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* Hide filtered cards */
.tour-card[hidden] { display: none !important; }

/* Home: hide category tabs (use overlay instead) */
.tour-tabs { display: none !important; }

/* Center + enlarge the Filter & Plan button */
.filter-trigger-wrap { display: flex; justify-content: center; margin: .6rem 0 .9rem; }
.filter-trigger { font-size: 1.125rem; padding: .7rem 1.1rem; display: inline-flex; align-items: center; gap: .4rem; }
