/* Color Variables */
/* latin */
@font-face {
    font-family: 'Kristi';
    font-style: normal;
    font-weight: 200;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/kristi/v21/uK_y4ricdeU6zwdhDRcSEP2UXg.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }


:root {
    --color-background-light: #f5f5f5;
    --color-background-dark: #313331;
    --color-banner: #9e5a27;
    --color-text-primary: #313331;
    --color-text-secondary: #ecdfd2;
    --color-white: #f0e6dc;
    --color-shadow-light: rgba(0, 0, 0, 0.1);
    --color-shadow-dark: rgba(0, 0, 0, 0.2);
    --color-button: #B0662C;
    --color-form-select: #B0662C;
    --color-button-light: #b0652c42;
    --color-button-hover: #D9D9D9;
    --green: #2A5E56;
    --green-light:#6B8F8A;
    --red: #48141C;
    --red-light: #48141c4e;
    --color-nav: #242923;
    --gold:#B0662C;
    --gold-light:#D1A583;
    --yellow:#D9A766;
    --yellow-light:#DFB988;
    --gray:#313331;
    --gray-light:#666;
    --purple: #800080;
    --font-linden: 'Linden Hill', serif;
    --font-Yatra: 'Yatra One', sans-serif;
    --lexiloo-pink: #f5b9afe7;
    --lexiloo-purple: #B7ACE0;
    --lexiloo-yellow: #FFEBAF;
    --lexiloo-red: #B36078;
    --lexiloo-inter: 'Inter', sans-serif;
    --lexiloo-darkpurple: #684C8E;

}
html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: var(--color-background-dark); /* Set background color for the whole page */
    line-height: 1.6;
}

html {
    box-sizing: border-box;
}
*, *::before, *::after {
    box-sizing: inherit;
}

.page-wrapper {
    min-height: 100vh; /* Make it at least as tall as the viewport */
    display: flex;
    flex-direction: column;
  }


main {
    flex: 1; /* Takes up remaining space */
  }

h2 {
    color: #f5f5f5;
}

h3 {
    font-family: var(--font-linden);
}

#front-page.h3 {
    font-size: 2rem;
    font-family: 'Linden Hill', serif;
    margin-bottom: 15px;
    font-weight: bold;
}

/* font classes for specific text */
/* Solid Color Section */
/* Solid Color Section - Desktop Defaults */
.solid-color-section {
    background-color: var(--color-banner);
    height: 40vh;
    min-width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    text-align: center;
    padding: 20px;
  }
  
  h1.linden-banner,
  h1.linden-banner-home {
    font-family: 'Linden Hill', serif;
    font-weight: 400;
    font-style: normal;
    font-size: 5rem;
    margin: 0;
    opacity: 0.85;
  }
  
  /* Hide event title by default */
  h2.event-mobile-only {
    display: none;
  }
  
  /* Tablet View (≤1024px) */
  @media (max-width: 1024px) {
    .solid-color-section {
      height: auto;
      flex-direction: column;
      padding: 2rem 1rem;
    }
  
    .solid-color-section h1.linden-banner,
    .solid-color-section h1.linden-banner-home {
      font-size: 4rem;
      margin-bottom: 1rem;
    }
  
    .solid-color-section h2 {
      font-size: 1.5rem;
    }
  
    .solid-color-section p {
      font-size: 1rem;
    }
  }
  
  /* Mobile View (≤500px) - Fully hide the banner */
  @media (max-width: 500px) {
    .solid-color-section {
      display: none;
    }
  }
/*Login Page*/

*,*:before,*:after{box-sizing:border-box}

.login-container{
  position:absolute;
  width:100%;
  height:100%;
  overflow:hidden;
  
  &:hover,&:active{
    .top, .bottom{
      &:before, &:after{
        margin-left: 200px;
        transform-origin: -200px 50%;
        transition-delay:0s;
      }
    }
    
    .center{
      opacity:1;
      transition-delay:0.2s;
    }
  }
}

.top, .bottom{
  &:before, &:after{
    content:'';
    display:block;
    position:absolute;
    width:200vmax;
    height:200vmax;
    top:50%;left:50%;
    margin-top:-100vmax;
    transform-origin: 0 50%;
    transition:all 0.5s cubic-bezier(0.445, 0.05, 0, 1);
    z-index:10;
    opacity:0.65;
    transition-delay:0.2s;
  }
}

h2.login-hello {
    font-family: var(--lexiloo-inter);
}

.top{
  &:before{transform:rotate(45deg);background:var(--lexiloo-pink);}
  &:after{transform:rotate(135deg);background:var(--lexiloo-yellow);}
}

.bottom{
  &:before{transform:rotate(-45deg);background:var(--lexiloo-purple);}
  &:after{transform:rotate(-135deg);background:var(--lexiloo-darkpurple);}
}

.center{
  position:absolute;
  width:400px;
  height:400px;
  top:50%;left:50%;
  margin-left:-200px;
  margin-top:-200px;
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding:30px;
  opacity:0;
  transition:all 0.5s cubic-bezier(0.445, 0.05, 0, 1);
  transition-delay:0s;
  color:#DFB988;
}
  
