/* Base Styles */
section,footer{
    overflow: hidden;
    white-space: wrap;
    word-break: break-word;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'arial', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f0e9c7; /* background colour  */
}

/* Header & Navbar */
nav {
    background: #482d00; /* Deep brown */
    padding: 10px 20px;
    color: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.navbar .logo {
    font-size: 24px;
    font-weight: bold;
    color: f0e9c7; /* beige */
}

.navbar .nav-links {
    display: flex;
    list-style: none;
    transition: all 0.3s ease;
}

.navbar .nav-links li {
    margin-left: 20px;
}

.navbar .nav-links li a {
    color: #f0e9c7; /* beige */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.navbar .nav-links li a:hover {
    color: #f0e9c7; /* beige */
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px;
    background-color: #f0e9c7; /* beige */
    transition: all 0.3s ease;
}

/* Hero Section */
#hero {
    background-image: url('data/media/banner.jpeg'); /* Replace with your hero image path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Overlay for better text visibility */
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #f0e9c7; /* beige */
}

.hero-content p {
    font-size: 24px;
    margin-bottom: 30px;
    color: #fff;
}

.hero-btn {
    padding: 15px 30px;
    background-color:#482d00; /* brown */
    color: #f0e9c7; /* Deep brown */
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.hero-btn:hover {
    background-color: #5f3d01; /* briger brown */
    color: #f0e9c7;
}


/* Section Styles */
section {
    padding: 100px 20px 60px;
    text-align: center;
}

section h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #482d00; /* Deep brown */
}

section p, section ul, section form {
    max-width: 600px;
    margin: 0 auto;
    color: #666;
}

/* About Section */
#about {
    padding: 140px 20px;
    background: #e0caa8; /* White background for contrast */
}

#about img {
    height: 50%;
    width: 50%;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.about-text {
    flex: 1;
    max-width: 50%;
}

.about-text h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #482d00; /* Deep brown */
}

.about-text p {
    font-size: 18px;
    color: #482d00;
}

.about-image {
    flex: 1;
    max-width: 50%;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Modern shadow */
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        align-items: center;
    }

    .about-text,
    .about-image {
        max-width: 100%;
    }
}


/* Services Section */
#services {
    padding: 60px 20px;
}

#services h1 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #482d00; /* Deep brown */
}

/* Flexbox Container */
.services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Service Box */
.service-box {
    background: rgb(223, 210, 175);
    border-radius: 5px;
    /* overflow: hidden; */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Modern shadow */
    flex: 1 1 calc(33.333% - 20px); /* 3 items per row with gap */
    max-width: calc(33.333% - 20px);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    border-style: solid;
    border-color: 482d00;
    border-width: 2px;
}

.service-box img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    /* border-bottom: 10px solid #1a1a2e;  Deep blue border */
}

.service-box h2 {
    font-size: 24px;
    color: #482d00; /* Deep brown */
    margin: 15px;
}

.service-box p {
    font-size: 20px;
    color: #362402;
    margin: 15px;
}

.service-li {
    margin-left: -27%;
    padding-left: 55%;
    font-size: 18px;
    color: #482d00; 
    list-style: square;
}

/* Hover Effects */
.service-box:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Deeper shadow on hover */
    transform: translateY(-5px); /* Slight lift effect */
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-box {
        flex: 1 1 calc(50% - 20px); /* 2 items per row on medium screens */
        max-width: calc(50% - 20px);
    }
    .service-li {
        margin-left: -60%;
        padding-left: 70%;
        font-size: 18px;
        color: #482d00; 
        list-style: square;
    }
}

@media (max-width: 480px) {
    .service-box {
        flex: 1 1 100%; /* 1 item per row on small screens */
        max-width: 100%;
    }
    .service-li {
        margin-left: -60%;
        padding-left: 70%;
        font-size: 18px;
        color: #482d00; 
        list-style: square;
    }
}

/* Contact Section */
form input, form textarea {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    border: 2px solid #482d00; /* Deep brown border */
    border-radius: 5px;
    background-color: #fff;
    color: #333;
}

form button {
    padding: 15px 30px;
    border: none;
    background-color: #482d00; /* Deep brown */
    color: #f0e9c7; /* beige */
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

form button:hover {
    background-color: #5f3d01; /* beige */
    color: #f0e9c7; /* Deep brown */
}

.contact-info {
    margin-top: 4%;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #482d00;
    border-radius: 5px;
    border-style: solid;
    border-color: 482d00;
    border-width: 2px;
    padding: 2%;
    background-color: rgb(235, 223, 189);
}

.contact-info h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #482d00; /* Deep brown */
}

.contact-info p {
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 16px;
    color: #482d00;
}

@media (max-width: 768px) {
    .contact-info {
        margin-top: 4%;
        text-align: left;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
        color: #482d00;
        border-radius: 5px;
        border-style: solid;
        border-color: 482d00;
        border-width: 2px;
        padding: 2%;
        padding-left: 10%;
        background-color: rgb(235, 223, 189);
    }
}

/* Footer */
footer {
    background: #482d00; /* Deep brown */
    color: #f0e9c7; /* beige */
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

footer p {
    margin: 0;
}

/* Scrollbar Customization */
html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background-color: #482d00; /* Deep brown */
    border-radius: 10px;
    border: 3px solid #f1f1f1;
}

/* Responsive Layout */
@media (max-width: 768px) {
    .navbar .nav-links {
        position: fixed;
        top: 80px;
        right: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: #482d00; /* Deep brown */
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease-in-out;
        transform: translateX(100%);
    }

    .navbar .nav-links.active {
        transform: translateX(0);
    }

    .navbar .nav-links li {
        margin: 20px 0;
    }

    .hamburger {
        display: flex;
    }

    .services-list {
        flex-direction: column;
        align-items: stretch;
    }

    .services-list li {
        flex-direction: column;
        align-items: center;
    }

    .services-list img {
        margin-bottom: 10px;
        margin-right: 0;
    }

    .contact-info {
        text-align: center;
    }
}
