html {
    font-size: 16px; /* Base font size */
}

/* Global font settings */
body {
    font-family: 'Sorts Mill Goudy', serif;
    font-size: 1.5rem; /* 16px */
}

header, nav, footer, .text-container {
    font-family: 'Sorts Mill Goudy', serif;
}

/* General page styles */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #fff;
    color: #333;
}

/* Default logo for desktop */
.logo img {
    content: url('logo.png');
}

/* Text container styles */
.text-container {
    width: 70%; /* Set the width to 70% of the page */
    margin: 0 auto; /* Center the container */
    padding: 1.5rem 0; /* 24px vertical padding */
    background-color: #fff; /* Set the background color to white */
    border-radius: 8px; /* Optional: Add rounded corners */
}

/* Hero container styles */
.hero-container {
    height: 150%; /* Increase the height of the container by 50% */
    width: 100%; /* Ensure it spans the full width */
    position: relative;
    overflow: hidden;
    margin-bottom: 50px; /* Adjust this value for more space */
    z-index: 1; /* Lower than the dropdown menu */
}

.hero-container img {
    width: 100%; /* Ensure the image scales with the container */
    height: 100%; /* Scale the image to fill the container's new size */
    object-fit: cover; /* Prevent distortion by cropping the image */
}

.hero-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Container that holds both buttons */
.button-wrapper {
    position: absolute;
    top: 100px;   /* adjust placement */
    right: 100px; /* adjust placement */
    z-index: 10;  /* keeps above page content */
}

/* Round button (base) */
.round-button {
    position: relative; /* relative to the wrapper */
    background-color: #901658;
    color: white;
    border: none;
    border-radius: 50%;
    width: 15vw;
    height: 15vw;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2vw;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    line-height: 1.2;
    padding: 0;
}

.round-button:hover {
    background-color: #c88aab; /* Lighter background color on hover */
}

/* Notice button (overlap) */
.notice-button {
    position: absolute; 
    top: -4vw;   /* adjust overlap vertically */
    left: -9vw;  /* adjust overlap horizontally */
    background-color: #c71f78;
    color: white;
    border: none;
    border-radius: 50%;
    width: 13vw;
    height: 13vw;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75vw;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    line-height: 1.25;
    padding: 0;
    z-index: 11; /* ensures it stays above round-button */
}

.notice-button:hover {
    background-color: #c88aab; /* Lighter background color on hover */
}

/* Image Show Segment styles */
.image-show-segment {
    width: 70%; /* Set the width to 70% of the screen width */
    margin: 0 auto; /* Center the segment horizontally */
    padding: 0 2.5rem; /* 40px horizontal padding */
    padding-bottom: 2rem; /* Added bottom padding */
    background-color: #fff;
    display: flex; /* Use Flexbox for layout */
    align-items: center; /* Center items vertically */
    gap: 20px; /* Space between image and text */
    position: relative; /* Ensure positioning context for child elements */
}

/* Text Box styles */
.image-show-segment .text-box {
    padding: 0px;
    background: #fff; /* Change background to match other text elements */
    color: #000; /* Change text color to match other text elements */
    border-radius: 8px;
    max-width: 100%;
    /* Use flexbox alignment instead of absolute positioning */
    flex: 1; /* Allow the text box to grow as needed */
    display: block; /* Ensure it’s displayed as a block element */
}

/* Specific text styles */
.image-show-segment .text-box h2 {
    font-size: clamp(1.44rem, 2.16vw, 2.88rem); /* 80% of clamp(1.8rem, 2.7vw, 3.6rem) */
}

.image-show-segment .text-box p {
    font-size: clamp(1.15rem, 1.73vw, 2.16rem); /* 80% of clamp(1.44rem, 2.16vw, 2.7rem) */
}

/* Image Show Content styles */
.image-show-content {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%; /* Full width of parent */
}

/* Photo styles */
.wide-photo {
    width: 70%; /* Set width to 70% of the screen size */
    max-width: 100%; /* Ensure it doesn't exceed container width */
    height: 500px; /* Set a fixed height for cropping */
    object-fit: cover; /* Crop the image to fit the container without distortion */
    display: block; /* Ensure it's displayed as a block element */
    margin: 20px auto; /* Center the image and add vertical spacing */
}