.login-container input {
    width: 100%;
    padding: 15px;
    margin: 5px;
    border-radius: 1px;
    border: 1px solid #ccc;
    font-family: var(--lexiloo-inter);
  }

#login-form {
    text-align: center; /* Centers inline elements like the button */
    width: 100%;
   position: relative;
}

button#login-submit-button  {
    display: block; /* Makes it take the full width available */
    margin: 10px auto; /* Centers it horizontally */
    padding: 10px 20px;
    font-family: var(--lexiloo-inter);
    font-size: 16px;
    background-color: var(--lexiloo-darkpurple);
    color: white;
    border: none;
    border-radius: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover#submit-button  {
    background-color: #47899e}

#forgot-password {
    color: #DFB988; /* A nice blue color */
    text-decoration: none; /* Removes underline */
    font-family: var(--lexiloo-inter);
    font-size: 14px;
    font-weight: bold;
    transition: color 0.3s ease-in-out; /* Smooth hover effect */
}

#forgot-password:hover {
    color: #e8ded1; /* lighter when hovered */
    text-decoration: underline; /* Adds underline on hover */
}

#forgot-password:focus {
    outline: none;
    border-bottom: 2px solid #e8ded1; /* Adds a focus indicator */
}
.email-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%; /* Ensures it matches the email input */
}

.email-container input {
    flex: 1; /* Makes the input expand fully */
    padding: 15px; /* Match email input padding */
    margin: 5; /* Remove extra margins */
    border: 1px solid #ccc; /* Ensure consistent borders */
    border-radius: 1px;
    font-family: var(--lexiloo-inter);
    box-sizing: border-box; /* Ensures padding/borders don’t affect width */
}

.password-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%; /* Ensures it matches the email input */
}

.password-container input {
    flex: 1; /* Makes the input expand fully */
    padding: 15px; /* Match email input padding */
    margin: 5; /* Remove extra margins */
    border: 1px solid #ccc; /* Ensure consistent borders */
    border-radius: 1px;
    font-family: var(--lexiloo-inter);
    box-sizing: border-box; /* Ensures padding/borders don’t affect width */
}

#toggle-password {
    position: absolute;
    right: 10px; /* Keeps eye icon inside the input */
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
}

#toggle-password img {
    width: 20px;
    height: 20px;
    transition: opacity 0.3s ease-in-out;
}

#toggle-password:hover img {
    opacity: 0.7;
}

/* General Error Message Styling */
#error-message {
    display: none; /* Hidden by default */
    color: #ff4d4d; /* Red color for visibility */
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    margin-top: 8px; /* Space between input fields and message */
    background: rgba(255, 77, 77, 0.1); /* Light red background */
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ff4d4d;
}

/* Animation for smoother appearance */
#error-message.show {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

/* Input fields with errors */
.input-error {
    border: 2px solid #ff4d4d !important; /* Red border to indicate error */
    background-color: rgba(255, 77, 77, 0.1); /* Slight red tint */
}

/* Keyframes for fade-in effect */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.success-message {
    padding: 15px 25px;
    text-align: center;
    margin: 20px auto;
    animation: fadeIn 0.8s ease-in-out, bounce 1.5s infinite alternate;
    position: absolute;
    top: 6%;
    left: 90%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Subtle bounce effect */
@keyframes bounce {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-5px);
    }
}




  /* General Styles */

  .divider {
    width: 80%; /* Controls how wide it spans */
    height: 2px; /* Thin line */
    margin: 40px auto; /* Centers it horizontally and adds spacing */
    background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
    border: none;
}


  /* Base styling for all h2 */
h3 {
    font-family: var(--font-linden);
    margin-bottom: 20px;
    color: var(--color-text-secondary);
  }
  
h2, h3 {
    margin: 0 0 10px;
    font-weight: bold;
}

p {
    margin: 0 0 15px;
}

/* Cover Photo Section */
.cover-photo {
    background-size: cover; /* Ensures the background image covers the entire section */
    background-position: center; /* Centers the background image */
    height: 70vh; /* Takes up 70% of the viewport height */
    display: flex; /* Allows for content alignment within the cover */
    align-items: center; /* Vertically centers the content */
    justify-content: center; /* Horizontally centers the content */
    color: var(--color-white);
    text-align: center;
    position: relative; /* Keeps the content positioned within the bounds */
}

/* Optional: Add Padding and Adjustments for Smaller Screens */

@media (max-width: 1024px) {
    .cover-photo {
        height: 30vh; /* Reduce height for mobile for better visibility */
    }
}
@media (max-width: 500px) {
    .cover-photo {
       display: none;
    }
}

/*buttons*/
#close-sidebar-btn {
    position: relative;
    top: 20px;
    right: 20px;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    width: 60px;
    height: 60px;
    display: flex;
    overflow: hidden; 
    align-items: center;
    justify-content: center; 
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;}

