/* style.css */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: #f7f2ea;
    font-family: 'Crimson Pro', Georgia, serif;
    color: #2d5641;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 900px;
    padding: 20px;
}

h1, h2, h3 { color: #1a332a; font-weight: 700; }

.header-border {
    border-bottom: 2px solid #b8a67c;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

header { text-align: center; padding: 40px 0 20px 0; }
header .logo-container { display: inline-block; margin-bottom: 10px; }
header .logo-container img {
    max-width: 650px;
    height: auto;
    border-radius: 50%;
    border: 5px solid #cc8f2a;
    cursor: pointer;
}
header h1 { font-size: 3rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 5px; }
header p { font-size: 1.2rem; color: #665a43; }

nav {
    text-align: center;
    background-color: #2d5641;
    padding: 15px 0;
    margin-bottom: 40px;
    border-radius: 5px;
}
nav ul { list-style: none; display: inline-flex; gap: 30px; }
nav ul li a {
    text-decoration: none;
    color: #f7f2ea;
    font-weight: bold;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}
nav ul li a:hover { color: #e8b948; }

main { padding: 0 20px; }
section { margin-bottom: 60px; }
section h2 { font-size: 2.2rem; margin-bottom: 25px; padding-bottom: 10px; border-bottom: 1px dashed #b8a67c; }

/* Inventory Grid */
.inventory-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.inventory-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.2s ease-out;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.inventory-item:hover { transform: translateY(-5px); }
.inventory-item-content { display: flex; align-items: center; margin-bottom: 15px; }
.fruit-icon { font-size: 2.5rem; margin-right: 15px; color: #cc8f2a; }
.fruit-name { font-size: 1.5rem; font-weight: bold; }
.fruit-variety { color: #665a43; font-style: italic; margin-bottom: 10px; }
.fruit-desc { font-size: 0.95rem; color: #333; }

/* Contact Specific */
#contact { text-align: center; }
.contact-box {
    display: inline-block;
    background-color: #f3f0e8;
    padding: 30px;
    border-radius: 10px;
    border: 3px solid #b8a67c;
    position: relative;
    margin-bottom: 40px;
    color: #2d5641;
}
.contact-box::before {
    content: "\21B7";
    position: absolute;
    top: -20px;
    right: 10px;
    font-size: 2rem;
    color: #cc8f2a;
    transform: rotate(15deg);
}

.contact-form { display: inline-block; text-align: left; max-width: 500px; width: 100%; }
.form-group { margin-bottom: 15px; }
label { display: block; margin-bottom: 5px; font-weight: bold; }
input, textarea { width: 100%; padding: 10px; border: 1px solid #b8a67c; border-radius: 4px; }
textarea { resize: vertical; height: 100px; }
button { background-color: #cc8f2a; color: white; border: none; padding: 10px 20px; cursor: pointer; text-transform: uppercase; font-weight: bold; border-radius: 4px; }
button:hover { background-color: #8c6a2e; }

/* --- Footer & FNGLA Badge --- */
footer { 
    text-align: center; 
    padding: 30px 0; 
    color: #665a43; 
    border-top: 2px solid #b8a67c; 
    margin-top: 40px; 
}

.footer-info {
    margin-bottom: 20px;
}

.footer-contact {
    font-weight: bold;
    color: #2d5641;
    text-decoration: none;
    margin-bottom: 15px;
    font-size: 1.1rem;
    transition: color 0.3s;
}
.contact-box a, .footer-contact a {
    color: #2d5641; /* This makes the links forest green */
   
    font-weight: bold; /* Optional: makes the links stand out a bit more */
    transition: color 0.3s;
}

.contact-box a:hover, .footer-contact a:hover {
    color: #cc8f2a; /* Turns gold when you hover over them with a mouse */
    text-decoration: underline;
}



.fngla-logo {
    max-width: 200px; /* Keeps the logo at a clean, professional size */
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s;
    justify-content: center; /* Centers horizontally */
    align-items: center;
}

.fngla-logo:hover {
    opacity: 1;
}
.payments{
    max-width: 100px;
    opacity: 0.9;
    transition: opacity 0.3s;
    float:right

}
.payments:hover {
    opacity: 1;
}

.copyright {
    font-size: 0.9rem;
}


/* =========================================
   MOBILE RESPONSIVENESS
========================================= */
@media (max-width: 768px) {
    /* 1. Shrink the main title and logo slightly so it fits */
    header h1 {
        font-size: 2rem; 
    }
    header .logo-container img {
        max-width: 180px; 
    }

    /* 2. Stack the navigation menu links vertically instead of side-by-side */
    nav ul {
        flex-direction: column;
        gap: 15px;
        padding: 10px 0;
    }

    /* 3. Give the main text a little more breathing room on the edges */
    main {
        padding: 0 10px;
    }

    /* 4. Ensure the contact box doesn't overflow the screen */
    .contact-box {
        width: 100%;
        padding: 20px 15px;
    }

    /* Hide the decorative arrow on mobile so it doesn't overlap text */
    .contact-box::before {
        display: none; 
    }

    /* 5. Force the Google Sheet iframe to fit inside the screen */
    iframe {
        max-width: 100%;
    }
}