/* === Reset === */
* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
}

html {
    font-family: 'Poppins', sans-serif;
    background-color: #e3edde;
    scroll-behavior: smooth;
    margin: 0 auto;
    max-width: 1600px;
}

h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -2px;
}

p {
    font-weight: 400;
    font-size: 22px;
    line-height: 1.5;
}

a {
    font-weight: 500;
    font-size: 16px;
}

h1 {
    font-size: 68px;
    text-align: center;
    color: #1A1A1A;
}

/* === Navigation === */
.nav-container nav {
    display: flex;
    background-color: #F4F6F3;
    color: #1A1A1A;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    max-width: 1600px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

nav .logo {
    margin-left: 50px;
    width: 70px;
    border-radius: 50%;
    border: 2px solid green;
}

nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav ul li a {
    color: #1A1A1A;
    padding: 10px;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: lightgreen;
    border-bottom: 2px solid #1A1A1A;
}

nav .cta.active {
    background-color: green;
    color: white;
    border-bottom: none;
}

/* === Buttons === */
.cta {
    padding: 10px;
    color: #1A1A1A;
    border: 2px solid rgb(154, 138, 37);
    border-radius: 8px;
    background-color: #C2A878;
}

.cta:hover {
    color: #181616;
    background-color: #6f5525;
}

.cta-2 {
    padding: 10px;
    color: white;
    border: 2px solid rgb(154, 138, 37);
    border-radius: 8px;
    background-color: green;
}

.cta-2:hover {
    color: #2a2727;
    background-color: forestgreen;
}

nav .cta {
    margin-right: 50px;
}

nav .cta:hover {
    color: #ffffff;
    background-color: green;
}

.cta-container {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 50px;
}

/* === Hero === */
.hero-container {
    background-image: url("../images/realbg.jpg");
    background-position: center;
    background-repeat: no-repeat;
    height: 90vh;
    background-size: cover;
    margin-top: 100px;
    align-content: center;
}

.hero-container h1 {
    color: whitesmoke;
    text-shadow: 2px 2px 4px #1A1A1A;
}

.hero-container p {
    text-align: center;
    color: aliceblue;
    text-shadow: 2px 2px 4px #1A1A1A;
}

/* === Shared Section Styles === */
.mission,
.services-overview,
.story {
    text-align: center;
    margin: 80px;
}

.mission h2,
.services-overview h2,
.story h2,
.team-section h2 {
    font-size: 42px;
    color: #2a2727;
    margin-bottom: 30px;
}

.mission .cta-container {
    margin-top: 30px;
}

.learn-more a {
    color: green;
    display: inline-block;
    margin-top: 30px;
}

.learn-more a:hover {
    color: darkgreen;
    text-shadow: 0 2px 4px #1A1A1A;
}

/* === Values === */
.values-section {
    padding: 60px 80px;
    background-color: green;
    color: white;
}

.values-section h2 {
    font-size: 42px;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 2px 2px 2px #1A1A1A;
}

.values-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.value-card {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 24px;
}

.value-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.value-card p {
    font-size: 18px;
}

/* === Services List === */
.services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 30px;
}

.services-list li {
    border: 2px solid green;
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 18px;
    font-weight: 500;
    color: #1A1A1A;
    background-color: #f4f6f3;
}

.team-section .services-list li {
    background-color: #e3edde;
}

/* === CTA Section === */
.cta-section {
    text-align: center;
    padding: 60px 80px;
    background-color: #f4f6f3;
}

.cta-section h2 {
    font-size: 36px;
    color: #2a2727;
    margin-bottom: 20px;
}

.cta-section p {
    margin-bottom: 30px;
}

/* === Blockquote === */
blockquote {
    margin: 30px auto;
    max-width: 700px;
    padding: 20px 30px;
    border-left: 4px solid green;
    background-color: #f4f6f3;
    border-radius: 0 8px 8px 0;
    font-size: 20px;
    line-height: 1.6;
    color: #2a2727;
}

/* === Services Page === */
#services {
    padding: 0 100px;
    margin-top: 80px;
    margin-bottom: 50px;
    background-color: green;
    color: white;
    height: 450px;
}

