/* General Styles */
:root {
    --primary-orange: hsl(25, 85%, 60%); /* #F28C3D */
    --darker-orange: hsl(25, 85%, 45%);  /* #D9792D */
    --light-background: hsl(30, 100%, 98%); /* #FFFBF5 */
    --dark-text: hsl(210, 10%, 20%); /* #333333 */
    --light-text: hsl(0, 0%, 98%);   /* #FAFAFA */
    --neutral-grey: hsl(210, 5%, 50%); /* #7F8C8D */
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    background-color: var(--light-background);
}

.has-text-primary {
    color: var(--primary-orange) !important;
}

.button.is-primary {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    color: var(--light-text);
}

.button.is-primary:hover {
    background-color: var(--darker-orange);
    border-color: var(--darker-orange);
}

.button.is-light {
    color: var(--primary-orange);
    border-color: var(--primary-orange);
    background-color: var(--light-text);
}

.button.is-light:hover {
    background-color: var(--primary-orange);
    color: var(--light-text);
}

.has-background-light-orange {
    background-color: var(--light-background);
}

.title, .subtitle {
    color: var(--dark-text);
}

.title.has-text-light, .subtitle.has-text-light {
    color: var(--light-text);
}

/* Custom Heading Font - Poppins with bold/extra-bold weights */
.custom-heading-font {
    font-family: 'Poppins', sans-serif;
    font-weight: 700; /* Bold */
    color: var(--darker-orange);
}

/* Header */
header.hero.is-primary {
    background-color: var(--primary-orange);
    background-image: url('photos/content/hero-background-sport_3.jpg'); /* Example: background image for hero */
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

header.hero.is-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)); /* Dark overlay */
    z-index: 1;
}

header .hero-head, header .hero-body {
    position: relative;
    z-index: 2;
}

.navbar-brand .navbar-item img {
    max-height: 2.5rem; /* Adjust logo size */
}

.navbar-item {
    font-weight: 600;
    color: var(--light-text);
    transition: color 0.3s ease;
}

.navbar-item:hover {
    color: var(--darker-orange);
}

.navbar-burger span {
    background-color: var(--light-text);
}

