/* Global Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

/* Navbar styles */
.navbar {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 1rem;
}

.navbar-left, .navbar-right {
    display: flex;
    align-items: center;
}

.navbar-brand {
    max-height: 60px; /* Adjust as needed for logo size */
}

.dinkstars-logo {
    height: 50px; /* Adjust logo size */
}

.navbar .nav-link {
    margin: 0 10px;
    font-weight: 500;
    color: #333;
}

.navbar .nav-link:hover {
    color: #007bff;
}

.navbar-left a,
.navbar-right a {
    text-decoration: none;
    color: #333;
    margin-right: 15px;
}

.navbar-left a:hover,
.navbar-right a:hover {
    color: #007bff;
}

/* Additional responsive adjustments */
@media (max-width: 768px) { /* For smaller screens */
    .navbar-left, .navbar-right {
        display: none; /* Hide social icons and nav links on smaller screens, if needed */
    }

    .navbar-brand {
        margin: 0 auto; /* Center the logo in smaller screens */
    }
}

/* Hero Section for Index Page */
.hero-image-index {
    position: relative;
    height: 400px;
    background-image: url('herofrontpagedesktop1.jpg'); /* Default image for large screens */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-text-index {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}

.hero-text-index h1 {
    font-size: 4em;
}

.hero-text-index p {
    font-size: 1.5em;
}

/* Media Queries for different screen sizes */

/* Laptop Screen */
@media only screen and (max-width: 1200px) {
    .hero-image-index {
        background-image: url('heroimagefrontlaptop1.jpg'); /* Image for laptop screens */
    }
}

/* Tablet Screen */
@media only screen and (max-width: 768px) {
    .hero-image-index {
        background-image: url('herofrontpagetablet1.jpg'); /* Image for tablet screens */
        height: 300px; /* Adjust height for tablet */
    }
}

/* Mobile Screen */
@media only screen and (max-width: 576px) {
    .hero-image-index {
        background-image: url('heroimagefrontmobile2.jpg'); /* Image for mobile screens */
        height: 250px; /* Adjust height for mobile */
    }
    
    .hero-text-index h1 {
        font-size: 2.5em; /* Adjust font size for mobile */
    }

    .hero-text-index p {
        font-size: 1.2em; /* Adjust font size for mobile */
    }
}

/* Hero Section for About Page */
.hero-image-about {
    position: relative;
    height: 400px;
    background-image: url('heroaboutus2.jpg'); /* Default image for large screens */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-text-about {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    padding: 0 20px; /* Add padding to avoid text being too close to edges */
}

.hero-text-about h1 {
    font-size: 4em; /* Default size for large screens */
}

.hero-text-about p {
    font-size: 1.5em; /* Default size for large screens */
}

/* Responsive Styles for About Page */

/* Large Desktops and Laptops (default settings) */
@media (min-width: 1200px) {
    .hero-image-about {
        height: 500px; /* Increase height for larger screens */
        background-image: url('heroaboutus2.jpg'); /* Image for large desktops */
    }
    .hero-text-about h1 {
        font-size: 4.5em; /* Adjust heading size */
    }
    .hero-text-about p {
        font-size: 1.75em; /* Adjust paragraph size */
    }
}

/* Medium Desktops and Tablets */
@media (max-width: 1199px) and (min-width: 768px) {
    .hero-image-about {
        height: 350px; /* Slightly reduce height */
        background-image: url('heroaboutuslaptop1.jpg'); /* Image for laptops/tablets */
    }
    .hero-text-about h1 {
        font-size: 3.5em; /* Adjust heading size */
    }
    .hero-text-about p {
        font-size: 1.3em; /* Adjust paragraph size */
    }
}

/* Tablets and Small Laptops */
@media (max-width: 767px) and (min-width: 576px) {
    .hero-image-about {
        height: 300px; /* Adjust height for tablets */
        background-image: url('heroaboutustablet1.jpg'); /* Image for small laptops/tablets */
    }
    .hero-text-about h1 {
        font-size: 3em; /* Reduce heading size */
    }
    .hero-text-about p {
        font-size: 1.2em; /* Adjust paragraph size */
    }
}

/* Mobile Devices */
@media (max-width: 575px) {
    .hero-image-about {
        height: 250px; /* Further reduce height for small screens */
        background-image: url('heroaboutusmobile1.jpg'); /* Image for mobile devices */
    }
    .hero-text-about h1 {
        font-size: 2.5em; /* Further reduce heading size */
    }
    .hero-text-about p {
        font-size: 1em; /* Adjust paragraph size */
    }
}

/* Hero Section for Contact Page */

/* Default Image for Large Desktops and Laptops */
.hero-image-contact {
    position: relative;
    height: 400px;
    background-image: url('herocontactusdesktop.jpg'); /* Default desktop image */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-text-contact {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    padding: 0 20px; /* Adjust padding for text */
}

.hero-text-contact h1 {
    font-size: 4em;
}

.hero-text-contact p {
    font-size: 1.5em;
}

/* Media Queries for Different Screen Sizes */

/* Large Desktops and Laptops (default settings) */
@media (min-width: 1200px) {
    .hero-image-contact {
        height: 500px; /* Increase height for larger screens */
        background-image: url('herocontactuslaptop.jpg'); /* Image for large desktops */
    }
    .hero-text-contact h1 {
        font-size: 4.5em; /* Adjust heading size */
    }
    .hero-text-contact p {
        font-size: 1.75em; /* Adjust paragraph size */
    }
}

/* Medium Desktops and Tablets */
@media (max-width: 1199px) and (min-width: 768px) {
    .hero-image-contact {
        height: 400px; /* Slightly reduce height */
        background-image: url('herocontactustablet.jpg'); /* Image for tablets */
    }
    .hero-text-contact h1 {
        font-size: 3.5em; /* Adjust heading size */
    }
    .hero-text-contact p {
        font-size: 1.5em; /* Keep paragraph size */
    }
}

/* Tablets and Small Laptops */
@media (max-width: 767px) and (min-width: 576px) {
    .hero-image-contact {
        height: 350px; /* Adjust height for tablets */
        background-image: url('herocontactusmobile.jpg'); /* Image for small laptops/tablets */
    }
    .hero-text-contact h1 {
        font-size: 2.5em; /* Reduce heading size */
    }
    .hero-text-contact p {
        font-size: 1.25em; /* Adjust paragraph size */
    }
}

/* Mobile Devices */
@media (max-width: 575px) {
    .hero-image-contact {
        height: 300px; /* Further reduce height for small screens */
        background-image: url('herocontactusmobile.jpg'); /* Image for mobile devices */
    }
    .hero-text-contact h1 {
        font-size: 2em; /* Further reduce heading size */
    }
    .hero-text-contact p {
        font-size: 1em; /* Adjust paragraph size */
    }
}



/* Responsive Styles for Index Page */
@media (max-width: 1200px) { /* Laptop */
    .hero-text-index h1 {
        font-size: 3.5em;
    }

    .hero-text-index p {
        font-size: 1.3em;
    }
    
    .hero-image-index {
        height: 350px;
    }
}

@media (max-width: 992px) { /* Tablet */
    .hero-text-index h1 {
        font-size: 3em;
    }

    .hero-text-index p {
        font-size: 1.2em;
    }

    .hero-image-index {
        height: 300px;
    }
}

@media (max-width: 768px) { /* Large Mobile */
    .hero-text-index h1 {
        font-size: 2.5em;
    }

    .hero-text-index p {
        font-size: 1.1em;
    }

    .hero-image-index {
        height: 250px;
    }
}

@media (max-width: 576px) { /* Small Mobile */
    .hero-text-index h1 {
        font-size: 2em;
    }

    .hero-text-index p {
        font-size: 1em;
    }

    .hero-image-index {
        height: 200px;
    }
}

;'

/* Responsive Styles for Contact Page */
@media (max-width: 1200px) { /* Laptop */
    .hero-text-contact h1 {
        font-size: 3.5em;
    }

    .hero-text-contact p {
        font-size: 1.3em;
    }
    
    .hero-image-contact {
        height: 350px;
    }
}

@media (max-width: 992px) { /* Tablet */
    .hero-text-contact h1 {
        font-size: 3em;
    }

    .hero-text-contact p {
        font-size: 1.2em;
    }

    .hero-image-contact {
        height: 300px;
    }
}

@media (max-width: 768px) { /* Large Mobile */
    .hero-text-contact h1 {
        font-size: 2.5em;
    }

    .hero-text-contact p {
        font-size: 1.1em;
    }

    .hero-image-contact {
        height: 250px;
    }
}

@media (max-width: 576px) { /* Small Mobile */
    .hero-text-contact h1 {
        font-size: 2em;
    }

    .hero-text-contact p {
        font-size: 1em;
    }

    .hero-image-contact {
        height: 200px;
    }
}

/* Styles for Shop Page */
#product-tree {
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
    padding: 10px;
    background-color: #fff; /* White background for sidebar */
}

#product-tree .list-group-item {
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

#product-tree .list-group-item:hover {
    background-color: #f0f0f0; /* Light gray hover effect */
}

#product-tree .collapse .list-group-item {
    padding-left: 30px; /* Indent for subcategories */
}

