/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', Arial, sans-serif;  /* Updated to Roboto */
}

body {
    background-color: #fff;
    color: #232f3e;
    font-size: 16px;
    line-height: 1.6;
}

a {
    color: #0066c0;
    text-decoration: none;
}

a:hover {
    color: #c45500;
    text-decoration: underline;
}

/* Header */
header {
    background-color: #232f3e;
    padding: 10px 20px;
    color: #fff;
    text-align: left;
}

/* Header Container */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #232f3e;
    color: white;
    position: relative;
}

/* Logo in the center */
.logo {
    width: 80px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Heading Styling */
h1 {
    font-size: 1.5rem;
    margin: 0;
    text-align: left;
    flex-grow: 1;
}

/* Phone Number Styling */
.phone-number {
    font-size: 2.2rem;
    margin: 0;
    padding-right: 20px;
    text-align: right;
}

.phone-number a {
    color: #00ccff;
    text-decoration: none;
    font-weight: bold;
}

/* Categories and Hero Section */
.categories-hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px; /* Adjust height as needed */
    background: url('./images/download.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 20px;
}

.hero-content {
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for readability */
    padding: 40px;
    border-radius: 10px;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero-content a.btn-primary {
    background-color: #febd68;
    color: #000;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.hero-content a.btn-primary:hover {
    background-color: #f3a847;
}

/* Responsive Styling */
@media screen and (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }

    .logo {
        position: relative;
        left: unset;
        transform: unset;
        margin-bottom: 10px;
    }

    h1 {
        font-size: 1.2rem;
        text-align: center;
        margin-bottom: 10px;
    }

    .phone-number {
        text-align: center;
        padding-right: 0;
    }

    .categories-hero-section {
        flex-direction: column;
        padding: 20px;
        height: auto; /* Adjust for mobile */
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content a.btn-primary {
        padding: 10px 20px;
        font-size: 1.2rem;
    }
}

/* Products Section */
.products {
    padding: 50px 0;
    background-color: #ffffff;
}

.products h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
}

/* Product Item Styling */
/* Product Item Styling */
.product-item {
    background-color: #fff; /* Keep background white */
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensure items are spaced properly */
    height: 100%; /* Ensure all product items have equal height */
    overflow: hidden; /* Prevent content overflow */
}

/* Remove hover effect on images */
.product-item a img {
    transition: none; /* Disable hover effect on image */
    background-color: #fff; /* Ensure the background of image stays white */
}

/* Ensure images stay static */
.product-item a:hover img {
    background-color: #fff; /* No change on hover */
    transform: none; /* Disable hover transform effect */
}

.product-item img {
    max-width: 100%;
    max-height: 200px; /* Set a maximum height for the images */
    object-fit: contain; /* Ensures the image scales while maintaining aspect ratio */
    margin-bottom: 15px;
    background-color: #fff; /* Ensure the background remains white */
}

/* Hover effects only on buttons */
.product-item a.btn-secondary {
    background-color: #febd68;
    color: #000;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.product-item a.btn-secondary:hover {
    background-color: #f3a847;
}

/* Align buttons consistently */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    align-items: stretch; /* Make sure all product items stretch equally */
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
    .product-item {
        padding: 15px;
    }

    .product-item h3 {
        font-size: 1.3rem;
    }

    .product-item p {
        font-size: 0.9rem;
    }

    .product-item a {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}




/* Styling for phone number section */
.call-us a {
    display: block;
    text-align: center;
    font-size: 2.5rem;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    background-color: #febd68;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    white-space: nowrap; /* Prevents breaking text on desktop */
}

/* Responsive adjustments for small screens */
@media screen and (max-width: 768px) {
    .call-us a {
        font-size: 2rem;
        padding: 12px 24px;
        word-wrap: break-word;
        display: block;
        white-space: normal; /* Allows text to wrap on mobile */
    }
}

/* Hover effect */
.call-us a:hover {
    background-color: #f3a847;
}






/* Footer */
footer {
    background-color: #232f3e;
    color: white;
    padding: 30px;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo-about, .footer-contact, .footer-hours {
    flex: 1;
    margin: 10px;
    min-width: 200px;
}

.footer-logo {
    width: 100px;
    margin-bottom: 20px;
}

.footer-contact a, .footer-hours a {
    color: #00ccff;
    text-decoration: none;
}

.footer-contact a:hover, .footer-hours a:hover {
    text-decoration: underline;
}

.footer h3 {
    margin-bottom: 15px;
}

.footer p {
    margin: 5px 0;
}

@media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo-about, .footer-contact, .footer-hours {
        margin-bottom: 20px;
    }
}
