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

/* Palette variables */
:root {
  --color-primary: #00748A; /* Deep Teal */
  --color-accent-blush: #F8D7DA; /* Soft Blush Pink */
  --color-accent-champagne: #EADBC8; /* Warm Champagne */
  --color-accent-gold: #D4AF37; /* Gold Accent */
  --color-bg: #FAF9F6; /* Ivory White */
  --color-ivory: #FAF9F6; /* alias */
  --color-white: #FFFFFF;
  --color-text: #2E2E2E; /* Charcoal */
  --color-charcoal: #2E2E2E; /* alias */
  --color-warm-gray: #6E6E6E; /* Warm Gray */
}

/* Body and base */
body, html {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Custom vertical scrollbar for the whole page */
body {
  scrollbar-width: thin;
  scrollbar-color: var(--color-accent-gold) var(--color-charcoal);
}

/* Chrome, Edge, Safari */
body::-webkit-scrollbar {
  width: 12px;
  background: var(--color-charcoal);
}

body::-webkit-scrollbar-thumb {
  background: var(--color-accent-gold);
  border-radius: 6px;
  border: 2px solid var(--color-charcoal);
}

/* Header & nav */
header {
  background: rgba(0, 116, 138, 0.85); /* Deep Teal overlay */
  padding: 1rem 0;
  position: relative;
  z-index: 10;
  text-align: center;
}

nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

nav a {
  background: var(--color-primary);
  color: var(--color-ivory);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
}

nav a:hover {
  background: #005E6E; /* darker teal */
  color: var(--color-white);
}

/* Language switcher styles */
.lang-switcher {
  display: flex;
  align-items: center;
}

.lang-switcher a {
  background: var(--color-accent-gold) !important;
  color: var(--color-charcoal) !important;
  border-radius: 8px;
  padding: 0.6rem 1.2rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.12);
}

.lang-switcher a:hover {
  background: #B8902C !important;
  color: var(--color-white) !important;
}

/* Main content area */
.content {
  position: relative;
  max-width: 800px;
  margin: 3rem auto 4rem;
  padding: 0 1rem;
  text-align: center;
  z-index: 5;
}

/* Text content sections */
.text-content {
  background: var(--color-white);
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  text-align: left;
  border: 1px solid var(--color-accent-champagne);
}

.text-content h2 {
  margin-bottom: 0.8rem;
  color: var(--color-primary);
}

/* Hotel ad styling */
.hotel-ad {
  background-color: var(--color-white);
  border: 2px solid var(--color-accent-gold);
}

.hotel-ad a {
  display: inline-block;
  margin-top: 1rem;
  background-color: var(--color-accent-gold);
  color: var(--color-charcoal);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease;
}

.hotel-ad a:hover {
  background-color: #B8902C; /* darker gold */
}

/* Form styling */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form label {
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--color-primary);
}

form input,
form select,
form textarea {
  padding: 0.8rem;
  border: 1px solid var(--color-warm-gray);
  border-radius: 8px;
  background-color: var(--color-white);
  color: var(--color-text);
  font-size: 1rem;
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.2s ease;
}

form input:focus,
form select:focus,
form textarea:focus {
  outline: none;
  border-color: var(--color-accent-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
  background-color: var(--color-white);
}

form input::placeholder,
form textarea::placeholder {
  color: var(--color-warm-gray);
}

form select option {
  background-color: var(--color-white);
  color: var(--color-text);
}

form button {
  background-color: var(--color-accent-gold);
  color: var(--color-charcoal);
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 1rem;
}

form button:hover {
  background-color: #B8902C;
  transform: translateY(-2px);
}

form button:active {
  transform: translateY(0);
}

/* Enhanced content styling */
.hero-section {
  text-align: center;
  padding: 3rem 0;
}

.hero-section h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  text-shadow: none;
}

.date-location {
  background: linear-gradient(135deg, rgba(234, 219, 200, 0.5), rgba(248, 215, 218, 0.35)); /* champagne to blush */
  border: 2px solid var(--color-accent-gold);
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
}

.date-location .date {
  font-size: 2rem;
  font-weight: bold;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.date-location .location {
  font-size: 1.3rem;
  color: var(--color-text);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.info-card {
  background: var(--color-white);
  width: 100%;
  max-width: 80%;
  min-height: 220px;
  box-sizing: border-box;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border: 1px solid var(--color-accent-champagne);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  grid-column: 1 / -1;
  margin: 0 auto;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 116, 138, 0.25);
}

.info-card h3 {
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-card .icon {
  font-size: 1.8rem;
}

.transport-options {
  list-style: none;
  padding: 0;
}

.transport-options li {
  background: rgba(248, 215, 218, 0.35); /* blush */
  margin: 0.5rem 0;
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid var(--color-accent-gold);
}

.cta-section {
  background: linear-gradient(135deg, rgba(234, 219, 200, 0.6), rgba(248, 215, 218, 0.4));
  border-radius: 15px;
  padding: 2.5rem;
  text-align: center;
  margin: 2rem 0;
}

.cta-button {
  display: inline-block;
  background: var(--color-accent-gold);
  color: var(--color-charcoal);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 1rem 0.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 116, 138, 0.25);
  background: #B8902C;
}

.highlight {
  background: linear-gradient(135deg, rgba(248, 215, 218, 0.6), rgba(234, 219, 200, 0.4));
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  color: var(--color-primary);
  font-weight: bold;
}

/* Form enhancements */
.form-section {
  background: var(--color-white);
  border: 1px solid var(--color-accent-champagne);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.form-section:hover {
  border-color: rgba(234, 219, 200, 0.8);
  background: var(--color-ivory);
}

.form-section h2 {
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(234, 219, 200, 0.8);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-section h2:before {
  content: "📋";
  font-size: 1.2rem;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
  font-size: 1rem;
}

.guests-container {
  margin-top: 1.5rem;
}

.guests-header {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(248, 215, 218, 0.5), rgba(234, 219, 200, 0.4));
  border-radius: 10px;
  border: 1px solid var(--color-accent-champagne);
}

.guests-header h3 {
  color: var(--color-primary);
  font-size: 1.3rem;
  margin: 0;
}

.guest-field-group {
  background: linear-gradient(135deg, rgba(234, 219, 200, 0.35), rgba(248, 215, 218, 0.25));
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--color-accent-champagne);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.guest-field-group:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 116, 138, 0.15);
  border-color: rgba(234, 219, 200, 0.9);
}