.scroll-to-products {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.scroll-to-products:hover {
    transform: translateY(-3px);
}

/* Sections General */
.section {
    padding: 6rem 1.5rem; /* Consistent padding for all sections */
    min-height: 60vh; /* Ensure blocks have a noticeable height */
    display: flex;
    align-items: center;
}

/* About Us Section */
.about-us-section .image img {
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Product Showcase Section */
.products-section {
    background-color: var(--light-background);
}

.product-card {
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure cards are same height */
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.product-card .card-image img {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    object-fit: cover;
    height: 250px; /* Fixed height for product images */
}

.product-card .card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card .title {
    margin-bottom: 0.5rem;
    color: var(--darker-orange);
}

.product-card .subtitle {
    color: var(--neutral-grey);
    font-weight: 600;
}

.product-description {
    font-size: 0.9rem;
    color: var(--dark-text);
    flex-grow: 1; /* Allow description to take available space */
}

/* Why Choose Us / Features Section */
.feature-box {
    background-color: var(--light-text);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%; /* Ensure boxes are same height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.feature-box .title {
    color: var(--darker-orange);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

/* Delivery Geography Section & Warranty / Returns Section */
.delivery-section .image img, .warranty-section .image img {
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Customer Reviews Section */
.reviews-section {
    background-color: var(--light-background);
}

.review-card {
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%; /* Ensure cards are same height */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.review-card .media-left .image.is-rounded {
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-orange);
}

.review-card .title.is-5 {
    color: var(--dark-text);
}

.review-card .subtitle.is-7 {
    color: var(--neutral-grey);
}

.review-card .content {
    font-size: 0.95rem;
    color: var(--dark-text);
}

.review-card .rating .fa-star {
    color: gold;
    margin-right: 2px;
}

/* Call to Action Section */
.cta-section {
    background-image: url('photos/content/cta-background-sport_3.jpg'); /* Example: background image for CTA */
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    min-height: 40vh; /* Ensure a good height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)); /* Dark overlay */
    z-index: 1;
}

.cta-section .hero-body {
    position: relative;
    z-index: 2;
}

.cta-button {
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
    background-color: var(--primary-orange);
    color: var(--light-text);
}

/* Footer */
.footer {
    background-color: var(--dark-text);
    padding: 3rem 1.5rem;
    color: var(--light-text);
}

.footer .footer-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 1rem;
}

.footer .footer-logo {
    max-height: 2.5rem;
    filter: brightness(0) invert(1); /* Make logo white for dark background */
}

.footer .has-text-dark {
    color: var(--light-text) !important; /* Override Bulma's has-text-dark */
}

.footer-links a {
    color: var(--light-text);
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-orange);
}

/* Cookie Modal */
.cookie-modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-modal.is-active {
    display: flex;
    opacity: 1;
}

.cookie-content {
    max-width: 600px;
    margin: 20px;
    background-color: var(--light-text);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 2rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.cookie-modal.is-active .cookie-content {
    transform: translateY(0);
}

.cookie-content .title {
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.cookie-content p {
    color: var(--dark-text);
}

.cookie-content .field {
    margin-bottom: 1rem;
}

.cookie-content .help {
    font-size: 0.85rem;
    color: var(--neutral-grey);
    margin-top: 0.25rem;
}

.cookie-content .button {
    margin-right: 0.75rem;
    margin-top: 0.5rem;
}

/* Bulma Switch styles - ensure they are visible */
.switch[type="checkbox"] + label::before {
    background-color: var(--neutral-grey);
    border-color: var(--neutral-grey);
}

.switch[type="checkbox"]:checked + label::before {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
}

.switch[type="checkbox"]:checked + label::after {
    background-color: var(--light-text);
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .cookie-content {
        width: 500px;
    }
    .navbar-menu {
        background-color: var(--primary-orange);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .navbar-item {
        padding-left: 1.5rem;
    }

    .section {
        padding: 4rem 1rem;
    }

    .hero-body .title {
        font-size: 2.5rem;
    }

    .hero-body .subtitle {
        font-size: 1.25rem;
    }

    .product-card .card-image img {
        height: 200px;
    }

    .cookie-content {
        padding: 1.5rem;
    }

    .cookie-content .button {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: 0.75rem;
    }
    .image.is-4by3 {
            padding-top: 40%;
    }

}
@media (max-width: 576px) {
    .hero.is-primary .title {
        font-size: 20px !important;
    }
    .button.is-large{
        font-size: 18px !important;
        padding: 10px 20px !important;
    }
   .fa-arrow-down:before {
        content: none !important;
    }
        .image.is-4by3 {
            padding-top: 65%;
    }

    .cookie-content {
        width: fit-content;
    }
}/* Styles for the content wrapper for terms, privacy policy, etc. */
.termsCaveBox {
    margin-top: 3rem; /* Top margin for the box */
    padding-left: 1.5rem; /* Left padding for content */
    padding-right: 1.5rem; /* Right padding for content */
    max-width: 800px; /* Maximum width for readability */
    margin-left: auto; /* Center the box horizontally */
    margin-right: auto; /* Center the box horizontally */
    padding-bottom: 3rem; /* Bottom padding for the box */
    color: var(--dark-text); /* Default text color for content */
}

/* Heading 1 styles within termsCaveBox */
.termsCaveBox h1 {
    font-size: 2.2rem; /* Moderate font size for main heading */
    font-weight: 700; /* Bold weight */
    margin-top: 2.5rem; /* Top margin for spacing */
    margin-bottom: 1.5rem; /* Bottom margin for spacing */
    color: var(--darker-orange); /* Prominent color for main heading */
    line-height: 1.2; /* Line height for better readability */
}

/* Heading 2 styles within termsCaveBox */
.termsCaveBox h2 {
    font-size: 1.8rem; /* Slightly smaller than h1 */
    font-weight: 600; /* Semi-bold weight */
    margin-top: 2rem; /* Top margin for spacing */
    margin-bottom: 1.25rem; /* Bottom margin for spacing */
    color: var(--darker-orange); /* Consistent prominent color */
    line-height: 1.3; /* Line height for better readability */
}

/* Heading 3 styles within termsCaveBox */
.termsCaveBox h3 {
    font-size: 1.5rem; /* Further reduced size */
    font-weight: 600; /* Semi-bold weight */
    margin-top: 1.75rem; /* Top margin for spacing */
    margin-bottom: 1rem; /* Bottom margin for spacing */
    color: var(--dark-text); /* Standard text color */
    line-height: 1.4; /* Line height for better readability */
}

/* Heading 4 styles within termsCaveBox */
.termsCaveBox h4 {
    font-size: 1.3rem; /* Smaller heading */
    font-weight: 500; /* Medium weight */
    margin-top: 1.5rem; /* Top margin for spacing */
    margin-bottom: 0.75rem; /* Bottom margin for spacing */
    color: var(--dark-text); /* Standard text color */
    line-height: 1.5; /* Line height for better readability */
}

/* Heading 5 styles within termsCaveBox */
.termsCaveBox h5 {
    font-size: 1.1rem; /* Smallest heading */
    font-weight: 500; /* Medium weight */
    margin-top: 1.25rem; /* Top margin for spacing */
    margin-bottom: 0.5rem; /* Bottom margin for spacing */
    color: var(--dark-text); /* Standard text color */
    line-height: 1.5; /* Line height for better readability */
}

/* Paragraph styles within termsCaveBox */
.termsCaveBox p {
    font-size: 1rem; /* Standard paragraph font size */
    margin-bottom: 1rem; /* Bottom margin for paragraph spacing */
    line-height: 1.7; /* Generous line height for readability */
    color: var(--dark-text); /* Standard text color */
}

/* Unordered list styles within termsCaveBox */
.termsCaveBox ul {
    list-style-type: disc; /* Standard disc bullet points */
    margin-left: 1.5rem; /* Indent list items */
    margin-bottom: 1rem; /* Bottom margin for list spacing */
    padding-left: 0; /* No extra padding for the ul itself */
    color: var(--dark-text); /* Standard text color */
}

/* List item styles within termsCaveBox */
.termsCaveBox li {
    font-size: 1rem; /* Standard list item font size */
    margin-bottom: 0.5rem; /* Bottom margin for spacing between list items */
    line-height: 1.6; /* Line height for list items */
    color: var(--dark-text); /* Standard text color */
}
section {
    overflow: hidden;
}
.title:not(.is-spaced)+.subtitle {
    margin-top: auto !important;
}