*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

/*
! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  letter-spacing: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

.visible {
  visibility: visible;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.inset-0 {
  inset: 0px;
}

.bottom-6 {
  bottom: 1.5rem;
}

.left-0 {
  left: 0px;
}

.left-1\/2 {
  left: 50%;
}

.left-4 {
  left: 1rem;
}

.right-4 {
  right: 1rem;
}

.top-0 {
  top: 0px;
}

.top-1\/2 {
  top: 50%;
}

.top-20 {
  top: 5rem;
}

.top-4 {
  top: 1rem;
}

.z-10 {
  z-index: 10;
}

.z-50 {
  z-index: 50;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.block {
  display: block;
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

.h-2 {
  height: 0.5rem;
}

.h-20 {
  height: 5rem;
}

.h-5 {
  height: 1.25rem;
}

.h-6 {
  height: 1.5rem;
}

.h-64 {
  height: 16rem;
}

.h-8 {
  height: 2rem;
}

.h-full {
  height: 100%;
}

.max-h-\[85vh\] {
  max-height: 85vh;
}

.w-2 {
  width: 0.5rem;
}

.w-5 {
  width: 1.25rem;
}

.w-6 {
  width: 1.5rem;
}

.w-8 {
  width: 2rem;
}

.w-full {
  width: 100%;
}

.max-w-6xl {
  max-width: 72rem;
}

.max-w-\[90vw\] {
  max-width: 90vw;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.-translate-x-1\/2 {
  --tw-translate-x: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.-translate-y-1\/2 {
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.scale-125 {
  --tw-scale-x: 1.25;
  --tw-scale-y: 1.25;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.cursor-pointer {
  cursor: pointer;
}

.resize {
  resize: both;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.gap-4 {
  gap: 1rem;
}

.space-x-1 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(0.25rem * var(--tw-space-x-reverse));
  margin-left: calc(0.25rem * calc(1 - var(--tw-space-x-reverse)));
}

.overflow-hidden {
  overflow: hidden;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.bg-accent {
  --tw-bg-opacity: 1;
  background-color: rgb(248 244 232 / var(--tw-bg-opacity, 1));
}

.bg-black {
  --tw-bg-opacity: 1;
  background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
}

.bg-gray-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(156 163 175 / var(--tw-bg-opacity, 1));
}

.bg-primary {
  --tw-bg-opacity: 1;
  background-color: rgb(122 139 122 / var(--tw-bg-opacity, 1));
}

.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

.bg-opacity-0 {
  --tw-bg-opacity: 0;
}

.bg-opacity-50 {
  --tw-bg-opacity: 0.5;
}

.bg-opacity-60 {
  --tw-bg-opacity: 0.6;
}

.bg-opacity-80 {
  --tw-bg-opacity: 0.8;
}

.bg-opacity-95 {
  --tw-bg-opacity: 0.95;
}

.object-contain {
  -o-object-fit: contain;
     object-fit: contain;
}

.object-cover {
  -o-object-fit: cover;
     object-fit: cover;
}

.p-2 {
  padding: 0.5rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.pt-8 {
  padding-top: 2rem;
}

.text-center {
  text-align: center;
}

.font-script {
  font-family: Dancing Script, cursive;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.font-semibold {
  font-weight: 600;
}

.text-primary {
  --tw-text-opacity: 1;
  color: rgb(122 139 122 / var(--tw-text-opacity, 1));
}

.text-text-light {
  --tw-text-opacity: 1;
  color: rgb(107 107 107 / var(--tw-text-opacity, 1));
}

.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.opacity-0 {
  opacity: 0;
}

.opacity-70 {
  opacity: 0.7;
}

.shadow-2xl {
  --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-lg {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.outline {
  outline-style: solid;
}

.backdrop-blur-sm {
  --tw-backdrop-blur: blur(4px);
  -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.duration-500 {
  transition-duration: 500ms;
}

.ease-in-out {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  /* Account for fixed navigation height */
}

/* Respect user preferences for reduced motion */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  /* Disable parallax transforms for accessibility */

  .hero-content {
    transform: none !important;
    opacity: 1 !important;
  }
}