/* Product Grid */
.card {
    border: 1px solid #ddd; /* Light border around each card */
    border-radius: 8px; /* Rounded corners for cards */
    transition: transform 0.2s, box-shadow 0.2s; /* Add a smooth transition effect */
    background-color: #fff; /* White background for cards */
}

.card:hover {
    transform: translateY(-5px); /* Lift the card slightly on hover */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1); /* Add a more pronounced shadow on hover */
}

.card-img-top {
    border-bottom: 1px solid #ddd; /* Border separating image and card body */
    height: 200px; /* Fixed height for images */
    object-fit: cover; /* Ensures the image covers the area without stretching */
}

.card-title {
    font-weight: bold;
    color: #333;
}

.btn-primary {
    background-color: #007bff; /* Button color */
    border-color: #007bff; /* Button border color */
    border-radius: 5px; /* Rounded corners for buttons */
    transition: background-color 0.2s, border-color 0.2s; /* Smooth transition */
}

.btn-primary:hover {
    background-color: #0056b3; /* Darker shade on hover */
    border-color: #0056b3; /* Match border to button on hover */
}

/* Checkout page styles */
.checkout-container {
    margin-top: 2rem;
}

.checkout-summary {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    background-color: #fff;
}

.checkout-summary h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.checkout-summary .total {
    font-size: 1.2rem;
    font-weight: bold;
}