/* Image styles */
.image-show-content img {
    max-width: 50%; /* Control the image size */
    height: auto;
}

/* Text Box styles */
.text-box {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 1.25rem; /* 20px padding */
    border-radius: 8px;
    flex: 1;
    font-size: clamp(0.8rem, 2vw + 0.5rem, 1.2rem); /* Responsive font size */
    line-height: 1.5; /* Adjust line height for readability */
}

/* Separator styles */
.section-separator {
    display: block;
    width: 70%; /* 70% width of the page */
    margin: 60px auto; /* Center it with auto margins */
    height: auto;
    background: url('images/red_line_hor.png') no-repeat center;
    background-size: contain;
}

/* Header styles */
header {
    background-color: #901658; /* Dark purple background */
    color: white; /* White text color for contrast */
    padding: 0 30px; /* Add horizontal padding to space out the content */
    display: flex;
    align-items: center; /* Center items vertically */
    justify-content: space-between; /* Space between logo and nav */
    position: relative; /* Position relative for absolute positioning of logo */
    height: 120px; /* Set a fixed height for the header (adjust as needed) */
}

/* Logo styles */
.logo img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%; /* Make the logo as tall as the header */
    width: auto; /* Maintain aspect ratio */
    object-fit: contain; /* Ensure the logo fits within its container */
    z-index: 1; /* Ensure the logo stays below other elements like the hamburger menu */
}

/* Navigation container for positioning */
.nav-container {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: flex-end; /* Align items (menu and social icons) to the right */
    width: calc(100% - 10px); /* Adjusted to provide space on the right */
    position: relative; /* For absolute positioning if needed */
    margin-right: 0; /* Add space on the right side */
}

/* Social Icons Container */
.social-icons-container {
    display: flex;
    justify-content: flex-end; /* Right-align the icons */
    width: 100%; /* Take full width to align with menu */
    margin-bottom: 10px; /* Space between social icons and menu */
}

/* Social icons styles */
.social-icons {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px; /* Space between social icons and main menu */
    align-self: flex-end; /* Align social icons to the right */
}

/* Ensure social icons are white */
.social-icons img {
    width: 20px; /* Adjust size of social icons */
    height: 20px;
    filter: brightness(0) invert(1); /* Invert colors for white icons on dark background */
}

/* Main menu styles */
.main-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    align-items: center;
    align-self: flex-end; /* Keep the main menu aligned to the right */
    justify-content: flex-end; /* Ensure items within the menu align to the right */
    width: 100%; /* Take full width to align with social icons */
}

/* Menu links */
.main-menu li a {
    text-decoration: none;
    color: white; /* Set menu link color to white */
    font-family: 'Sorts Mill Goudy', serif; /* Ensure consistent font */
}

/* Menu link hover effect */
.main-menu li a:hover {
    color: #f0f0f0; /* Optional: lighter color on hover for better visibility */
}

/* Main Menu Styles */
.main-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-menu li {
    position: relative;
}

.main-menu li a {
    padding: 10px 15px;
    text-decoration: none;
    color: #white;
}

.main-menu li a:last-child {
    padding-right: 0;
}

/* Dropdown Menu Styling */
.dropdown {
    position: relative; /* Ensure the dropdown menu stays within its container */
    z-index: 1000; /* Higher than the hero image */
}

.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: auto; /* Let the width adjust to content */
    white-space: nowrap; /* Prevent text from wrapping onto a new line */
    background-color: #c88aab; /* Light pink background */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Match box shadow */
    list-style: none;
    padding: 10px 0;
    min-width: 160px;
    z-index: 2000; /* Same here, so it appears above the hero image */
}

.dropdown .dropdown-menu li {
    display: block;
    padding: 10px 15px;
}

.dropdown .dropdown-menu li a {
    padding: 10px 15px;
    color: white; /* White text like the hamburger menu */
    font-family: 'Sorts Mill Goudy', serif; /* Ensure consistent font */
    background-color: #c88aab; /* Light pink background */
}

