/* css/style.css */

:root {
  --primary-color: #1E3A5F;        /* Rich navy blue */
  --secondary-color: #FBB03B;      /* Warm golden yellow for CTAs */
  --neutral-dark: #2C3E50;
  --neutral-light: #F4F6F8;
  --accent-color: #0C1E2C;
  --border-radius: 12px;
  --box-shadow: 0 8px 24px rgba(0,0,0,0.04);
  --transition-default: 0.25s ease-in-out;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--neutral-dark);
    background-color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-default);
}
a:hover {
    color: var(--secondary-color);
}

/* Custom Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    border-radius: var(--border-radius);
    padding: 12px 28px;
    font-weight: 600;
    transition: background-color var(--transition-default), border-color var(--transition-default);
}
.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-secondary { /* For CTAs */
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: var(--border-radius);
    padding: 12px 28px;
    font-weight: 600;
    transition: background-color var(--transition-default), border-color var(--transition-default), color var(--transition-default);
}
.btn-secondary:hover {
    background-color: #e69d2f; /* Slightly darker yellow */
    border-color: #e69d2f;
    color: var(--primary-color);
}

/* Card Styles */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-default);
}
.card:hover {
    transform: translateY(-5px);
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 1.8rem;
}
.navbar-nav .nav-link {
    color: var(--neutral-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color var(--transition-default);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--secondary-color);
}

/* Footer */
footer {
    background-color: var(--accent-color);
    color: var(--neutral-light);
    padding: 3rem 0;
    font-size: 0.9rem;
}
footer h5 {
    color: #fff;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}
footer a {
    color: var(--neutral-light);
    transition: color var(--transition-default);
}
footer a:hover {
    color: var(--secondary-color);
}
.footer-social-icons a {
    font-size: 1.5rem;
    margin-right: 1rem;
}

/* Utility classes for spacing and alignment */
.py-6 { padding-top: 4rem; padding-bottom: 4rem; }
.py-7 { padding-top: 6rem; padding-bottom: 6rem; }
.mb-6 { margin-bottom: 4rem; }
.mb-7 { margin-bottom: 6rem; }

/* Home Page Specific */
.hero-section {
    background-color: var(--neutral-light); /* Minimal background */
    padding: 5rem 0;
    text-align: center;
}
.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}
.hero-section p {
    font-size: 1.25rem;
    color: var(--neutral-dark);
    margin-bottom: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
}
.feature-card .icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}
.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.feature-card p {
    color: var(--neutral-dark);
}

.callout-strip {
    background-color: var(--primary-color);
    color: #fff;
    padding: 2.5rem 0;
    text-align: center;
    border-radius: var(--border-radius);
    margin-top: 3rem;
    margin-bottom: 3rem;
}
.callout-strip h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0;
}
.callout-strip .icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-right: 1rem;
}

.email-opt-in {
    background-color: var(--neutral-light);
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
}
.email-opt-in h3 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.email-opt-in .form-control {
    border-radius: var(--border-radius);
    padding: 0.75rem 1.25rem;
    border: 1px solid #dee2e6;
}
.email-opt-in .btn {
    border-radius: var(--border-radius);
    padding: 0.75rem 1.5rem;
}

/* Blog/Article Cards (used on Home and Blog List) */
.article-card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: transform var(--transition-default), box-shadow var(--transition-default);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.article-card-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}

.article-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.article-card:hover .article-card-image-wrapper img {
    transform: scale(1.08);
}

.article-card-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(12, 30, 44, 0.4) 0%, rgba(12, 30, 44, 0) 50%);
    opacity: 0;
    transition: opacity var(--transition-default);
    z-index: 1;
}

.article-card:hover .article-card-image-wrapper::before {
    opacity: 1;
}

.article-card .card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.article-card .card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}
.article-card .card-text {
    font-size: 0.95rem;
    color: #6c757d;
    flex-grow: 1;
}
.article-card .meta {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 1rem;
}
.article-card .read-more {
    color: var(--secondary-color);
    font-weight: 600;
    margin-top: 1rem;
}

/* Category Page */
.filter-bar {
    background-color: var(--neutral-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}
.filter-bar .form-select {
    border-radius: var(--border-radius);
    border: 1px solid #dee2e6;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}
.product-card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: transform var(--transition-default);
}
.product-card:hover {
    transform: translateY(-5px);
}
.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}
.product-card .card-body {
    padding: 1.5rem;
}
.product-card .card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}
.product-card .card-text {
    font-size: 0.95rem;
    color: var(--neutral-dark);
    margin-bottom: 1rem;
}
.product-card .btn {
    width: 100%;
}

/* Sidebar for Category/Product */
.sidebar {
    background-color: var(--neutral-light);
    padding: 2rem;
    border-radius: var(--border-radius);
}
.sidebar h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}
.sidebar p {
    font-size: 0.95rem;
    line-height: 1.6;
}
@media (max-width: 991.98px) { /* Hide sidebar on mobile */
    .sidebar {
        display: none;
    }
}

/* Product Page */
.product-gallery img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    width: 100%;
    height: auto;
}
.product-details h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.product-details p.lead {
    font-size: 1.2rem;
    color: var(--neutral-dark);
    margin-bottom: 2rem;
}
.product-details .highlights ul {
    list-style: none;
    padding-left: 0;
}
.product-details .highlights ul li {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    color: var(--neutral-dark);
}
.product-details .highlights ul li i {
    color: var(--secondary-color);
    margin-right: 0.75rem;
}