#close-sidebar-btn img{
    width: 100%;
    height: 32px;
    display: block;
    object-fit: contain; /* Ensures image fits inside button */
}

#close-sidebar-btn:hover {
    transform: scale(1.1);
    opacity: 0.8;
    background-color: none;
}


/* Top Navigation Styling */
.top-nav {
    background-color: var(--color-nav); /* Dark background color */
    padding: 20px 20px 10px; /* Added 20px padding at the top, 10px at the bottom */
    position: relative;
    min-width: 100vw;
}

.top-nav ul {
    list-style-type: none; /* Remove bullets */
    display: flex; /* Horizontal layout */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    padding: 0;
    margin: 0;
}

.top-nav li {
    margin: 0 20px;
}

.top-nav a {
    font-family: 'Linden Hill', serif;
    font-variant: small-caps;
    color: var(--color-button-hover); 
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.top-nav a:hover {
    color: var(--color-white); /* Full opacity on hover */
}

.nav-logo {
    width: 50px;
    margin: 0 20px;
}

.top-nav a.active {
    color: var(--color-white); /* Optional: make it pop */
}

/* Hamburger Menu */
.hamburger {
    display: none;
    width: 44px;
    height: 36px;
    position: relative;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 10;
  }
  
  .hamburger div {
    position: absolute;
    left: 0;
    width: 44px;
    height: 3px;
    background-color: white;
    transition: 0.4s;
  }
  
  .hamburger div:nth-child(1) {
    top: 0;
  }
  
  .hamburger div:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
  }
  
  .hamburger div:nth-child(3) {
    top: 100%;
    transform: translateY(-100%);
  }
  
  /* Hamburger Active Animation */
  .hamburger.active div:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }
  
  .hamburger.active div:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active div:nth-child(3) {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
  }

/* By default on desktop, hide the "Home" text */
.home-text {
    display: none;
}

/* On mobile (768px and smaller), show it */

  
/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: var(--color-text-primary);
        text-align: center;
        padding: 10px 0;
        z-index: 5;
        flex-direction: column;

        /* Instead of display: none, use visibility & opacity */
        visibility: hidden;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    }

    /* When active, make it visible */
    .nav-links.active {
        visibility: visible;
        opacity: 1; /* 🔹 Add this */
        transform: translateY(0);
        display: flex; /* 🔹 Add this */
        flex-direction: column; /* Optional, to be safe */
    }

    .nav-links li {
        margin: 5px 0;
    }

    .nav-links a.hover {
        color: var(--color-white); /* Full opacity on hover */
    }

    .nav-links img {
        display: none;
    }

        .home-text {
            display: inline;
            font-size: 1.2rem;
            margin-left: 8px; /* Little spacing from the logo */
            color: var(--color-white); /* or whatever your nav text color is */
            font-family: var(--font-linden); /* match your nav font */
        }
      }
      
    
   

/*Page specific*/ 
 /* Contact Form */

#form-wrapper {
    max-width: 65%;
    margin: 5rem auto 5rem;
    padding: 2rem;
    background-color: var(--color-button-hover);
    box-shadow: 0px 0px 12px var(--color-background-dark);
    border-radius: 8px;
   /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/}

.contact-form h2 {
    color: var(--color-nav);
}


.contact-form form {
    display: flex;
    flex-direction: column;
    font-family: var(--lexiloo-inter);
}

.contact-form label {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--color-nav);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    font-size: 1rem;
    font-family: var(--lexiloo-inter); 
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid var(--color-button);
    border-radius: 4px;
    background-color: white;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--color-form-select);
    font-family: var(--lexiloo-inter);
    box-shadow: 0 0 5px var(--color-form-select);
    outline: none;
}

.contact-form textarea {
    resize: none;
    font-family: var(--lexiloo-inter);
}

#additional-info {
    font-size: 0.9rem;
    color: var(--color-background-dark);
    background-color:var(--color-button-light);
    font-family: var(--lexiloo-inter);
    padding: 0.5rem;
    border-left: 4px solid;
    border-radius: 4px;
}

.contact-form button {
    font-size: 1rem;
    padding: 0.75rem;
    background-color: var(--color-button);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-form button:hover {
    background-color: var(--color-form-select);
    transform: translateY(-2px);
}

.contact-form button:active {
    background-color: var(--color-form-select);
    transform: translateY(0);
}

.contact-form select:focus {
    border-color: var(--color-form-select); /* Match focus border color */
    box-shadow: 0 0 5px var(--color-form-select); /* Match input focus shadow */
    outline: none; /* Remove default outline */
}

.contact-form select::-ms-expand {
    display: none; /* Hide dropdown icon in IE/Edge for consistency */
}

/*Thank you message*/
#form-status.success {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    background-color: #e6f4ea;
    color: var(--green);
    border: 1px solid var(--green-light);
    padding: 12px 20px;
    border-radius: 8px;
    
    font-family: var(--font-linden);
    font-size: 32px;
    text-align: center;
    white-space: nowrap; /* Keeps the message on one line */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 9999; }

    /* Tablet and below */