#services .text {
    background-color: green;
    align-content: center;
}

#services .text h2 {
    font-size: 50px;
    text-align: center;
    margin: 20px;
    text-shadow: 2px 2px 2px #1A1A1A;
}

#services .text p {
    margin-left: 50px;
    margin-right: 50px;
    margin-bottom: 30px;
}

#services li {
    border: 2px solid white;
    border-radius: 8px;
    padding: 5px 10px;
    background-color: #C2A878;
}

#services li a {
    font-size: 18px;
    color: #1A1A1A;
}

.offers ul {
    display: flex;
    text-align: center;
    justify-content: space-between;
}

#services li a:hover {
    color: #04618c;
    font-style: italic;
}

.more-details {
    padding: 0 50px;
    margin-bottom: 100px;
}

.more-details h3 {
    font-weight: 600;
    font-size: 36px;
}

.pruning-heading,
.care-heading,
.harvesting-heading {
    text-align: center;
}

.planting,
.pruning,
.lectures,
.care,
.selection,
.harvesting {
    margin-bottom: 30px;
    padding: 5px;
}

.more-details .planting,
.more-details .pruning,
.more-details .lectures,
.more-details .care,
.more-details .selection,
.more-details .harvesting {
    display: flex;
    padding: 0 50px;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
    scroll-margin-top: 140px;
}

.more-details img {
    border-radius: 8px;
    aspect-ratio: 1/1;
    width: 200px;
}

/* === About Page === */
.about .intro-text-container {
    text-align: center;
    margin-top: 80px;
    margin-bottom: 80px;
    background-color: green;
    height: 300px;
    align-content: center;
    color: whitesmoke;
}

.about .intro-text-container h2 {
    font-size: 42px;
    color: whitesmoke;
    margin-bottom: 30px;
    text-shadow: 2px 2px 2px #1A1A1A;
}

.team-section {
    padding: 0 50px;
    margin-bottom: 100px;
    scroll-margin-top: 100px;
}

.team-section .group {
    display: flex;
    align-items: center;
    gap: 50px;
}

.team-section .group .personal-details {
    text-align: center;
    flex: 2;
}

.team-section .group .text {
    flex: 8;
}

.team-section .group .personal-details img {
    width: 200px;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 10px;
    border: 4px solid darkgreen;
}

.team-section .group .personal-details p {
    font-weight: 600;
}

.team-section .group .personal-details p:last-child {
    font-weight: 400;
    font-style: italic;
}

.team-section .story {
    margin: 0;
}

/* === Contact Page === */
.contact-section {
    padding: 0 50px;
    margin-top: 80px;
    margin-bottom: 100px;
}

.contact-section h2 {
    text-align: center;
    font-size: 42px;
    height: 180px;
    background-color: green;
    color: white;
    text-shadow: 2px 2px 2px #181616;
    align-content: center;
}

.contact-section .group {
    display: flex;
    gap: 50px;
}

.contact-section .group .text {
    flex: 3;
    margin-top: 10px;
}

.contact-section .group form {
    flex: 3;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
}

.contact-section .group form input,
.contact-section .group form textarea {
    font-family: 'Inter', sans-serif;
    border: 2px solid green;
    background-color: #e0facf;
    padding: 10px;
    margin-bottom: 15px;
    outline: none;
    resize: none;
}

.contact-section .group form button {
    font-size: 18px;
    font-family: 'Inter', sans-serif;
    border: none;
    color: rgb(26, 32, 26);
    background-color: #68a371;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.contact-section .group form button:hover {
    background-color: #012e14;
    color: #87b88e;
    font-size: 20px;
}

.contact-section .group form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#form-status {
    margin-top: 12px;
    font-size: 16px;
    border-radius: 6px;
    padding: 10px 14px;
    display: none;
}

#form-status.form-success {
    display: block;
    background-color: #d4edda;
    color: #1a5c2a;
    border: 1px solid #a3d9b1;
}

#form-status.form-error {
    display: block;
    background-color: #fde8e8;
    color: #7a1c1c;
    border: 1px solid #f5b8b8;
}

