/* Font and Color Setup */
@font-face {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-style: normal;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background-color: #b71c1c;
    color: white;
}
header h1 {
    font-size: 24px;
}
nav ul {
    list-style: none;
    display: flex;
}
nav ul li {
    margin-left: 20px;
}
nav ul li a {
    color: #ffe0e0;
    text-decoration: none;
    font-size: 16px;
}
nav ul li a:hover {
    color: #ffcccc;
}

.hero {
    position: relative;
    width: 100%; /* Ensure it scales properly */
    height: auto; /* Maintain aspect ratio */
    background-image: url('your-image.jpg');
    background-size: cover; /* Cover the entire section */
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@media (max-width: 768px) {
    .hero {
        height: auto; /* Adjust height for smaller screens */
        padding: 20px; /* Add padding for spacing */
    }
}


.hero img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 10px;
}


.hero-text {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    color: #fff; /* White text for readability */
    padding: 20px;
    border-radius: 8px;
    font-size: 1.5rem; /* Font size for the larger text */
    text-align: center;
    line-height: 1.4;
    max-width: 90%; /* Prevents the box from being too wide */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Subtle shadow for better focus */
}

.hero-text p {
    margin: 0; /* Remove default margins for proper alignment */
    font-size: 1rem; /* Smaller font size for the white text */
    line-height: 1.5;
}



.hero-text h2 {
    font-family: 'Arial', sans-serif;
    font-size: 36px;
    color: #ffe0e0;
}

/* Buttons */
.btn, .btn-hero {
    padding: 12px 20px;
    background-color: #b71c1c;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.btn:hover, .btn-hero:hover {
    background-color: #b71c1c;
}

/* Product Cards */
.product {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    height: 650px; /* Ensures all products stretch to the same height */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Keep product grid consistent */
.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    align-items: stretch; /* Makes all items uniform in height */
}
/* Product Image */
.product img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}
/* Product Title */
.product h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
    height: 40px; /* Ensure all titles take up the same height */
    overflow: hidden; /* Prevents text overflow */
}

/* Product Description */
.product h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
    height: 40px; /* Ensures uniform height for titles */
    overflow: hidden;
}


/* Make price bigger and ensure it's above the button */
.product .price {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-top: auto; /* Pushes price down */
    margin-bottom: 5px;
}

/* Ensures the button is always at the bottom */
.product .btn {
    padding: 10px 20px;
    background-color: #b71c1c;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    width: 100%;
    margin-top: 10px; /* Adds spacing between price and button */
}

.product .btn:hover {
    background-color: #cc0000;
}


/* Sorting Dropdown */
.sort-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    padding: 10px;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.sort-bar label {
    font-size: 16px;
    font-weight: bold;
    color: #b71c1c;
    margin-right: 10px;
}

.sort-bar select {
    padding: 8px 12px;
    font-size: 16px;
    border: 2px solid #b71c1c;
    border-radius: 5px;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sort-bar select:hover {
    background-color: #ffe0e0;
}

.sort-bar select:focus {
    outline: none;
    border-color: #cc0000;
    background-color: #ffcccc;
}


/* Footer */
footer {
    background-color: #b71c1c;
    color: white;
    padding: 15px 0;
    text-align: center;
}
/* General Gallery Section Styles */
.gallery {
    margin: 40px auto;
    max-width: 1200px;
    text-align: center;
}

.gallery h2 {
    font-family: 'YourHeaderFont', sans-serif; /* Match the font family of the header */
    color: #333; /* Ensure consistency in color */
    font-size: 2.2rem; /* Match the font size of the header text */
    font-weight: 600; /* Match the header font weight (use the same weight as in the header) */
    letter-spacing: 1px; /* Use same letter-spacing as in the header */
    margin-bottom: 15px;
}

/* Slideshow Container Styles */
.slideshow-container, .video-slideshow-container {
    position: relative;
    max-width: 80%; /* Keep container width responsive */
    height: auto;
    margin: auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Slightly darker shadow */
    border: 1px solid #ddd; /* Light border for better definition */
}

/* Image Slide Styles - Keep size consistent */
.slide img, .video-slide video {
    width: 100%; /* Image/video width will fill the container */
    height: auto; /* Maintain aspect ratio */
    max-width: 600px; /* Max size to prevent images from getting too big */
    margin: 0 auto; /* Centering */
    border-radius: 8px; /* Optional: Rounded corners */
    transition: none; /* Remove hover transition */
}

/* Video Gallery Section */
.video-gallery {
    text-align: center;
    font-family: 'YourHeaderFont', sans-serif; /* Match the font family of the header */
    color: #333; /* Ensure consistency in color */
    font-size: 1.5rem; /* Match the font size of the header text */
    font-weight: 600; /* Match the header font weight (use the same weight as in the header) */
    letter-spacing: 1px; /* Use same letter-spacing as in the header */
    margin-bottom: 15px;
}

.video-slideshow-container {
    margin: 40px auto;
    width: 100%; /* Ensure video container fills width */
    max-width: 950px; /* Optional: set a max-width */
    text-align: center;
}

.video-slide video {
    width: 100%;
    max-width: 600px; /* Limits max width for large screens */
    height: auto;
    display: block;
    margin: auto;
}


.video-slide video::after {
    content: "▶"; /* Play icon */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.7);
    pointer-events: none; /* Allow interaction with the video */
}

