/* General Styles */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #000; /* Black background for the site */
    color: #fff; /* White text for readability */
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure the body takes full height */
}

/* The wrapper takes up the remaining space */
.wrapper {
    flex: 1;
    margin-bottom: 1.5rem;
}

/* Navbar */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-size: 1rem;
    text-transform: uppercase;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #007bff; /* Bootstrap primary color */
}

/* Hero Section */
.container-fluid.bg-black {
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('/media/hurley-and-helmet-hero.jpg') no-repeat center center;
    background-size: cover;
    text-align: center;
    background-color: #000; /* Black canvas */
    color: #fff;
    padding: 100px 20px;
}

.container-fluid.bg-black h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.container-fluid.bg-black p {
    font-size: 1.25rem;
    margin-bottom: 30px;
}

.container-fluid.bg-black .btn-primary {
    font-size: 1.25rem;
    padding: 10px 30px;
    border-radius: 30px;
    text-transform: uppercase;
}

/* Hurley measurements section */
.hurley-image {
    max-width: 800px;
    width: 100%; 
    height: auto; 
    margin: 0 auto;
}

/* Line between in helmet and Hurley measurements section */
.styled-hr {
    border: none; 
    border-top: 2px solid white; 
    height: 2px; 
    width: 100%; 
    margin: 20px 0; 
}

/* Calculator for Hurley measurements section */
.calculator {
    background-color: #222; 
    color: #fff; /* White text */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
}

.calculator input {
    text-align: center;
    font-size: 1.2rem;
    padding: 10px;
    border:1px solid #ccc; 
    border-radius: 5px;
    margin-bottom: 15px;
}

.calculator button {
    font-size: 1.2rem;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff; 
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.calculator button:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

.calculator p {
    font-size: 1.1rem;
}

#result {
    color: #fff; 
    font-size: 1.2rem; 
    margin-top: 15px; 
    text-align: center;
}

/* FAQ Section */
.faq-section .card {
    border: none; 
    margin-bottom: 15px; 
    background-color: #f8f9fa;
}

.faq-section .card-header {
    background-color: #007bff; 
    color: #fff; 
    padding: 15px;
    border-radius: 5px;
}

.faq-section .btn-link {
    color: #fff; 
    text-decoration: none; 
    font-size: 1.2rem; 
}

.faq-section .btn-link:hover {
    text-decoration: underline; 
}

.faq-section .card-body {
    background-color: #fff; 
    color: #333;
    padding: 15px;
    border-radius: 5px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
}

/* Subscription form styling */
.subscribe-form {
    display: flex;
    gap: 8px; 
    align-items: center; 
}

.subscribe-form input[type="email"] {
    flex: 1; 
    padding: 8px; 
    border: 1px solid #ccc; 
    border-radius: 4px; 
    font-size: 1rem; 
}

.subscribe-form button {
    padding: 8px 16px; 
    background-color: #007bff; 
    color: white; 
    border: none; 
    border-radius: 4px; 
    font-size: 1rem; 
    cursor: pointer; 
}

.subscribe-form button:hover {
    background-color: #0056b3; 
}

.logout-confirm {
    color: #212529;   
  }

  /* MailChimp */
footer #mc_embed_signup {
  background: transparent !important;  
  width: 100% !important;              
  color: #fff;
  font-family: 'Montserrat', sans-serif;
}

/* Hide the “Subscribe” heading & required note */
footer #mc_embed_signup h2,
footer #mc_embed_signup .indicates-required {
  display: none;
}

/* Turn the inner scroll wrapper into a flex row */
footer #mc_embed_signup_scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

/* Style the email input */
footer #mc_embed_signup input#mce-EMAIL {
  flex: 1 1 auto;
  min-width: 200px;
  padding: 0.5rem;
  border: 1px solid #444;
  border-radius: 4px 0 0 4px;
  background: #222;
  color: #fff;
  font-size: 1rem;
}

/* Style the submit button */
footer #mc_embed_signup input.button {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0 4px 4px 0;
  background-color: #007bff;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

footer #mc_embed_signup input.button:hover {
  background-color: #0056b3;
}

/* Footnote (“powered by…”) and responses */
footer #mc_embed_signup .foot,
footer #mc_embed_signup .response {
  color: #bbb;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Hide the honeypot field */