.dropdown .dropdown-menu li a:hover {
    background-color: #901658; /* Dark purple on hover */
}

/* Hamburger button styles */
.hamburger {
    display: none; /* Default hidden on desktop */
    flex-direction: column;
    gap: 12px; /* Increased gap between lines */
    border: none;
    background: none;
    cursor: pointer;
    position: absolute;
    width: 60px; /* Adjust width as needed */
    height: 48px; /* Height of the hamburger menu */
    right: 30px; /* Space from the right edge */
    top: 20px;
    z-index: 2; /* Ensure it stays above other elements */
}

.hamburger span {
    display: block;
    width: 60px; /* Adjust width to match container width */
    height: 6px; /* Reduced height for thinner lines */
    background-color: white; /* Hamburger icon color */
    transition: all 0.3s ease; /* Smooth transition for open/close animation */
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg);
    position: relative;
    top: 15px; /* Adjusted for better alignment */
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg);
    position: relative;
    top: -15px; /* Adjusted for better alignment */
}


/* Mobile Menu */
.mobile-menu {
    display: none; /* Initially hidden */
    flex-direction: column;
    margin-top: 0; /* Remove margin-top to align directly below header */
    padding: 20px;
    background-color: #c88aab; /* Light pink background */
    position: absolute;
    top: 80px; /* Align directly below header */
    right: 30px; /* Space from the right edge */
    width: calc(100% - 60px); /* Full width minus the right padding */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional: Add shadow for better visibility */
    z-index: 1000; /* Ensure it appears above other elements */
}

/* Show mobile menu when active */
.mobile-menu.active {
    display: flex;
}

/* Mobile Social Icons */
.social-icons-mobile {
    display: flex;
    gap: 10px;
    margin-bottom: 20px; /* Space below icons */
    align-items: center; /* Center align icons vertically */
    justify-content: flex-start; /* Align icons to the left */
}

/* Mobile Social Icons Images */
.social-icons-mobile img {
    width: 20px; /* Adjust size of social icons */
    height: 20px;
    filter: brightness(0) invert(1); /* Make icons white */
}

/* Mobile Main Menu */
.main-menu-mobile {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin: 0;
}

/* Mobile Menu Items */
.main-menu-mobile li {
    text-align: left; /* Align text to the left */
}

/* Menu links */
.main-menu-mobile li a {
    text-decoration: none;
    color: white; /* Set menu link color to white */
    font-family: 'Sorts Mill Goudy', serif; /* Ensure consistent font */
    padding: 10px 15px; /* Add padding for better touch targets */
    display: block;
    background-color: #c88aab; /* Light pink background */
}

/* Menu link hover effect */
.main-menu-mobile li a:hover {
    background-color: #901658; /* Dark purple background on hover */
}

/* Title Text Segment styles */
.title-text-segment {
    width: 70%; /* Consistent width across desktop */
    max-width: 100%; /* Prevent it from exceeding its parent width */
    margin: 0 auto; /* Center it horizontally */
    padding: 0; /* Optional: Adjust padding as needed */
    box-sizing: border-box; /* Ensure padding is included in the width */
}

.title-text-segment .text-container {
    width: 100%; /* Full width inside the title-text-segment */
    text-align: left; /* Optional: Center-align text if needed */
    margin: 0 auto; /* Center it horizontally */
    padding: 20px 0; /* Optional: Adjust vertical padding */
    font-size: clamp(1.6rem, 2.4vw, 4rem);
    line-height: 1.5;
    color: #333;
}

.title-text-segment .text-container h1 {
    font-size: clamp(2.25rem, 3.6vw, 4.5rem); /* 10% smaller */
}

.title-text-segment .text-container h2 {
    font-size: clamp(1.8rem, 2.7vw, 3.6rem); /* 10% smaller */
}

.title-text-segment .text-container p {
    font-size: clamp(1.44rem, 2.16vw, 2.7rem); /* 10% smaller */
}

.title-text-segment .text-container p a {
    color: #0056b3; /* Link color */
    text-decoration: none; /* Remove underline */
}

