/* =====================================================
   Trailside Park - Custom Theme Override
   Warm earth tones for Ontario campground feel
   ===================================================== */

:root {
    --bs-primary: #5C4033;
    --bs-secondary: #8B6914;
    --bs-success: #2D5F2D;
    --bs-light: #FAF6F0;
    --bs-dark: #2C1810;
    --bs-primary-rgb: 92, 64, 51;
    --bs-secondary-rgb: 139, 105, 20;
    --bs-success-rgb: 45, 95, 45;
    --bs-light-rgb: 250, 246, 240;
    --bs-dark-rgb: 44, 24, 16;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    background-color: #FAF6F0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
}

a {
    color: #5C4033;
    text-decoration: none;
}

a:hover {
    color: #8B6914;
}

/* Bootstrap Overrides */
.bg-primary { background-color: #5C4033 !important; }
.bg-secondary { background-color: #8B6914 !important; }
.bg-success { background-color: #2D5F2D !important; }
.bg-light { background-color: #FAF6F0 !important; }
.bg-dark { background-color: #2C1810 !important; }

.text-primary { color: #5C4033 !important; }
.text-secondary { color: #8B6914 !important; }
.text-success { color: #2D5F2D !important; }

.btn-primary {
    background-color: #5C4033;
    border-color: #5C4033;
    color: #fff;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #8B6914;
    border-color: #8B6914;
    color: #fff;
}

.btn-secondary {
    background-color: #8B6914;
    border-color: #8B6914;
    color: #fff;
}

.btn-secondary:hover, .btn-secondary:focus {
    background-color: #5C4033;
    border-color: #5C4033;
    color: #fff;
}

.btn-success {
    background-color: #2D5F2D;
    border-color: #2D5F2D;
}

.btn-success:hover {
    background-color: #1e4a1e;
    border-color: #1e4a1e;
}

.border-primary { border-color: #5C4033 !important; }
.border-secondary { border-color: #8B6914 !important; }

/* Topbar */
.topbar {
    background: #2C1810 !important;
}

/* Navbar */
.navbar-light .navbar-nav .nav-link:hover::before,
.navbar-light .navbar-nav .nav-link.active::before {
    background: #5C4033;
}

.sticky-top.navbar-light .navbar-brand h1 {
    color: #5C4033;
}

.sticky-top.navbar-light .navbar-nav .nav-link:hover,
.sticky-top.navbar-light .navbar-nav .nav-link.active {
    color: #5C4033 !important;
}

.dropdown .dropdown-menu a:hover {
    background: #5C4033;
    color: #fff;
}

/* Hero / Breadcrumb */
.bg-breadcrumb {
    background: linear-gradient(rgba(44, 24, 16, 0.65), rgba(92, 64, 51, 0.65)), url(../img/breadcrumb-bg.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding: 150px 0 50px 0;
}

.bg-breadcrumb .breadcrumb-item a {
    color: #8B6914 !important;
}

.bg-breadcrumb .breadcrumb-item.active {
    color: #FAF6F0 !important;
}

/* Carousel header overlay */
.carousel-header .carousel-inner .carousel-item .carousel-caption {
    background: linear-gradient(rgba(44, 24, 16, .55), rgba(44, 24, 16, 0.55));
}

.carousel-header .carousel-control-prev .carousel-control-prev-icon,
.carousel-header .carousel-control-next .carousel-control-next-icon {
    background-color: rgba(92, 64, 51, 0.6);
}

/* Section titles */
.section-title {
    color: #5C4033;
}

.section-title::before,
.section-title::after {
    border-color: #5C4033 !important;
}

/* Packages hover overlay */
.packages .packages-item .packages-img:hover.packages-img::after {
    border-color: rgba(92, 64, 51, 0.6) rgba(92, 64, 51, 0.6) rgba(92, 64, 51, 0.6) rgba(92, 64, 51, 0.6);
}

.packages .packages-item .packages-img .packages-price {
    background: #5C4033;
}

/* Services hover */
.service .service-content-inner:hover {
    background: #5C4033 !important;
}

/* Destination hover */
.destination .tab-class .tab-content .destination-img:hover .search-icon {
    background: rgba(92, 64, 51, 0.4);
}

.destination .tab-class .nav-item a.active {
    background: #5C4033 !important;
}

/* Explore Tour hover */
.ExploreTour #NationalTab-1 .national-item:hover .national-content {
    background: rgba(92, 64, 51, .6);
}

.ExploreTour #NationalTab-1 .national-item .tour-offer {
    background: #5C4033;
}

.ExploreTour #InternationalTab-2 .international-item:hover .international-content {
    background: rgba(92, 64, 51, .6);
}

.ExploreTour #InternationalTab-2 .international-item .tour-offer {
    background: #5C4033;
}

.ExploreTour .tab-class .nav-item a.active {
    background: #5C4033 !important;
}

.ExploreTour #InternationalTab-2 .InternationalTour-carousel .owl-dot {
    border-color: #5C4033;
}

.ExploreTour #InternationalTab-2 .InternationalTour-carousel .owl-dot.active {
    background: #5C4033;
}

/* Gallery hover */
.gallery .gallery-item:hover .gallery-content {
    background: rgba(92, 64, 51, 0.8);
}

.gallery .tab-class .nav-item a.active {
    background: #5C4033 !important;
}

/* Booking section */
.booking {
    background: linear-gradient(rgba(92, 64, 51, .85), rgba(44, 24, 16, .85)), url(../img/tour-booking-bg.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

/* Blog hover */
.blog .blog-item .blog-img:hover .blog-img-inner .blog-icon {
    background: rgba(92, 64, 51, .6);
}

/* Guide hover */
.guide .guide-item:hover .guide-img-efects::after {
    background: rgba(92, 64, 51, .5);
}

.guide .guide-item:hover .guide-title::after {
    background: #5C4033 !important;
}

.guide .guide-item .guide-img .guide-icon {
    border-color: #5C4033;
}

/* Testimonial */
.testimonial .testimonial-carousel .owl-item.center .testimonial-item .testimonial-comment {
    background: #5C4033 !important;
}

.testimonial .testimonial-carousel .owl-dot {
    border-color: #5C4033;
}

.testimonial .testimonial-carousel .owl-dot.active {
    background: #5C4033;
}

.testimonial .testimonial-carousel .testimonial-item .testimonial-img {
    border-color: #5C4033;
}

.testimonial .testimonial-carousel .owl-nav .owl-prev,
.testimonial .testimonial-carousel .owl-nav .owl-next {
    border-color: #5C4033;
}

.testimonial .testimonial-carousel .owl-nav .owl-prev i,
.testimonial .testimonial-carousel .owl-nav .owl-next i {
    color: #5C4033;
}

.testimonial .testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial .testimonial-carousel .owl-nav .owl-next:hover {
    background: #5C4033;
}

/* Packages carousel nav */
.packages .packages-carousel .owl-nav .owl-prev,
.packages .packages-carousel .owl-nav .owl-next {
    border-color: #5C4033;
}

.packages .packages-carousel .owl-nav .owl-prev i,
.packages .packages-carousel .owl-nav .owl-next i {
    color: #5C4033;
}

.packages .packages-carousel .owl-nav .owl-prev:hover,
.packages .packages-carousel .owl-nav .owl-next:hover {
    background: #5C4033;
}

/* Subscribe */
.subscribe {
    background: linear-gradient(rgba(92, 64, 51, .7), rgba(44, 24, 16, .7)), url(../img/subscribe-img.jpg);
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Footer */
.footer {
    background: #2C1810;
}

.footer .footer-item a:hover {
    color: #8B6914;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #1a0e08 !important;
}

/* =====================================================
   Custom Trailside Park Styles
   ===================================================== */

/* Region Cards */
.region-card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    border: none;
}

.region-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(44, 24, 16, 0.15);
}

.region-card img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.region-card:hover img {
    transform: scale(1.05);
}

.region-card .card-body {
    padding: 1.25rem;
}

.region-card .card-title {
    color: #5C4033;
    font-weight: 600;
}

/* Guide Cards */
.guide-card {
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    border: none;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(44, 24, 16, 0.15);
}

.guide-card img {
    height: 220px;
    object-fit: cover;
}

.guide-card .badge-category {
    background: #2D5F2D;
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 8px;
}

/* Why Section */
.why-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(92, 64, 51, 0.1);
    color: #5C4033;
    font-size: 2rem;
    margin: 0 auto 1rem;
    transition: 0.3s;
}

.why-icon:hover {
    background: #5C4033;
    color: #fff;
}

/* Stats Counter */
.stats-section {
    background: linear-gradient(rgba(44, 24, 16, 0.85), rgba(92, 64, 51, 0.85)),
        url('assets/img/campfire-dusk.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.stat-item h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #8B6914;
}

.stat-item p {
    color: #FAF6F0;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Content Pages */
.content-section {
    padding: 60px 0;
}

.content-section h2 {
    color: #5C4033;
    margin-bottom: 1rem;
    font-weight: 600;
}

.content-section h3 {
    color: #2D5F2D;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

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

.content-section ul {
    margin-bottom: 1rem;
}

.content-section ul li {
    line-height: 1.8;
    margin-bottom: 0.25rem;
}

/* Sidebar */
.sidebar-card {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}

.sidebar-card h4 {
    color: #5C4033;
    font-size: 1.15rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #8B6914;
}

.sidebar-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-card ul li {
    padding: 6px 0;
    border-bottom: 1px solid #f0ebe3;
}

.sidebar-card ul li:last-child {
    border-bottom: none;
}

.sidebar-card ul li a {
    color: #333;
    transition: 0.3s;
}

.sidebar-card ul li a:hover {
    color: #5C4033;
    padding-left: 5px;
}

.sidebar-card ul li a i {
    color: #8B6914;
    margin-right: 8px;
    font-size: 0.8rem;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, #5C4033, #2D5F2D);
    border-radius: 10px;
    padding: 2rem;
    color: #fff;
}

.cta-box h4 {
    color: #fff;
}

.cta-box a {
    color: #8B6914;
}

/* Park Listing */
.park-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    transition: 0.3s;
}

.park-item:hover {
    box-shadow: 0 8px 25px rgba(44, 24, 16, 0.15);
}

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

.park-item .park-body {
    padding: 1.25rem;
}

.park-item .park-body h3 {
    font-size: 1.25rem;
    color: #5C4033;
    margin-bottom: 0.5rem;
}

.park-item .park-body .park-meta {
    color: #8B6914;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.park-item .park-body .park-meta i {
    margin-right: 4px;
}

/* Tip Box */
.tip-box {
    background: #f5efe6;
    border-left: 4px solid #8B6914;
    padding: 1.25rem;
    border-radius: 0 10px 10px 0;
    margin: 1.5rem 0;
}

.tip-box h5 {
    color: #8B6914;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.tip-box i {
    color: #8B6914;
}

/* Info Table */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.info-table th {
    background: #5C4033;
    color: #fff;
    padding: 10px 15px;
    text-align: left;
    font-weight: 500;
}

.info-table td {
    padding: 10px 15px;
    border-bottom: 1px solid #f0ebe3;
}

.info-table tr:nth-child(even) td {
    background: #faf6f0;
}

/* Contact Form */
.contact-form .form-control {
    border: 1px solid #e0d6c8;
    border-radius: 8px;
    padding: 12px 15px;
    background: #fff;
}

.contact-form .form-control:focus {
    border-color: #5C4033;
    box-shadow: 0 0 0 0.2rem rgba(92, 64, 51, 0.15);
}

/* Newsletter in Footer */
.newsletter-form .form-control {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    border-radius: 8px 0 0 8px;
    padding: 10px 15px;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter-form .btn {
    border-radius: 0 8px 8px 0;
}

/* Feature Image */
.feature-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.feature-img:hover img {
    transform: scale(1.03);
}

/* Breadcrumbs */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.7);
}

/* Mobile nav fix */
@media (max-width: 991.98px) {
    .navbar.navbar-expand-lg .navbar-toggler {
        border-color: #5C4033;
        color: #5C4033;
    }

    .navbar-light .navbar-nav .nav-link:hover,
    .navbar-light .navbar-nav .nav-link.active {
        color: #5C4033 !important;
    }
}

/* Image grid */
.img-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 1.5rem 0;
}

.img-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* Quick facts */
.quick-facts {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    margin-bottom: 2rem;
}

.quick-facts h4 {
    color: #5C4033;
    border-bottom: 2px solid #8B6914;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.quick-facts ul {
    list-style: none;
    padding: 0;
}

.quick-facts ul li {
    padding: 5px 0;
}

.quick-facts ul li i {
    color: #2D5F2D;
    margin-right: 8px;
}
