/* Global */
:root{
  --primary-blue:#0B6E6F;
  --primary-teal:#00A6A6;
  --primary-green:#2CB67D;
  --accent-dark:#052826;
  --bg:#f7fbfb;
  --text:#0b2f2e;
  --muted:#6b8b8a;
  --radius:12px;
  --bg-offset:0px;
  --primary-bg: #fffdf9;
  --touch-target: 44px;
}

/* Ensure page fills viewport so fixed background is visible everywhere */
html, body {
  height: 100%;
  min-height: 100%;
  min-width: 0;
  overflow-x: hidden;
  background-color: var(--primary-bg);
  /* Page-wide background image to ensure it reaches the bottom of long pages */
  background-image: linear-gradient(135deg, rgba(11,110,111,0.10), rgba(0,166,166,0.06)), url("alma backround.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
#music-btn {
  display: none; /* Hidden by default - uncomment and style if needed */
}

img, svg, iframe, video, embed, object {
  max-width: 100%;
  height: auto;
}

.calendar-embed-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin: 0 auto;
}

.calendar-embed-wrapper iframe {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 320px;
  height: auto !important;
}

.instagram-embed {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Decorative full-viewport background layer used for subtle parallax */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: 0; /* place above body background but behind content */
  pointer-events: none;
  will-change: auto;
  transform: none; /* static background */
  /* primary decorative image (project file) with a light overlay */
  background-image:
    linear-gradient(135deg, rgba(11,110,111,0.18), rgba(0,166,166,0.12)),
    url("alma backround.png");
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
  background-position: center top;
  background-blend-mode: overlay;
  opacity: 1;
}

/* Make sure content sits above the decorative layer */
header, main, footer {
  position: relative;
  z-index: 1; /* ensure content sits above site-bg */
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .site-bg { transform: none !important; background-attachment: scroll !important; }
}

/* Small utility: subtle shadow under header for separation when scrolling */
header.hero { box-shadow: 0 1px 0 rgba(0,0,0,0.03); }

/* Ensure CTA still visible on success page */
.cta-button { display: inline-block; }

*{box-sizing:border-box}
body{margin:0;font-family:Inter,Roboto,Arial,sans-serif;background:transparent;color:#ffffff;-webkit-font-smoothing:antialiased}

/* Keep boxed content readable by forcing dark text inside cards/forms */
.phone-card, .phone-card *,
.rates-card, .rates-card *,
.rate-item, .rate-item *,
.contact-form, .contact-form *,
.modal .dialog, .modal .dialog *,
.instagram-embed, .instagram-embed *,
.gallery-item, .gallery-item * {
  color: var(--accent-dark) !important;
}

/* Hero */
header.hero {
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  border-radius: 0;
  color: #ffffff;
  text-align: center;
  background: linear-gradient(135deg, rgba(11,110,111,0.55) 0%, rgba(0,166,166,0.45) 60%, rgba(44,182,125,0.35) 100%), url('alma backround.png');
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  box-shadow: none;
}

.hero-banner-frame {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 2rem;
  padding: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 16px;
  box-shadow: 
    0 0 0 3px #ffffff,
    0 0 0 6px var(--primary-teal),
    0 12px 48px rgba(0, 166, 166, 0.25),
    0 20px 60px rgba(5, 40, 39, 0.15);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.hero-banner-frame:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 0 0 3px #ffffff,
    0 0 0 6px var(--primary-teal),
    0 16px 56px rgba(0, 166, 166, 0.3),
    0 24px 72px rgba(5, 40, 39, 0.2);
}

.hero-banner-image {
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 8px;
  object-fit: contain;
  object-position: center;
  top: 0;
  left: 0;
  z-index: 1;
  transition: filter 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-banner-frame.active .hero-banner-image {
  filter: blur(8px);
}

.hero-banner-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 5;
  pointer-events: none;
}

.hero-banner-frame.active::before {
  opacity: 1;
}

/* Contact Toggle Button */
.contact-toggle-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, var(--primary-teal), var(--primary-blue));
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 166, 166, 0.2);
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.contact-toggle-btn.active {
  display: none;
}

