/*
Theme Name: YeHa Niagara Tours
Theme URI: https://www.yehaniagaratours.com
Author: Kaleb
Description: Custom theme for YeHa Niagara Tours - premium Niagara Falls tours from Toronto
Version: 5.0
*/

:root {
    --primary-gold: #D4AF37;
    --primary-gold-dark: #b8960c;
    --deep-blue: #003366;
    --deep-blue-light: #1a4d80;
    --white: #ffffff;
    --light-gray: #f8fafd;
    --medium-gray: #e9ecef;
    --dark-text: #1e2a3a;
    --success-green: #2b6e4f;
    --error-red: #c0392b;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
    --container-width: 1280px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 40px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    height: 100%;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.5;
    color: var(--dark-text);
    background: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: 70px;
}

.container {
    width: 92%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

/* Section Flow */
section {
    padding: 5rem 0;
    position: relative;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--deep-blue);
    position: relative;
    font-weight: 700;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--primary-gold);
    margin: 1rem auto 0;
    border-radius: 3px;
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--deep-blue);
    color: var(--white);
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius-xl);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--primary-gold);
    color: var(--deep-blue);
}

.btn-primary:hover {
    background: var(--primary-gold-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: #f0f4fa;
    color: var(--deep-blue);
}

/* Header */
.site-header {
    background: var(--deep-blue);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1100;
    width: 100%;
}

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
    border-radius: var(--border-radius-sm);
}

.logo-text h1 {
    color: #FFD966;
    font-size: 1.2rem;
    margin: 0;
}

.logo-text p {
    color: var(--medium-gray);
    font-size: 0.7rem;
    margin: 0;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
}

.main-nav ul li a:hover {
    color: var(--primary-gold);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 6px;
    z-index: 1101;
}

.mobile-menu-btn span {
    width: 28px;
    height: 3px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 3px;
}

/* Mobile Menu Panel */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background: var(--deep-blue);
        transition: left 0.3s ease;
        z-index: 1000;
        padding: 2rem;
        overflow-y: auto;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .main-nav ul li a {
        font-size: 1.1rem;
        display: block;
        padding: 8px 0;
        color: white;
    }
}

/* Hero Section */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 34, 68, 0.75), rgba(0, 51, 102, 0.85)), url('/wp-content/themes/yeha-niagara/images/heliview.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 6rem 1rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

.hero-tagline {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #FFD966;
}

.hero-rating {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.urgency-note {
    background: rgba(255, 255, 255, 0.15);
    display: inline-block;
    padding: 8px 20px;
    border-radius: var(--border-radius-xl);
    font-size: 0.85rem;
    margin: 1rem 0;
}

.private-group-notice {
    background: rgba(0, 51, 102, 0.9);
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius-xl);
    margin-top: 2rem;
    font-size: 0.9rem;
}

.private-group-notice a {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
}

/* Trust Strip */
.trust-strip-global {
    background: var(--light-gray);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--medium-gray);
    border-top: 1px solid var(--medium-gray);
    text-align: center;
}

.rating-summary {
    text-align: center;
}

.rating-summary .stars {
    color: var(--primary-gold);
    font-size: 1.3rem;
    letter-spacing: 3px;
    margin-bottom: 6px;
}

.rating-summary .rating-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--deep-blue);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    height: 250px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    position: relative;
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item .caption {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--deep-blue);
    background: rgba(255,255,255,0.9);
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(2px);
}

/* Tour Cards - Base */
.tour-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--medium-gray);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tour-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.best-seller {
    border-top: 4px solid var(--primary-gold);
    position: relative;
}

.tour-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-gold);
    color: var(--deep-blue);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 2;
}

.tour-badge-secondary {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #2c3e50;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    z-index: 2;
}

.tour-picture {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.tour-card h3 {
    font-size: 1.4rem;
    color: var(--deep-blue);
    padding: 1rem 1.5rem 0;
}

.tour-card .price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--deep-blue);
    padding: 0.5rem 1.5rem;
}

.tour-highlights {
    list-style: none;
    padding: 0 1.5rem;
    margin: 1rem 0;
}

