/*
  style.css - Main stylesheet for Selfie Vibez Website
  ---------------------------------------------------
  This file contains all global and page-specific styles for the website.
  Comments are added before each major section or rule to explain its purpose.
*/

/* --- Heading Styles --- */
/* Styles for headings using the Rock Salt font, used on all pages for main headings */
.rock-salt-heading {
  font-family: 'Rock Salt', cursive, Arial, sans-serif !important;
  letter-spacing: 1.5px;
  font-size: 2rem;
  color: #222;
}

/* --- Hero Banner Styles (Home Page) --- */
/* Styles for the large banner at the top of the home page */
.hero-banner {
  position: relative;
  width: 100vw;
  min-width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  min-height: 340px;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  overflow: hidden;
  margin-top: 0;
  box-sizing: border-box;
}
/* Background image for the hero banner */
.hero-banner-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url('Images/Banner No Logo.png') center center/cover no-repeat;
  z-index: 0;
  filter: brightness(0.85) saturate(1.1);
}
/* Content inside the hero banner (logo, text, buttons) */
.hero-banner-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1 1 0;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem 2.5rem 2.5rem 2.5rem;
  min-height: 340px;
}
/* Text block in the hero banner */
.hero-banner-text {
  color: #fff;
  text-shadow: 0 2px 16px rgba(44,44,44,0.18);
  max-width: 520px;
}
.hero-banner-text h2 {
  font-family: 'Rock Salt', cursive, Arial, sans-serif;
  font-size: 2rem;
  margin-bottom: 0.7rem;
  color: #fff;
  letter-spacing: 1.5px;
}
.hero-banner-text p {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0;
}
/* Call-to-action buttons in the hero banner */
.hero-banner-cta {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  align-items: flex-end;
}
/* Primary button style */
.banner-btn {
  padding: 0.85rem 2.2rem;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 30px;
  background: linear-gradient(90deg, #ffb347 0%, #ff6f91 100%);
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px rgba(255,183,71,0.10);
  margin: 0 0.5rem 0 0;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, border 0.2s;
  outline: none;
  cursor: pointer;
  min-width: 150px;
  text-align: center;
}
/* Secondary button style */
.banner-btn-secondary {
  background: #fff;
  color: var(--SV_Green, #00c48c);
  border: 2px solid var(--SV_Green, #00c48c);
  box-shadow: 0 2px 8px rgba(0,196,140,0.10);
}
/* Button hover and focus effects */
.banner-btn:hover, .banner-btn:focus {
  background: linear-gradient(90deg, #f1eff0 0%, #46423c 100%);
  color: #fff;
}
.banner-btn-secondary:hover, .banner-btn-secondary:focus {
  background: var(--SV_Green, #00c48c);
  color: #fff;
}
/* Responsive styles for smaller screens */
@media (max-width: 900px) {
  .hero-banner-content {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem 1rem;
    min-height: 260px;
  }
  .hero-banner-cta {
    flex-direction: row;
    gap: 1rem;
    align-items: flex-end;
    margin-top: 1.2rem;
  }
  .hero-banner-text {
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  .hero-banner {
    min-height: 180px;
  }
  .hero-banner-content {
    min-height: 180px;
    padding: 1.2rem 0.5rem;
  }
  .banner-btn {
    font-size: 1rem;
    padding: 0.65rem 1.2rem;
    min-width: 110px;
  }
}

/* --- Full-width Colored Content Blocks (Home Page) --- */
/* Styles for the stacked info blocks on the home page */
.info-blocks-stacked {
  display: flex;
  flex-direction: column;
  gap: 0;
}
/* Individual info block styles */
.info-block {
  width: 100vw;
  max-width: 100vw;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 2.2rem 0 2.2rem 0;
  box-sizing: border-box;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
/* Remove top border for blocks after the first */
.info-block + .info-block {
  border-top: none;
}
/* Color variations for info blocks */
.info-block-green {
  background: linear-gradient(90deg, #e6fff7 60%, #e6f0ff 100%);
}
.info-block-orange {
  background: linear-gradient(90deg, #fff7e6 60%, #ffe7f7 100%);
}
.info-block-yellow {
  background: linear-gradient(90deg, #fffde6 60%, #fff7e6 100%);
}
.info-block:last-child {
  background: linear-gradient(90deg, #f7e6ff 60%, #e6fff7 100%);
}
/* Responsive adjustments for info blocks */
@media (max-width: 900px) {
  .info-block {
    padding: 1.2rem 0.2rem;
  }
}

/* --- Section Headings --- */
/* Centered headings for sections */
section > h2, section h2 {
  text-align: center;
}

/* --- Navigation Styles --- */
/* Styles for the navigation menu */
nav ul {
  display: flex;
  gap: 0.18rem;              /* Even less space between links */
  align-items: center;
  justify-content: flex-end; /* Push links to the right */
  transition: right 0.3s ease;
  margin-right: 1.5rem;     /* Add right margin for spacing from edge */
}

nav a {
  color: var(--SV_Cream);
  font-size: 0.68rem;
  padding: 0.18rem 0.38rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 22px;
  transition: color 0.2s, background 0.2s;
  display: block;
}
nav a:hover,
nav a:focus {
  color: var(--SV_Green);
  background: rgba(255,255,255,0.08);
}

/* --- Gallery Styles --- */
/* Styles for the gallery section, including grid layout and individual gallery items */
.gallery-block-link {
  text-decoration: none;
  color: inherit;
}
.gallery-block-link h3,
.gallery-block-link .gallery-date {
  text-decoration: none !important;
  color: inherit;
}
.package-price {
  color: var(--SV_Green);
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  margin-top: 0.2rem;
  text-align: center;
  letter-spacing: 1px;
}
/* Gallery Page Styles */
.gallery-hero {
  text-align: center;
  margin: 2.5rem 0 1.5rem 0;
}
.gallery-hero h2 {
  color: var(--SV_Green);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
/* Gallery Event Header: Match Contact Us header color */
.gallery-hero h2.rock-salt-heading {
  color: #222;
}
.gallery-list {
  grid-auto-rows: 1fr;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 320px));
  gap: 2.2rem 2.2rem;
  justify-items: center;
  max-width: 100%;
  margin: 0 0 3rem 0;
  background: none;
  padding: 0 1.5rem 2.5rem 1.5rem;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
  max-width: 1100px;
}

@media (max-width: 900px) {
  .gallery-list {
    grid-template-columns: repeat(2, minmax(0, 320px));
  }
}

@media (max-width: 600px) {
  .gallery-list {
    grid-template-columns: minmax(0, 320px);
    justify-content: center;
  }
}
/* Gallery Block: image on top, title, then date */
.gallery-block {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(44,44,44,0.10);
  padding: 0 0 1.2rem 0;
  min-width: 0;
  max-width: 320px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  height: 100%;
  margin: 0 auto;
  border: none;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.18s, border-color 0.18s, transform 0.18s;
}
.gallery-block:hover, .gallery-block:focus {
  box-shadow: 0 8px 32px rgba(44,44,44,0.13), 0 2px 8px rgba(127,158,140,0.10);
  border-color: var(--SV_Green);
}

@media (hover: hover) and (pointer: fine) {
  .gallery-block:hover, .gallery-block:focus {
    transform: translateY(-4px) scale(1.025);
  }
}
.gallery-block h3 {
  margin: 1.1rem 0 0.3rem 0;
  color: #222;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.2px;
  text-shadow: none;
  line-height: 1.18;
  min-height: 1.8em;
  display: flex;
  align-items: center;
  justify-content: center;
  word-break: break-word;
}
.gallery-date {
  color: #888;
  font-size: 0.98rem;
  text-align: center;
  margin-bottom: 0.2rem;
  margin-top: 0.1rem;
  font-weight: 400;
  letter-spacing: 0.1px;
}
.gallery-images {
  position: relative; /* Ensure stacking context for lock icon */
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  background: #f7f7f7;
  max-width: 320px;
  max-height: 320px;
}
.gallery-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.2s;
}

/* Darken the image slightly on hover/focus of the gallery block */
.gallery-block:hover .gallery-images img,
.gallery-block:focus .gallery-images img {
  filter: brightness(0.75);
}

/* --- Gallery Lock Icon Overlay --- */
.gallery-lock-icon {
  position: absolute;
  top: 0.7em;
  left: 0.7em;
  z-index: 2;
  width: 32px;
  height: 32px;
  pointer-events: none;
  background: none;
  /* Optional: add a subtle shadow for visibility */
  filter: drop-shadow(0 1px 4px rgba(44,44,44,0.12));
}

/* --- Home Info Blocks --- */
/* Styles for the info blocks on the home page, including layout and individual block styles */
.info-blocks {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
  margin: 3rem auto 2rem auto;
  max-width: 700px;
}
.info-block {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(44,44,44,0.10);
  padding: 2.2rem 2rem 2.2rem 2rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
}
.info-block-yellow {
  background: rgba(221, 177, 102, 0.18);
}
.info-block-green {
  background: rgba(127, 158, 140, 0.18);
}
.info-block-orange {
  background: rgba(208, 110, 63, 0.18);
}
.info-blocks-stacked {
  flex-direction: column;
  gap: 2rem;
  max-width: 700px;
  margin: 3rem auto 2rem auto;
}
.info-block h3 {
  margin-top: 0;
  color: var(--SV_DarkGrey);
  font-size: 1.3rem;
}
.info-block ul, .info-block ol {
  margin: 0.5rem 0 0 1.2rem;
  padding: 0;
  color: #333;
  font-size: 1rem;
}
.info-block li {
  margin-bottom: 0.4rem;
}

/* --- Color Variables --- */
/* Define color variables used throughout the site for consistency */
:root {
  --SV_Green: #7f9e8c;
  --SV_Yellow: #ddb166;
  --SV_Orange: #d06e3f;
  --SV_Brown: #a25752;
  --SV_DarkGrey: #2e2e2e;
  --SV_Cream: #e4e2dd;
}

/* --- Banner Section Styles --- */
/* Styles for the banner section, including image and overlay */
.banner-section {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 0 !important;
  margin-bottom: 0;
  padding-top: 0 !important;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(61,28,92,0.10);
  padding-top: 0;
  border-top: 0;
  z-index: 1;
}
.banner-img {
  width: 100vw;
  min-width: 100vw;
  max-width: 100vw;
  display: block;
  border-radius: 0;
  object-fit: cover;
  max-height: 340px;
}
.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: right;
  top: 50%;
  transform: translateY(-50%);
  gap: 1rem;
  padding: 0 3vw 2vw 0;
  background: rgba(61,28,92,0.18);
  pointer-events: none;
}
.banner-btn {
  pointer-events: auto;
  border-radius: 30px;
  padding: 0.85rem 2.2rem;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(255,183,71,0.10);
  margin: 0 0.5rem;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, border 0.2s;
  outline: none;
  border: 2px solid transparent;
  background: linear-gradient(90deg, #ffb347 0%, #ff6f91 100%);
  color: #fff;
}

/* Learn More button: solid SV_Green */
.banner-btn:first-child {
  background: var(--SV_Green);
  color: var(--SV_Cream);
  border: 2px solid var(--SV_Green);
}

/* Book Now button: transparent with SV_Yellow border and text */
.banner-btn:last-child {
  background: var(--SV_Green);
  color: var(--SV_Cream);
  border: 2px solid var(--SV_Green);
  font-weight: bold;
}

.banner-btn:last-child:hover,
.banner-btn:last-child:focus {
  background: var(--SV_DarkGrey);
  color: var(--SV_Cream);
  border-color: var(--SV_DarkGrey);
}

/* Center section headings */
section > h2, section h2 {
  text-align: center;
}
.banner-btn:hover, .banner-btn:focus {
  background: linear-gradient(90deg, #ff6f91 0%, #ffb347 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255,111,145,0.15);
}
@media (max-width: 700px) {
  .banner-section {
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 0;
    border-radius: 0;
  }
  .banner-img {
    border-radius: 0;
    max-height: 180px;
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
  }
  .banner-overlay {
    gap: 1rem;
  }
  .banner-btn {
    padding: 0.65rem 1.2rem;
    font-size: 1rem;
  }
}

/* --- Global Styles --- */
/* Basic global styles for the body, header, footer, and main content */
html {
  height: 100%;
}
body {
  font-family: 'Montserrat', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: var(--SV_Cream);
  color: #3d1c5c;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
header {
  background: var(--SV_DarkGrey);
  color: var(--SV_Cream);
  min-height: 90px;
  padding-top: 0;
  padding-bottom: 0;
  box-shadow: 0 2px 8px rgba(61,28,92,0.08);
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  min-height: 90px;
  padding: 0 1.5rem;
}
.logo {
  height: 48px;
  width: auto;
  display: block;
}
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}
nav {
  position: relative;
}
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.1rem;
  align-items: center;
  transition: right 0.3s ease;
}
.menu-toggle {
  position: relative;
  width: 40px;
  height: 40px;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
.menu-toggle .bar {
  display: block;
  width: 26px;
  height: 4px;
  margin: 4px 0;
  background: var(--SV_Cream) !important;
  border-radius: 2px;
  transition: 0.3s;
  position: relative;
}

/* Hamburger to X animation */
.menu-toggle.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Responsive nav */
@media (max-width: 900px) {
  nav ul {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    background: var(--SV_DarkGrey);
    box-shadow: 0 4px 24px rgba(44,44,44,0.08);
    flex-direction: column;
    width: 250px; /* Increased from 210px for a larger menu */
    min-height: 300px; /* Increased min-height for a taller menu */
    font-size: 1rem; /* Larger link text */
    padding: 1.6em 0 2em 0; /* More vertical padding */
    border-radius: 0 0 14px 14px;
    z-index: 1000;
    margin-top: 0.5rem;
  }
  nav ul.active {
    display: flex !important;
  }
  nav ul li a {
    font-size: 1rem; /* Ensure link text is larger */
    padding: 0.7em 1.2em; /* More padding for easier tapping */
    line-height: 1.5;
  }
  .menu-toggle {
    display: flex;
  }
  nav {
    position: relative;
  }
}

/* Hide hamburger on large screens */
@media (min-width: 901px) {
  .menu-toggle {
    display: none !important;
  }
  nav ul {
    display: flex !important;
    position: static;
    flex-direction: row;
    background: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
  }
}
.packages {
  display: flex;
  flex-direction: row;
  gap: 2.2rem;
  padding: 0;
  justify-content: center;
  margin: 2.5rem 0 2.5rem 0;
}
.package-box {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(44,44,44,0.10);
  padding: 2.2rem 1.5rem 1.7rem 1.5rem;
  flex: 1 1 300px;
  max-width: 340px;
  min-width: 220px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 2px solid var(--SV_Green);
}
.package-box:hover, .package-box:focus {
  box-shadow: 0 6px 32px rgba(44,44,44,0.16);
  transform: translateY(-6px) scale(1.03);
  border-color: var(--SV_Orange);
}
.package-title {
  color: var(--SV_Orange);
  font-size: 1.35rem;
  margin: 0 0 0.3rem 0;
  letter-spacing: 0.5px;
  text-align: center;
}
.package-sub {
  color: var(--SV_Brown);
  font-size: 1rem;
  margin-bottom: 1.1rem;
  text-align: center;
  font-weight: 500;
}
.package-features {
  margin: 0;
  padding: 0 0 0 1.1rem;
  color: #333;
  font-size: 1rem;
  text-align: left;
  align-self: stretch;
}
.package-features li {
  margin-bottom: 0.5rem;
  list-style: disc;
}

.packages li {
  background: #f0f0f0;
  padding: 1rem;
  border-radius: 6px;
  list-style: none;
  flex: 1 1 260px;
  max-width: 340px;
  min-width: 220px;
  box-sizing: border-box;
}
  .packages {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }
  .package-box {
    max-width: 100%;
    min-width: 0;
  }
/* =====================================================================
   Selfie Vibez - Unified Form Styles (Contact & Book Now)
   ---------------------------------------------------------------------
   This section contains ALL styles for the Contact Us and Book Now forms.
   - Both forms use the same structure: all fields/buttons are direct children of the form (no wrappers)
   - All layout, width, and appearance are controlled here for maintainability
   - Responsive, accessible, and modern
   - Custom dropdown arrows for select fields
   - Only SV_Green is used for focus/hover (no gold)
   - No duplicate or scattered form styles elsewhere in this file
   ===================================================================== */

/* --- Form Container Layout ---
   Centers the form, sets max width, and vertical layout. */
form.book-form,
form.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  max-width: 700px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.2rem;
  box-sizing: border-box;
}
form.book-form > *,
form.contact-form > * {
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 700px) {
  form.book-form,
  form.contact-form {
    max-width: 100vw;
    padding: 0 0.5rem;
  }
}

/* --- Field Base Styles ---
   Applies to all inputs, selects, textareas, and buttons. */
input, textarea, select, button {
  padding: 0.4rem;
  margin-bottom: 0.9rem;
  font-size: 1rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  transition: border 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  font-family: 'Montserrat', Arial, sans-serif; /* Match field font to labels */
}
label {
  padding: 0.1rem;
  margin-bottom: 0.1rem;
  font-size: 0.8rem;
  border-radius: 4px;
  border: none;
  box-sizing: border-box;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* --- Field Focus/Hover Styles ---
   SV_Green border and subtle shadow on focus/hover for all fields. */
input:focus, textarea:focus, select:focus {
  border-color: var(--SV_Green, #00c48c) !important;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0,196,140,0.12);
}

/* --- Button Styles ---
   Green background, cream text, bold, with hover/focus effect. */
button {
  background: var(--SV_Green, #00c48c);
  color: var(--SV_Cream, #fff);
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s, color 0.2s;
}
button:hover, button:focus {
  background: var(--SV_DarkGrey, #222);
  color: var(--SV_Cream, #fff);
}
button:hover {
  background: #ffa500;
}

/* --- Booking Form: Time Row ---
   Horizontal layout for the time selects in the Book Now form. */
.booking-time-row {
  display: flex;
  flex-direction: row;
  gap: 0.5em;
  align-items: center;
  width: 100%;
}
.booking-time-row select,
.booking-time-row span {
  flex: 0 0 auto;
}
.booking-time-row select {
  min-width: 5.2em;
  width: 5.2em;
  max-width: 7em;
}

/* --- Custom Dropdown Arrow Styles ---
   Adds a single SVG arrow to all relevant select fields, removes browser default. */
#BF_event,
#BF_package,
#BF_startTimeHour,
#BF_startTimeMinute,
#BF_startTimeAMPM {
  background-image: url('data:image/svg+xml;utf8,<svg width="18" height="18" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5 8l5 5 5-5" stroke="%2300c48c" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-position: right 0.5em center;
  background-size: 1.2em;
  padding-right: 2.7em;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
/* Remove default dropdown arrow for all browsers */
select::-ms-expand {
  display: none;
}
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* --- Spinner Animation for Loading Indicator --- */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* --- Menu Toggle (Mobile Nav) --- */
.menu-toggle:hover,
.menu-toggle:focus {
  background: var(--SV_Green);
  border-radius: 8px;
  transition: background 0.2s;
}

/* --- Form Outer Box ---
   Visually centers and boxes the form, sets max width, padding, background, and shadow.
   Ensures the form inside can reach up to 700px wide on large screens.
*/
.form-outer-box {
  max-width: 700px;              /* Limit box to 700px on large screens */
  width: 100%;                   /* Allow box to shrink on smaller screens */
  margin: 2.5rem auto;           /* Center horizontally, add vertical spacing */
  background: #fff;              /* White background for card effect */
  border-radius: 16px;           /* Rounded corners */
  box-shadow: 0 2px 16px rgba(44,44,44,0.10); /* Subtle shadow for depth */
  padding: 2.2rem 2rem;          /* Space inside the box */
  box-sizing: border-box;        /* Includes padding in width calculation */
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Responsive: reduce padding on small screens */
@media (max-width: 700px) {
  .form-outer-box {
    max-width: 97vw;
    padding: 1.2rem 0.9rem;
  }
}

/* Make all form field headings (labels) bold in the event setup form */
#eventForm label,
#eventForm .block.text-sm.font-medium.text-gray-700.mb-1 {
  font-weight: 600 !important;
}

/* ========== EVENT SETUP FORM OUTER BOX ========== */
.event-setup-form-outer-box {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(44,44,44,0.10);
  max-width: 900px;
  margin: 2.5rem auto;
  padding: 2.2rem 2rem; /* Match .form-outer-box padding exactly */
  width: 100%;
}
@media (max-width: 950px) {
  .event-setup-form-outer-box {
    max-width: 97vw;
    padding: 1.2rem 0rem;
  }
}
/* =====================================================================
   END: Unified Form Styles (Contact & Book Now)
   ===================================================================== */

/* Add or update this CSS for the footer background */
footer {
  background: var(--SV_DarkGrey, #222); /* fallback to #222 if variable not set */
  color: var(--SV_Cream);
}

/* Ensure footer sits at the bottom of the viewport if content is short */
html, body {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Main content should grow to fill space above footer */
main {
  flex: 1 0 auto;
  /* Optional: add display:block if needed for layout consistency */
}

/* Fix for gallery password modal being hidden under overlay */
.modal-overlay {
  position: fixed !important;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44,44,44,0.45);
  z-index: 10001 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- iOS/iPadOS Select Field Normalization --- */
/* Remove iOS default blue text and background for select fields in forms */
input, select, textarea {
  color: #222 !important;
  background-color: #fff !important;
  -webkit-text-fill-color: #222 !important; /* iOS Safari fix */
  box-shadow: none !important;
}
select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: none !important;
  background: #fff !important;
  color: #222 !important;
  border: 1px solid #ccc;
}
select:focus {
  border-color: var(--SV_Green, #00c48c) !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(0,196,140,0.12) !important;
}

/* Remove iOS autofill blue background */
input:-webkit-autofill,
select:-webkit-autofill,
textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: #222 !important;
  color: #222 !important;
}

/* iOS Safari: Force date input to match other field widths */
input[type="date"] {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* iOS Safari: Remove extra padding and border for date fields */
input[type="date"]::-webkit-input-placeholder { color: #888; }
input[type="date"]::-webkit-datetime-edit { padding: 0 !important; }
input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.5);
}

/* iOS Safari: Match date input height to other fields */
input[type="date"] {
  height: 2.4em !important; /* Match the height of other input fields */
  line-height: 1.2 !important;
  padding-top: 0.4rem !important;
  padding-bottom: 0.4rem !important;
  /* The padding matches the .4rem used on other fields */
}
input[type="date"]::-webkit-datetime-edit {
  line-height: 1.2 !important;
  padding-top: 0.4rem !important;
  padding-bottom: 0.4rem !important;
}

/* iOS Safari: Remove extra right padding from date input to match other fields */
input[type="date"]::-webkit-datetime-edit {
  padding-right: 0 !important;
}
input[type="date"] {
  padding-right: 0.4rem !important; /* Match other fields' right padding */
}

/* Add this CSS to style the All-Inclusive Packages section with a background image */
.sv-section.bg-yellow {
  background: url('Images/BGimage2.jpeg') center center/cover no-repeat;
  position: relative;
  /* Optional: add an overlay for better text readability */
}
.sv-section.bg-yellow > .sv-section-inner {
  position: relative;
  z-index: 1;
}
/* Optional: overlay for readability */
.sv-section.bg-yellow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6); /* adjust opacity as needed */
  z-index: 0;
}

/* Add this to your style.css */

/* Add padding to the text column in two-column blocks */
.sv-section-inner > div:not(:first-child) {
  padding-left: 1.2rem;
  padding-right: 1.2rem;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .sv-section-inner > div:not(:first-child) {
    padding-left: 0.7rem;
    padding-right: 0.7rem;
  }
}
@media (max-width: 600px) {
  .sv-section-inner > div:not(:first-child) {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