@media (max-width: 768px) {
    #form-status.success {
      white-space: normal; /* Allow text to wrap */
      max-width: 90%;
      font-size: 15px;
      padding: 14px 16px;
    }
  }
  
  /* Small mobile */
  @media (max-width: 480px) {
    #form-status.success {
      font-size: 14px;
      max-width: 90%;
      padding: 12px 14px;
    }
  }

/* Responsive Adjustment for tablets */
@media (max-width: 102px) {
    #form-wrapper { 
      max-width: 90%;
      margin-top: 1.5rem;
    }
}


/* Responsive Adjustment for mobile*/
@media (max-width: 500px) {
    #form-wrapper { 
        max-width: 95%;
        margin-top: 1.5rem;
    }
}


  /*Fade in*/
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .fade-in {
    animation: fadeIn 0.8s ease ;}

     /*Events Calendar*/
   /* FullCalendar custom styles */
/* FullCalendar custom styles */
#calendar {
    background-color:#f0e6dc ; /* dark base */
    color: #1a1a1a; /* soft light text */
    padding: 100px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
  }
  
  /* Header (Month, Prev/Next) */
  .fc .fc-toolbar-title {
    color: #1a1a1a;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .fc .fc-button {
    background-color: var(--red);
    border: none;
    color: #f0e6dc;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
  }
  
  .fc .fc-button:hover {
    background-color: #7a523d;
  }
  
  /* Day numbers */
  .fc-daygrid-day-number {
    color: #1a1a1a;
    font-weight: 500;
  }
  
  /* Event appearance */
  .fc-event {
    background-color: var(--gold-light);
    border: none;
    color: var(--color-nav);
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.85rem;
    transition: background-color 0.2s ease;
  }
  
  .fc-event:hover {
    background-color: #8a5447;
  }
  
  /* Remove border between cells */
  .fc-theme-standard td,
  .fc-theme-standard th {
    border: 1px solid #2e2e2e;
  }
  
  /* Today cell highlight */
  .fc-day-today {
    background-color: var(--gold) !important;
  }
  
  /* Hide outline on focus for cleaner look */
  .fc a:focus {
    outline: none;
  }   

  @media (max-width: 768px) {
    #calendar {
      display: none;
    }
  }
  

    /* Example CSS to style the reservation section */
    #red-room-calendar {
        display: none; /* Ensure it's hidden by default */
        margin-top: 10px;
        justify-items: left;
    }

#red-room-calendar label {
    display: block;
    margin-bottom: 5px;
    font-family: var(--lexiloo-inter);
}

#reservation-date {
    padding: 8px;
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
    
}

/* Custom Font for Labels */
label {
    font-family: var(--lexiloo-inter);
    font-size: 1.2rem; /* Adjust size */
    color: var(--color-text-primary); /* Use your theme color */
}

/* Custom Font for Select Dropdown */
select {
    font-family: 'Linden Hill', serif; /* Same font as label for consistency */
    font-size: 1rem; /* Adjust as needed */
    padding: 8px; /* Add spacing */
    border: 1px solid var(--color-border); /* Match border to theme */
    border-radius: 5px; /* Rounded corners */
    background: var(--color-background); /* Adjust to fit your design */
    color: var(--color-text-primary); /* Text color */
    appearance: none; /* Remove default styling */
    cursor: pointer; /* Indicate it's interactive */
}

/* Style dropdown options */
select option {
    font-family: 'Linden Hill', serif;
    font-size: 1rem;
    background: var(--color-background);
    color: var(--color-text-primary);
}

/* Call to Action Section */
h1 {
    font-family: 'Linden Hill', serif;
    font-size: 36px;
    color: var(--color-background-light);
}
.call-to-action {
    padding: 40px 20px;
    background-color: var(--color-background-dark);
}

.call-to-action .container {
    text-align: center;
    margin-bottom: 40px;
}

/* Hide by default */
.logo-mobile {
    display: none;
  }
  
  /* Show and center on mobile */
  @media (max-width: 768px) {
    .logo-mobile {
      display: block;
      margin: 0 auto 12px auto; /* center horizontally, space below */
      height: 50px;
      width: auto;
    }

}

.cta-blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns in 1 row */
    gap: 30px;
}

.cta-block {
    background-color: var(--gray);
    border-radius: 8px;
    box-shadow: 0 4px 8px var(--color-shadow-light);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.2s ease-in-out;
}

.cta-block:hover {
    transform: scale(1.05);
}

.cta-block img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border: #fff;
    margin-bottom: 15px;
    max-width: 400px; /* Longer blocks, larger images */
}

.cta-block h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--color-background-light);
    font-family: var(--font-linden);
}

.cta-block p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--color-text-secondary);
}

.cta-btn {
    color: var(--color-background-light);
    font-size: 1.75rem;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
}

.cta-btn:hover {
    color: var(--yellow-light);
}