.tour-highlights li {
    padding: 6px 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tour-highlights i {
    color: var(--primary-gold);
    width: 20px;
}

/* Tour Buttons Group */
.tour-buttons {
    display: flex;
    gap: 12px;
    margin: 1rem 1.5rem;
    margin-top: auto;
}

.tour-buttons .btn {
    flex: 1;
    text-align: center;
    padding: 10px 12px;
    font-size: 0.85rem;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
}

@media (max-width: 480px) {
    .tour-buttons {
        flex-direction: column;
        gap: 8px;
    }
}

/* 4-Column Grid for Tour Cards */
.tour-comparison.tour-grid-4cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

@media (max-width: 992px) {
    .tour-comparison.tour-grid-4cols {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .tour-comparison.tour-grid-4cols {
        grid-template-columns: 1fr;
    }
}

/* Fallback */
.tour-comparison:not(.tour-grid-4cols) {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .tour-comparison:not(.tour-grid-4cols) {
        grid-template-columns: 1fr;
    }
}

/* Reviews Section */
.reviews-section {
    background: var(--light-gray);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-card .stars {
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    letter-spacing: 3px;
}

.testimonial-card p {
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #333;
}

.reviewer {
    font-weight: bold;
    font-size: 0.85rem;
    color: var(--deep-blue);
}

.review-date {
    font-size: 0.7rem;
    color: #888;
    margin-top: 4px;
}

/* Review Platform Badges */
.review-cta {
    text-align: center;
    margin-top: 2rem;
}

.review-links-title {
    font-size: 1rem;
    color: var(--deep-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.review-platform-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.review-platform {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--border-radius-xl);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
    color: white;
    border: none;
}

.review-platform.tripadvisor { background: #00AF87; }
.review-platform.getyourguide { background: #FF3B30; }
.review-platform.google { background: #4285F4; }

.review-platform:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.faq {
    background: white;
    padding: 1.2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.faq h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--deep-blue);
}

.faq p {
    color: #555;
    font-size: 0.85rem;
}

/* =========================
   PREMIUM FOOTER
========================= */
.site-footer {
    background: linear-gradient(135deg, #001a33 0%, #003366 100%);
    color: #ffffff;
    padding: 3rem 0 2rem;
    margin-top: 3rem;
    text-align: center;
}

.footer-brand h3 {
    color: #FFD966;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    max-width: 500px;
    margin: 0 auto 1.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.footer-support h4,
.footer-contact h4 {
    color: #FFD966;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.footer-links-inline,
.footer-contact-inline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem 1rem;
    margin-bottom: 1.5rem;
}

.footer-links-inline a,
.footer-contact-inline a,
.footer-contact-inline span:last-child {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-links-inline a:hover,
.footer-contact-inline a:hover {
    color: #FFD966;
}

.footer-links-inline span,
.footer-contact-inline span {
    color: rgba(255,255,255,0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    margin-top: 0.5rem;
}

.footer-bottom p {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-bottom: 0.25rem;
}

.footer-credit {
    color: #FFD966;
    opacity: 0.9;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    border-radius: 50px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 600;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.05);
    background: #20b859;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 80px;
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}

/* Sticky Booking Bar */
.sticky-booking-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #002244 0%, #003366 100%);
    color: white;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    padding: 8px 12px;
    border-top: 3px solid var(--primary-gold);
    transition: transform 0.3s ease;
}

.sticky-booking-bar.hide {
    transform: translateY(100%);
}

.sticky-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    max-width: 1400px;
    margin: 0 auto;
}

.sticky-left {
    display: none;
    flex-direction: column;
}

@media (min-width: 768px) {
    .sticky-left {
        display: flex;
        flex: 2;
    }
}

.sticky-title {
    font-weight: 800;
    font-size: 13px;
}

.sticky-sub {
    font-size: 10px;
    opacity: 0.9;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sticky-stats {
    display: flex;
    gap: 10px;
}

.sticky-spots, .sticky-viewers {
    font-size: 10px;
    font-weight: 700;
    color: #FFD966;
    display: flex;
    align-items: center;
    gap: 3px;
}

.sticky-price strong {
    color: var(--primary-gold);
    font-size: 18px;
}

.sticky-price span {
    font-size: 9px;
    opacity: 0.85;
    display: block;
}

@media (min-width: 768px) {
    .sticky-price strong {
        font-size: 24px;
    }
    .sticky-price span {
        font-size: 10px;
    }
}

.sticky-right {
    display: flex;
    gap: 8px;
}

.sticky-whatsapp, .sticky-btn {
    padding: 8px 14px;
    border-radius: var(--border-radius-xl);
    font-weight: 700;
    font-size: 11px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.sticky-whatsapp {
    background: #25D366;
    color: white;
}

.sticky-btn {
    background: var(--primary-gold);
    color: var(--deep-blue);
}

.sticky-spots-mobile {
    display: none;
}

@media (max-width: 767px) {
    .sticky-spots-mobile {
        display: block;
        font-size: 9px;
        color: #FFD966;
        margin-top: 2px;
    }
    .sticky-whatsapp, .sticky-btn {
        padding: 6px 10px;
        font-size: 10px;
    }
    .sticky-left {
        display: none;
    }
    .sticky-price strong {
        font-size: 16px;
    }
}

body {
    padding-bottom: 70px;
}

@media (min-width: 768px) {
    body {
        padding-bottom: 80px;
    }
}

/* Utilities */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-gold);
    color: var(--deep-blue);
    padding: 8px 12px;
    text-decoration: none;
    z-index: 1001;
}

.skip-link:focus {
    top: 0;
}

/* Large Screen Responsive */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-item {
        height: 180px;
    }
}

/* Tablet and Mobile Responsive */
@media (max-width: 768px) {
    .reviews-grid {
        gap: 1rem;
    }
    section {
        padding: 3rem 0;
    }
    .section-title {
        font-size: 1.6rem;
    }
    .hero {
        padding: 3rem 1rem;
        min-height: auto;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
}

/* Small Mobile Responsive */
@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .review-platform {
        padding: 6px 14px;
        font-size: 0.75rem;
    }
}

/* Remove body padding-bottom that causes gap */
body {
    padding-bottom: 0 !important;
}

/* Ensure sticky bar is at bottom with no extra space */
.sticky-booking-bar {
    bottom: 0;
    position: fixed;
}

/* Add margin to main content to prevent overlap with sticky bar */
main#main-content, main#main {
    margin-bottom: 70px;
}

@media (min-width: 768px) {
    main#main-content, main#main {
        margin-bottom: 80px;
    }
}

/* Why Us – Improved card layout */
.why-us {
    background: linear-gradient(135deg, #f8fafd 0%, #eef2f7 100%);
    padding: 3rem 0;
}
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.8rem;
    margin: 2rem 0 1.5rem;
}
.why-card {
    background: white;
    padding: 1.8rem 1.2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}
.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--primary-gold);
}
.why-icon {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}
.why-card h3 {
    font-size: 1.2rem;
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
}
.why-card p {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
}

/* Why Us CTA – one line text + button below */
.why-cta {
    background: rgba(212, 175, 55, 0.08);
    border-radius: 60px;
    padding: 1.8rem 2rem;
    margin-top: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}
.why-cta-text {
    margin: 0 0 0.8rem 0;
    font-size: 1.0rem;
    color: var(--dark-text);
    font-weight: 500;
    white-space: nowrap;
}
.why-cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    color: var(--deep-blue);
    padding: 0.7rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.why-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212,175,55,0.4);
    background: var(--primary-gold);
    color: var(--deep-blue);
}
@media (max-width: 992px) {
    .why-cta-text {
        white-space: normal;
        font-size: 1rem;
    }
    .why-cta {
        padding: 1.5rem;
    }
}
@media (max-width: 768px) {
    .why-cta {
        border-radius: 32px;
    }
    .why-cta-button {
        font-size: 1rem;
        padding: 0.6rem 1.5rem;
    }
}

