/* Croplink brand colours */
:root {
    html {
    scroll-behavior: smooth;
}
    --dark-green: #163d2a;
    --forest-green: #245c3a;
    --gold: #d6a84b;
    --cream: #f5f1e8;
    --white: #ffffff;
    --dark-text: #1d2a22;
}

/* Remove the browser's default spacing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--dark-text);
    background-color: var(--cream);
}

/* Website header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:  12px 8%;
    background-color: var(--white);
}

header h1 {
    color: var(--dark-green);
    font-size: 32px;
    letter-spacing: 1px;
}

nav {
    display: flex;
    gap: 32px;
}

nav a {
    color: var(--dark-green);
    text-decoration: none;
    font-weight: 600;
}

nav a:hover {
    color: var(--gold);
}

/* Main introductory area */
main {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 80px 8%;
    color: var(--white);
   background:
    linear-gradient(
        90deg,
        rgba(13, 50, 32, 0.92),
        rgba(22, 61, 42, 0.45)
    ),
   url("croplink-field.png");

background-size: cover;
background-position: center;
}

main h2 {
    max-width: 750px;
    margin-bottom: 22px;
    font-size: 58px;
    line-height: 1.1;
}

main p {
    max-width: 650px;
    margin-bottom: 32px;
    font-size: 20px;
    line-height: 1.7;
}

main a {
    display: inline-block;
    padding: 15px 26px;
    color: var(--dark-green);
    background-color: var(--gold);
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}

main a:hover {
    color: var(--white);
    background-color: #bd8d32;
}

/* Adjustments for phones */
@media (max-width: 700px) {
    header {
        flex-direction: column;
        gap: 18px;
    }

    nav {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    main h2 {
        font-size: 40px;
    }

    main p {
        font-size: 18px;
    }
}/* Shared section styles */
section {
    padding: 100px 8%;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 50px;
}

.section-label {
    margin-bottom: 14px;
    color: var(--gold);
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-heading h2 {
    margin-bottom: 20px;
    color: var(--dark-green);
    font-size: 42px;
    line-height: 1.2;
}

.section-heading > p:last-child {
    font-size: 18px;
    line-height: 1.7;
}

/* About section */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    background-color: var(--cream);
}

.about-content {
    padding-top: 35px;
}

.about-content p {
    margin-bottom: 22px;
    font-size: 18px;
    line-height: 1.8;
}

/* Products section */
.products-section {
    background-color: var(--white);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    min-height: 280px;
    padding: 35px;
    border: 1px solid #dce3dd;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
}

.product-number {
    margin-bottom: 20px;
    color: var(--gold);
    font-weight: bold;
}

.product-card h3 {
    margin-bottom: 18px;
    color: var(--dark-green);
    font-size: 26px;
}

.product-card p:last-child {
    line-height: 1.7;
}

/* Section adjustments for phones */
@media (max-width: 700px) {
    section {
        padding: 70px 7%;
    }

    .about-section,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .about-section {
        gap: 20px;
    }

    .section-heading h2 {
        font-size: 34px;
    }
}/* Why Croplink section */
.strengths-section {
    color: var(--white);
    background-color: var(--dark-green);
}

.strengths-section .section-heading h2 {
    color: var(--white);
}

.strengths-section .section-heading > p:last-child {
    color: #d7e2da;
}

.strengths-grid {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.strength-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 25px;
    padding: 35px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.strength-item span {
    color: var(--gold);
    font-weight: bold;
}

.strength-item h3 {
    margin-bottom: 12px;
    font-size: 25px;
}

.strength-item p {
    max-width: 700px;
    color: #d7e2da;
    line-height: 1.7;
}

@media (max-width: 700px) {
    .strength-item {
        grid-template-columns: 45px 1fr;
    }
}/* Contact section */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    background-color: var(--cream);
}

.contact-introduction h2 {
    margin-bottom: 24px;
    color: var(--dark-green);
    font-size: 44px;
    line-height: 1.2;
}

.contact-introduction > p {
    font-size: 18px;
    line-height: 1.7;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 45px;
    padding-top: 30px;
    border-top: 1px solid #cdd5ce;
    line-height: 1.7;
}

.contact-form {
    display: flex;
    flex-direction: column;
    padding: 40px;
    background-color: var(--white);
}

.contact-form label {
    margin-bottom: 8px;
    color: var(--dark-green);
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-bottom: 22px;
    padding: 14px;
    border: 1px solid #bdc8bf;
    border-radius: 3px;
    font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--gold);
    outline: none;
}