/* PDF Section */
.pdf-section {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 70%; /* 70% width for larger screens */
    margin: 0 auto; /* Center the section horizontally */
}

/* Title Alignment */
.pdf-section h2 {
    text-align: left; /* Align the title to the left */
    width: 100%; /* Ensure title takes full width */
    margin: 0 0 30px 0; /* Optional: adjust margins */
    font-size: 1.25rem;
}

/* Container for PDF Viewer */
.pdf-container {
    width: 100%; /* Take full width of .pdf-section */
    max-width: 100%; /* Ensure it does not exceed the width of the viewport */
    height: 80vh; /* Adjust height to ensure the iframe is scrollable */
    margin-bottom: 30px; 
    overflow: auto; /* Enable scrolling */
}

/* PDF Viewer */
.pdf-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Additional styles for PDF.js container if needed */
.pdf-js-container {
    width: 100%;
    height: auto;
    max-width: 100%;
    margin-bottom: 30px;
}


/* General Icon-Text Section Styles */
.icon-text-section {
    display: flex;
    align-items: center;
    width: 70%;
    max-width: 100%; /* Ensure it doesn't exceed the parent container's size */
    margin: 20px auto;
    padding: 40px;
    box-sizing: border-box;
    flex-direction: row; /* Default direction */
}

/* Default layout (icon on left) */
.icon-text-section .icon-left {
    margin-right: 50px; /* Space between icon and text */
}

.icon-text-section .text-right {
    flex: 1;
}

/* Reverse layout (icon on right) */
.icon-text-section.reverse {
    flex-direction: row-reverse; /* Reverse the order of elements */
}

.icon-text-section.reverse .icon-left {
    margin-left: 50px; /* Space between icon and text */
    margin-right: 0; /* Remove margin-right */
}

.icon-text-section.reverse .text-right {
    text-align: right; /* Ensure text is aligned right */
}

.icon-text-section .icon-left img, 
.icon-text-section .icon-right img {
    width: 100px; /* Set a default size for desktop */
    filter: invert(17%) sepia(95%) saturate(715%) hue-rotate(310deg) brightness(96%) contrast(98%);
}

/* Ensure text in icon-text-section matches text-container size */
.icon-text-section h2 {
    font-size: clamp(1.6rem, 2.4vw, 4rem); /* Adjust to match the size of .title-text-segment .text-container h1 */
}

.icon-text-section p {
    font-size: clamp(1.6rem, 2.4vw, 4rem); /* Adjust to match the size of .title-text-segment .text-container p */
}

/* Footer styles */
footer {
    background-color: #901658; /* Dark purple background */
    color: white; /* White text color */
    padding: 20px;
    text-align: center;
    font-size: clamp(0.6rem, 1.5vw, 0.9rem);
}

/* Footer content styles */
.footer-content {
    width: 70%; /* 70% width of the screen on desktop */
    margin: 0 auto; /* Center horizontally */
    padding: 20px 0; /* Vertical padding */
    display: flex;
    justify-content: space-between; /* Space between address and opening hours */
    gap: 10px; /* Space between address and opening hours */
}

/* Address and opening hours styles */
.address, .opening-hours {
    font-size: clamp(0.96rem, 2.4vw + 0.6rem, 1.44rem);
 /* Responsive font size */
    line-height: 1.5; /* Adjust line height for readability */
}

.wochenmenu {
    padding: 20px;
    background-color: #f4f4f4;
    border: 1px solid #ddd;
}

.wochenmenu h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.wochenmenu .menu-day {
    margin-bottom: 1rem;
}

.wochenmenu .menu-day h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.wochenmenu .menu-day p {
    font-size: 1rem;
    margin: 0;
}

/* Popup Styles */
.popup {
    width: 70%; /* Default for desktop */
    max-width: 800px; /* Set a max-width for larger screens */
    padding: 40px; /* Increase padding for more content space */
    background-color: white;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    display: none;
    box-sizing: border-box; /* Ensure padding is included in the width */
    max-height: 90%; /* Ensure it doesn't overflow vertically */
    overflow-y: auto; /* Scroll content if it exceeds the container */
}

