/* Basic Reset and Body Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

/* Header and Navigation */
header {
    background-color: lightblue;
    color: #333;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.main-nav ul {
    list-style: none;
    display: none; /* Hidden by default on mobile */
    flex-direction: column;
    background-color: #444;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    text-align: center;
}

.main-nav ul.active {
    display: flex; /* Show when hamburger is clicked */
}

.main-nav a {
    color: #ff005d; /* Bright Pink */
    text-decoration: none;
    padding: 1rem;
    display: block;
    transition: background-color 0.3s;
}

.main-nav a:hover {
    background-color: #555;
}

/* Hamburger Menu Button */
.hamburger {
    display: block; /* Visible on mobile */
    background: none;
    border: none;
    color: #333;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Language Switcher */
.language-switcher button {
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    font-size: 1rem;
    padding: 0 0.5rem;
}

.language-switcher button.active {
    font-weight: bold;
    text-decoration: underline;
}

/* Main Content */
main {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

main h1 {
    margin-bottom: 1rem;
    color: #2c5a2c;
}

main img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-top: 1.5rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    background-color: #333;
    color: #fff;
    margin-top: 2rem;
}

/* --- Desktop Styles (Media Query) --- */
@media (min-width: 768px) {
    .hamburger {
        display: none; /* Hide hamburger on larger screens */
    }

    .main-nav ul {
        display: flex; /* Show nav links */
        flex-direction: row;
        position: static;
        width: auto;
        background-color: transparent;
    }

    .main-nav a {
        padding: 0 1rem;
    }

    header {
        /* Reorder items for desktop view */
        flex-direction: row;
    }
}

/* --- BBQ Page Specific Layout --- */
.bbq-container {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 2rem;
}

.side-nav {
    flex: 1 1 20px; /* Grow, shrink, with a basis of 180px */
    background-color: #e9e9e9;
    padding: 1rem;
    border-radius: 5px;
    align-self: flex-start; /* Align to the top of the container */
}

.side-nav h2 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #333;
    border-bottom: 1px solid #ccc;
    padding-bottom: 0.5rem;
}

.side-nav ul {
    list-style: none;
}

.side-nav ul li a {
    display: block;
    padding: 0.75rem 0.5rem;
    color: #2c5a2c;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
    font-weight: bold;
}

.side-nav ul li a:hover {
    background-color: #ddd;
}

.side-nav ul li a.active {
    background-color: #ccc;
    font-weight: bold;
}

.bbq-content {
    flex: 2 1 500px; /* Grow twice as fast, with a basis of 500px */
}

/* --- BBQ Page Horizontal Navigation --- */
.bbq-nav {
    margin-bottom: 1.5rem;
}

.bbq-nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end; /* Align to the right */
    flex-wrap: wrap;
    gap: 0.5rem;
}

.bbq-nav ul li a {
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    background-color: #2c5a2c; /* Dark green */
    color: #fff;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.bbq-nav ul li a:hover {
    background-color: #3a7a3a; /* Lighter green */
}

/* --- Slideshow Container --- */
.slideshow-container {
    max-width: 800px;
    position: relative;
    margin: auto;
    margin-top: 1rem;
}

/* Hide the images by default */
.slide {
    display: none;
}

.slide img,
.slide video {
    width: 100%;
    vertical-align: middle; /* Removes bottom space under the image */
    border-radius: 5px;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.3);
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Number text (1/3 etc) */
.slide-number {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

/* Add this to your main stylesheet */
.header-logo {
  height: 100px; /* Adjust the height as needed */
  width: auto;
  vertical-align: middle; /* Helps align the logo with nav links */
}

/* --- Styles for Automatic Slideshow --- */
/*
.slideshow-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}*/

.slideshow-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.slideshow {
    position: relative;
    height: 500px; /* Adjust height as needed */
    overflow: hidden;
    border-radius: 8px;
    background-color: #000; /* Black background for letterboxing */
}

/* Hide all slide items by default */
.slide-item {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Makes media cover the container without distortion */
    position: absolute;
    top: 0;
    left: 0;
    animation: fadeIn 0.8s ease-in-out;
}

/* Show the active slide */
.slide-item.active {
    display: block;
}

/* A simple fade-in animation for the transition */
@keyframes fadeIn {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .slideshow {
        height: 300px;
    }
}