:root {
  --primary-color: #7A8B7A;
  /* muted green */
  --secondary-color: #F2E8E0;
  /* blush off white */
  --accent-color: #F8F4E8;
  /* soft, creamy white */
  --text-dark: #2c2c2c;
  --text-light: #6b6b6b;
  --white: #fff;
  --shadow: 0 4px 15px rgb(0 0 0 / 10%);
  --card-gradient-1: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  --card-gradient-2: linear-gradient(135deg, #f8f9fa 0%, #f1f3f4 100%);
  --card-gradient-3: linear-gradient(135deg, #fafbfc 0%, #e8f5e8 100%);
  --card-hover-shadow: 0 20px 40px rgba(122, 139, 122, 0.2);
  --card-border: rgba(122, 139, 122, 0.1);
}

body {
  font-family: Lato, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

.script-font {
  font-family: 'Dancing Script', cursive;
}

/* Navigation */

nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgb(255 255 255 / 95%);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: var(--shadow);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 400;
  transition: color 0.3s ease;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 1.2rem;
  font-weight: 500;
  border-radius: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mobile-nav-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgb(212 165 116 / 10%), transparent);
  transition: left 0.5s ease;
}

.contact-info a {
  color: var(--primary-color);
  text-decoration: none;
}

.mobile-nav-links a:hover::before {
  left: 100%;
}

.mobile-nav-links a:hover {
  background: #F8F4E8;
  color: var(--primary-color);
  transform: translateX(10px);
  box-shadow: 0 4px 15px rgb(212 165 116 / 20%);
}

.nav-links a:hover {
  color: var(--primary-color);
}

/* Hero Section */

.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #F8F4E866 0%, #E8F0E066 100%), url(../assets/images/leaves-asset.png), linear-gradient(135deg, #F8F4E8 0%, #E8F0E0 50%, #7A8B7A 100%);
  background-blend-mode: overlay, normal;
  background-size: auto, 100%, auto;
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

/* Hero content with parallax transition */

.hero-content {
  position: relative;
  z-index: 2;
  transition: transform 0.1s ease-out;
}

.hero-text {
  color: #7a8b7a;
  font-family: 'Dancing Script';
  font-size: 2rem;
  font-style: italic;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero-content .date {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.countdown {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  display: inline-block;
  margin-top: 2rem;
  transition: opacity 0.5s cubic-bezier(.22,1,.36,1);
}

.countdown-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(.22,1,.36,1);
}

.countdown-item {
  display: inline-block;
  margin: 0 1rem;
  text-align: center;
}

.countdown-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
}

.countdown-label {
  font-size: 0.9rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero Buttons */

.hero-buttons {
  margin: 2rem 0;
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.hero-btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  display: inline-block;
  min-width: 150px;
  text-align: center;
}

.hero-btn-primary {
  background: var(--primary-color);
  color: var(--white);
  border: 2px solid var(--primary-color);
}

.hero-btn-primary:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(122, 139, 122, 0.3);
}

.hero-btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.hero-btn-secondary:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(122, 139, 122, 0.3);
}

/* Scroll Down Arrow */

.scroll-down-arrow {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-down-arrow a {
  display: block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: bounce 2s infinite;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.scroll-down-arrow a:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: scale(1.1);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

/* Section Styles */

.section {
  padding: 5rem 0;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
  border-radius: 20px;
}

.section-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

.section-subtitle {
  font-size: 1.2rem;
  text-align: center;
  color: var(--text-light);
  margin-bottom: 3rem;
}

/* Event Details */

.event-details {
  background: var(--accent-color);
  max-width: none;
  width: 100%;
  border-radius: 0;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  padding-left: 4rem;
  padding-right: 4rem;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.detail-card {
  background: transparent;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(122, 139, 122, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--primary-color);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.detail-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(122, 139, 122, 0.05), transparent);
  transition: left 0.6s ease;
}

.detail-card:hover::before {
  left: 100%;
}

.detail-card:hover, .detail-card:active {
  transform: translateY(-10px) scale(1.03);
  box-shadow: var(--card-hover-shadow);
  border-color: var(--primary-color);
}

.detail-card:nth-child(1):hover {
  background: linear-gradient(135deg, #ffffff 0%, #f0f8f0 100%);
}

.detail-card:nth-child(2):hover {
  background: linear-gradient(135deg, #fafbfc 0%, #f5f1ed 100%);
}

.detail-card:nth-child(3):hover {
  background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e8 100%);
}

.detail-card h3 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  position: relative;
  transition: color 0.3s ease;
  font-weight: 600;
}

.detail-card h3 i {
  margin-right: 1rem;
}

.detail-card h3::before {
  content: '';
  position: absolute;
  top: -0.5rem;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), #9cb19c);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.detail-card:hover h3::before {
  width: 80px;
}

.detail-card:hover h3 {
  color: #6a7a6a;
}

.detail-item {
  margin-bottom: 1.2rem;
  color: var(--text-light);
  font-size: 1.05rem;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

.detail-item .icon {
  color: var(--primary-color);
  margin-right: 1rem;
  margin-top: 0.25rem;
  width: 20px;
  /* Ensure icons are aligned */
  text-align: center;
}

.detail-card:hover .detail-item {
  color: var(--text-dark);
}

.detail-item strong {
  color: var(--text-dark);
  font-weight: 600;
}

.detail-item a {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 600;
  transition: all 0.3s ease;
}

.detail-item a:hover {
  color: #6a7a6a;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  cursor: pointer;
}

.detail-card:active {
  transform: translateY(-4px) scale(1.01);
  transition: all 0.1s ease;
}

/* Improved mobile touch targets */

@media (hover: none) and (pointer: coarse) {
  .detail-card:hover {
    transform: none;
    box-shadow: 0 8px 25px rgba(122, 139, 122, 0.08);
  }

  .detail-card:active {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--card-hover-shadow);
  }
}

/* RSVP Form */

.rsvp-form {
  background: var(--white);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.btn {
  background: var(--primary-color);
  color: var(--white);
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgb(212 165 116 / 30%);
}

.btn:active {
  transform: translateY(0);
  transition-duration: 0.1s;
}

/* Gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.gallery-item {
  transition: transform 0.3s ease;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f7f1e8;
  border-radius: 1.2em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-light);
  font-size: 1.2rem;
}

/* Google Form Styles */

.google-form-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.google-form-wrapper {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.google-form-iframe {
  width: 100%;
  min-height: 800px;
  border: none;
  border-radius: 15px;
}

/* Footer */

footer {
  background: var(--text-dark);
  color: var(--white);
  text-align: center;
  padding: 3rem 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.contact-info {
  margin-top: 2rem;
}

/* Mobile Menu Styles - 2025 Trendy Design */

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--primary-color);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1002;
}

.mobile-menu-toggle:hover {
  background: rgb(212 165 116 / 10%);
  transform: scale(1.05);
}

/* Hamburger Animation */

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-close span {
  font-weight: 300;
  line-height: 1;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Language Dropdown Styles */

.mobile-language-dropdown {
  display: none;
  position: relative;
  margin-right: 1rem;
}

.mobile-lang-dropdown-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  width: 40px;
  height: 40px;
}

.mobile-lang-dropdown-btn:hover {
  background: rgba(122, 139, 122, 0.1);
  transform: scale(1.05);
}

.mobile-lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 1001;
  min-width: 120px;
}

.mobile-language-dropdown.open .mobile-lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-lang-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  font-weight: 500;
}