/* Popup Styles */
.noticePopup {
    width: 70%; /* Default for desktop */
    max-width: 800px; /* Set a max-width for larger screens */
    padding: 40px; /* Increase padding for more content space */
    background-color: white;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    display: none;
    box-sizing: border-box; /* Ensure padding is included in the width */
    max-height: 90%; /* Ensure it doesn't overflow vertically */
    overflow-y: auto; /* Scroll content if it exceeds the container */
}

.popup.active {
    display: block;
}

/* Close Button */
.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: transparent;
    border: none;
    font-size: 30px;
    cursor: pointer;
}

/* Overlay Styles */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Slightly darken the overlay */
    z-index: 1000;
    display: none;
}

.overlay.active {
    display: block; /* Show when active */
}

/* Menu Days */
.menu-day {
    margin-bottom: 20px;
}

.menu-day h3 {
    margin: 0;
    font-size: 1.5rem;
}

.menu-day p {
    margin: 5px 0 0;
}

.legal-links {
    font-size: clamp(0.6rem, 1.5vw, 0.9rem);
}

.legal-links span {
    margin: 0 5px;
    color: #fff; /* You can adjust the color as needed */
}

.legal-links a {
    font-family: inherit; /* Use the same font as the rest of the site */
    font-size: clamp(0.6rem, 1.5vw, 0.9rem); /* Smaller font size with clamp for responsiveness */
    color: #fff; /* Adjust color if needed */
    text-decoration: none; /* Remove underline */
    margin-right: 0px; /* Space between links */
}

.legal-links a:hover {
    text-decoration: underline; /* Underline on hover */
}

        /* Add styles for the embedded map */
        .map-container {
            width: 70%; /* Default width for desktop */
            margin: 0 auto; /* Centering the map */
            position: relative;
            padding-top: 56.25%; /* Aspect ratio 16:9 */
            margin-bottom: 20px; /* Margin below the iframe */
        }

        .map-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 0;
        }
        