.contact-form button {
    padding: 16px 24px;
    color: var(--white);
    background-color: var(--dark-green);
    border: none;
    border-radius: 3px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: var(--forest-green);
}

/* Footer */
footer {
    padding: 45px 8%;
    color: #d7e2da;
    background-color: #0d281b;
    text-align: center;
}

footer h2 {
    margin-bottom: 10px;
    color: var(--white);
}

footer p {
    margin-top: 8px;
}

/* Contact adjustments for phones */
@media (max-width: 700px) {
    .contact-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-introduction h2 {
        font-size: 34px;
    }

    .contact-details {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 28px;
    }
}/* Contact section */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    background-color: var(--cream);
}

.contact-introduction h2 {
    margin-bottom: 24px;
    color: var(--dark-green);
    font-size: 44px;
    line-height: 1.2;
}

.contact-introduction > p {
    font-size: 18px;
    line-height: 1.7;
}

.contact-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 45px;
    padding-top: 30px;
    border-top: 1px solid #cdd5ce;
    line-height: 1.7;
}

.contact-form {
    display: flex;
    flex-direction: column;
    padding: 40px;
    background-color: var(--white);
}

.contact-form label {
    margin-bottom: 8px;
    color: var(--dark-green);
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-bottom: 22px;
    padding: 14px;
    border: 1px solid #bdc8bf;
    border-radius: 3px;
    font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--gold);
    outline: none;
}

.contact-form button {
    padding: 16px 24px;
    color: var(--white);
    background-color: var(--dark-green);
    border: none;
    border-radius: 3px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: var(--forest-green);
}

/* Footer */
footer {
    padding: 45px 8%;
    color: #d7e2da;
    background-color: #0d281b;
    text-align: center;
}

footer h2 {
    margin-bottom: 10px;
    color: var(--white);
}

footer p {
    margin-top: 8px;
}

/* Contact adjustments for phones */
@media (max-width: 700px) {
    .contact-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-introduction h2 {
        font-size: 34px;
    }

    .contact-details {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 28px;
    }
}.logo-link {
    display: block;
    line-height: 0;
}

.logo {
    width: 130px;
    height: 65px;
    object-fit: contain;
}.product-image {
    width: calc(100% + 70px);
    height: 210px;
    margin: -35px -35px 30px;
    object-fit: cover;
    border-radius: 6px 6px 0 0;
}/* Mobile navigation button */
.menu-button {
    display: none;
    padding: 8px;
    color: var(--dark-green);
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
}

@media (max-width: 700px) {
    header {
        position: relative;
    }

    .menu-button {
        display: block;
        position: absolute;
        top: 34px;
        right: 7%;
    }

    nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 18px;
        padding-top: 15px;
    }

    nav.open {
        display: flex;
    }
}.form-status {
    display: none;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 3px;
    line-height: 1.5;
}

.form-status.success {
    display: block;
    color: #155724;
    background-color: #d9f2df;
    border: 1px solid #9ed3aa;
}

.form-status.error {
    display: block;
    color: #842029;
    background-color: #f8d7da;
    border: 1px solid #e5a6ac;
}

.contact-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}.contact-details a {
    color: var(--dark-green);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-details a:hover {
    color: var(--gold);
}