.mobile-lang-dropdown-item:first-child {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.mobile-lang-dropdown-item:last-child {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.mobile-lang-dropdown-item:hover {
  background: rgba(122, 139, 122, 0.1);
}

.mobile-lang-dropdown-item.active {
  background: rgba(122, 139, 122, 0.15);
  color: var(--primary-color);
}

/* Mobile Menu Overlay */

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgb(0 0 0 / 50%);
  background: linear-gradient(135deg, rgba(34,197,94,0.3) 0%, rgba(34,197,94,0.3) 100%), linear-gradient(135deg, #F8F4E8 0%, #E8F0E0 50%, #7A8B7A 100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 1000;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu Panel */

.mobile-menu-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 400px;
  height: 100vh;
  background: linear-gradient(135deg, var(--white) 0%, var(--accent-color) 100%);
  padding: 5rem 2rem 2rem;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1001;
  overflow-y: auto;
  box-shadow: -10px 0 30px rgb(0 0 0 / 10%);
}

.mobile-menu-panel.active {
  right: 0;
}

/* Mobile Menu Links */

.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-links li {
  margin-bottom: 1rem;
  transform: translateX(50px);
  opacity: 0;
  transition: all 0.3s ease;
}

.mobile-nav-links li:nth-child(1) {
  transition-delay: 0.1s;
}

.mobile-nav-links li:nth-child(2) {
  transition-delay: 0.15s;
}

.mobile-nav-links li:nth-child(3) {
  transition-delay: 0.2s;
}

.mobile-nav-links li:nth-child(4) {
  transition-delay: 0.25s;
}

.mobile-nav-links li:nth-child(5) {
  transition-delay: 0.3s;
}

.mobile-nav-links li:nth-child(6) {
  transition-delay: 0.35s;
}

.mobile-nav-links li:nth-child(7) {
  transition-delay: 0.4s;
}

.mobile-menu-panel.active .mobile-nav-links li {
  transform: translateX(0);
  opacity: 1;
}

/* Mobile Menu Footer */

.mobile-menu-footer {
  position: absolute;
  bottom: 7rem;
  left: 2rem;
  right: 2rem;
  text-align: center;
  /* padding-top: 2rem; */
  border-top: 1px solid rgb(212 165 116 / 20%);
}

.mobile-menu-footer p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.mobile-menu-footer .logo {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Mobile Menu Close Button */

.mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary-color);
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1002;
}

.mobile-menu-close:hover {
  background: rgb(212 165 116 / 10%);
  transform: rotate(90deg);
  color: var(--secondary-color);
}

/* Mobile Responsiveness */

@media (width <= 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .mobile-language-dropdown {
    display: block;
  }

  .nav-container {
    padding: 0 1rem;
    position: relative;
  }

  .hero {
    padding: 1rem;
    min-height: 90vh;
  }

  /* Disable parallax on mobile for performance by default */

  .hero-content {
    transform: none !important;
    opacity: 1 !important;
  }

  /* Allow parallax on mobile when explicitly enabled via JavaScript */

  .hero-content.parallax-enabled {
    transform: none;
    /* Remove !important to allow JS override */
    opacity: 1;
    /* Remove !important to allow JS override */
  }

  .hero-content h1, .script-font {
    font-size: 4rem;
  }

  .hero-content .date {
    font-size: 1.2rem;
  }

  .countdown {
    padding: 1.5rem;
    margin-top: 1.5rem;
  }

  .countdown-item {
    margin: 0 0.5rem;
  }

  .countdown-number {
    font-size: 2rem;
  }

  .countdown-label {
    font-size: 0.8rem;
  }

  .section {
    padding: 3rem 0;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
  }

  .story-card {
    padding: 2rem;
    margin-bottom: 1rem;
    border-radius: 16px;
  }

  .story-card h3 {
    font-size: 1.7rem;
  }

  .story-card p {
    font-size: 1rem;
  }

  .details-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
  }

  .detail-card {
    padding: 2.5rem;
    border-radius: 16px;
    margin-bottom: 1rem;
  }

  .detail-card h3 {
    font-size: 1.7rem;
    margin-bottom: 1.5rem;
  }

  .detail-item {
    font-size: 1rem;
  }

  .rsvp-form {
    padding: 2rem 1.5rem;
    margin: 0 1rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.8rem;
  }

  .registry-links {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .registry-link {
    padding: 1.5rem;
    min-width: auto;
    width: 100%;
    max-width: 300px;
  }

  .footer-content {
    padding: 0 1rem;
  }

  .footer-content h3 {
    font-size: 1.5rem;
  }

  .google-form-iframe {
    min-height: 900px;
  }

  .nav-links a,
    .btn,
    .registry-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-container::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
  }

  .nav-container:hover::after {
    width: 100%;
  }
}

