@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Baumans&display=swap');



/* CSS RESET 2025 */

*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:where(html) {
  color-scheme: light dark;
  hanging-punctuation: first allow-end last;
  interpolate-size: allow-keywords;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  text-size-adjust: none;
  -webkit-text-size-adjust: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
}

:where(html.translated-rtl) {
  direction: rtl;
}

@media (prefers-reduced-motion: reduce) {
  :where(html) {
    scroll-behavior: auto;
  }
}

:where(body) {
  min-block-size: 100svb;
  min-inline-size: 300px;
}

:where(canvas, img, picture, svg, video) {
  block-size: auto;
  border: none;
  display: block;
  max-inline-size: 100%;
}

:where(button, input, progress, select, textarea) {
  appearance: none;
  background: transparent;
  border: none;
  color: inherit;
  font: inherit;
  hanging-punctuation: none;
  line-height: inherit;
  text-align: start;
  touch-action: manipulation;
}

:where(button) {
  cursor: pointer;
  user-select: none;
}

:where(textarea) {
  resize: vertical;
}

:where(textarea:not([rows])) {
  field-sizing: content;
}

:where(fieldset, iframe) {
  border: none;
}

:where(p, li, h1, h2, h3, h4, h5, h6) {
  overflow-wrap: break-word;
  text-wrap: pretty;
}

:where(abbr[title]) {
  border: none;
  text-decoration: none;
}

:where(cite) {
  font-style: inherit;
}

:where(small) {
  font-size: inherit;
}

:where(li, ol, ul) {
  list-style: none;
}

:where(dialog, [popover]) {
  background: transparent;
  border: none;
  color: inherit;
  margin: auto;
  max-block-size: none;
  max-inline-size: none;
  position: fixed;
}

:where([popover]) {
  inset: auto;
}

:where(dialog:not([open], [popover]), [popover]:not(:popover-open)) {
  display: none;
}

:where([hidden]:not([hidden="until-found"])) {
  display: none !important;
}

/* END CSS RESET 2025 */

/* Global Variables */

/* Colors */

:root {
  /* BACKGROUNDS & NEUTRALS */
  --color-background-primary: #AABFD1;     /* Stage Fog Blue (Your Flyer BG) */
  --color-background-secondary: #F5F5F5;   /* Ivory/Soft White (For Content Boxes) */
  --color-text-dark: #2E3A47;              /* Deep Charcoal (Main body text) */
  --color-text-light: #FFFFFF;             /* White (For text on dark backgrounds) */
  
  /* BRAND ACCENTS (THEATRICAL) */
  --color-accent-primary: #7C3E67;         /* Rich Plum/Burgundy (Major Headlines, Menu) */
  --color-accent-secondary: #D4A017;       /* Antique Gold/Mustard (CTAs, Spotlight/Highlight) */
}

/* Typography */

:root {
  /* FONT FAMILIES */
  --font-family-header: 'Baumans', sans-serif; /* Theatrical, expressive headlines (H1, H2) */
  --font-family-body: 'Poppins', sans-serif;       /* Clean, readable text (Paragraphs, navigation, buttons) */
  
  /* FONT WEIGHTS */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
}

:root {
  --font-family-base: 'Helvetica Neue', Arial, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.5;
    --spacing-base: 1rem;
    --border-radius-base: 4px;
    --transition-duration: 0.3s;
    --box-shadow-base: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Global Styles */

body {
  font-family: var(--font-family-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text-dark);
  background-color: var(--color-background-primary);
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-header);
  color: var(--color-accent-primary);
  margin-bottom: calc(var(--spacing-base) / 2);
}

a {
  color: var(--color-accent-secondary);
  text-decoration: none;
  transition: color var(--transition-duration);
}

a:hover {
  color: darken(var(--color-accent-secondary), 10%);
}

button {
  font-family: var(--font-family-body);
  background-color: var(--color-accent-secondary);
  color: var(--color-text-light);
  border: none;
  border-radius: var(--border-radius-base);
  padding: calc(var(--spacing-base) / 2) var(--spacing-base);
  cursor: pointer;
  transition: background-color var(--transition-duration);
}

button:hover {
  background-color: var(--color-accent-primary);
  transform: scale(1.05);

}

section {
  padding: var(--spacing-base);
  margin-bottom: calc(var(--spacing-base) * 4);
  box-shadow: var(--box-shadow-base);
  border-radius: var(--border-radius-base);
}


p {
  margin-bottom: var(--spacing-base);
}

/* for checkboxes, text inputs */

input[type="checkbox"] {
    appearance: auto;
    accent-color: var(--color-accent-primary);
    width: 1.2em;
    height: 1.2em;
    cursor: pointer;
}
input[type="checkbox"]:hover {
    accent-color: var(--color-accent-primary);
    filter: brightness(0.9);
}

