:root {
    --maroon: #680021;
    --cream: rgba(233, 231, 206, 0.185);
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
}

.border-maroon {
    border-color: #680021 !important;
    /* your maroon shade */
}

.btn-maroon,
.btn-sm-maroon {
    background-color: #680021;
    color: white;
    font-weight: 400;
    border-radius: 6px;
    border: none;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    /* smooth color, shadow & transform */
}

/* Size differences */
.btn-maroon {
    padding: 0.8rem 1.2rem;
}

.btn-sm-maroon {
    font-size: 14px;
    padding: 6px 12px;
}

/* Hover effect */
.btn-maroon:hover,
.btn-sm-maroon:hover {
    background-color: #6e0f2dda;
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Active (pressed) effect */
.btn-maroon:active,
.btn-sm-maroon:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}



.nav-link.active {
    color: var(--maroon) !important;
    font-weight: 700;
    border-bottom: 2px solid var(--maroon);
}

.btn-maroon:hover {
    background-color: #a00030;
}

main {
    padding: 2rem;
    text-align: center;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem;
    position: fixed;
    width: 100%;
    bottom: 0;
}

.form-control::placeholder {
    color: rgba(12, 12, 12, 0.7);
}

.text-maroon {
    color: var(--maroon) !important;
}

.bg-maroon {
    background-color: var(--maroon) !important;
}

.dropdown-menu {
    border-radius: 6px;
    border: 1px solid var(--maroon);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1rem !important;
    min-width: 320px !important;
    max-height: 400px;
    overflow-y: auto;
    right: 0;
    left: auto;
}