/* Menu Page */

/* Section: Menu Cover */
.menu-cover {
    background-image: url('./images/menu-cover.jpg');
    background-size: cover;
    background-position: center;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f0e6dc;
    text-align: center;
}

.menu-cover h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.menu-cover p {
    font-size: 1.5rem;
}

/* Section: Menu Items */
.menu-items, .event-items {
    padding: 40px 20px;
}

.menu-grid, .event-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 40px;
    gap: 20px;
}

@media (max-width: 768px) {
    .menu-grid, .event-grid {
        grid-template-columns: 1fr;
    }
}

.menu-item, .event-item {
    border: 1px solid #f0e6dc;
    background-color: #f0e6dc;
    border-radius: 5px;
    padding: 5px;
    text-align: center;
    transition: transform 0.3s ease;
}

/* Text content below the image */
.event-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  

.menu-item:hover, .event-item:hover {
    transform: scale(1.05);
}

.menu-item img, .event-item img {
        width: 100%;
        aspect-ratio: 4 / 4; /* Enforces image shape */
        object-fit: cover;
        object-position: center;
        border-radius: 5px;
        display: block;
}

.menu-item h3, .event-title, .event-item h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
    margin-top: 10px;
    font-family: var(--font-linden); 
}

.menu-item p, .event-time, .event-description   {
    color: #666;
}

/*Contact Page*/

.kate-story {
    display: flex; /* Enable flexbox for side-by-side layout */
    justify-content: center; /* Center the image and text horizontally */
    align-items: center; /* Center the image and text vertically */
    gap: 40px; /* Add space between image and text */
    padding: 40px;
    max-width: 1200px; /* Restrict width */
    margin: 0 auto; /* Center the section on the page */
}

.kate-image-container {
    position: relative; /* Establish positioning context for the overlay */
    flex: 1; /* Allow the image to take up proportional space */
    max-width: 30%; /* Set the maximum width for the image */
    text-align: center; /* Optional: center the image within its container */
}

.kate-image-container img {
    width: 100%; /* Ensure the image scales properly */
    border: #ecdfd2 15px;
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove inline gaps */
}

.kate-name-overlay {
    position: absolute; /* Position the overlay relative to the image container */
    bottom: 130px; /* Adjust this value to control vertical positioning */
    right: -70px; /* Adjust this value to control horizontal positioning */
    transform: rotate(-45deg); /* Slant the overlay at a -45-degree angle */
    transform-origin: bottom right; /* Rotate from the bottom-right corner */
    color: white; /* Text color */
    padding: 10px 20px; /* Add padding for better visibility */
    z-index: 10; /* Ensure it appears above the image */
    font-family: 'Linden Hill', serif;
}

.kate-name-overlay h3 {
    font-size: 5.5rem; /* Large font size for the name */
    font-family: "Kristi";
    margin: 0; /* Remove default margin */
    text-align: center; /* Center the text within the overlay */
    color: var(--color-button-hover);
}


.kate-item-content {
    flex: 2; /* Allow the text to take up more space */
    max-width: 100%fit-content; /* Restrict the text width */
    text-align: left; /* Align text to the left */
    color: var(--color-text-primary);
    line-height: 1.6;
}

.kate-item-content h2 {
    font-size: 2rem; /* Heading size */
    margin-bottom: 15px;
    font-family: 'Linden Hill', serif;
    color: var(--color-button-hover);
}

.kate-item-content p {
    font-size: 1rem; /* Paragraph text size */
    color: var(--color-text-secondary);
}

.staff-item-content h3 {
    font-size: 1rem; /* Paragraph text size */
    color: var(--color-button-hover);
}


/* Responsive Styles */
@media (max-width: 768px) {
    .kate-story {
        flex-direction: column; /* Stack image and text vertically */
        gap: 20px;
    }

    .kate-item-content {
        text-align: center; /* Center text for smaller screens */
    }

    .kate-name-overlay {
        bottom: 10px; /* Adjust position for smaller images */
        right: 10px;
        transform: rotate(-45deg);
    }
}

/* Staff Bios Section */
.staff-items {
    padding: 40px 200px;
    max-width: 1200px;
    margin: 0 auto;
}

.staff-item {
    display: flex;
    align-items: center;
    gap: 100px;
    margin-bottom: 40px;
}

.staff-item.reverse {
    flex-direction: row-reverse; /* Reverse the order for alternating layout */
}

.staff-image-container {
    /* overflow: hidden; Prevents image overflow when scaling */
    display: inline-block; /* Ensures the effect applies neatly */
    border-radius: 8px; /* Optional: Match existing button styles */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 300px;
    position: relative;
}

