/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f0f4f4; /* Light neutral background */
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}

/* Navbar Styles */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.7); /* Darker background for navbar */
    padding: 10px 20px;
    border-bottom-left-radius: 50px; /* Curved border at the bottom-left */
    border-bottom-right-radius: 50px; /* Curved border at the bottom-right */
    transition: background 0.3s;
}
header.sticky {
    background: #00695c; /* Deep teal for sticky header */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    background: rgba(0, 0, 0, 0.6); /* Inner background */
    border-radius: 50px; /* Apply curvature to inner navbar */
    padding: 10px 20px;
}

/* Left side containing logo and company name */
.navbar .left {
    display: flex;
    align-items: center; /* Align items vertically */
    gap: 10px; /* Space between logo and text */
}
.navbar .left h1 {
    font-size: 1.2rem;
    color: white;
    margin: 0;
    padding-right: 60px; /* Increased space between the company name and the first nav link */
}

/* Right side containing navigation links */
.navbar .right {
    display: flex;
    gap: 20px;
}

.navbar a {
    color: white;
    font-weight: 500;
    margin: 0 15px;
    transition: color 0.3s;
}
.navbar a:hover {
    color: #ffb74d; /* Soft amber hover effect */
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    background: #00796b; /* Teal background for hero section */
    border-bottom-left-radius: 100px; /* Curved bottom left corner */
    border-bottom-right-radius: 100px; /* Curved bottom right corner */
}
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}
.hero .content {
    z-index: 3;
    max-width: 800px;
}
.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}
.hero button {
    padding: 15px 30px;
    background: #ffb74d; /* Warm amber for call-to-action */
    color: white;
    border: none;
    border-radius: 50px; /* Rounded button */
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}
.hero button:hover {
    background: #f57c00; /* Darker amber for hover effect */
}

/* Slideshow Background */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: slide 30s infinite; /* Increased duration to 30s */
    z-index: 1;
    background-size: cover;
    background-position: center;
}
@keyframes slide {
    0% { background-image: url('assets/images/image1.jpeg'); }
    10% { background-image: url('assets/images/image2.jpeg'); }
    20% { background-image: url('assets/images/image3.jpeg'); }
    30% { background-image: url('assets/images/image4.jpeg'); }
    40% { background-image: url('assets/images/image5.jpeg'); }
    50% { background-image: url('assets/images/image6.jpeg'); }
    60% { background-image: url('assets/images/image7.jpeg'); }
    70% { background-image: url('assets/images/image8.jpeg'); }
    80% { background-image: url('assets/images/image9.jpeg'); }
    90% { background-image: url('assets/images/image10.jpeg'); }
    100% { background-image: url('assets/images/image1.jpeg'); }
}

/* About Section */
#about {
    background-color: #ffffff; /* Clean white background */
    padding: 60px 20px;
    text-align: center;
    border-radius: 50px; /* Apply curvature to About section */
}
#about h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #00695c; /* Deep teal for headings */
}
#about p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #555; /* Subtle dark text */
}

/* Product Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}
.card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.card img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Unified Contact Section */
#contact {
    background-color: #e0f7fa; /* Light teal background */
    padding: 60px 20px;
    text-align: center;
    border-radius: 50px; /* Apply uniform border curvature */
}
#contact .content {
    max-width: 800px;
    margin: auto;
    background-color: #ffffff; /* Inner white background */
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
#contact h2 {
    font-size: 2.5rem;
    color: #00796b; /* Deep teal for heading */
    margin-bottom: 20px;
}
#contact p {
    font-size: 1.2rem;
    color: #555; /* Subtle dark text */
    margin-bottom: 30px;
}
#contact form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
#contact input,
#contact textarea,
#contact button {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
}
#contact textarea {
    resize: none;
    height: 120px;
}
#contact button {
    background-color: #00796b; /* Teal button */
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}
#contact button:hover {
    background-color: #004d40; /* Darker teal on hover */
}

/* Footer */
footer {
    background: #004d40; /* Dark teal for footer */
    color: white;
    padding: 40px 20px;
    border-radius: 50px; /* Apply curvature to footer */
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
}
.footer-column {
    flex: 1;
    margin: 10px;
}
.footer-column h4 {
    margin-bottom: 15px;
}
.footer-column a {
    display: block;
    color: #80cbc4; /* Soft mint green */
    margin-bottom: 10px;
    transition: color 0.3s;
}
.footer-column a:hover {
    color: white;
}
.footer-bottom {
    text-align: center;
    margin-top: 20px;
}

/* More Responsive Adjustments */
@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
    }
    .section {
        padding: 40px 20px;
    }
    #contact {
        padding: 30px 15px;
    }
}

/* Header logo and text styles */
header .navbar {
    display: flex;
    align-items: center; /* Vertically align logo and text */
    justify-content: flex-start; /* Align items to the start of the navbar */
    gap: 5px; /* Small gap between logo and text */
    padding: 0; /* Ensure no extra padding is added */
}

header .navbar .logo {
    height: 40px; /* Adjust logo size */
    width: auto; /* Maintain aspect ratio */
    margin: 0; /* Remove any margin */
}

header .navbar h1 {
    font-size: 1.2rem; /* Adjust text size to make it smaller */
    color: white; /* White text color */
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove padding */
}

/* Modal (hidden by default) */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
    text-align: center;
}

/* Modal content */
.modal-content {
    max-width: 80%;
    margin: auto;
    display: block;
}

/* Close button */
.close {
    color: #fff;
    font-size: 36px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 25px;
    padding: 10px;
    cursor: pointer;
}

/* Caption text (optional) */
#caption {
    color: #ccc;
    font-size: 18px;
    padding: 10px;
}

/* Gallery Styles */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Adjust grid layout */
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    cursor: pointer; /* Add cursor to indicate it's clickable */
}
.gallery-item:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Dark background */
    overflow: auto;
    text-align: center;
}

.modal-content {
    max-width: 80%;
    margin: auto;
    display: block;
    border-radius: 10px;
}

.close {
    color: #fff;
    font-size: 36px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 25px;
    padding: 10px;
    cursor: pointer;
}

.close:hover {
    color: #ffb74d; /* Highlight color on hover */
}

/* Image Container Styling */
.image-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.gallery-item img:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
}