.dropdown-menu h5 {
    font-size: 1rem;
    /* custom font size for heading */
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.dropdown-menu p {
    font-size: 0.7rem;
    /* custom font size for content */
    line-height: 1.4;
    margin: 0;
}

.hero-section {
    /* background-image: url('https://firebasestorage.googleapis.com/v0/b/bee-tennis-4626f.firebasestorage.app/o/HeroImage.png?alt=media&token=1a193c5e-ab00-4cb3-95d3-6d8a3de91b87'); */
    background-size: cover;
    background-position: center;
    height: 80vh;
    width: 100vw;
    padding: 0;
    text-align: left;
    color: white;
    display: flex;
    align-items: center;
    overflow-x: hidden;
}

/* .hero-section .container {
    max-width: 600px;
} */

.btn-outline-white {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    font-weight: 600;
    border-radius: 6px;
    padding: 0.5rem 1.2rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-left: 1rem;
}

.btn-outline-white:hover {
    background-color: white;
    color: var(--maroon);
}

.btn-callback {
    background-color: var(--cream);
    border: 2px solid rgba(233, 231, 206, 0.692);
    color: var(--maroon);
    font-weight: 400;
    border-radius: 6px;
    padding: 0.8rem 1.2rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-callback:hover {
    background-color: rgba(255, 253, 208, 1);
    color: var(--maroon);

}

/* New styles for About Us section */

.about-us-section {
    background-color: #f3e9eb;
    padding-top: 3rem;
    padding-bottom: 3rem;
    text-align: left;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--maroon);
    margin-bottom: 1.5rem;
}

.about-us-section p {
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    color: #222;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.btn-maroon {
    background-color: var(--maroon);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.8rem 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-maroon:hover {
    background-color: #450016;
}

.image-wrapper {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.border-image {
    border: 2px solid var(--maroon);
    max-width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    background-color: var(--maroon);
    color: white;
    font-weight: 700;
    padding: 15px 0;
    text-align: center;
    margin-top: -5px;
    user-select: none;
}

.service-card {
    background-color: #F7F7F7;
    /* Default background */
    transition: all 0.3s ease-in-out;
}

.service-card:hover {
    background-color: #680021 !important;
    color: #fff !important;
}

.service-card:hover .card-body,
.service-card:hover .card-title,
.service-card:hover .card-text {
    color: #fff !important;
}

.service-card:hover .btn {
    background-color: #fff !important;
    color: #680021 !important;
    border: none !important;
}

/* Main feedback card */
.feedback-card {
    background: #fff;
    z-index: 2;
}

/* Maroon accent card behind */
.feedback-accent {
    top: -7px;
    /* move slightly up */
    right: +5px;
    /* move slightly to right */
    width: 97.5%;
    height: 100%;
    z-index: 1;
}

/* Quote box */
.quote-box {
    background-color: #680021;
    width: 50px;
    height: 50px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #eee;
    transition: 0.2s;
    height: 100%;
}

.product-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.product-card img {
    max-height: 180px;
    object-fit: contain;
    margin: auto;
    display: block;
}

.discount-badge {
    font-size: 0.75rem;
    background: #680021;
    color: #fff;
}

.price {
    font-weight: 600;
    font-size: 1.1rem;
}

.rating {
    color: #f5a623;
    font-size: 0.9rem;
}

.products-slider {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    gap: 1rem;
    padding: 1rem 60px;
    /* Add padding for arrow buttons */
}

.products-container {
    position: relative;
}

.slider-nav {
    position: absolute;
    top: 50%;
    left: 0px;
    right: 0px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    /* Allow clicks to pass through to slider */
}

.slider-btn {
    /* background: #680021; */
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    pointer-events: auto;
    /* Re-enable pointer events for buttons */
    z-index: 20;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.slider-btn:hover {
    background: #4a0016;
    transform: scale(1.1);
}

.slider-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Privacy Policy - Left align text while keeping container centered */
.privacy-policy-section {
    text-align: left !important;
}

.privacy-policy-section .container {
    text-align: left !important;
}

.privacy-policy-section .col-12 {
    text-align: left !important;
}

/* Service area modal specific styles */
.service-area-item {
    width: 100%;
    margin: 0 auto;
    display: none;
    /* Initially hidden, shown by JavaScript */
}

/* Product Detail Section */
.product-detail-row {
    gap: 2rem;
}

.product-detail-image {
    max-width: 400px;
    border-radius: 15px;
    overflow: hidden;
}

.product-detail-image img {
    width: 100%;
    display: block;
}

.product-detail-info {
    max-width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.product-detail-price {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.product-detail-name {
    color: #6c757d;
    margin-bottom: 1rem;
}

.product-detail-quantity {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.product-detail-quantity select {
    width: auto;
}

.product-detail-quantity small {
    color: #6c757d;
}

.product-detail-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.product-detail-description {
    color: #6c757d;
    font-size: 0.875rem;
    max-width: 400px;
    margin-bottom: 1.5rem;
}

.product-detail-add-to-cart {
    max-width: 200px;
    padding: 0.5rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    background-color: var(--maroon);
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.product-detail-add-to-cart:hover {
    background-color: #4a0016;
}

/* Custom range slider styling */
input[type="range"].form-range {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #000 !important;
    /* Black color for the track */
    outline: none;
    opacity: 0.9;
    transition: opacity 0.2s;
}

input[type="range"].form-range:hover {
    opacity: 1;
}

input[type="range"].form-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #680021;
    /* Maroon color */
    cursor: pointer;
    border: 2px solid #4a0016;
    margin-top: -8px;
    /* Align thumb vertically */
    transition: background 0.3s ease;
}

input[type="range"].form-range::-webkit-slider-thumb:hover {
    background: #4a0016;
}

input[type="range"].form-range::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #680021;
    /* Maroon color */
    cursor: pointer;
    border: 2px solid #4a0016;
    transition: background 0.3s ease;
}

input[type="range"].form-range::-moz-range-thumb:hover {
    background: #4a0016;
}

/* Hero Layout Section */
.hero-layout {
    padding: 2rem 0;
}

.hero-layout .left-content {
    padding-right: 2rem;
}

.hero-layout .right-images {
    text-align: center;
}

.hero-layout .main-image {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.thumbnail-slider {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
}

.thumbnail-slider::-webkit-scrollbar {
    height: 8px;
}

.thumbnail-slider::-webkit-scrollbar-thumb {
    background-color: var(--maroon);
    border-radius: 4px;
}

.thumbnails {
    display: inline-flex;
    gap: 10px;
}

.thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--maroon);
}

.modal-body {
    height: 65vh;
}

.service-area-item img {
    width: 100%;
    /* make it fill the column */
    height: 500px;
    /* increase image height */
    object-fit: cover;
    /* crop nicely without stretching */
    border-radius: 12px;
    /* keep rounded look */
}