input[type="text"], input[type="email"] {
    border: 1px solid #ccc;
    border-radius: var(--border-radius-base);
    padding: calc(var(--spacing-base) / 2);
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: var(--spacing-base);
}
input[type="text"]:focus, input[type="email"]:focus {
    border-color: var(--color-accent-primary);
    outline: none;
    box-shadow: 0 0 5px var(--color-accent-primary);
}

/* End of Global Styles */

/* Banner Section Styles */
.banner {
  position: relative;
  overflow: hidden;
}
.banner-image {
  width: 100%;
  height: auto;
  display: block;
}
.banner-text {
  position: absolute;
  inset: auto 1rem 1rem 1rem; /* bottom overlay */
  background: rgba(0,0,0,.5);
  color: #fff;
  padding: .75rem 1rem;
  font-family: "Playfair Display", serif;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  line-height: 1.35;
}


/* Newsletter Section Styles */

section.newsletter-section {
    background-color: var(--color-background-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.newsletter-section h1 {
    font-size: 2rem;
    margin-bottom: calc(var(--spacing-base) * 1.5);
    text-align: center;
}

.credentials-box {
    max-width: 400px;
    margin: 0 auto;
}

.date-selection {
    max-width: 400px;
    margin: 0 auto;
    margin-top: var(--spacing-base);
    /* Ensure date-selection also has relative positioning if needed for other elements, 
       but for the dropdown it's only needed on .checkbox-dropdown-container */
}

.newsletter-form label {
    display: block;
    margin-bottom: calc(var(--spacing-base) / 4);
    font-weight: var(--font-weight-semibold);
}

.newsletter-form input[type="text"],
.newsletter-form input[type="email"] {
    margin-bottom: var(--spacing-base);
}

.newsletter-form button {
    font-size: 1rem;
    /* Ensure the button is full width inside the form context */
    /* width: 100%;  */
    margin-top: var(--spacing-base);
}

.subscription-checkbox label {
  font-weight: var(--font-weight-regular);
}


/* START OF NEW DROPDOWN STYLES */

.checkbox-dropdown-container {
    /* CRITICAL: Allows the dropdown list to position itself absolutely right below the button */
    position: relative;
    display: inline-block;
    width: 100%; /* Take up the full width of its parent (.date-selection) */
    margin-bottom: var(--spacing-base);
}

.dropdown-toggle {
    /* Style the button to look like a standard select box */
    font-family: var(--font-family-body);
    background-color: var(--color-background-secondary); /* Match section background */
    color: var(--color-text-dark); /* Use primary text color */
    border: 1px solid #ccc;
    border-radius: var(--border-radius-base);
    padding: calc(var(--spacing-base) / 2) var(--spacing-base);
    cursor: pointer;
    transition: all var(--transition-duration);
    text-align: left;
    width: 100%;
    
    /* Custom Dropdown Arrow Icon (using SVG data URI) */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path fill="%232E3A47" d="M8 12l-6-6h12l-6 6z"/></svg>');
    background-repeat: no-repeat;
    background-position: right calc(var(--spacing-base) / 2) center;
    padding-right: calc(var(--spacing-base) * 2); /* Make space for the icon */
}

.dropdown-toggle:hover {
    background-color: #f0f0f0; /* Slight hover effect */
    transform: none; /* Override global button hover transform */
}

.dropdown-list {
    /* Dropdown box positioning and appearance */
    position: absolute;
    top: 100%; /* Place it right below the toggle button */
    left: 0;
    z-index: 1000; /* Ensure it stays above other content */
    border: 1px solid var(--color-accent-primary); /* Use a brand color for the border */
    background-color: var(--color-background-secondary);
    box-shadow: var(--box-shadow-base);
    border-radius: var(--border-radius-base);
    padding: calc(var(--spacing-base) / 4) 0;
    max-height: 250px; /* Limits height, making it scrollable */
    overflow-y: auto;
    width: 100%; 

    /* Initially hide the list */
    display: none;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

/* Style for individual checkbox labels inside the list */
/* ADD: Reset styles for the new UL inside the dropdown */
.dropdown-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* UPDATED: Target the label inside the LI */
.dropdown-list li.date-item label {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    cursor: pointer;
    white-space: nowrap;
    width: 100%;
    box-sizing: border-box; /* Ensures padding doesn't break the layout */
}

/* UPDATED: Apply hover effect to the LI for a better user experience */
.dropdown-list li.date-item:hover {
    background-color: #f0f0f0; /* Light hover effect for list items */
}


.dropdown-list input[type="checkbox"] {
    /* Space between checkbox and text */
    margin-right: 8px; 
    flex-shrink: 0;
}

/* Show the list when the 'active' class is added by JavaScript */
.dropdown-list.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Add this block to your existing styles.css */
.dropdown-list .category-header {
    /* Styles for the section titles */
    font-family: var(--font-family-body);
    font-size: 0.9em;
    font-weight: var(--font-weight-bold);
    color: var(--color-accent-primary); /* Use your primary accent color */
    padding: 8px 15px 4px; /* Adjust padding for spacing */
    margin-top: 10px;
    margin-bottom: 5px;
    border-bottom: 1px solid #eee;
    pointer-events: none; /* Make sure clicking the header doesn't select an item */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Remove hover effect from the header to avoid confusion */
.dropdown-list .category-header:hover {
    background-color: transparent; 
}

/* END OF NEW DROPDOWN STYLES */

/* End of Newsletter Section Styles */


/* Thank You Section Styles */

/* Hide the Thank You section by default */
section.thank-you-section {
    display: block; /* Keep display block so transitions work, but hide visually */
    opacity: 0;
    max-height: 0; /* Critical: Collapse the section to zero height */
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    background-color: var(--color-background-secondary);
    
    /* Apply transition to height and opacity for the "good transition animation" */
    transition: opacity 0.6s ease-in-out, max-height 0.8s ease-in-out, padding 0.8s ease-in-out;
}

/* Class to reveal the Thank You section */
section.thank-you-section.visible {
    opacity: 1;
    max-height: 500px; /* Needs to be larger than the content's actual height */
    padding: var(--spacing-base); /* Restore the original padding */
}

/* Class to hide the Newsletter section */
section.newsletter-section.hidden {
    opacity: 0;
    max-height: 0; /* Critical: Collapse the section to zero height */
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
    
    /* Apply transition for the hiding animation */
    transition: opacity 0.6s ease-out, max-height 0.8s ease-out, padding 0.8s ease-out, margin-bottom 0.8s ease-out;
}

/* End of Thank You Section Styles */


/* Pictures Between Text Styles */

section.hanging-pictures {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  max-width: 80%;
  margin-inline-start: auto; /* Align to right */
  padding: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-top-left-radius: calc(var(--border-radius-base) * 15);
  border-bottom-left-radius: calc(var(--border-radius-base) * 15);
  box-shadow: var(--box-shadow-base);
}

.image {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-top-left-radius: calc(var(--border-radius-base) * 15);
  border-bottom-left-radius: calc(var(--border-radius-base) * 15);
  width: 100%;
  box-shadow: var(--box-shadow-base);
}



/* End of Pictures Between Text Styles */


/* Introduction Section, Info-section and Statement Section common Styles */
.introduction-section, .info-section, .statement-section {
  background-color: var(--color-background-secondary);
  max-width: 80%;
  margin-inline-end: auto; /* Align to left */
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: calc(var(--border-radius-base) * 15);
  border-bottom-right-radius: calc(var(--border-radius-base) * 15);
  box-shadow: var(--box-shadow-base);
}

/* End of Introduction Section Styles */


/* Statement Section Styles */

blockquote{
  margin-bottom: var(--spacing-base);
}

blockquote p{
  font-style: italic;
  line-height: 1.4;
  color: var(--color-text-dark);
  margin: 0;
  padding: 0;
}

/* End of Statement Section Styles */


/* Bottom Newsletter Section Styles */

section.newsletter-section-bottom {
    background-color: var(--color-background-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Footer Styles */
footer {
    background-color: var(--color-background-secondary);
    padding: var(--spacing-base);
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-media a {
    color: var(--color-accent-primary);
    text-decoration: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-media a:hover {
    color: var(--color-accent-secondary);
}


/* End of footer styles */


/* Animation Styles */

/*
|--------------------------------------------------------------------------
| UNIVERSAL SCROLL ANIMATION BASE STYLES
|--------------------------------------------------------------------------
| This block creates the initial hidden state (off-screen left + transparent)
| and the transition for the smooth fade/slide-in effect.
*/

/* --- Initial State for Elements to be Animated --- */
/* Target all major content elements except the very first visible one (top newsletter form) */
main h1, 
main h2, 
main p, 
main blockquote,
main form,
section:not(:first-child), /* Target all sections except the top one */
section.hanging-pictures .image
{
    /* 1. Initial Hidden State */
    opacity: 0;
    /* Use a slight slide-in from the left effect */
    transform: translateX(-50px); 
    
    /* 2. Base Transition for Smoothness */
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
}

/* --- Specific Override for Right-Aligned Image Sections --- */
/* Your .hanging-pictures sections are aligned right, so they should slide in from the right */
section.hanging-pictures {
    opacity: 0;
    /* Slide in from the right */
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


/* --- Visible/Active State: JavaScript adds this class --- */
.is-visible {
    /* Set opacity to fully visible */
    opacity: 1 !important; 
    /* Set transform to their final, natural position */
    transform: translateX(0) !important;
}