.staff-image-container img {
    height: auto;
    object-fit: cover;
    width: 100%; /* Ensure the image scales within the container */
    display: block; /* Removes inline spacing issues */
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.staff-image-container:hover img {
    transform: scale(1.05); /* Slight zoom effect */
    opacity: 0.9; /* Optional: Adds a subtle fade effect */
}

.staff-item:hover .staff-image-container {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Adds a soft hover shadow */
}

.staff-item-content {
    max-width: 600px;
    color: var(--color-text-primary);
}

.staff-item-content h3 {
    font-size: 2rem;
    font-family: 'Linden Hill', serif;
    margin-bottom: 15px;
    font-weight: bold;
}

.staff-item-content p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Responsive Styles */


@media (max-width: 768px) {
    .staff-items {
        padding: 0;
    }
   
    .staff-item {
        flex-direction: column;
        justify-content: center;
    }

    .staff-item.reverse {
        flex-direction: column; /* Stack all vertically on mobile */
    }
    
    .staff-image-container {
        margin-bottom: -40px; /* Reduced gap between image and text */
    }

    .staff-item-content {
        max-width: 100%;
        text-align: center; /* Center h3 and p text */
    }
}


/* Responsive Styles for Smaller Screens */
@media (max-width: 768px) {
    .kate-grid,
    .staff-grid {
        grid-template-columns: 1fr; /* Stack items vertically */
    }
    
    .kate-name-overlay {
        display: none;
    }

    .kate-image-container {
        max-width: none;

    }
    .kate-item,
    .staff-item {
        padding: 0; /* Decrease padding for a more compact layout */
    }

    .kate-item img,
    .staff-image-container img {
        width: 100%; /* Image should take full width when stacked */
        margin: 0;
    }
}

/* Responsive Styles for Smaller Screens */
@media (max-width: 768px) {
    .event-grid {
        grid-template-columns: 1fr; /* Stack items vertically in a single column */
    }

    .cta-blocks {
        grid-template-columns: 1fr; /* Stack CTA blocks vertically */
    }

    .event-item {
        padding: 10px; /* Decrease padding for a more compact layout */
    }

    .event-item img {
        width: 100%; /* Image should take full width when stacked */
        margin: 0 0 10px 0;
    }
}

    .footer {
        background-color: var(--color-nav);
        color: #fff;
        text-align: center;
        padding: 20px 10px;
        min-width: 100vw;
    }
    
    .social-icons {
        margin: 10px 0;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 15px; /* Adjusts spacing between icons */
        flex-wrap: wrap; /* Ensures wrapping on smaller screens */
    }
    
    .social-icons a {
        display: inline-block;
        width: 40px; /* Icon size */
        height: 40px;
    }
    
    .social-icons img {
        width: 40px;
        height: auto;
        transition: transform 0.3s ease;
    }
    
    .social-icons img:hover {
        transform: scale(1.2);
    }
    
    /* Responsive design for smaller screens */
    @media (max-width: 768px) {
        .footer {
            padding: 15px;
            width: 100vw;
        }
    
        .social-icons {
            gap: 20px; /* Reduce spacing on small screens */
            padding: 20px;
        }
    
        .social-icons a {
            width: 30px; /* Reduce icon size slightly for smaller screens */
            height: 30px;
        }
    
        .footer p {
            font-size: 12px; /* Slightly smaller text for readability */
        }
    }

/* 🔹 Hide elements when needed */
.hidden {
    display: none !important;
}

/* 🔹 Menu Sidebar Styling */
#sidebar {
    position: fixed;
    right: 0;
    top: 0;
    width: 320px; /* Slightly wider for better usability */
    height: 100vh;
    background: var(--lexiloo-pink);
    color: white;
    font-family: var(--lexiloo-inter);
    padding: 20px;
    transition: transform 0.3s ease-in-out;
    transform: translateX(100%); /* Sidebar is hidden by default */
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px; /* Adds spacing between elements */
}

/* 🔹 When the sidebar is shown, slide it into view */
#sidebar.show {
    transform: translateX(0);
    display: flex !important;
}

/* 🔹 Sidebar Content */
.sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-family: var(--lexiloo-inter);
}

/* 🔹 Sidebar Header */
#sidebar h2 {
    font-size: 22px;
    margin-bottom: 10px;
    text-align: left;
    font-family: var(--lexiloo-inter);
    color: #242923;
}

/* 🔹 Close Button */
#close-sidebar-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 22px;
    color: white;
    cursor: pointer;
    transition: opacity 0.2s ease-in-out;
}

#close-sidebar-btn:hover {
    opacity: 0.7;
}

/* 🔹 Event Sidebar Styling */
/* 🔹 Event Sidebar Container */
#event-sidebar {
    position: fixed;
    right: 0;
    top: 0;
    width: 320px; /* Slightly wider for better usability */
    height: 100vh;
    background: var(--lexiloo-pink);
    color: white;
    font-family: var(--lexiloo-inter);
    padding: 20px;
    transition: transform 0.3s ease-in-out;
    transform: translateX(100%); /* Sidebar is hidden by default */
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px; /* Adds spacing between elements */
  }
  
  /* 🔹 Sidebar Content Scrollable */
  .event-sidebar-content {
    padding: 20px;
    overflow-y: auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  /* 🔹 When the sidebar is shown */
  #event-sidebar.show {
    transform: translateX(0);
    display: flex !important;
  }
  
  @media (max-width: 500px) {
    #event-sidebar {
      width: 100%;
      max-width: 100%;
    }
  }

  @media (max-width: 500px) {
    #sidebar {
      width: 100%;
      max-width: 100%;
    }
  }