footer #mc_embed_signup input[name^="b_"] {
  display: none !important;
}

/* Footer Subscribe Input Group */
footer .input-group-lg .form-control {
  border: 1px solid #444;
  border-right: none;
  border-radius: 0.25rem 0 0 0.25rem;
  background: #222;
  color: #fff;
}

footer .input-group-lg .form-control::placeholder {
  color: #bbb;
}

footer .input-group-lg .btn-primary {
  border-radius: 0 0.25rem 0.25rem 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: background-color 0.2s ease, transform 0.1s ease;
}

footer .input-group-lg .btn-primary:hover {
  background-color: #0056b3;
  transform: translateY(-1px);
}

/* Ensure the group never overflows its column on mobile */
@media (max-width: 576px) {
  footer .input-group-lg {
    flex-direction: column;
  }
  footer .input-group-lg .form-control,
  footer .input-group-lg .input-group-append {
    width: 100%;
    border-radius: 0.25rem;
  }
  footer .input-group-lg .btn-primary {
    margin-top: 0.5rem;
    border-radius: 0.25rem;
  }
}

/* Mobile: stack input + button */
@media (max-width: 576px) {
  footer #mc_embed_signup_scroll {
    flex-direction: column;
  }
  footer #mc_embed_signup input#mce-EMAIL,
  footer #mc_embed_signup input.button {
    width: 100% !important;
    border-radius: 4px !important;
  }
}

/* Stack input and button for mobile */
@media (max-width: 600px) {
    .subscribe-form {
        flex-direction: column;
    }
    .subscribe-form input,
    .subscribe-form button {
        width: 100%; 
        margin-bottom: 8px; 
    }
    .subscribe-form button {
        margin-bottom: 0; 
    }
}

/* Checkout Summary */
.list-group-item {
    color: black;
}

#toast-container {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important; 
    left: auto !important;
    bottom:auto !important;
    z-index: 1060 !important;
    width: auto !important;
    max-width: 400px !important;
    pointer-events: none; 
}

#toast-container .toast {
    margin-bottom: 10px;
    pointer-events: auto; 
}

.toast {
    min-width: 300px; 
    max-width: 400px; 
    margin-bottom: 10px;
    opacity: 0.9;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
}

.toast-header {
    background-color: #f8f9fa; 
    color: #212529;
    font-weight: bold;
    border-bottom: 1px solid #ddd; 
    padding: 10px;
    border-radius: 5px 5px 0 0; 
}

.toast-body {
    background-color: #f8f9fa; 
    color: #212529;
    font-size: 1rem;
    padding: 15px;
    border-radius: 0 0 5px 5px; 
}

.toast-capper {
    height: 5px; 
    width: 100%; 
    border-radius: 5px 5px 0 0; 
}

.toast-capper.bg-success {
    background-color: #28a745; 
}

.toast-capper.bg-danger {
    background-color: #dc3545; 
}

.toast-capper.bg-warning {
    background-color: #ffc107; 
}

.toast-capper.bg-info {
    background-color: #17a2b8; 
}

/* Footer */
footer {
    background-color: #111; /* Slightly lighter black for contrast */
    color: #fff;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    font-size: 14px;
}

footer .form-label {
    font-size: 1rem;
    font-weight: 700;
    margin-right: 10px;
}

footer .form-control {
    max-width: 300px;
    margin: 0 auto;
}

footer .btn-primary {
    padding: 5px 15px;
    margin-top: 10px;
    font-size: 14px;
}

footer .d-flex a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    margin: 0 10px;
    transition: color 0.3s ease;
}

footer .d-flex a:hover {
    color: #007bff; /* Bootstrap primary color */
}

/* Responsive Design */
@media (max-width: 768px) {
    .container-fluid.bg-black h1 {
        font-size: 2rem;
    }

    .container-fluid.bg-black p {
        font-size: 1rem;
    }

    .container-fluid.bg-black .btn-primary {
        font-size: 1rem;
        padding: 8px 20px;
    }

    footer .form-control,
    footer .btn-primary {
        width: 100%;
        margin-bottom: 10px;
    }

@media (max-width: 991.98px) {
    .footer-subscribe-form .form-control,
    .footer-subscribe-form .btn {
        width: 100%;
        margin-bottom: 8px;
    }
    }
}