/* Navigation Button Styles */
.prev, .next {
    cursor: pointer;
    position: absolute;
    width: 50px; /* Circle width */
    height: 50px; /* Circle height */
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Center on Y-axis */
    color: white; /* Arrow color */
    font-weight: bold;
    font-size: 24px; /* Arrow size */
    line-height: 50px; /* Align arrow vertically inside circle */
    text-align: center; /* Align arrow horizontally inside circle */
    transition: background-color 0.3s ease;
    border-radius: 50%; /* Makes the button circular */
    border: 2px solid #ccc; /* Light grey border */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 10;
}

.prev {
    left: 10px; /* Distance from the left edge of container */
}

.next {
    right: 10px; /* Distance from the right edge of container */
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8); /* Darker background on hover */
    border-color: #999; /* Slightly darker border on hover */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .slideshow-container, .video-slideshow-container {
        width: 100%; /* Ensure full width on smaller screens */
    }
    .slide img, .video-slide video {
        width: 100%; /* Image and video will fill container width */
        max-width: 100%; /* Don't exceed the container width */
    }
}


/* Checkout Page */
#checkout {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#checkout h2 {
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
    color: #b71c1c;
}
@media (max-width: 768px) {
    #checkout {
        padding: 15px;
    }
    .form-group label,
    .form-group-inline label {
        font-size: 14px;
    }
    .form-group input,
    .form-group-inline input {
        font-size: 14px;
        padding: 6px;
    }
}

/* Cart Summary Table */

  @media (min-width: 768px) {
    th {
      width: 282.977px;
      height: 43.5px;
      padding: 12px;
      box-sizing: border-box;
    }
  }
  
  @media (max-width: 767px) {
    th {
      width: auto;
      padding: 8px; /* Reduced padding for smaller screens */
    }
  }
#cart-summary {
    margin-bottom: 40px;
}

#cart-items {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

#cart-items th,
#cart-items td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}

#cart-items th {
    background-color: #f7f7f7;
    color: #333;
    font-weight: bold;
}
/* Remove Button */
#remove-btn {
    padding: 10px 20px;
    background-color: #c0392b; /* Matches the red tone of the other buttons */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    text-align: center;
}

#remove-btn:hover {
    background-color: #e74c3c; /* Matches the hover effect of the other buttons */
}

#total-price,
#shipping-cost {
    font-size: 18px;
    text-align: right;
    margin-top: 10px;
}

/* Shipping Estimate Section */
#shipping-estimate {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

#zip-code {
    padding: 8px;
    font-size: 16px;
    width: 150px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
#email-div {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

#inputs {
    padding: 8px;
    font-size: 16px;
    width: 220px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#estimate-shipping {
    padding: 10px 20px;
    background-color: #c0392b;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

#estimate-shipping:hover {
    background-color: #e74c3c;
}