/* 🔹 Sidebar Header */
#event-sidebar h2 {
    font-size: 22px;
    margin-bottom: 10px;
    text-align: left;
    font-family: var(--lexiloo-inter);
    color: #242923;
}

/* 🔹 Close Button */
#close-event-sidebar-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 22px;
    color: white;
    cursor: pointer;
    transition: opacity 0.2s ease-in-out;
}

#close-event-sidebar-btn:hover {
    opacity: 0.7;
}

/* 🔹 Dropdown Menu */
#menu-select, #event-select, .event-select, #item-name, #item-description, #item-image, #event-name, #event-image, #event-date, #event-start-time, #event-end-time  {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    font-family: var(--lexiloo-inter);
    border: 1px solid white;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-nav);
    transition: border 0.3s ease-in-out;
}

.event-sidebar-content input::placeholder,
.event-sidebar-content textarea::placeholder,
.sidebar-content input::placeholder,
.sidebar-content textarea::placeholder {
  color: #302f2f;
  font-size: 14px;
  font-family: var(--lexiloo-inter);
}

#event-description {
    min-height: 100px;
    resize: vertical; /* allow user to stretch it if needed */
    width: 100%;
    padding: 10px;
    font-size: 16px;
    font-family: var(--lexiloo-inter);
    border: 1px solid white;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-nav);
    transition: border 0.3s ease-in-out;
}

#menu-select:focus {
    border: 1px solid white;
    outline: none;
}

#event-select:focus {
    border: 1px solid white;
    outline: none;
}

/* 🔹 Form Labels */
label {
    font-size: 14px;
    font-weight: bold;
    font-family: var(--lexiloo-inter);
    color: var(--color-nav);
}
/* 🔹 Textarea */
textarea {
    height: 120px;
    resize: none;
}

/* 🔹 Buttons */
button {
    padding: 12px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: opacity 0.2s ease-in-out;
}

button:hover {
    opacity: 0.8;
}

/* 🔹 Save Button */
#save-menu-item, #save-event-item {
    background: var(--lexiloo-darkpurple); /* Green */
    color: white;
    font-family: var(--lexiloo-inter);
    
}

/* 🔹 Remove Button */
#remove-menu-item, #remove-event-item  {
    background: var(--red); /* Red */
    color: white;
    font-family: var(--lexiloo-inter);
}

/* 🔹 Add New Item Button */
#add-menu-item, #add-event-item {
    background: #B36078; /* Blue */
    color: white;
    font-family: var(--lexiloo-inter);
}

/* 🔹 Custom Scrollbar for Sidebar */
.sidebar-content::-webkit-scrollbar {
    width: 8px;
  }
  
.event-sidebar-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
  }
  
 .event-sidebar-content::-webkit-scrollbar-thumb {
    background-color: white;
    border-radius: 4px;
    border: 2px solid var(--lexiloo-pink);
  }
  
 .event-sidebar-content {
    scrollbar-color: white rgba(255, 255, 255, 0.1); /* Firefox */
    scrollbar-width: thin;
  }

.icon {
    width: 18px; /* Adjust size */
    height: 18px;
    margin-right: 8px; /* Space between icon and text */
    vertical-align: middle;
}

/*Style logout button*/

#logout-button {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1000; /* make sure it's above other elements */
    padding: 0.75rem 1rem;
    background-color: var(--red); /* deep crimson/red for a subtle warning tone */
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    font-family: var(--lexiloo-inter);
    transition: background-color 0.3s ease, transform 0.2s ease;
    /* override width/margin from before */
    width: auto;
    margin: 0;
  }
  
  #logout-button:hover {
    background-color: var(--lexiloo-red);
    transform: scale(1.02);
  }
  
  #logout-button:active {
    background-color: #600000;
    transform: scale(0.98);
  }
  
  .publish-controls {
    position: fixed;
    top: 20px;
    left: 20px; /* ✅ Right side for big screens */
    z-index: 1000;
    gap: 6px;
  }
  
  .publish-btn {
    background-color: #b36078;
    font-family: var(--lexiloo-inter);
    color: white;
    font-weight: 600;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease;
  }
  
  .publish-btn:hover {
    transform: scale(1.1);
    opacity: 0.8;
    background-color: #993257;
  }
  
  #last-published {
    font-size: 12px;
    padding: .5rem;
    font-family: var(--lexiloo-inter);
    color: #f5f5f5;
    text-align: left;
  }

  #publish-status {
    font-size: 14px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 6px;
    margin: 0;
    transition: opacity 0.3s ease;
  }
  
  #publish-status.success {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    padding: .5rem;
  }
  
  #publish-status.error {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: .5rem;
  }
  
  #publish-status.hidden {
    display: none;
  }

  /* 🔹 Floating Button */
  .edit-controls {
    position: fixed;
    top: 20px;
    right: 20px; /* 👈 move it to the RIGHT instead */
    z-index: 1000;
    gap: 6px;
  }

  .edit-btn.floating-btn {
    background-color: #b36078;
    font-family: var(--lexiloo-inter);
    color: white;
    font-weight: 600;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease;
}

  /* 🔹 Floating Button in mobile*/

