@import url('https://fonts.googleapis.com/css2?family=Georgia:wght@400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    height: 100vh;
    background-image: url('./IMAGES/pexels-grizzlybear-1198507.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    filter: brightness(80%);
    font-family: 'Georgia', serif;
}

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: rgba(134, 228, 134, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar h1 {
    font-size: 1.5rem;
    color: rgb(23, 153, 23);
}

.navbar .bx {
    display: none;
}

.navbar .list {
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: flex-end;
}

.navbar .list a {
    text-decoration: none;
    margin: 15px;
    color: black;
    font-size: 1.2rem;
    position: relative;
    transition: transform 0.3s ease, color 0.3s ease;
}

.navbar .list a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: black;
    transition: width 0.3s ease;
}

.navbar .list a:hover {
    color: rgb(23, 153, 23);
    transform: scale(1.1);
}

.navbar .list a:hover::before {
    width: 100%;
}

.btn {
    background-color: rgb(2, 129, 79);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 1rem;
    outline: none;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn a{
    text-decoration: none;
    font-size: 1rem;
    color: white;
}

.btn:hover {
    background-color: rgb(0, 102, 64);
    transform: scale(1.1);
}

/* Main Content Styles */
.body-p1 {
    text-align: center;
    margin: 4rem auto;
    font-size: 2rem;
}

.body-p1 h2 {
    margin-top: 7rem;
    font-weight: 500;
}

.body-p1 .btn {
    margin-top: 2rem;
}

.body-merged {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    padding: 3rem 2rem;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    box-sizing: border-box;
}

/* Plantation Section */
.plantation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
}

.plantation.reverse {
    flex-direction: row-reverse;
}

.plantation img {
    max-width: 50%;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.plantation img:hover {
    transform: scale(1.05);
}

.plantation p {
    flex: 1;
    padding: 2rem;
    background-color: rgba(129, 233, 146, 0.5);
    color: white;
    font-size: 1.2rem;
    line-height: 1.8;
    border-radius: 5px;
    text-align: justify;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* Footer Styles */
footer {
    background-color: #3b3f36;
    background-image: url('https://www.transparenttextures.com/patterns/asfalt-dark.png');
    color: #ffffff;
    padding: 40px 20px;
    border-top: 4px solid #7c9473;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.footer-logo h1 {
    font-size: 1.8rem;
    color: #f4f4ec;
}

.footer-logo p {
    color: #d8d7d0;
    font-size: 1rem;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.footer-nav ul li a {
    text-decoration: none;
    color: #d8d7d0;
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
    color: #7c9473;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: #d8d7d0;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #7c9473;
}

.footer-contact p {
    color: #f4f4ec;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 8px;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 0.875rem;
    color: #d8d7d0;
    border-top: 1px solid #7c9473;
    padding-top: 10px;
}

/* Responsive Design */
@media (max-width: 898px) {
    .plantation {
        flex-direction: column;
    }

    .plantation.reverse {
        flex-direction: column;
    }

    .plantation img {
        max-width: 100%;
    }
}

@media (max-width: 968px) {
    .navbar .bx{
        display: block;
    }

    .navbar .list {
        display: none;
        flex-direction: column;
        background-color: rgba(0, 170, 99, 0.9);
        width: 100%;
        padding: 20px 0;
        position: absolute;
        top: 0;
        right: 0;
        text-align: top;
        height: 100vh;
    }

    .navbar .list.active {
        display: flex;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-nav ul {
        text-align: center;
    }
}