.form-group {
	display: flex;
	flex-direction: column;
	margin-bottom: 10px;
}
.form-group label {
	margin-bottom: 5px;
	font-weight: bold;
}
.form-group input {
padding: 8px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.form-group-inline {
	display: flex;
	flex: 1 1 45%;
	flex-direction: column;
	margin-right: 10px;
	margin-bottom: 15px;
}
.form-group-inline label {
	margin-bottom: 5px;
	font-weight: bold;
}
.form-group-inline input {
padding: 8px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
#checkout-form {
	max-width: 600px;
	margin: 0 auto;
}
#billing-info {
	display: flex;
	flex-wrap: wrap;
}		
.bg-alert {
    box-shadow: 0 0 3px rgba(0, 0, 0, .8);
}
.alert {
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}
.alert-secondary {
    color: #383d41;
    background-color: #e2e3e5;
    border-color: #d6d8db;
	font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
}
#state {
padding: 8px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;	
}
/* Checkout Button */
#checkout-btn {
    display: block;
    width: 100%;
    padding: 15px;
    margin-top: 30px;
    background-color: #c0392b;
    color: white;
    font-size: 18px;
    text-align: center;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#checkout-btn:hover {
    background-color: #e74c3c;
}
/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal .btn {
    margin: 10px;
    padding: 10px 20px;
    border: none;
    background-color: #f04d4d; /* Match your site's color */
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.modal .btn:hover {
    background-color: #d94242;
}

/* Footer */
footer {
    background-color: #b71c1c;
    color: white;
    padding: 15px 0;
    text-align: center;
   
}

.about-hero {
    position: relative;
    text-align: center;
    color: white;
}

.about-hero-image {
    width: 100%; /* Keep the width at 100% */
    max-height: 300px; /* Reduced max-height */
    object-fit: cover; /* Maintain aspect ratio */
    opacity: 0.8; /* Opacity remains unchanged */
}
.hero-text {
    position: relative; /* Stays within the .about-hero container */
    z-index: 2; /* Ensures the text is above the image */
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent black background */
    color: white; /* White text for readability */
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    line-height: 1.5;
    max-width: 90%; /* Prevents the box from stretching too far */
    font-size: 1.5rem;
}

.hero-text h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 1rem;
    margin: 0;
}

.about-content {
    max-width: 800px;
    margin: 2rem auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-section {
    margin-bottom: 2rem;
    padding: 1em; /* Use em for consistent padding scaling */
    background-color: #f0f0f0; /* Light gray background */
    border-radius: 8px; /* Rounded corners */
    transition: background-color 0.3s ease; /* Smooth hover effect */
    text-align: center;
    box-sizing: border-box; /* Ensure padding is included in width calculations */
    max-width: 90%; /* Allow box to adjust to screen size */
    margin-left: auto; /* Center the box */
    margin-right: auto;
}

/* Heading inside about-section */
.about-section h3 {
    color: #b71c1c;
    font-size: 1.5em; /* Responsive font size */
    margin: 0;
    padding-bottom: 0.5em; /* Consistent spacing */
}

/* Paragraph inside about-section */
.about-section p {
    line-height: 1.6;
    margin: 0.5em 0; /* Adjusted margin for responsiveness */
    font-size: 1em;
}

/* Unordered list inside about-section */
.about-section ul {
    list-style-type: none;
    padding: 0;
    margin: 1em 0; /* Ensure spacing around the list */
}

.about-section ul li {
    margin-bottom: 0.5em; /* Adjust spacing between list items */
    font-size: 1em; /* Keep list items consistent with text */
}

/* Responsive Design using Media Queries */
@media screen and (min-width: 768px) {
    .about-section {
        max-width: 600px; /* Restrict width for medium screens */
    }
}

@media screen and (min-width: 1024px) {
    .about-section {
        max-width: 800px; /* Allow a larger width for larger screens */
        padding: 2em; /* Add more padding for larger screens */
    }

    .about-section h3 {
        font-size: 2em; /* Increase font size for headings */
    }

    .about-section p, .about-section ul li {
        font-size: 1.2em; /* Larger font size for readability */
    }
}

    /* Footer */
footer {
    background-color: #b71c1c;
    color: white;
    padding: 15px 0;
    text-align: center;
    margin-top: 40px;
}