@media (width >= 769px) {
  .mobile-menu-toggle,
    .mobile-menu-overlay,
    .mobile-menu-panel {
    display: none;
  }
}

/* Tablet responsiveness */

@media (width <= 1024px) and (width >= 769px) {
  .nav-container {
    padding: 0 1.5rem;
  }

  .hero-content h1 {
    font-size: 3.5rem;
  }

  .section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .countdown {
    padding: 1.8rem;
  }

  .countdown-number {
    font-size: 2.2rem;
  }

  .story-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .story-card {
    padding: 2.2rem;
    border-radius: 18px;
  }

  .story-card h3 {
    font-size: 1.8rem;
  }

  .details-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .detail-card {
    padding: 2.7rem;
    border-radius: 18px;
  }

  .detail-card h3 {
    font-size: 1.8rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .registry-links {
    gap: 1.8rem;
  }
}

/* Small mobile devices */

@media (width <= 480px) {
  .nav-container {
    padding: 0 0.8rem;
  }

  .hero-content h1 {
    font-size: 4rem;
  }

  .logo {
    font-size: 1.5rem;
  }

  .hero {
    padding: 0.8rem;
  }

  .hero-content .date {
    font-size: 1rem;
  }

  .countdown {
    padding: 1rem;
    margin-top: 1rem;
  }

  .countdown-item {
    margin: 0 0.3rem;
  }

  .countdown-number {
    font-size: 1.8rem;
  }

  .countdown-label {
    font-size: 0.7rem;
  }

  .section {
    font-size: 3rem ;
    padding: 2rem 0;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }

  .section-title {
    font-size: 2.8rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  .story-card {
    padding: 1.5rem;
    border-radius: 14px;
  }

  .story-card h3 {
    font-size: 1.4rem;
  }

  .story-card p {
    font-size: 0.95rem;
  }

  .detail-card {
    padding: 2rem;
    border-radius: 14px;
  }

  .detail-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
  }

  .detail-item {
    font-size: 0.95rem;
  }

  .rsvp-form {
    padding: 1.5rem 1rem;
    margin: 0 0.5rem;
  }

  .btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.5rem;
  }

  .registry-link {
    padding: 1.2rem;
  }

  .registry-link h3 {
    font-size: 1.3rem;
  }

  .footer-content h3 {
    font-size: 1.3rem;
  }

  .contact-info {
    font-size: 0.9rem;
  }
}

/* Very small screens */