.phone-card-popup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 15;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 90%;
}

.phone-card-popup.active {
  opacity: 1;
  pointer-events: auto;
  animation: swellIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.phone-card-popup .phone-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 2px solid var(--primary-teal);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  text-align: center;
  max-width: 320px;
  margin: 0 auto;
  position: relative;
  z-index: 20;
}

.social-media-popup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 600px;
  height: 300px;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.phone-card-popup.active .social-media-popup {
  opacity: 1;
  pointer-events: auto;
  animation: socialColumnsIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-media-popup .left-column,
.social-media-popup .right-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.social-media-popup .left-column {
  margin-right: 20px;
}

.social-media-popup .right-column {
  margin-left: 20px;
}

.social-media-popup a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--primary-teal);
  padding: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 12px rgba(0, 166, 166, 0.15);
  opacity: 0;
  transform: translateX(-20px) scale(0.8);
  z-index: 5;
}

.social-media-popup .right-column a {
  transform: translateX(20px) scale(0.8);
}

.social-media-popup a:hover {
  background: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(0, 166, 166, 0.4);
}

.social-media-popup a img.social-icon {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
}

/* Distribute social media icons into left and right columns */
.social-media-popup .left-column a:nth-child(1) { /* Facebook */
  animation: socialSlideInLeft 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}

.social-media-popup .left-column a:nth-child(2) { /* Instagram */
  animation: socialSlideInLeft 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
}