.bullet-list {
    list-style: disc;
    padding-left: 1.5em;
    margin-top: 10px;
}

/* === Footer === */
footer {
    background-color: rgb(3, 97, 3);
    color: white;
}

footer a {
    color: whitesmoke;
}

footer a:hover {
    border-bottom: 2px solid white;
    border-radius: 5px;
}

footer .upper-section {
    display: flex;
    justify-content: space-between;
    margin: 50px;
}

footer .upper-section .description {
    width: 400px;
}

footer .upper-section h4 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px #1A1A1A;
}

footer .upper-section p {
    font-size: 18px;
}

footer .small-text {
    text-align: center;
    margin: 10px;
}

footer .small-text p {
    font-size: 14px;
}


/* === Responsive === */
@media (max-width: 1200px) {
    .nav-container nav {
        height: 80px;
    }

    nav .logo {
        margin-left: 30px;
        width: 60px;
    }

    nav ul li a {
        padding: 3px;
    }

    .hero-container {
        height: 90vh;
        margin-top: 80px;
    }

    .hero-container h1 {
        font-size: 44px;
    }

    .hero-container p {
        font-size: 20px;
    }

    .mission h2 {
        font-size: 24px;
    }

    .mission p {
        font-size: 20px;
    }

    footer .upper-section .description {
        width: 300px;
    }

    footer .upper-section p {
        font-size: 15px;
    }

}

@media (max-width: 830px) {
    .values-grid {
        flex-direction: column;
    }

    .values-section {
        padding: 40px 30px;
    }

    .mission,
    .services-overview,
    .story {
        margin: 40px 30px;
    }

    .cta-section {
        padding: 40px 20px;
    }

    .hero-container p {
        font-size: 16px;
    }

    .mission h2 {
        font-size: 24px;
    }

    .mission p {
        font-size: 16px;
    }

    /* Services page */
    #services {
        height: auto;
        padding: 40px 30px;
        margin-top: 80px;
    }

    .offers ul {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .more-details {
        padding: 0 20px;
        margin-bottom: 60px;
    }

    .more-details .planting,
    .more-details .pruning,
    .more-details .lectures,
    .more-details .care,
    .more-details .selection,
    .more-details .harvesting {
        flex-direction: column;
        padding: 0;
        gap: 16px;
        align-items: flex-start;
    }

    .more-details img {
        width: 100%;
        max-width: 400px;
        align-self: center;
    }

    /* About page */
    .team-section {
        padding: 0 20px;
    }

    .team-section .group {
        flex-direction: column;
        align-items: center;
    }

    /* Contact page */
    .contact-section {
        padding: 0 20px;
    }

    .contact-section .group {
        flex-direction: column;
    }

    /* Footer */
    footer .upper-section {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin: 0;
        padding: 30px 20px;
        gap: 20px;
    }

    footer .upper-section .description {
        width: auto;
        text-align: center;
    }

    footer h4 {
        text-align: center;
    }

}

@media (max-width: 600px) {
    .nav-container .hide {
        display: none;
    }

    .nav-container .logo {
        margin-left: 20px;
    }

    .nav-container ul {
        gap: 8px;
        padding: 0;
    }

    nav ul li a {
        font-size: 14px;
        padding: 6px 4px;
    }

    nav .cta {
        margin-right: 12px;
        padding: 8px 10px;
        font-size: 13px;
    }

    h1 {
        font-size: 36px;
        letter-spacing: -1px;
    }

    h2,
    h3 {
        letter-spacing: -1px;
    }

    .hero-container {
        margin-top: 80px;
    }

    .hero-container h1 {
        font-size: 28px;
    }

    .hero-container p {
        font-size: 15px;
        padding: 0 16px;
    }

    p {
        font-size: 18px;
    }

    .mission,
    .services-overview,
    .story {
        margin: 20px;
    }

    .cta-container {
        flex-direction: column;
        align-items: center;
    }

    blockquote {
        padding: 16px 20px;
        font-size: 17px;
    }

    .about .intro-text-container {
        height: auto;
        padding: 30px 20px;
        margin-top: 60px;
        margin-bottom: 40px;
    }
}