@media (width <= 360px) {
  .countdown-item {
    display: block;
    margin: 0.5rem 0;
  }

  .countdown {
    padding: 0.8rem;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Apple-style scroll animations */

.animate-element {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: var(--animation-delay, 0s);
}

.animate-element.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* UNUSED: Animation styles for elements that don't exist */

/* .story-card.animate-element {
    transform: translateY(80px) scale(0.9);
    opacity: 0;
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.story-card.animate-element.animate-in {
    transform: translateY(0) scale(1);
    opacity: 1;
} */

.detail-card.animate-element {
  transform: translateY(60px) scale(0.9);
  opacity: 0;
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.detail-card.animate-element.animate-in {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* UNUSED: Registry animations */

/* .registry-link.animate-element {
    transform: translateY(40px) scale(0.9);
    opacity: 0;
}

.registry-link.animate-element.animate-in {
    transform: translateY(0) scale(1);
    opacity: 1;
} */

.gallery-item.animate-element {
  transform: translateY(30px) scale(0.8);
  opacity: 0;
}

.gallery-item.animate-element.animate-in {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.countdown.animate-element {
  transform: translateY(50px) scale(0.9);
  opacity: 0;
}

.countdown.animate-element.animate-in {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Section titles special animation */

.section-title {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: 0.1s;
}

.section.animate-in .section-title {
  opacity: 1;
  transform: translateY(0);
}

.section-subtitle {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: 0.2s;
}

.section.animate-in .section-subtitle {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced hover effects with animations */

.registry-link {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgb(0 0 0 / 15%);
}

/* Smooth transitions for mobile menu */

.mobile-nav-links li {
  transform: translateX(30px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-menu-panel.active .mobile-nav-links li {
  transform: translateX(0);
  opacity: 1;
}

/* Reduce motion for users who prefer it */

@media (prefers-reduced-motion: reduce) {
  .animate-element,
    .section-title,
    .section-subtitle,
    .mobile-nav-links li {
    transition: none;
    transform: none;
    opacity: 1;
  }

  .animate-element.animate-in {
    transform: none;
  }
}

/* Performance optimization for animations */

.animate-element {
  will-change: transform, opacity;
}

.animate-element.animate-in {
  will-change: auto;
}

.gallery-item.animate-element {
  opacity: 0;
  transform: translateY(60px) scale(0.92) rotateX(8deg);
  filter: blur(6px) brightness(0.96);
  box-shadow: 0 8px 32px 0 rgb(212 165 116 / 10%), 0 1.5px 8px 0 rgb(0 0 0 / 8%);
  transition:
        opacity 0.9s cubic-bezier(.22,1,.36,1),
        transform 0.9s cubic-bezier(.22,1,.36,1),
        filter 0.9s cubic-bezier(.22,1,.36,1),
        box-shadow 0.9s cubic-bezier(.22,1,.36,1);
  transition-delay: var(--animation-delay, 0s);
  will-change: opacity, transform, filter, box-shadow;
}

.gallery-item.animate-element.animate-in {
  opacity: 1;
  transform: translateY(0) scale(1) rotateX(0deg);
  filter: blur(0) brightness(1);
  box-shadow: 0 8px 32px 0 rgb(212 165 116 / 18%), 0 2px 16px 0 rgb(0 0 0 / 10%);
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.03) rotateX(0deg) !important;
  box-shadow: 0 16px 48px 0 rgb(212 165 116 / 22%), 0 4px 24px 0 rgb(0 0 0 / 13%);
  filter: brightness(1.04);
  z-index: 2;
}

.wedding-date {
  display: inline-block;
  font-family: 'Dancing Script', cursive;
  font-size: 2.6rem;
  color: var(--primary-color);
  background: linear-gradient(90deg, #f7f1e8 60%, #fffbe9 100%);
  padding: 0.3em 1.2em;
  border-radius: 2em;
  box-shadow: 0 2px 16px 0 rgb(212, 165, 116 / 10%);
  letter-spacing: 0.08em;
  font-variant: small-caps;
  font-weight: bold;
  margin-bottom: 1.5rem;
  border: 1.5px solid #e9d8c3;
  transition: box-shadow 0.4s cubic-bezier(.22,1,.36,1), background 0.4s cubic-bezier(.22,1,.36,1);
  animation: fade-in-date 1.2s cubic-bezier(.22,1,.36,1) 0.3s both;
}

@keyframes fade-in-date {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
    filter: blur(2px);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

#back-to-top {
  display: none;
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1000;
  background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 248, 248, 0.92) 30%, 
        rgba(255, 255, 255, 0.88) 70%, 
        rgba(250, 250, 250, 0.9) 100%);
  border: 1px solid rgba(122, 139, 122, 0.3);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  box-shadow: 
        0 4px 20px 0 rgba(122, 139, 122, 0.25), 
        0 1px 6px 0 rgba(0,0,0,0.12),
        inset 0 0.5px 0 rgba(255,255,255,0.4);
  cursor: pointer;
  transition: 
        transform 0.25s cubic-bezier(.4,1.6,.6,1), 
        box-shadow 0.25s cubic-bezier(.25,.46,.45,.94),
        background 0.25s ease,
        border-color 0.25s ease;
  padding: 0;
  outline: none;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  animation: gentle-pulse 4s ease-in-out infinite;
  overflow: hidden;
}

.section-divider svg {
  display: block;
  width: 100%;
  height: 80px;
}

#back-to-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transform: rotate(0deg);
  transition: opacity 0.3s ease, transform 0.6s ease;
}

#back-to-top::after {
  content: '';
  position: absolute;
  top: -1.5px;
  left: -1.5px;
  right: -1.5px;
  bottom: -1.5px;
  border-radius: 50%;
  background: linear-gradient(45deg, 
        rgba(140, 160, 140, 0.6), 
        rgba(95, 115, 95, 0.7), 
        rgba(122, 139, 122, 0.65),
        rgba(140, 160, 140, 0.6));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.25s ease;
  animation: rotate-border 5s linear infinite;
}

@keyframes gentle-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 
            0 4px 20px 0 rgba(122, 139, 122, 0.25), 
            0 1px 6px 0 rgba(0,0,0,0.12),
            inset 0 0.5px 0 rgba(255,255,255,0.4);
  }

  50% {
    transform: scale(1.02);
    box-shadow: 
            0 6px 24px 0 rgba(122, 139, 122, 0.3), 
            0 2px 8px 0 rgba(0,0,0,0.15),
            inset 0 0.5px 0 rgba(255,255,255,0.5);
  }
}

@keyframes rotate-border {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

#back-to-top svg {
  display: block;
  margin: auto;
  transition: 
        transform 0.25s cubic-bezier(.4,1.6,.6,1),
        filter 0.25s ease;
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 0.5px 1px rgba(0,0,0,0.15));
  z-index: 2;
  position: relative;
  color: rgba(255, 255, 255, 0.95);
}

#back-to-top:hover, #back-to-top:focus {
  transform: translateY(-6px) scale(1.08);
  box-shadow: 
        0 12px 36px 0 rgba(122, 139, 122, 0.4), 
        0 4px 16px 0 rgba(0,0,0,0.18),
        inset 0 0.5px 0 rgba(255,255,255,0.6);
  background: linear-gradient(135deg, 
        rgba(140, 160, 140, 0.95) 0%, 
        rgba(108, 128, 108, 0.97) 30%, 
        rgba(122, 139, 122, 0.93) 70%, 
        rgba(155, 175, 155, 0.95) 100%);
  border-color: rgba(255, 255, 255, 0.5);
  animation: none;
}

#back-to-top:hover::before, #back-to-top:focus::before {
  opacity: 1;
  transform: rotate(180deg);
}