.social-media-popup .left-column a:nth-child(3) { /* TikTok */
  animation: socialSlideInLeft 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

.social-media-popup .left-column a:nth-child(4) { /* YouTube */
  animation: socialSlideInLeft 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s both;
}

.social-media-popup .right-column a:nth-child(1) { /* Venmo */
  animation: socialSlideInRight 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}

.social-media-popup .right-column a:nth-child(2) { /* Cash App */
  animation: socialSlideInRight 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.35s both;
}

.social-media-popup .right-column a:nth-child(3) { /* Spotify */
  animation: socialSlideInRight 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both;
}

@keyframes socialSlideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-30px) scale(0.8);
  }
  50% {
    opacity: 1;
    transform: translateX(-5px) scale(1.1);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes socialSlideInRight {
  0% {
    opacity: 0;
    transform: translateX(30px) scale(0.8);
  }
  50% {
    opacity: 1;
    transform: translateX(5px) scale(1.1);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes socialColumnsIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.contact-toggle-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 166, 166, 0.3);
  background: linear-gradient(135deg, var(--primary-blue), #0a5a5b);
}

.contact-toggle-btn:active {
  transform: translateY(0);
}

/* Contact Wrapper with Animation */
.hero-contact-wrapper {
  max-width: 600px;
  margin: 0 auto;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.hero-contact-wrapper.active {
  opacity: 1;
  max-height: 1000px;
  pointer-events: auto;
  animation: swellIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes swellIn {
  0% {
    opacity: 0;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Phone Card Inside Wrapper */
.hero-contact-wrapper .phone-card {
  margin-bottom: 1.5rem;
  animation: fadeInScale 0.4s ease 0.1s both;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Social Media Around Phone Card */
.hero-contact-wrapper .social-media {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
  animation: fadeUpSlide 0.4s ease 0.2s both;
}

@keyframes fadeUpSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

header.hero .brand {
  max-width: 800px;
  margin: 0 auto;
}

header.hero h1 {
  font-family: Poppins, Inter, Arial, sans-serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  margin: 0 0 0.75rem 0;
  font-weight: 700;
  letter-spacing: -0.02em;
}

header.hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.98);
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.mothers-day-banner {
  background: linear-gradient(135deg, var(--primary-teal), var(--primary-blue));
  color: #ffffff !important;
  border: none;
  border-radius: 0;
  padding: 1rem 2rem;
  position: relative;
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 30;
}

.mothers-day-banner:hover {
  box-shadow: 0 12px 32px rgba(0, 166, 166, 0.15);
  transform: translateY(-2px);
}

.mothers-day-banner p {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: #ffffff !important;
  line-height: 1.4;
  max-width: 100%;
}

.mothers-day-banner strong {
  color: #ffffff;
  font-weight: 700;
}

.mothers-day-banner .cta-button {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-teal);
  border: 2px solid rgba(255, 255, 255, 0.9);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  min-width: 140px;
  transition: all 0.2s ease;
}

.mothers-day-banner .cta-button:hover {
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

@media (max-width: 780px) {
  .mothers-day-banner {
    padding: 0.8rem 1rem;
  }
  
  .mothers-day-banner p {
    font-size: 0.9rem;
  }
}

/* Main sections consistent spacing */
main section {
  margin: 0 auto;
  padding: 2.5rem 1rem;
  max-width: 1200px;
}

main section h2 {
  font-family: Poppins, Inter, Arial, sans-serif;
  font-size: 1.75rem;
  margin: 0 0 1.5rem 0;
  color: #ffffff;
}

main section .lead {
  color: rgba(255, 255, 255, 0.95);
}

/* Decorative divider under header */
header.hero { position: relative; z-index: 2; padding-bottom: 3.75rem; }
header.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 35px;
  /* SVG wave filled with primary background color (#fffdf9) */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'><path fill='%23fffdf9' d='M0,30 C200,90 400,0 720,30 C1040,60 1240,10 1440,40 L1440,100 L0,100 Z'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  pointer-events: none;
  transform: translateZ(0);
}

/* Phone card */
.phone-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 16px;
  border: none;
  border: 1px solid #e8e8e8;
  width: 100%;
  max-width: 480px;
  margin: 1.5rem auto;
  box-shadow: 0 8px 24px rgba(5, 40, 39, 0.06);
  transition: all 0.3s ease;
}

.phone-card:hover {
  box-shadow: 0 12px 32px rgba(5, 40, 39, 0.1);
}

.phone-card, .phone-card * {
  color: var(--accent-dark) !important;
  text-decoration: none !important;
}

.phone-card .phone {
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--accent-dark);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.phone-card small {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.phone-card small a {
  color: var(--primary-blue);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.phone-card small a:hover {
  color: var(--primary-teal);
}

.phone-card ::selection {
  background: var(--primary-blue);
  color: #ffffff;
}

.phone-card > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  width: 100%;
  margin-top: 1rem;
}

.phone-card .cta-button {
  background: var(--primary-blue);
  color: #ffffff;
  box-shadow: none;
  border-radius: 8px;
  padding: 0.7rem 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
  flex: 1 1 140px;
  min-width: 120px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  position: relative;
  z-index: 50;
  cursor: pointer;
  pointer-events: auto;
}

.phone-card .cta-button:hover {
  background: #0a5a5b;
  box-shadow: 0 4px 12px rgba(11, 110, 111, 0.2);
}

.phone-card .cta-button.secondary {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.phone-card .cta-button.secondary:hover {
  background: rgba(11, 110, 111, 0.08);
  border-color: var(--primary-blue);
}

.phone-card .cta-button:focus,
.phone-card .cta-button:active {
  outline: none;
  box-shadow: 0 4px 12px rgba(11, 110, 111, 0.15);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0.7rem 1.2rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s ease;
  min-height: 44px;
}

.btn-primary {
  background: #ffffff;
  color: var(--primary-blue);
  box-shadow: 0 4px 12px rgba(11, 110, 111, 0.1);
}

.btn-primary:hover {
  box-shadow: 0 6px 16px rgba(11, 110, 111, 0.15);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
}

/* CTA Button unified styling */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-blue);
  color: #ffffff;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  min-height: 44px;
}

.cta-button:hover {
  background: #0a5a5b;
  box-shadow: 0 4px 12px rgba(11, 110, 111, 0.2);
  transform: translateY(-1px);
}

.cta-button:active {
  transform: translateY(0);
}

.cta-button.secondary {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.cta-button.secondary:hover {
  background: rgba(11, 110, 111, 0.08);
  box-shadow: 0 4px 12px rgba(11, 110, 111, 0.15);
}

/* Rates */
#rates {
  padding: 2.5rem 1rem !important;
}

#rates h2, #rates .lead {
  text-align: center;
}

.rates-card{background:#fff;padding:1rem;border-radius:12px;box-shadow:0 6px 18px rgba(5,40,39,0.06);overflow:auto;text-align:center}
.rates-table{width:100%;border-collapse:collapse;text-align:center;min-width:640px}
.rates-table th,.rates-table td{padding:.7rem;border-bottom:1px solid #f0efef;text-align:center}
.rates-table th{background:linear-gradient(90deg,var(--primary-teal),var(--primary-green));color:#fff}
.rates-notes{color:var(--muted);margin-top:1rem}

/* Combined rates card layout */
.rates-card-inner{display:grid;grid-template-columns:1fr 320px;gap:1.25rem;align-items:start}
.rates-cards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1rem}
.rate-item{background:#fff;border-radius:10px;padding:1rem;box-shadow:0 6px 15px rgba(5,40,39,0.05);text-align:center}
.rates-info{background:linear-gradient(180deg, #fff, #f8faf8);padding:1rem;border-radius:12px;border:1px solid rgba(0,0,0,0.04)}
.rates-info-list{padding-left:1.05rem;margin-top:0.65rem;color:var(--muted);text-align:left}

@media (max-width: 860px) {
  .rates-card-inner{grid-template-columns:1fr;}
  .rates-info-list{padding-left:1.1rem}
}

/* Rates cards grid */
.rates-cards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1rem;align-items:start}
.rate-item{background:#fff;border-radius:10px;padding:1rem;box-shadow:0 6px 15px rgba(5,40,39,0.05);text-align:center}
.rate-item h4{margin:0 0 .35rem 0;font-family:Poppins,Inter,Arial,sans-serif}
.rate-item .muted{color:var(--muted);margin:0 0 .45rem 0}
.rate-item .price{font-weight:800;font-size:1.15rem;margin:0}

/* Layout for rates section: center cards and aside */
.rates-grid{
  display:flex;
  gap:1rem;
  align-items:flex-start;
  justify-content:center;
  flex-wrap:wrap;
}

.rates-grid > .rates-card { flex: 1 1 520px; max-width: 720px; }
.rates-grid > aside.rates-card { flex: 0 1 280px; max-width: 320px; }

@media(max-width:480px){
  .rate-item{padding:12px}
  .rate-item h4{font-size:1rem}
  .rate-item .price{font-size:1rem}
}

@media (max-width: 860px) {
  .rates-grid > .rates-card, .rates-grid > aside.rates-card { max-width: 100%; flex: 1 1 100%; }
  .rates-cards-grid { grid-template-columns: 1fr; }
}

/* Gallery */
#gallery {
  padding: 2.5rem 1rem !important;
}

#gallery h2, #gallery .lead, #contact h2 {
  text-align: center;
}

/* Mobile-first gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
  justify-items: center;
  width: 100%;
}

.gallery-item {
  width: 100%;
  max-width: 100%;
  display: block;
}

/* Instagram embeds - full width on mobile */
.instagram-embed {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

.instagram-embed blockquote,
.instagram-embed blockquote * {
  min-width: 0 !important;
  width: 100% !important;
}

.gallery-thumb {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  width: 100%;
  aspect-ratio: auto;
  background: #f0f0f0;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-thumb:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(5, 40, 39, 0.15);
}

.gallery-thumb img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
  background: #f5f5f5;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.18));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-thumb:hover .play-overlay {
  opacity: 1;
}

.play-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--primary-blue);
  transition: transform 0.3s ease;
}

.gallery-thumb:hover .play-icon {
  transform: scale(1.1);
}

/* Tablet: 2 columns */
@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  
  .gallery-item {
    max-width: 100%;
  }
}

/* Desktop: 3 columns */
@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  
  .gallery-item {
    max-width: 100%;
  }
}

/* Large screens: wider layout */
@media (min-width: 1440px) {
  .gallery-grid {
    max-width: 1400px;
    margin: 0 auto;
  }
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1200;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal.open {
  display: flex;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal .dialog {
  width: min(920px, 94vw);
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  position: relative;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal .close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 1;
}

.modal .close:hover {
  background: #ffffff;
  transform: scale(1.1);
}

/* Contact form */
.contact-form {
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(5, 40, 39, 0.06);
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--accent-dark);
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem;
  border: 2px solid #e8e8e8;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--accent-dark);
  transition: all 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(11, 110, 111, 0.1);
}

.contact-form button,
.submit-button {
  background: var(--primary-blue);
  color: #ffffff;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
}

.contact-form button:hover,
.submit-button:hover {
  background: #0a5a5b;
  box-shadow: 0 4px 12px rgba(11, 110, 111, 0.2);
}

.error-message {
  color: #d44e4e;
  font-weight: 500;
  min-height: 1.2em;
  margin-bottom: 1rem;
}

.contact-form-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.contact-form-buttons .submit-button {
  flex: 1 1 150px;
  min-width: 150px;
}

.contact-form-buttons .cta-button {
  flex: 1 1 150px;
  min-width: 150px;
}

/* Mothers Day page specific styling */
main {
  padding: 2.5rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.mothers-day-details,
.mothers-day-features {
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(5, 40, 39, 0.04);
  text-align: center;
  margin-bottom: 2rem;
}

.mothers-day-details h2,
.mothers-day-features h3 {
  color: var(--accent-dark);
  margin-top: 0;
}

.mothers-day-list {
  list-style-type: none;
  padding: 0;
  margin: 1.5rem auto;
  max-width: 500px;
  text-align: center;
}

.mothers-day-list li {
  margin-bottom: 0.8rem;
  color: var(--accent-dark);
  font-weight: 500;
  line-height: 1.5;
}

.mothers-day-note {
  color: var(--muted);
  margin-top: 1.2rem;
  font-size: 0.95rem;
}

.mothers-day-booking {
  text-align: center;
  margin-bottom: 2rem;
}

.mothers-day-booking h2 {
  color: #ffffff;
}

.mothers-day-booking > p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.mothers-day-features {
  text-align: center;
}

.mothers-day-features p {
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}
footer {
  padding: 2.5rem 1rem;
  text-align: center;
  color: #ffffff;
  background: var(--accent-dark);
  border-top: 4px solid var(--primary-teal);
}

footer p {
  margin: 0.6rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

footer a {
  color: var(--primary-teal);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Success page styling */
.success-message {
  background: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(5, 40, 39, 0.06);
  text-align: center;
  color: var(--accent-dark);
  max-width: 600px;
  margin: 0 auto;
}

.success-message h2 {
  color: var(--accent-dark);
  font-family: Poppins, Inter, Arial, sans-serif;
  font-size: 1.75rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.success-message > p {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0.5rem 0 1.5rem 0;
  line-height: 1.6;
}

.success-actions {
  margin: 1.8rem 0;
}

.success-actions .cta-button {
  display: inline-flex;
}

.success-note {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.success-note a {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.success-note a:hover {
  color: var(--primary-teal);
  text-decoration: underline;
}

/* make each sentence its own line for improved readability */
.sentence{display:block;margin-bottom:0.35rem}

/* make CTAs full width on small screens */
@media(max-width:640px){
  .hero-cta .cta-button{width:100%;max-width:420px}
  .phone-card .cta-button{width:48%;min-width:120px}
  .phone-card{padding:.6rem}
}

@media (min-width: 860px) {
  header.hero {
    padding: 2.5rem 2rem;
  }
  
  .hero-banner-frame {
    margin: 0 auto 2.5rem;
  }
}

@media (max-width: 860px) {
  .hero-banner-frame {
    max-width: 90%;
    overflow: visible;
  }
  
  .hero-banner-image {
    max-height: 400px;
  }

  .phone-card-popup {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 0);
    width: min(100%, 92vw);
    max-width: 420px;
    z-index: 40;
  }

  .phone-card-popup .phone-card {
    max-width: 100%;
  }

  .phone-card-popup.active .social-media-popup {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    padding: 0;
    margin: 1rem 0 0;
  }

  .phone-card-popup.active .social-media-popup .left-column,
  .phone-card-popup.active .social-media-popup .right-column {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin: 0;
  }

  .phone-card-popup.active .social-media-popup a {
    opacity: 1;
    transform: none;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 640px) {
  .mothers-day-banner {
    padding: 0.75rem 1rem;
  }

  .mothers-day-banner p {
    font-size: 0.88rem;
  }

  .mothers-day-banner .cta-button {
    min-width: 0;
    padding: 0.55rem 0.95rem;
    font-size: 0.9rem;
  }

  .social-media-popup {
    width: 100%;
    max-width: 100%;
  }

  .social-media-popup .left-column,
  .social-media-popup .right-column {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin: 0;
  }

  .social-media-popup a,
  .social-media-popup .left-column a,
  .social-media-popup .right-column a {
    transform: none;
    opacity: 1;
    width: 44px;
    height: 44px;
  }
}

/* Responsive tweaks */
@media(max-width:640px){
  header.hero {
    padding: 1.5rem 0.5rem;
    min-height: auto;
  }
  
  .hero-banner-frame {
    margin: 0 auto 1.5rem;
    padding: 12px;
    border-radius: 12px;
  }
  
  .hero-banner-image {
    border-radius: 6px;
    max-height: 350px;
  }
  
  .contact-toggle-btn {
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    min-width: auto;
    width: auto;
  }

  .phone-card {
    width: 100%;
    max-width: 100%;
  }

  .phone-card > div {
    flex-direction: column;
    align-items: stretch;
  }

  .phone-card .cta-button {
    width: 100%;
    min-width: 0;
  }

  .phone-card .cta-button.secondary {
    width: 100%;
  }

  header.hero h1 {
    font-size: 1.75rem;
  }
  
  header.hero p {
    font-size: 1rem;
  }
  
  .phone-card {
    max-width: 100%;
    border-radius: 12px;
    padding: 1.2rem;
  }
  
  .phone-card .phone {
    font-size: 1.4rem;
  }
  
  .phone-card > div {
    gap: 0.6rem;
  }
  
  .phone-card .cta-button {
    flex: 1 1 auto;
    min-width: 100px;
    padding: 0.65rem 0.8rem;
    font-size: 0.9rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .contact-form label {
    font-size: 0.9rem;
  }
  
  input, textarea {
    font-size: 16px;
  }
  
  .cta-button {
    font-size: 0.9rem;
    padding: 0.65rem 0.9rem;
  }
  
  .mothers-day-details,
  .mothers-day-features {
    padding: 1.5rem;
  }
  
  .mothers-day-list {
    margin: 1rem auto;
  }
  
  .mothers-day-list li {
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
  }
  
  .success-message {
    padding: 1.5rem;
  }
  
  .success-message h2 {
    font-size: 1.5rem;
  }
  
  /* Better touch targets on mobile */
  button, .btn, input[type="submit"] {
    min-height: 48px;
  }
  
  .modal .close {
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
  }
}
@media (min-width:860px){header.hero{padding:2.75rem 2rem}}

/* Responsive table: stack rows on small screens */
@media (max-width: 600px) {
  .rates-table, .rates-table thead, .rates-table tbody, .rates-table th, .rates-table td, .rates-table tr { display: block; width: 100%; }
  .rates-table thead { display: none; }
  .rates-table tr { margin-bottom: 1rem; padding: 0; }
  .rates-table td { text-align: left; padding: 0; margin: 0 0 0.75rem 0; background: #fff; border-radius: 10px; padding: 12px; box-shadow: 0 6px 18px rgba(5,40,39,0.04); }
  .rates-table td::before { content: attr(data-label); display: block; font-weight:700; margin-bottom:6px; color:var(--accent-dark); }
  .rates-table td:last-child { margin-bottom: 0; }
  .rates-card{padding:0}
  .rates-notes{font-size:0.95rem}
}

/* Center the contact section heading */
#contact { padding: 2.5rem 1rem !important; }
#contact h2 { text-align: center; }

/* Center section headings and intro text for Rates and Gallery */
#rates h2, #rates .lead,
#gallery h2, #gallery .lead {
  text-align: center;
}

/* Calendar section styling */
#calendar-section {
  padding: 2.5rem 1rem;
  border-top: 4px solid var(--primary-teal);
}

#calendar-section h2 {
  text-align: center;
  color: #ffffff;
  font-family: Poppins, Inter, Arial, sans-serif;
  font-size: clamp(1.5rem, 4vw, 1.75rem);
  margin-bottom: 1.5rem;
}

.calendar-embed-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(5, 40, 39, 0.06);
}

.calendar-embed-wrapper iframe {
  display: block;
  width: 100%;
}

/* Calculator styles */
#calculator { 
  margin: 0 auto; 
  max-width: 980px; 
  padding: 2.5rem 1rem !important;
}

#calculator h2 {
  text-align: center;
  color: #ffffff;
}

.calculator-card{display:flex;gap:1rem;align-items:flex-start;justify-content:center;flex-wrap:wrap}
.calculator-controls{flex:1 1 360px;min-width:260px;background:rgba(255,255,255,0.98);padding:1rem;border-radius:12px;border:1px solid rgba(0,0,0,0.04);color:var(--accent-dark)}
.calculator-controls label{display:block;font-weight:600;margin-top:0.6rem}
.calculator-controls input[type='range']{width:100%;margin-top:0.35rem}
.calculator-controls input[type='number']{width:100%;padding:.5rem;border-radius:8px;border:1px solid #e6e6e6;margin-top:0.35rem}
.calculator-controls .muted{color:var(--muted);font-weight:400;font-size:0.95rem}
.calculator-result{flex:0 0 260px;min-width:240px;background:linear-gradient(180deg,#fff,#f8faf8);color:var(--accent-dark);padding:1rem;border-radius:12px;box-shadow:0 10px 30px rgba(4,38,37,0.06);text-align:center}
.calculator-result h3{margin:0 0 .4rem 0}
.estimate-amount{font-size:1.6rem;font-weight:800;margin:0.25rem 0;color:var(--accent-dark)}
.estimate-breakdown{font-size:0.95rem;text-align:left;margin-top:0.6rem;color:var(--accent-dark)}
.estimate-breakdown div{margin-bottom:0.45rem}

@media (max-width:760px){
  .calculator-card{flex-direction:column}
  .calculator-result{order:2}
  .calculator-controls{order:1}
}

/* Social media (header) */
nav.social-media {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
}

nav.social-media a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  padding: 0;
  flex: 0 0 40px;
  transition: all 0.2s ease;
}

nav.social-media a:hover {
  background: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

nav.social-media a img.social-icon {
  width: 22px;
  height: 22px;
  display: block;
  border-radius: 50%;
  object-fit: contain;
}

@media (max-width: 640px) {
  nav.social-media a {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
  }

  nav.social-media a img.social-icon {
    width: 20px;
    height: 20px;
  }
}

/* Accessibility: Focus states for keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--primary-teal);
  outline-offset: 2px;
}

/* Smooth page transitions */
html {
  scroll-behavior: smooth;
}

/* Print styles */
@media print {
  .site-bg,
  nav.social-media,
  .mothers-day-banner,
  footer {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  a {
    text-decoration: underline;
  }
}

/* Utility classes */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.hidden {
  display: none;
}