.payment-method {
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

.payment-method img {
    margin-left: 10px;
    max-height: 25px;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}




/* Add a box around the product details (update chatgpt) */
.product-box {
    background-color: #f9f9f9; /* Light gray background for the box */
    border-radius: 8px; /* Rounded corners */
    padding: 20px; /* Padding inside the box */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    margin-bottom: 20px; /* Space below the box */
}

/* Dark gray for the product title */
.product-box h2 {
    color: #333; /* Dark gray color */
    margin-bottom: 10px; /* Space below the title */
}

/* Lighter gray for product description */
.product-description {
    color: #666; /* Light gray color */
    margin-bottom: 10px; /* Space below the description */
}

/* Dark gray for product price */
.product-price {
    color: #333; /* Dark gray color */
    font-size: 1.5em; /* Larger font size */
    margin-bottom: 10px; /* Space below the price */
}

/* Dark green for free shipping text */
.free-shipping {
    color: #004d00; /* Dark green color */
    font-weight: bold; /* Bold text */
    margin-bottom: 15px; /* Space below the free shipping text */
}

/* Style for the PayPal button container */
#paypal-button-container {
    margin-top: 20px; /* Space above the button */
}



footer {
    background-color: #f8f9fa;
    padding: 15px 0;
    color: #6c757d;
    position: relative;
    bottom: 0;
    width: 100%;
}



/* Ensure main product image is responsive */
.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Thumbnails styling */
.img-thumbnail {
    width: 100px;
    height: auto;
    cursor: pointer;
    margin-right: 10px;
}

/* Styling for the 'Our Site Security' section */
.security-box {
    border: 2px solid #36454F; /* Green border for emphasis */
    background-color: #f0f4f7; /* Light background color for contrast */
    padding: 20px;
    border-radius: 8px; /* Rounded corners for a modern look */
    font-size: 1.1rem;
    color: #333; /* Darker text for readability */
    margin-top: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}


/* Custom Button Styling for the Contact Page */
.btn-light-gray {
    background-color: #e0e0e0; /* Light gray background */
    border: 1px solid #ccc;    /* Light border to match the background */
    color: #333;               /* Darker text for readability */
}

.btn-light-gray:hover {
    background-color: #d3d3d3; /* Slightly darker gray on hover */
    border-color: #bfbfbf;
}

.social-icons a {
    margin-right: 20px; /* Adds 20px space between icons */
	 color: #36454F; /* Light gray background */
}

.social-icons a:last-child {
    margin-right: 0; /* Removes extra margin from the last icon */
	color: #36454F; /* Light gray background */
}



.btn-light-gray {
    background-color: #d3d3d3;
    color: black;
    border: none;
}

.btn-light-gray:hover {
    background-color: #c0c0c0; /* Slightly darker on hover */
    color: black;
}


/* Style for the Men's Products Title */
.text-dark {
    font-weight: bold;
    color: #333; /* Charcoal gray */
}

/* Style for Product Titles */
.product-title {
    color: #a2bc3a; /* Initial color */
    transition: color 0.3s ease; /* Smooth transition effect */
}

.product-title:hover {
    color: #333333; /* Change color on hover */
}

/* General Styles */
.product-box {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 5px;
    background-color: #f8f9fa;
}

/* Responsive Styles for Product Checkout Page */
@media (min-width: 768px) {
    .row.flex-column-reverse.flex-md-row {
        flex-direction: row !important; /* Ensure normal order on larger screens */
    }
}

/* For Mobile Layout */
@media (max-width: 767px) {
    .row.flex-column-reverse.flex-md-row {
        flex-direction: column-reverse; /* Product images above checkout for mobile */
    }
    .product-box {
        margin-top: 20px;
    }
}

/* Adjust image and thumbnail sizes */
.img-fluid {
    max-width: 100%;
    height: auto;
}

.thumbnail {
    width: 80px;
    margin: 0 5px;
    cursor: pointer;
}

/* Ensure product image appears first on mobile */
@media (max-width: 768px) {
    .product-box {
        margin-top: 20px; /* Add margin to push the checkout below images */
    }

    .order-md-1 {
        order: 1; /* Ensure images come first */
    }

    .order-md-2 {
        order: 2; /* Ensure checkout comes second */
    }
}

/* Product page layout for larger screens */
.product-box {
    padding: 20px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    border-radius: 5px;
}

/* Honeypot Field - Hidden */
#honeypot {
    display: none;
}