#back-to-top:hover::after, #back-to-top:focus::after {
  opacity: 0.4;
}

#back-to-top:hover svg, #back-to-top:focus svg {
  transform: translateY(-1px) scale(1.05);
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.25));
  color: rgba(255, 255, 255, 1);
}

#back-to-top:active {
  transform: translateY(-3px) scale(1.03);
  transition-duration: 0.1s;
}

@media (width <= 600px) {
  .section-divider svg {
    padding-top: 2.5rem;
  }

  #back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  #back-to-top svg {
    width: 22px;
    height: 22px;
  }

  #back-to-top {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
  }

  #back-to-top svg {
    width: 20px;
    height: 20px;
  }
}

/* Modern gradient background for event-details and gallery */

.modern-section {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding-left: 0 !important;
  padding-right: 0 !important;
  background: linear-gradient(135deg, #F8F4E8 0%, #F2E8E0 100%);
  box-shadow: 0 8px 32px 0 rgba(212, 165, 116, 7%);
  overflow: hidden;
}

/* Center content inside modern-section */

.modern-section > .details-grid,
.modern-section > .gallery-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Wavy divider styling */

.section-divider {
  width: 100%;
  line-height: 0;
  position: absolute;
  left: 0;
  z-index: 2;
}

.section-divider:not(.top-divider) {
  bottom: 0;
}

.section-divider.top-divider {
  top: 0;
  transform: scaleY(-1) scaleX(-1);
}

/* Calendar Button Hover Effect */

button.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(122, 139, 122, 0.3);
}

button.btn:active {
  transform: translateY(0);
}

/* Additional styles moved from index.html */

/* Navigation transition for smooth hiding */

nav {
  transition: transform 0.3s ease-in-out;
}

/* Lightbox transitions */

#lightbox {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

#lightbox:not(.hidden) {
  opacity: 1;
}

/* Smooth image loading */

#lightbox-img {
  transition: opacity 0.2s ease-in-out;
}

/* Allow parallax on mobile when enabled via JavaScript */

@media (width <= 768px) {
  .hero-content.parallax-enabled {
    transform: none;
    /* Remove !important to allow JS override */
    opacity: 1;
    /* Remove !important to allow JS override */
  }
}

/* Font Awesome icon styling for event details */

.detail-item i {
  color: #7A8B7A;
  margin-right: 0.75rem;
  width: 1.2em;
  text-align: center;
}

/* RSVP button styling to match the design */

.btn:hover {
  background-color: #D4C7BA !important;
  border-color: #D4C7BA !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 165, 116, 0.3);
}

/* Timeline Section */

.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-container::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--primary-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  border-radius: 2px;
}

.timeline-item {
  padding: 1rem 2rem;
  position: relative;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
  padding-right: 4rem;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 4rem;
  text-align: left;
}

.timeline-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 1;
  border: 3px solid var(--accent-color);
}

.timeline-item:nth-child(odd) .timeline-icon {
  right: -25px;
}

.timeline-item:nth-child(even) .timeline-icon {
  left: -25px;
}

.timeline-content {
  padding: 1.5rem;
  background-color: var(--white);
  border-radius: 15px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-hover-shadow);
}