.guest-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(234, 219, 200, 0.8);
}

.guest-header h4 {
  color: var(--color-primary);
  font-size: 1.2rem;
  margin: 0;
}

.guest-number {
  background: rgba(248, 215, 218, 0.6);
  color: var(--color-primary);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.guest-inputs {
  display: grid;
  gap: 1rem;
}

.guests-summary {
  background: linear-gradient(135deg, rgba(248, 215, 218, 0.5), rgba(234, 219, 200, 0.35));
  border: 2px solid var(--color-accent-champagne);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
  text-align: center;
}

.summary-content h4 {
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.summary-content p {
  margin: 0.5rem 0;
  color: var(--color-text);
}

.summary-note {
  font-style: italic;
  color: var(--color-warm-gray);
  font-size: 0.9rem;
}

.submit-btn {
  background: var(--color-accent-gold);
  color: var(--color-charcoal);
  padding: 1.2rem 3rem;
  border: none;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 2rem auto 0;
  display: block;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 116, 138, 0.25);
  background: #B8902C;
}

.submit-btn:active {
  transform: translateY(-1px);
}

/* Vertical slider bar (desktop only) */
.vertical-slider {
  position: fixed;
  top: 0;
  right: 0;
  width: 18px;
  height: 100vh;
  background: rgba(248, 215, 218, 0.35);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.vertical-slider-bar {
  width: 8px;
  height: 80%;
  background: linear-gradient(180deg, #EADBC8 0%, #F8D7DA 100%);
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  position: relative;
}

.vertical-slider-thumb {
  position: absolute;
  left: 0;
  width: 100%;
  height: 40px;
  background: var(--color-accent-gold);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
  cursor: pointer;
  transition: top 0.2s;
  pointer-events: auto;
}

/* Hide vertical slider on mobile */
@media (max-width: 768px) {
  .vertical-slider {
    display: none;
  }
}

/* Custom Scrollbar for index page only */
.index-page {
  scrollbar-width: thin;
  scrollbar-color: var(--color-accent-gold) var(--color-charcoal);
}

.index-page::-webkit-scrollbar {
  width: 12px;
  background-color: var(--color-charcoal);
}

.index-page::-webkit-scrollbar-thumb {
  background-color: var(--color-accent-gold);
  border-radius: 6px;
  border: 2px solid var(--color-charcoal);
}

/* Force grid to center and add responsive padding */
.info-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem; /* space between cards */
  margin: 2rem 0;
}

/* Make the video smaller and responsive */
.video-wrapper video {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.carousel-img {
  width: 320px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.carousel-btn {
  background: #f3f3f3;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.2s;
}

.carousel-btn:hover {
  background: #e0e0e0;
}

/* Add to styles.css */
.button, .info-btn {
  display: inline-block;
  padding: 0.7em 1.5em;
  background: var(--color-accent-gold);
  color: var(--color-charcoal);
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  transition: background 0.2s;
  cursor: pointer;
  max-width: 10rem;
  margin-top: 1rem;
}

.button:hover, .info-btn:hover {
  background: #B8902C;
  color: var(--color-charcoal);
}

/* Lite YouTube embed for better mobile experience */
.video-card { grid-column: 1 / -1; width: 100%; max-width: 80%; }
.video-card .section-inner { width: 100%; max-width: 900px; margin: 0 auto; position: relative; }

.yt-lite {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  cursor: pointer;
}
.yt-lite::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.18));
  opacity: 0;
  transition: opacity .2s ease;
  z-index: 1;
}
.yt-lite:hover::before { opacity: .1; }
.yt-lite.loaded { cursor: default; }
.yt-lite.loaded::before { opacity: 0; pointer-events: none; }

.yt-lite .lty-playbtn {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  z-index: 2;
}
.yt-lite .lty-playbtn svg { width: 32px; height: 32px; fill: #fff; }

/* On larger screens, limit the video card width for nicer layout */
@media (min-width: 900px) {
  .video-card, .info-card { max-width: 80%; }
}

@media (max-width: 600px) {
  .yt-lite .lty-playbtn { width: 56px; height: 56px; }
  .yt-lite .lty-playbtn svg { width: 24px; height: 24px; }
}

/* Fullscreen play overlay for YouTube iframe */
.fs-play-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  z-index: 3;
}
.fs-play-overlay:focus-visible {
  outline: 3px solid var(--color-accent-gold);
  outline-offset: 2px;
}


/* Footer */
.site-footer {
  background: var(--color-primary);
  color: var(--color-ivory);
  padding: 1rem;
  text-align: center;
  margin-top: 3rem;
}
.site-footer a {
  color: var(--color-ivory);
  text-decoration: underline;
}
.site-footer a:hover {
  color: #FFFFFF;
  text-decoration: none;
}
