/* Basic Header Styling */
header {
    position: relative; /* Ensures the cardboard layer and content are positioned correctly */
    height: 150px; /* Adjust height as needed */
    background-image: url('../images/burlap.png'); /* Burlap background */
    background-size: cover; /* Ensures burlap texture covers the header */
    background-repeat: no-repeat;
    background-position: center; /* Centers the burlap texture */
    display: flex;  /* flexbox for horiozntal alignment */
    justify-content: space-between;  /* space between logo and nav */
    align-items: center;  /* center items vertically */
    padding: 0 30px;  /* padding around header content */
}

/* Cardboard Layer */
header::before {
    content: '';
    position: absolute;
    top: 20px; /* Adjust to control the burlap visibility */
    left: 20px;
    right: 20px;
    bottom: 20px;
    background-image: url('../images/cardboard.png'); /* Cardboard texture */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 0; /* Ensures this layer stays behind the content */
    border-radius: 2px; /* Optional rounded corners for the cardboard */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

header .logo {
    display: flex;
    align-items: center;
    z-index: 1;  /* content stays above cardboard */
}

header .logo img {
    height: 110px; /* logo size */
    margin-right: 10px;
}

header .logo-text {
    display: flex;
    flex-direction: column; /* Stack the name and tagline */
    align-items: flex-start; /* Align text to the left */
}

header .logo-text h1 {
    font-family: 'Sanchez', serif;
    font-size: 38px;
    color: #505569; /* Adjust color based on branding */
    margin: 5px 0;  /* add small space above and below name */
}

header .logo .tagline {
    font-family: 'Sanchez', serif;
    font-size: 20px;
    color: #505569; 
    margin: -5px 0 0 0;  /* pulls tagline closer to name */
}

header nav ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

/* Navigation Menu */
header nav {
    z-index: 1;  /* stays above the cardboard */
}

header nav ul li {
    margin: 0 15px;
}

.menu-item {
    text-decoration: none;
    font-family: 'Sanchez', serif; /* Ensures font matches logo and tagline */
    font-size: 20px; /* Font size for consistency */
    color: #505569; /* Matches branding color */
    margin: 0 10px; /* Space between menu items */
    transition: color 0.3s ease; /* Smooth hover effect */
}

.menu-item:hover {
    color: #b8d1c8; /* Hover effect for branding */
}


/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    header nav ul {
        flex-direction: column;
    }

    header nav ul li {
        margin-bottom: 10px;
    }

    .cta-button {
        margin-top: 10px;
    }
}

/* Image Banner Styling */
.image-banner {
    width: 100%; /* Full-width banner */
    max-height: 300px;  /* limits height of banner */
    overflow: hidden; /* Ensures no scrollbars if the image exceeds its container */
    margin: 0;  /* removes extra spacing around banner */
}

.image-banner img {
    width: 100%; 
    height: auto; 
    display: block; /* Removes default inline spacing around the image */
    object-fit: cover;  /* image fills the banner nicely */
}

body {
    background-image: url('../images/burlap.png'); /* Sets the burlap texture as the page background */
    background-size: cover; /* Ensures the texture covers the entire page */
    background-repeat: repeat; /* Repeats the texture for a natural look */
    margin: 0; /* Removes default browser margin */
}

/* Updated What's New Section Styling */
.whats-new {
    background-image: url('../images/cardboard.png'); /* Cardboard background */
    background-size: cover; /* Ensures the texture covers the area */
    background-repeat: no-repeat; /* Avoids repeating the image */
    background-position: center; /* Centers the cardboard texture */    
    padding: 0px 20px 40px 20px; /* Ensure enough spacing around content */
    margin: 10px auto; /* Center the section and add vertical spacing */
    max-width: 1200px; /* Prevent it from stretching too wide */
    border-radius: 8px; /* Optional: Rounded corners for style */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    text-align: center;
}

.whats-new h2 {
    font-family: 'Sanchez', serif;
    font-size: 60px;
    color: #505569;
    margin-bottom: 0;
}

.whats-new h3 {
    font-family: 'Sanchez', serif;
    font-size: 32px;
    color: #505569;
    margin-top: -5px;
    margin-bottom: 15px;
}

/* Flexbox for new items */
.new-items {
    display: flex;
    justify-content: center; /* align items in the center */
    flex-wrap: wrap; /* Ensure responsiveness */
    gap: 20px; /* Space between items */
}

/* Individual item styling */
.new-item {
    background-color: #dccbb9;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 300px; /* Adjust as needed for your layout */
    display: flex;
    flex-direction: column;
    text-align: left;
}

/* Image styling */
.new-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Content styling */
.item-content {
    padding: 20px;
}

.item-content h3 {
    font-family: 'Sanchez', serif;
    font-size: 24px;
    color: #505569;
    margin-bottom: 10px;
}

.item-content p {
    font-family: 'Sanchez', serif;
    font-size: 16px;
    color: #707070;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Link styling */
.item-content a {
    font-family: 'Sanchez', serif;
    font-size: 16px;
    color: #505569;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.item-content a:hover {
    color: #3a6367; /* Hover effect */
}

/* Responsive design */
@media (max-width: 768px) {
    .whats-new {
        padding: 20px; /* Adjust padding for smaller screens */
    }

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

    .new-item {
        width: 90%; /* Adjust for smaller screens */
    }
}

/* Footer Base */
.site-footer {
    position: relative;
    height: 150px; /* Adjust the height as needed */
    background-image: url('../images/flowers_7.png'); /* Replace with your banner image path */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    overflow: hidden;
    margin-top: 50px;
}

/* Cardboard Layer */
.site-footer::before {
    content: '';
    position: absolute;
    height: 50px; /* Adjust height of the cardboard strip */
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/cardboard.png'); /* Cardboard overlay */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 2px; /* Optional for rounded edges */
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    z-index: 1;  /* above background below content */
}

/* Footer Bottom Content */
.footer-bottom {
    position: absolute;
    bottom: 0; /* Aligns with the bottom of the cardboard strip */
    left: 0;
    right: 0;
    height: 50px; /* Matches the height of the cardboard strip */
    display: flex;
    justify-content: center;
    align-items: center; /* Centers text vertically */
    font-family: 'Sanchez', serif; /* Matches the theme */
    font-size: 14px; /* Adjust font size as needed */
    color: #505569; /* Text color matching the theme */
    z-index: 2; /* Ensures this is above the cardboard */
}