.timeline-title {
  font-family: 'Dancing Script', cursive;
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.timeline-time {
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .timeline-time {
    font-size: 1rem;
  }

  .timeline-description {
    color: var(--text-light);
    font-size: 1rem;
  }
}

.timeline-description {
  color: var(--text-light);
  line-height: 1.5;
}

.timeline-dress-code {
  margin-top: 0.5rem;
  font-style: italic;
  color: var(--text-light);
}

/* Responsive Timeline */

@media screen and (max-width: 768px) {
  /* Hide carousel indicators on mobile */

  #carousel-indicators {
    display: none;
  }

  .timeline-container::after {
    left: 31px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
    left: 0;
    text-align: left;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-icon {
    left: 15px !important;
    /* Use !important to override inline styles if any */
    right: auto !important;
  }
}

.details-list {
  list-style: none;
  padding-left: 0;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.2rem;
  color: var(--text-light);
  font-size: 1.05rem;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

.detail-item .icon {
  color: var(--primary-color);
  margin-right: 1rem;
  margin-top: 0.25rem;
  width: 20px;
  /* Ensure icons are aligned */
  text-align: center;
}

.detail-card:hover .detail-item {
  color: var(--text-dark);
}

.detail-item strong {
  color: var(--text-dark);
  font-weight: 600;
}

.detail-item a {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 600;
  transition: all 0.3s ease;
}

.detail-item a:hover {
  color: #6a7a6a;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  cursor: pointer;
}

.detail-card:active {
  transform: translateY(-4px) scale(1.01);
  transition: all 0.1s ease;
}

/* Language Switcher with Flags */

.language-switcher {
  display: flex;
  gap: 0.5rem;
  margin-left: 1rem;
}

.mobile-language-switcher {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(122, 139, 122, 0.2);
  margin-top: 2rem;
}

.mobile-language-switcher .lang-btn {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 0.5rem;
  padding: 0.8rem 1rem;
  text-align: left;
  justify-content: flex-start;
  gap: 0.75rem;
}

.lang-btn {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  min-width: 44px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.flag-icon {
  width: 18px;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  /* Fallback for when image fails to load */
  background: var(--primary-color);
  color: transparent;
}

.flag-icon:hover {
  transform: scale(1.1);
}

/* Hide flag on very small screens or when images fail */

@media (max-width: 360px) {
  .flag-icon {
    display: none;
  }
}

/* Fallback styling when image fails to load */

.flag-icon:not([src]),
.flag-icon[src=""],
.flag-icon[src*="error"] {
  display: none;
}

/* When flag fails, show text prominently */

.lang-btn .flag-icon:not([src]) + .lang-text,
.lang-btn .flag-icon[src=""] + .lang-text,
.lang-btn .flag-icon[src*="error"] + .lang-text {
  font-weight: 700;
  font-size: 1rem;
}

.lang-text {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.mobile-language-switcher .lang-text {
  font-size: 1rem;
  font-weight: 500;
}

.lang-btn:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.lang-btn:hover .flag-icon {
  transform: scale(1.1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.lang-btn.active {
  background: var(--primary-color);
  color: var(--white);
}

.lang-btn.active .flag-icon {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Mobile responsive adjustments */

@media (max-width: 768px) {
  .language-switcher {
    display: none;
  }
}

@media (min-width: 769px) {
  .mobile-language-switcher {
    display: none;
  }
}

/* High contrast mode support */

@media (prefers-contrast: high) {
  .flag-icon {
    border: 1px solid var(--text-dark);
  }
}

/* Reduced motion support */

@media (prefers-reduced-motion: reduce) {
  .flag-icon,
    .lang-btn {
    transition: none;
  }

  .lang-btn:hover .flag-icon {
    transform: none;
  }
}

.flag-icon {
  width: 18px;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  /* Fallback for when image fails to load */
  background: var(--primary-color);
  color: transparent;
}

/* Flag hover effect */

.flag-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Flag click/active effect */

.flag-icon:active {
  transform: scale(1.1);
  transition: transform 0.1s ease;
}

/* Parent button hover effect (applies to flag) */

.lang-btn:hover .flag-icon {
  transform: scale(1.1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Parent button active effect (applies to flag) */

.lang-btn:active .flag-icon {
  transform: scale(1.1);
  transition: transform 0.1s ease;
}

/* Touch devices - more responsive feedback */

@media (hover: none) and (pointer: coarse) {
  .lang-btn:active .flag-icon {
    transform: scale(1.1);
    transition: transform 0.15s ease;
  }

  .flag-icon:active {
    transform: scale(1.1);
    transition: transform 0.15s ease;
  }
}

/* Focus effect for accessibility */

.lang-btn:focus .flag-icon {
  transform: scale(1.1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Reduced motion preferences */

@media (prefers-reduced-motion: reduce) {
  .flag-icon,
    .lang-btn .flag-icon {
    transition: none !important;
  }

  .lang-btn:hover .flag-icon,
    .lang-btn:active .flag-icon,
    .flag-icon:hover,
    .flag-icon:active {
    transform: none !important;
  }
}

/* Language Dropdown */

.language-switcher {
  display: flex;
  margin-left: 1rem;
  position: relative;
}

.lang-dropdown {
  position: relative;
  display: inline-block;
}

.lang-dropdown-btn {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  /* min-width: 80px; */
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: space-between;
  position: relative;
}

.lang-dropdown-btn:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.lang-dropdown-btn:hover .flag-icon {
  transform: scale(1.1);
}

.lang-dropdown-btn.active {
  background: var(--primary-color);
  color: var(--white);
}

.dropdown-arrow {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.lang-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 2px solid var(--primary-color);
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  overflow: hidden;
}

.lang-dropdown.open .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown-item {
  width: 100%;
  background: transparent;
  border: none;
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-dark);
  text-align: left;
}

.lang-dropdown-item:hover {
  background: rgba(122, 139, 122, 0.1);
  color: var(--primary-color);
}

.lang-dropdown-item:hover .flag-icon {
  transform: scale(1.1);
}

.lang-dropdown-item.active {
  background: rgba(122, 139, 122, 0.15);
  color: var(--primary-color);
  font-weight: 600;
}

.lang-dropdown-item + .lang-dropdown-item {
  border-top: 1px solid rgba(122, 139, 122, 0.15);
}

.flag-icon {
  width: 18px;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.lang-text {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Mobile keeps the original style */

.mobile-language-switcher {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(122, 139, 122, 0.2);
  margin-top: 2rem;
}

.mobile-language-switcher .lang-btn {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 0.5rem;
  padding: 0.8rem 1rem;
  text-align: left;
  justify-content: flex-start;
  gap: 0.75rem;
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.mobile-language-switcher .lang-btn:hover {
  background: var(--primary-color);
  color: var(--white);
}

.mobile-language-switcher .lang-btn.active {
  background: var(--primary-color);
  color: var(--white);
}

/* Responsive behavior */

@media (max-width: 768px) {
  .language-switcher {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.8rem;
  }

  .hero-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    min-width: 140px;
  }

  .scroll-down-arrow {
    bottom: 1rem;
  }

  .scroll-down-arrow a {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

@media (min-width: 769px) {
  .mobile-language-switcher {
    display: none;
  }
}

/* Click outside to close */

.lang-dropdown-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  display: none;
}

.lang-dropdown.open ~ .lang-dropdown-overlay {
  display: block;
}

/* Accessibility and reduced motion */

@media (prefers-reduced-motion: reduce) {
  .lang-dropdown-btn,
    .lang-dropdown-menu,
    .dropdown-arrow,
    .flag-icon {
    transition: none !important;
  }
}

/* Focus styles for accessibility */

.lang-dropdown-btn:focus,
.lang-dropdown-item:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.lang-icon {
  font-size: 16px;
  color: currentColor;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

/* Globe icon hover effects */

.lang-dropdown-btn:hover .lang-icon,
.lang-dropdown-item:hover .lang-icon,
.lang-btn:hover .lang-icon {
  transform: scale(1.1) rotate(15deg);
}

.lang-dropdown-btn:active .lang-icon,
.lang-dropdown-item:active .lang-icon,
.lang-btn:active .lang-icon {
  transform: scale(1.1) rotate(15deg);
  transition: transform 0.15s ease;
}

/* Current language icon in button */

#currentLangIcon {
  font-size: 16px;
  color: currentColor;
  transition: all 0.3s ease;
}

.lang-dropdown-btn:hover #currentLangIcon {
  transform: scale(1.1) rotate(15deg);
}

/* Mobile language switcher icons */

.mobile-language-switcher .lang-icon {
  font-size: 18px;
}

/* Touch devices - more responsive feedback */

@media (hover: none) and (pointer: coarse) {
  .lang-btn:active .lang-icon,
    .lang-dropdown-item:active .lang-icon {
    transform: scale(1.1) rotate(15deg);
    transition: transform 0.15s ease;
  }
}

/* Focus effect for accessibility */

.lang-dropdown-btn:focus .lang-icon,
.lang-dropdown-item:focus .lang-icon,
.lang-btn:focus .lang-icon {
  transform: scale(1.1) rotate(15deg);
}

/* Reduced motion preferences */

@media (prefers-reduced-motion: reduce) {
  .lang-icon,
    #currentLangIcon {
    transition: none !important;
  }

  .lang-dropdown-btn:hover .lang-icon,
    .lang-dropdown-item:hover .lang-icon,
    .lang-btn:hover .lang-icon,
    .lang-dropdown-btn:focus .lang-icon,
    .lang-dropdown-item:focus .lang-icon,
    .lang-btn:focus .lang-icon {
    transform: none !important;
  }
}

/* Remove old flag-icon styles and add color variations if desired */

.lang-dropdown-item.active .lang-icon {
  color: var(--primary-color);
}

.lang-btn.active .lang-icon {
  color: currentColor;
}

.hotel-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hotel-popup.hidden {
  display: none;
}

.hotel-popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  pointer-events: all;
}

.hotel-popup-content {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  animation: popupIn 0.3s ease forwards;
  pointer-events: all;
  z-index: 1001;
}

.hotel-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(122, 139, 122, 0.1);
}

.hotel-popup-header h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  font-family: 'Dancing Script', cursive;
}

.hotel-popup-close {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.hotel-popup-close:hover {
  background: rgba(122, 139, 122, 0.1);
  color: var(--primary-color);
}

.hotel-popup-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hotel-popup-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(122, 139, 122, 0.05);
  border: 2px solid rgba(122, 139, 122, 0.1);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: all 0.3s ease;
}

.hotel-popup-link:hover {
  background: rgba(122, 139, 122, 0.1);
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.hotel-popup-link svg {
  flex-shrink: 0;
  color: var(--primary-color);
}

@keyframes popupIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Mobile navigation controls */

.mobile-nav-controls {
  display: none;
}

@media (width <= 768px) {
  .mobile-nav-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
}

.hover\:scale-110:hover {
  --tw-scale-x: 1.1;
  --tw-scale-y: 1.1;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:bg-primary:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(122 139 122 / var(--tw-bg-opacity, 1));
}

.hover\:bg-white:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

.hover\:bg-opacity-70:hover {
  --tw-bg-opacity: 0.7;
}

.hover\:text-gray-300:hover {
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity, 1));
}

.hover\:underline:hover {
  text-decoration-line: underline;
}

.hover\:opacity-100:hover {
  opacity: 1;
}

.group:hover .group-hover\:bg-opacity-30 {
  --tw-bg-opacity: 0.3;
}

.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}

@media (min-width: 768px) {
  .md\:block {
    display: block;
  }

  .md\:hidden {
    display: none;
  }

  .md\:h-6 {
    height: 1.5rem;
  }

  .md\:h-8 {
    height: 2rem;
  }

  .md\:h-80 {
    height: 20rem;
  }

  .md\:w-1\/3 {
    width: 33.333333%;
  }

  .md\:w-6 {
    width: 1.5rem;
  }

  .md\:w-8 {
    width: 2rem;
  }

  .md\:flex-row {
    flex-direction: row;
  }

  .md\:p-8 {
    padding: 2rem;
  }

  .md\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }

  .md\:text-base {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}