.sticky-card {
    position: sticky;
    top: 20px; /* Adjust as needed */
    background-color: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}
.sticky-card h4 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}
.sticky-card .btn {
    width: 100%;
    font-size: 1.2rem;
    padding: 15px 20px;
}
.trust-icons img {
    height: 30px;
    margin-right: 15px;
    opacity: 0.7;
}
.breadcrumbs {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
}
.breadcrumbs a {
    color: var(--primary-color);
}
.breadcrumbs a:hover {
    color: var(--secondary-color);
}

/* Blog Post Page */
.blog-post-hero {
    background-color: var(--neutral-light);
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
}
.blog-post-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.blog-post-hero .meta {
    font-size: 1rem;
    color: #6c757d;
}
.blog-post-featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 3rem;
    box-shadow: var(--box-shadow);
}
.blog-content {
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--neutral-dark);
}
.blog-content h2, .blog-content h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}
.blog-content p {
    margin-bottom: 1rem;
}
.blog-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1rem;
}
.blog-content ol {
    list-style: decimal;
    padding-left: 20px;
    margin-bottom: 1rem;
}
.in-body-cta {
    background-color: var(--neutral-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.in-body-cta .cta-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    margin-bottom: 1rem; /* For mobile */
}
.in-body-cta .cta-text i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-right: 1rem;
}
@media (min-width: 768px) {
    .in-body-cta .cta-text {
        margin-bottom: 0;
    }
}

.social-share-sticky {
    position: sticky;
    top: 100px; /* Adjust as needed */
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    z-index: 100;
}
.social-share-sticky a {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    transition: color var(--transition-default);
}
.social-share-sticky a:hover {
    color: var(--secondary-color);
}
@media (max-width: 991.98px) {
    .social-share-sticky {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin-bottom: 2rem;
    }
    .social-share-sticky a {
        margin: 0 10px;
    }
}

/* About Page */
.about-section {
    padding: 3rem 0;
}
.about-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
}
.about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--neutral-dark);
    margin-bottom: 1.5rem;
}
.stats-block {
    background-color: var(--neutral-light);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
}
.stats-block h3 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}
.stats-block p {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0;
}

/* Contact Page */
.contact-form .form-control {
    border-radius: var(--border-radius);
    padding: 0.75rem 1.25rem;
    border: 1px solid #dee2e6;
}
.contact-form textarea.form-control {
    min-height: 150px;
}
.contact-card {
    background-color: var(--neutral-light);
    padding: 2rem;
    border-radius: var(--border-radius);
}
.contact-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}
.contact-card p {
    font-size: 1.05rem;
    color: var(--neutral-dark);
    margin-bottom: 0.75rem;
}
.contact-card p i {
    color: var(--secondary-color);
    margin-right: 0.75rem;
}
.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 400px;
    width: 100%;
}

/* 404 Page */
.error-404 {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.error-404 h1 {
    font-size: 6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.error-404 p {
    font-size: 1.5rem;
    color: var(--neutral-dark);
    margin-bottom: 2rem;
}

/* Policy Page */
.policy-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
}
.policy-section h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.policy-section p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--neutral-dark);
    margin-bottom: 1rem;
}
.affiliate-disclosure {
    background-color: var(--neutral-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
}
.affiliate-disclosure i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-right: 1.5rem;
}
.affiliate-disclosure p {
    margin-bottom: 0;
    font-size: 1rem;
    color: var(--neutral-dark);
}
.accordion-button {
    background-color: var(--neutral-light) !important;
    color: var(--primary-color) !important;
    font-weight: 600;
    border-radius: var(--border-radius) !important;
    box-shadow: none !important;
    padding: 1rem 1.5rem;
}
.accordion-button:not(.collapsed) {
    background-color: var(--primary-color) !important;
    color: #fff !important;
}
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}
.accordion-body {
    background-color: #fff;
    padding: 1.5rem;
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

/* Tour of the Month Section */
.tour-of-the-month-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.tour-of-the-month-section .lead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--neutral-dark);
}
.tour-of-the-month-section img {
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-default);
}
.tour-of-the-month-section img:hover {
    transform: scale(1.03);
}

/* Why Choose Us Section */
.why-choose-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    line-height: 50px;
    font-size: 1.2rem;
    z-index: 1000;
    transition: background-color var(--transition-default), opacity 0.2s, visibility 0.2s;
}

.back-to-top-btn:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* No Results Found Message */
#noProductsFound {
    padding: 2rem;
    background-color: var(--neutral-light);
    border-radius: var(--border-radius);
}

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--accent-color);
    color: var(--neutral-light);
    padding: 1rem 0;
    z-index: 1050; /* High z-index to be on top */
    display: none; /* Hidden by default */
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
}
.cookie-consent-text {
    font-size: 0.9rem;
    margin-bottom: 0;
}
.cookie-consent-text a {
    color: var(--secondary-color);
    text-decoration: underline;
}
.cookie-consent-text a:hover {
    color: #fff;
}

/* Utility for hiding elements */
.d-none {
    display: none !important;
}

/* Category Page */
.category-description h2{
    font-size: 1.5rem !important;
}
.category-description p{
    font-size: 1rem !important;
}


@media (max-width: 768px) {
    .navbar-brand img {
        height: 35px !important;
    }
}
