/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f9f9f9;
    color: #333;
}

/* Header Styling */
header {
    background-color: #00b4d8;
    color: white;
    padding: 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

header h1 {
    font-size: 1.8rem;
    letter-spacing: 1px;
    color: black;
}

.nav-button button {
    background-color: white;
    color: #00b4d8;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    margin-left: 10px;
}

.nav-button button:hover {
    background-color: #0096c7;
    color: rgb(0, 0, 0);
}

header input[type="search"] {
    padding: 8px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
}

nav {
    margin-top: 10px;
    background-color: #0077b6;
    padding: 10px 20px;
    text-align: center;
    border-radius: 5px;
}

.nav-links {
    display: flex;
    justify-content: center;
    list-style: none;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: rgb(255, 254, 254);
    font-size: 16px;
}

.nav-links a:hover {
    text-decoration: underline;
}

/* Hero Section */
.hero {
    text-align: center;
    background-image: url('img/hero-bg.jpg'); /* Replace with your image */
    background-size: cover;
    background-position: center;
    padding: 50px 20px;
    color: rgb(0, 0, 0);
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    height: 500px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero button {
    background-color: #00b4d8;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

.hero button:hover {
    background-color: #0096c7;
}

/* Map Section */
#map {
    width: 100%;
    height: 250px;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#locate-me {
    background-color: #00b4d8;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
}

#locate-me:hover {
    background-color: #0096c7;
}

/* Products Section */
.products-section {
    padding: 50px 20px;
    background-color: rgb(20, 145, 194);
}

.products-section h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    justify-items: center;
}

.products-item {
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.products-item:hover {
    transform: translateY(-5px);
    background-color: #00b4d8;
    color: white;
}

/* Gallery Section */
.gallery {
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.gallery-item img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

/* Blog Section */
.blog {
    padding: 50px 20px;
    background-color: white;
    text-align: center;
}

.blog p {
    font-size: 16px;
    line-height: 1.6;
}

/* Rating Section */
.rate-us {
    display: flex;
    justify-content: space-between;
    padding: 50px 20px;
    background-color: #f1f1f1;
}

.rate-us .left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-right: 20px;
}

.rate-us h3 {
    margin-bottom: 10px;
}

.rate-us .stars {
    text-align: left;
}

.rate-us .right {
    text-align: right;
    font-size: 16px;
}

/* Footer Styling */
footer {
    background-color: #0077b6;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap; /* Ensures proper layout on smaller screens */
}

.footer-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap; /* Makes footer responsive */
}

/* Contact Section */
.footer-contact {
    width: 30%;
    text-align: left;
    
}

/* Quick Links Section */
.footer-links {
    width: 30%;
    text-align: center;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin: 5px 0;
}

.footer-links ul li a {
    display: inline-block;
    background-color: white;
    color: #0077b6;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
}

.footer-links ul li a:hover {
    background-color: #0096c7;
    color: white;
}

/* Social Media Section */
.social-media {
    width: 30%;
    text-align: right;
}

.social-media-icons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.social-media-icons img {
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.social-media-icons img:hover {
    transform: scale(1.1);
}

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f9f9f9;
    color: #333;
}

/* Header Styling */
header {
    background-color: #00b4d8;
    color: white;
    padding: 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

header h1 {
    font-size: 1.8rem;
    letter-spacing: 1px;
    color: black;
}

.nav-button button {
    background-color: white;
    color: #00b4d8;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    margin-left: 10px;
}

.nav-button button:hover {
    background-color: #0096c7;
    color: rgb(0, 0, 0);
}

header input[type="search"] {
    padding: 8px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
}

nav {
    margin-top: 10px;
    background-color: #0077b6;
    padding: 10px 20px;
    text-align: center;
    border-radius: 5px;
}

.nav-links {
    display: flex;
    justify-content: center;
    list-style: none;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: rgb(255, 254, 254);
    font-size: 16px;
}

.nav-links a:hover {
    text-decoration: underline;
}

/* Hero Section */
.hero {
    text-align: center;
    background-image: url('img/hero-bg.jpg'); /* Replace with your image */
    background-size: cover;
    background-position: center;
    padding: 50px 20px;
    color: rgb(0, 0, 0);
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    height: 500px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero button {
    background-color: #00b4d8;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

.hero button:hover {
    background-color: #0096c7;
}

/* Map Section */
#map {
    width: 100%;
    height: 250px;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#locate-me {
    background-color: #00b4d8;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
}

#locate-me:hover {
    background-color: #0096c7;
}

/* Products Section */
.products-section {
    padding: 50px 20px;
    background-color: rgb(20, 145, 194);
}

.products-section h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    justify-items: center;
}

.products-item {
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.products-item:hover {
    transform: translateY(-5px);
    background-color: #00b4d8;
    color: white;
}

/* Gallery Section */
.gallery {
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.gallery-item img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

/* Blog Section */
.blog {
    padding: 50px 20px;
    background-color: white;
    text-align: center;
}

.blog p {
    font-size: 16px;
    line-height: 1.6;
}

/* Rating Section */
.rate-us {
    display: flex;
    justify-content: space-between;
    padding: 50px 20px;
    background-color: #f1f1f1;
}

.rate-us .left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-right: 20px;
}

.rate-us h3 {
    margin-bottom: 10px;
}

.rate-us .stars {
    text-align: left;
}

.rate-us .right {
    text-align: right;
    font-size: 16px;
}

/* Footer Styling */
footer {
    background-color: #0077b6;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap; /* Ensures proper layout on smaller screens */
}

.footer-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap; /* Makes footer responsive */
}

/* Contact Section */
.footer-contact {
    width: 30%;
    text-align: left;
}

/* Quick Links Section */
.footer-links {
    width: 30%;
    text-align: center;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin: 5px 0;
}

.footer-links ul li a {
    display: inline-block;
    background-color: white;
    color: #0077b6;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
}

.footer-links ul li a:hover {
    background-color: #0096c7;
    color: white;
}

/* Social Media Section */
.social-media {
    width: 30%;
    text-align: right;
}

.social-media-icons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.social-media-icons img {
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.social-media-icons img:hover {
    transform: scale(1.1);
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }

    .nav-links {
        flex-direction: column;
        padding: 0;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-contact, .footer-links, .social-media {
        width: 100%;
        margin-bottom: 20px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rate-us {
        flex-direction: column;
        align-items: center;
    }

    .rate-us .left, .rate-us .right {
        margin-right: 0;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        padding: 30px 15px;
        height: 300px;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .products-item {
        padding: 15px;
    }

    .products-section h3 {
        font-size: 1.6rem;
    }

    .footer-contact, .footer-links, .social-media {
        width: 100%;
        text-align: center;
    }
}
