body {
    font-family: "Lato", sans-serif;
    margin: 0;
    padding: 0;
}

/*
nav {
    background-color: #59AC77;
    color: white;
    width: 100%;
}
*/

nav {
    background-color: white;
    border-bottom: 1px solid #ddd;
    position: fixed;
    /* This takes the element out of the normal document flow */
    top: 0;
    /* Sticks it to the top edge of the viewport */
    left: 0;
    /* Sticks it to the left edge (optional, but good for full width) */
    width: 100%;
    /* Makes it span the full width of the screen */
    z-index: 100;
    transition: background-color 0.3s ease, border-bottom 0.3s ease;

}

nav.transparent {
    background-color: rgba(255, 255, 255, 0.8);
    border-bottom: none;
}


.navItem rosaLogo {
    position: absolute;
    top: -60px;
    left: -40px;
}

.navItem {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logoContainer {
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.textLogo {
    font-family: 'Pacifico', cursive;
    color: white;
    font-size: 2em;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    font-weight: normal;
    letter-spacing: 1px;
}

.navTop {
    background-color: #38503b;
    color: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 50px;
    height: 50px;
}

.search {
    display: flex;
    background-color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #fff;
}

.searchInput {
    border: none;
    background-color: transparent;
    border: none;
    outline: none;
    width: 250px;
    font-size: 1em;
}

.search button {
    background-color: white;
    border: none;
    cursor: pointer;
}

.searchInput::placeholder {
    color: lightgrey;
}

.limitedOffer {
    font-size: 1em;
    cursor: pointer;
    color: #f4f4f4;
    padding: 5px 10px;
    margin-right: 15px;
    font-weight: bold;
    text-decoration: none;
}

/*
.navBottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 10px 0;
    background-color: #8fb88e;
    border-bottom: 1px solid #ddd;
}
*/

.navBottom {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    padding: 0 20px;
    list-style: none;
    justify-content: center;
}

/*
.menuItem {
    margin-right: 50px;
    cursor: pointer;
    color: white;
    font-weight: 400;
}
*/

.menuItem {
    padding: 15px 25px;
    cursor: pointer;
    position: relative;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.menuItem:hover {
    color: #385a42;
}

.menuItem.active {
    color: #8d3a4b;
    font-weight: bold;
}

.menuItem.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #8d3a4b;
}

.slider {
    overflow: hidden;
}

.sliderImg {
    width: 400px;
    height: auto;
}

.sliderWrapper {
    display: flex;
    width: 500vw;
    transition: all 1s ease-in-out;
    margin-top: 15%;
    position: relative;
}

.sliderItem {
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.sliderTitle {
    position: absolute;
    top: 10%;
    right: 10%;
    font-size: 50px;
    font-weight: 900;
    text-align: center;
}

.sliderPrice {
    position: absolute;
    top: 10%;
    right: 10%;
    font-size: 50px;
    font-weight: 300;
    text-align: center;
}

.buyButton {
    position: absolute;
    top: 70%;
    right: 10%;
    font-size: 32px;
    font-weight: 700;
    cursor: pointer;
    z-index: 1;

    padding: 18px 36px;
    border-radius: 50px;
    border: none;

    background: linear-gradient(135deg, #b71c4b, #e63970);
    color: white;

    box-shadow: 0 8px 20px rgba(182, 28, 75, 0.35);
    transition: all 0.25s ease;
}

.buyButton:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 28px rgba(182, 28, 75, 0.45);
}

/* --- Styles for the "Our Signature Organic Collection" Section --- */

.organic-collection-section {
    max-width: 1200px;
    margin: 20px auto 60px auto;
    padding: 20px 20px;
    text-align: center;
}

/* explain this, i do not see the padding and margin in chrome inspect
.organic-collection-section h2 {
    font-size: 1.8em;
    font-weight: normal;
    margin-bottom: 30px;
    padding-bottom: 20px;
}
*/

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    align-items: stretch;
    /* Forces all items to be the same height */
}

/* explain is this needed, do not see need, besides would not it be align-items instead of text-align here?
.product-item {
    flex-basis: 25%;
    text-align: center;
}
*/

.product-item img.product-image {
    width: 100%;
    height: 100%;
    /* Fill the 400px height */
    object-fit: cover;
    /* The secret sauce: crops instead of stretching */
    object-position: center;
}

/* 4. Style the text-based wrappers to match the height */
.product-item .image-wrapper {
    height: 100%;
    padding: 30px;
    display: flex;
    align-items: center;
    /* Centers text vertically */
    justify-content: center;
    text-align: center;
    margin: 0;
    /* Remove default p margins */
    font-style: italic;
    line-height: 1.6;
}

.product-item {
    height: 250px;
    /* Set a fixed height for all cards */
    display: flex;
    flex-direction: column;
    background-color: #f9f9f9;
    /* Light bg to see the box */
    border-radius: 12px;
    overflow: hidden;
    /* Clips images to the border radius */
    border: 1px solid #eee;
}

.product-itemDrinks {
    height: 300px;
    /* Set a fixed height for all cards */
    display: flex;
    flex-direction: column;
    background-color: #f9f9f9;
    /* Light bg to see the box */
    border-radius: 12px;
    overflow: hidden;
    /* Clips images to the border radius */
    border: 1px solid #eee;
}


/* say which of these once is too much, what achieves here that images of different sizes are not different sizes anymore?*/
.image-wrapper {
    background-color: #f7f7f7;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 15px;
    padding: 10px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    transform: translateY(40px);
    /* Pushes it down 40px */
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, opacity;
    /* Optimizes performance */
}

.image-wrapper.reveal {
    opacity: 1;
    transform: translateY(0);
}

.image-wrapper.reveal {
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/*Fill the available space, but don’t get too tall.*/
.product-image {
    width: 100%;
    /* Tries to fill the parent’s height */
    height: 100%;
    object-fit: contain;
    /* But is still constrained by 280px height */
    max-height: 280px;
}

.product-item:first-child .image-wrapper {
    background-color: #f0f0f0;
}

.product-item:nth-of-type(3) .image-wrapper {
    background-color: #f0f0f0;
}

/*Styles for bottom bottom part */

.brandname {
    font-family: 'Pacifico', cursive;
}

.site-footer {
    background: #385a42;
    /* dark blue/gray */
    color: #e5e7eb;
    font-family: "Lato", sans-serif;
}


.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: auto;
}


.footer-col h3,
.footer-col h4 {
    margin-bottom: 1rem;
    color: #ffffff;
}


.footer-col p {
    font-size: 0.9rem;
    line-height: 1.6;
}


.footer-col ul {
    list-style: none;
    padding: 0;
}


.footer-col ul li {
    margin-bottom: 0.5rem;
}


.footer-col ul li a,
.social-links a {
    color: #f4f4f4;
    text-decoration: none;
    font-size: 0.9rem;
}


.footer-col ul li a:hover,
.social-links a:hover {
    text-decoration: underline;
}


.trust-badges span,
.payments span {
    display: inline-block;
    background: #1e293b;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    font-size: 0.8rem;
    margin: 0.25rem 0.25rem 0 0;
}


.social-links {
    margin-top: 1rem;
    display: flex;
    gap: 0.75rem;
}


.footer-bottom {
    border-top: 1px solid #1e293b;
    text-align: center;
    padding: 1rem;
    font-size: 0.8rem;
    color: #9ca3af;
}

/* --- About Section Styles --- */

.about-section {
    background-color: #385a42;
    /* Matches your footer green */
    color: white;
    padding: 40px 20px;
    margin: 20px 0;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.about-content {
    flex: 1;
    text-align: left;
}

.about-title {
    font-family: 'Pacifico', cursive;
    font-weight: 10;
    font-size: 2.5rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.9;
    font-family: "Lato", sans-serif;
}

.about-button {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 12px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    font-family: "Lato", sans-serif;
}

.about-button:hover {
    background-color: white;
    color: #385a42;
}

.about-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-circle-img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* --- Email Bar Styles --- */
.navEmailBar {
    background-color: #f9f9f9;
    /* Matches your job-container background */
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: center;
    align-items: center;
}

.emailContainer {
    display: flex;
    align-items: center;
    gap: 15px;
}

.emailContainer label {
    font-size: 0.9rem;
    font-weight: bold;
    color: #385a42;
    text-transform: uppercase;
}

.emailInput {
    padding: 8px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: "Lato", sans-serif;
    outline: none;
    width: 250px;
    transition: border 0.3s ease;
}

.emailInput:focus {
    border-color: #385a42;
}

.emailButton {
    background-color: #385a42;
    color: white;
    border: 2px solid #385a42;
    padding: 6px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    font-family: "Lato", sans-serif;
}

.emailButton:hover {
    background-color: transparent;
    color: #385a42;
}