/* General styles for the event grid */
.event-grid {
    display: flex; /* Flexbox for layout */
    justify-content: space-between; /* Even spacing between boxes */
    margin: 0 auto; /* Center the grid */
    width: 70%; /* Set grid width */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* Style for the event box */
.event-box {
    width: calc(33.33% - 20px); /* Three boxes per row on desktop */
    aspect-ratio: 16 / 9; /* Maintain consistent aspect ratio */
    position: relative; /* Allows positioning of text */
    margin-bottom: 20px; /* Space between rows */
    overflow: hidden; /* Prevent content overflow */
    display: flex; /* Center content */
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0; /* Fallback background */
    border-radius: 5px; /* Optional: rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: subtle shadow */
}

/* Images inside the event boxes */
.event-box img {
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    object-fit: cover; /* Crop image to fit container without distortion */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0; /* Place behind text */
}

/* Title text (h2) inside event boxes */
.event-box h2 {
    position: absolute;
    bottom: 10%; /* Position near the bottom */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Ensure perfect centering */
    margin: 0;
    font-size: 1.5rem; /* Font size */
    text-align: center;
    color: white; /* Text color */
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    padding: 5px 10px; /* Add padding */
    border-radius: 5px; /* Rounded corners */
    z-index: 1; /* Place above image */
}

/* Date text (h3) inside event boxes */
.event-box h3 {
    position: absolute;
    top: 10%; /* Position near the top */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Ensure perfect centering */
    margin: 0;
    font-size: 1.2rem; /* Font size */
    text-align: center;
    color: white; /* Text color */
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    padding: 5px 10px; /* Add padding */
    border-radius: 5px; /* Rounded corners */
    z-index: 1; /* Place above image */
}


/* Mobile Styles */
@media (max-width: 768px) {

    /* Logo for mobile screens */
    .logo img {
        content: url('logo_mobile.png');
    }
    
        /* Responsive text container on mobile */
    .title-text-segment {
        width: 80%; /* More width on smaller screens */
    }

    /* Responsive text container on mobile */
    .title-text-segment .text-container {
        width: 100%; /* More width on smaller screens */
        margin: 0;
    }

/* Responsive Round Button Styles */
.button-wrapper {
    position: absolute; /* position on top of hero */
    top: 5%;           /* relative to hero height */
    left: 70%;
    transform: translateX(-50%);
    z-index: 10;      /* ensure it's above the hero image */
}

.round-button {
    width: 30vw;
    height: 30vw;
    font-size: 4vw;
}

.notice-button {
    width: 22vw;
    height: 22vw;
    font-size: 3vw;
    position: relative; /* relative to wrapper for offset */
    top: -8vw;          /* vertical adjustment */
    left: 0;            /* centered inside wrapper */
}

    /* Adjust image and text-box on mobile */
    .image-show-segment {
        margin: 20px auto;
        width: 80%; /* Set width to 80% on mobile */
        padding: 0 1.25rem; /* Reduce padding on mobile */
        padding-bottom: 1rem; /* Adjust bottom padding on mobile */
        flex-direction: column; /* Stack image on top and text box on bottom */
    }

    .image-show-content {
        flex-direction: column; /* Stack image on top and text-box on bottom */
    }

    .image-show-content img {
        max-width: 100%; /* Ensure image scales properly */
        height: auto;
    }

    /* Adjust separator size on mobile */
    .section-separator {
        width: 80%; /* Adjusted for mobile view */
        margin: 20px auto;
    }

    /* Mobile Dropdown Menu Styling */
    .dropdown {
        position: static; /* Make sure it's positioned statically on mobile */
    }

    .dropdown .dropdown-menu {
        display: block; /* Show the dropdown menu */
        position: static; /* Static positioning for mobile */
        margin-left: 20px; /* Indent the dropdown to the right */
        background-color: #c88aab; /* Match background color */
        box-shadow: none; /* Remove shadow for mobile */
        width: auto; /* Adjust width as needed */
        padding: 0; /* No extra padding */
    }

    .dropdown .dropdown-menu li {
        display: block; /* Stack items vertically */
        padding: 0; /* Remove padding if needed */
    }

    .dropdown .dropdown-menu li a {
        padding: 10px; /* Adjust padding for touch targets */
        background-color: #c88aab; /* Ensure consistent background */
        display: block; /* Block display for full width */
    }

    .icon-text-section {
        width: 80%;
        padding: 0;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 10px auto; /* Adjust margin for mobile */
    }
    
	.icon-text-section h1 {
	font-size: clamp(1.8rem, 2.7vw, 3.6rem); 
	}
	
	.icon-text-section h2 {
	font-size: clamp(1.44rem, 2.16vw, 2.88rem); 
	}

	.icon-text-section p {
	font-size: clamp(1.15rem, 1.73vw, 2.16rem);
	}    

    .icon-text-section .icon-left, 
    .icon-text-section .icon-right {
        margin-bottom: 10px;
        margin-left: 0; /* Remove margin on mobile */
        margin-right: 0;
    }

    .icon-text-section .icon-left img, 
    .icon-text-section .icon-right img {
        width: 50px; /* Smaller icons on mobile */
        margin: 0;
    }

    .icon-text-section .text-right, 
    .icon-text-section .text-left {
        text-align: center;
    }
    
    .icon-text-section.reverse,
    .icon-text-section.reverse .text-right{
        flex-direction: column; /* Stack icon and text vertically in reversed layout on mobile */
        text-align: center; /* Center-align text on mobile */
    }

    .icon-text-section.reverse .icon-left, 
    .icon-text-section.reverse .text-right {
        margin-left: 0; /* Remove margin on mobile */
        margin-right: 0;
    }
    
    .image-show-segment .text-box h1 {
    font-size: clamp(1.8rem, 2.7vw, 3.6rem);
    }
    
    .image-show-segment .text-box h2 {
    font-size: clamp(1.44rem, 2.16vw, 2.88rem);
    }    
    
    .image-show-segment .text-box p {
    font-size: clamp(1.15rem, 1.73vw, 2.16rem);
    }    
    
        /* Adjust title text container font size */
    .title-text-segment .text-container {
        font-size: calc(0.8 * clamp(1.44rem, 2.16vw, 2.7rem)); /* Adjust based on your base font size */
    }
    
    .title-text-segment .text-container h1 {
        font-size: clamp(1.8rem, 2.7vw, 3.6rem);
    }

    .title-text-segment .text-container h2 {
        font-size: clamp(1.44rem, 2.16vw, 2.88rem);
    }

    .title-text-segment .text-container p {
        font-size: clamp(1.15rem, 1.73vw, 2.16rem);
    }

    /* Responsive PDF sections */
    .pdf-section {
        width: 80%; /* 80% width for smaller screens */
    }

    .pdf-container {
        height: 80vh; /* Ensure height is responsive for smaller screens */
    }

    /* Responsive footer content on mobile */
    .footer-content {
        width: 80%; /* 80% width of the screen on mobile */
        flex-direction: column; /* Stack address and opening hours vertically */
        text-align: center; /* Center align text on mobile */
    }

    .address, .opening-hours {
        width: 100%; /* Full width for mobile alignment */
    }

    .address {
        margin-bottom: 20px; /* Add bottom margin to create space */
    }

    .footer-content .opening-hours {
        order: -1; /* Display opening hours above address */
        margin-bottom: 40px; /* Add bottom margin to create more space */
    }

    /* Responsive design for mobile */
    .map-container {
        width: 80%; /* Width for mobile */
    }

    .main-menu {
        display: none; /* Hide main menu on mobile */
    }

    .hamburger {
        display: flex; /* Show hamburger on mobile */
    }
    
    .hero-container {
        height: auto; /* Make the hero container adjust to content height */
        padding-bottom: 20px; /* Add padding to ensure content below is not too close */
    }

    .hero-image {
        height: 40vh; /* Adjust hero height for mobile */
    }
    
    .wide-photo {
        width: 80%; /* Adjust width for mobile */
        height: 300px; /* Adjust height for mobile */
    }

    .social-icons {
        display: none; /* Hide social icons on mobile */
    }

    .mobile-social-icons {
        display: flex; /* Show social icons inside the hamburger menu */
    }

    /* Adjust address and opening hours font size */
    .address, .opening-hours {
        font-size: calc(0.8 * clamp(0.96rem, 2.4vw + 0.6rem, 1.44rem)); /* Adjust based on your base font size */
    }
    
    .popup {
        width: 90%; /* Set width to 90% on mobile */
        height: 90%; /* Set height to 90% on mobile */
        max-width: none; /* Remove max-width restriction */
        padding: 20px; /* Adjust padding for smaller screens */
    }
    
    .event-grid {
        width: 80%;
    }
    
    .event-box {
        width: 100%; /* Full width for smaller screens */
        height: auto; /* Allow height to adapt */
    }

    .event-box h3, .event-box h2 {
        font-size: clamp(1.5rem, 4vw, 1.2rem); /* Smaller, more readable sizes */
    }
    
}

/* Desktop Styles */
@media (min-width: 769px) {

    /* Show dropdown on hover for desktop */
    .dropdown:hover .dropdown-menu {
        display: block;
    }

    /* Align address left and opening hours right on desktop */
    .address {
        text-align: left; /* Align address to the left */
        flex: 1; /* Allow address to take up available space */
    }
    
    .opening-hours {
        text-align: right; /* Align opening hours to the right */
        flex: 1; /* Allow opening hours to take up available space */
    }
}

/* Low-resolution phones (max-width: 480px) */
@media (max-width: 480px) {
    .event-grid {
        width: 80%; /* Reduce margin to fit smaller screens */
    }

    .event-box {
        width: 100%; /* Full width for small phones */
        margin-bottom: 15px; /* Slightly reduced margin */
    }

    .event-box img {
        height: 200px; /* Adjust height for smaller screens */
    }

    .event-box h3, .event-box h2 {
        font-size: clamp(1rem, 5vw, 1.2rem); /* Smaller text for better readability */
    }

    .event-box h3 {
        top: 10%; /* Adjust position */
    }

    .event-box h2 {
        bottom: 10%; /* Adjust position */
    }
}