.edit-btn.floating-btn:hover {
    transform: scale(1.1);
    opacity: 0.8;
    background-color: #993257;
}

/* By default: show text and icon */
.icon-only {
    display: none;
  }
  
  .full-text {
    display: inline;
  }
  
/* Normal styles stay the same for desktop/tablet */

/* Mobile-only changes */
@media (max-width: 768px) {
    .publish-controls {
      position: fixed;
      top: 20px;
      right: 20px; /* ✅ Move to left side on small screens */
      left: auto; /* ✅ Reset right so it doesn't conflict */
      z-index: 1000;
    }
  
    .edit-controls {
      position: fixed;
      top: 90px; /* still stacked below publish */
      right: 20px; /* ✅ Move to left side */
      left: auto; /* ✅ Reset right */
      z-index: 1000;
    }
  
    /* Mobile button styling (same as you already have) */
    .publish-controls .publish-btn,
    .edit-controls .edit-btn.floating-btn {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      font-size: 24px;
      padding: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
    }
  
    .full-text {
      display: none;
    }
  
    .icon-only {
      display: inline;
    }
  
    #publish-status,
    #last-published {
      display: none;
    }
  }
  


/* Position Lexiloo branding at the bottom */
.lexiloo-logo-powered {
    /* Remove absolute positioning */
    margin-top: auto; /* Pushes it to the bottom of the scrolling area */
    text-align: center;
    padding-top: 20px;
}

.lexiloo-logo-powered p {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    width: 100%;
}

#lexiloo-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

/*Calendar caption for ADA*/
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  /*pop-up modal*/
  .modal {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(0, 0, 0, 0.25);
	z-index: 9999;
}

.modal.hidden {
	display: none;
}

.modal-container {
	max-height: 90vh;
	max-width: 600px;
	width: 90%;
	background-color: #fff;
	border-radius: 16px;
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	position: relative;
}

.modal-container-header {
	padding: 16px 32px;
	border-bottom: 1px solid #ddd;
	display: flex;
	align-items: center;
	justify-content: space-between;
    font-family: var(--lexiloo-inter);
}

.modal-container-title {
	display: flex;
    color: var(--color-background-dark);
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: 1.25rem;
    font-family: var(--lexiloo-inter);
}

.modal-container-body {
	padding: 24px 32px 51px;
	overflow-y: auto;
	flex-grow: 1;
	scrollbar-width: thin;
    font-family: var(--lexiloo-inter);
}

.modal-container-body::-webkit-scrollbar {
	width: 10px;
}
.modal-container-body::-webkit-scrollbar-thumb {
	background-color: #ccc;
	border-radius: 6px;
}

.modal-container-footer {
	padding: 16px 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-top: 1px solid #ddd;
	position: relative;
}

.modal-container-footer::after {
	content: "";
	position: absolute;
	top: -50px;
	left: 0;
	right: 0;
	height: 50px;
	background: linear-gradient(to top, rgba(255, 255, 255, 0.85), transparent);
	pointer-events: none;
}

.button {
	padding: 10px 20px;
	border-radius: 8px;
	font-weight: 600;
	cursor: pointer;
	border: none;
	transition: background-color 0.2s ease;
    font-family: var(--lexiloo-inter);
}

.button.is-primary {
	background-color: #750550;
	color: #fff;
}
.button.is-primary:hover {
	background-color: var(--lexiloo-darkpurple);
}

.button.is-ghost {
	background-color: transparent;
}
.button.is-ghost:hover {
	background-color: #dfdad7;
}

.icon-button {
	background: transparent;
	border: none;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border-radius: 8px;
	transition: background-color 0.15s ease;
}
.icon-button:hover {
	background-color: #dfdad7;
}
.icon-button svg {
	width: 24px;
	height: 24px;
}

/* Rich text formatting */
.rtf h1, .rtf h2 {
	font-weight: 600;
    font-family: var(--lexiloo-inter);
    color: var(--color-background-dark);
	margin-top: 1.25em;
}

.rtf h3, .rtf h4 {
	font-weight: 600;
    font-family: var(--lexiloo-inter);
    color: var(--color-background-dark);
	margin-top: 1.25em;
}

.rtf ul, .rtf ol {
	margin-left: 1.25em;
}
.rtf ul {
	list-style-type: disc;
}
.rtf ol {
	list-style-type: decimal;
}

.rtf code {
	background: #eee;
	padding: 0.1em 0.3em;
	border-radius: 4px;
	font-size: 0.95em;
}
  