/* ===== ADDITIONS FOR SPACING & MOBILE FIXES ===== */
.header-container {
    gap: 2rem;
}
@media (max-width: 768px) {
    .header-container {
        gap: 1rem;
    }
}
@media (max-width: 768px) {
    #bokun-booking {
        margin-bottom: 80px;
    }
}
.tour-detail-right .booking-card {
    margin-bottom: 20px;
}
.booking-note {
    font-size: 0.65rem;
    color: #2b6e4f;
    text-align: center;
    margin: -0.5rem 1.5rem 1rem 1.5rem;
    font-weight: 500;
}
/* Hero rating badge */
.hero-rating {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 6px 14px;
    border-radius: 40px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Mobile booking bar */
.mobile-book-bar {
    display: none;
}
@media (max-width: 768px) {
    .mobile-book-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
        padding: 12px 20px;
        justify-content: space-between;
        align-items: center;
        z-index: 1000;
        border-top: 2px solid #D4AF37;
    }
    .mobile-book-bar .price {
        font-size: 1.2rem;
        font-weight: 800;
        color: #003366;
    }
    .mobile-book-bar .btn-mobile {
        background: #D4AF37;
        color: #003366;
        padding: 10px 20px;
        border-radius: 40px;
        text-decoration: none;
        font-weight: bold;
    }
    body {
        padding-bottom: 70px;
    }
}