/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Font Faces */
@font-face {
    font-family: 'Malibu';
    src: url('../FONTS/Malibu.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Lemon_Tuesday';
    src: url('../FONTS/Lemon_Tuesday.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/* Global Reset & Box Sizing */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Viewport */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Malibu', serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}



/* Global Link Styling */
a:link,
a:visited,
a:hover,
a:active {
    text-decoration: none;
    color: rgba(var(--bs-dark-rgb), 1) !important;
}

/* Top Nav Section */
.top-nav {
    position: relative;
    height: 12vh;
    width: 100vw;
    margin: 0;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    color: white;
    background-color: rgba(162, 185, 162, 0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    z-index: 10;
}

/* Hamburger button styling */
.hamburger {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* Links container */
.nav-links {
    display: flex;
    gap: 4rem;
}

/* Logo Image */
#logo {
    height: auto;
    max-width: 120px;
    max-height: 100px;
    animation: fadeInUp 1.5s ease-out forwards;
    display: block;
}

/* Anchor for Logo */
#picture-link {
    display: inline-block;
    text-decoration: none;
    width: auto;
}

/* Link Container for Nav Links */
.link-container {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: bold;
    flex-wrap: wrap;
    gap: 4rem;
    color: black;
    text-decoration: none;
    cursor: pointer;
    animation: fadeInUp 1.5s ease-out forwards;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: auto;
}

/* Flower Elements */
.flower-wrap {
    position: absolute;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.5);
    transform-origin: center;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 10;
}

.flower-show {
    opacity: 1;
    transform: scale(1);
}

#flower {
    width: 60px;
}

/* Main Section */
.section {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-around;
    width: 100%;
    min-height: 70vh;
    padding: 5% 2%;
    background-color: rgba(198, 221, 200, 1); 
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    overflow: hidden;
    margin-bottom: 0;
}

/* Farmers Market Info Section */
.market-info {
    background-color: rgba(230, 242, 218, 0.9); 
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 0 auto;
    font-family: 'Lemon_Tuesday', serif;
    color: #333;
    line-height: 1.8rem;
    text-align: center;
    animation: fadeInUp 1.5s ease-out forwards;
    max-height: 500px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Reduce spacing between the text elements */
.market-info p {
    font-size: 1.6rem;
    margin-bottom: 20px;
    text-align: left;
    color: #4A4A4A;
}

.market-info h2 {
    font-size: 2.5rem;
    font-family: 'Malibu', serif;
    color: #4A4A4A;
    margin-bottom: 20px;
}

/* Hero Banner */
.hero-banner {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(80%);
}

.banner-text {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    color: #fff;
    background: rgba(0,0,0,0.5);
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-size: 1.5rem;
}

/* Info Cards */
.info-card-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    background: #f0f4ef;
}

.info-card {
    flex: 1 1 200px;
    background: white;
    border: 2px solid #c6dac4;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.info-card h3 {
    font-size: 1.3rem;
    color: #597a5c;
    margin-bottom: 1rem;
}

/* DIY Section */
.diy-section {
    background: #fff0f5;
    padding: 2.5rem;
    text-align: center;
    border-top: 3px dotted #ffa1b8;
    border-bottom: 3px dotted #ffa1b8;
}

.diy-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Popup Schedule */
.popup-schedule {
    padding: 2rem;
    text-align: center;
    background: #eef6ec;
}

.popup-schedule h2 {
    font-size: 1.8rem;
    color: #415c43;
}

.popup-schedule ul {
    list-style: none;
    padding: 0;
    font-size: 1.2rem;
}

.popup-schedule li {
    margin: 0.5rem 0;
}

/* CTA Banner */
.cta-banner {
    background: #cce3d5;
    padding: 2rem;
    text-align: center;
}

.cta-button {
    padding: 0.7rem 1.5rem;
    background-color: #7fa685;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #668e70;
}


#copyright-text {
    font-family:'Courier New', Courier, monospace;
    color: gray;
    font-size: xx-small;
	text-align: center;
	Margin-top: 1rem;
    
}


/* Media */

@media (max-width: 600px) {
    #title {
        font-size: 45px;
    }
    .flower {
        width: 40px;
    }
    .about-us {
        font-size: 1.2rem;
    }
}


@media (max-width: 768px) {
    .market-info {
        padding: 20px;
        font-size: 1.2rem;
        max-height: none; 
    }

    .market-info h2 {
        font-size: 2rem;
    }

    .market-info p {
        font-size: 1rem;
    }
    .hamburger {
        display: block;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        background-color: rgba(162, 185, 162, 0.95);
        width: 100%;
        padding: 1rem;
        z-index: 9;
    }
    .nav-links.show {
        display: flex;
    }
    .nav-links h2 {
        margin: 0.5rem 0;
    }
    .top-nav {
        flex-wrap: wrap;
        height: auto;
        padding: 1rem;
    }
    #logo {
        max-width: 100px;
    }
}

@media (max-width: 1024px) {
    .top-nav {
        flex-direction: column;
        gap: 1rem;
    }

    #logo {
        max-width: 180px;
    }

    .section {
        flex-direction: column;
        align-items: center;
    }
    .link-container {
        flex-direction: column;
        font-size: 1rem;
    }
    #owners {
        width: 90%;
    }
    .about-us {
        font-size: 1.5rem;
    }
    #title {
        font-size: 60px;
    }
}

 /* Extra large screens */
 @media (min-width: 1440px) {
    #logo {
      max-width: 200px;
    }
  }