/* ==========================================================================
   Elegance pass (Oct 2026)
   1. Breathing room + calmer animations
   2. Halls showcase
   3. Testimonials
   4. Contact page
   Loaded after main.css, so these rules win over style.css / responsive.css.
   ========================================================================== */

:root {
  --casa-pink: #e58392;
  --casa-pink-dark: #d96b7d;
  --casa-champagne: #e0cda9;
  --casa-ivory: #f7f4ee;
  --casa-ink: #2b2b2b;
  --casa-display: "Brown Sugar", Georgia, serif;   /* brand / logo font: headings only */
  --casa-body: "Montserrat", sans-serif;
}

/* 1. Breathing room + calmer animations
   ========================================================================== */
body { line-height: 1.7; }
.section { padding: 5.5rem 0; }
.highlighter-section { padding: 3.5rem; }
.highlighter-section p { max-width: 68ch; margin-left: auto; margin-right: auto; }

/* Every scroll animation becomes the same short, gentle rise (instead of sliding in from the sides) */
@keyframes fadeIn      { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp    { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInLeft  { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInRight { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }
.animated { animation-duration: 0.9s; animation-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1); }
.video-card:hover { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .wow, .animated { animation: none !important; visibility: visible !important; }
}

/* Leave room for the fixed header when jumping to an anchor */
[id] { scroll-margin-top: 150px; }

@media only screen and (max-width: 767px) {
  .section { padding: 3.5rem 0; }
  .highlighter-section { padding: 2rem 1.25rem 1.5rem; }
  [id] { scroll-margin-top: 90px; }
}

/* 2. Halls showcase
   ========================================================================== */
.hall-jump {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem;
  margin-top: 3rem; margin-bottom: 0;
}
.hall-jump a {
  padding: 0.55rem 1.15rem; border: 1px solid rgba(43, 43, 43, 0.18); border-radius: 999px;
  color: var(--casa-ink); text-decoration: none; font-size: 0.9rem; letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.6); transition: all 0.2s ease;
}
.hall-jump a:hover, .hall-jump a:focus-visible { background: var(--casa-ink); border-color: var(--casa-ink); color: #fff; }

.hall-showcase + .hall-showcase { border-top: 1px solid rgba(43, 43, 43, 0.08); }

.hall-feature {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 4rem; align-items: center; margin-bottom: 3rem;
}
.hall-feature.is-reverse .hall-photo { order: 2; }

.hall-photo { position: relative; isolation: isolate; }
.hall-photo::after {  /* thin offset frame for a gallery feel */
  content: ''; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  border: 1px solid var(--casa-champagne); border-radius: 6px;
}
.hall-feature.is-reverse .hall-photo::after { inset: 18px 18px -18px -18px; }
.hall-photo img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 6px; box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.hall-eyebrow {
  display: block; margin-bottom: 0.5rem; color: var(--casa-pink-dark);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase;
}
.hall-showcase .hall-title {
  font-family: var(--casa-display); font-size: 3rem; line-height: 1.1;
  border: 0; padding: 0; margin: 0 0 1rem;
}
.hall-showcase .hall-description { font-size: 1.05rem; color: #555; margin-bottom: 1.5rem; max-width: 42ch; }

.hall-amenities, .hall-capacity { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.hall-amenities li {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.9rem;
  background: var(--casa-ivory); border: 1px solid rgba(224, 205, 169, 0.7); border-radius: 999px;
  font-size: 0.85rem; color: #555;
}
.hall-amenities i { color: var(--casa-pink-dark); font-size: 0.85rem; }
.hall-capacity li { display: inline-flex; align-items: center; gap: 0.5rem; margin-right: 1.25rem; font-size: 0.95rem; color: #555; }
.hall-capacity i { color: var(--casa-champagne); font-size: 1.1rem; }
.hall-capacity strong { font-family: var(--casa-display); font-size: 1.6rem; color: var(--casa-ink); }

.hall-cta {
  display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.9rem 1.6rem; border-radius: 999px;
  background: var(--casa-ink); color: #fff; text-decoration: none;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  transition: background 0.25s ease, transform 0.25s ease;
}
.hall-cta i { transition: transform 0.25s ease; }
.hall-cta:hover, .hall-cta:focus-visible { background: var(--casa-pink-dark); color: #fff; transform: translateY(-2px); }
.hall-cta:hover i { transform: translateX(4px); }

.hall-gallery-label {
  display: flex; align-items: center; gap: 1rem; margin: 0 0 1.25rem;
  font-family: var(--casa-body); font-style: italic; font-size: 1rem; letter-spacing: 0.05em; color: #777;
}
.hall-gallery-label::after { content: ''; flex: 1; height: 1px; background: rgba(43, 43, 43, 0.12); }

/* videos become a horizontal filmstrip */
.hall-showcase .video-gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 280px); grid-template-columns: none;
  gap: 1rem; overflow-x: auto; padding-bottom: 0.75rem; scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: var(--casa-champagne) transparent;
}
.hall-showcase .video-card { scroll-snap-align: start; border-radius: 6px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); }

@media only screen and (max-width: 991px) {
  .hall-feature { grid-template-columns: 1fr; gap: 2.5rem; }
  .hall-feature.is-reverse .hall-photo { order: 0; }
  .hall-showcase .hall-title { font-size: 2.6rem; }
}
@media only screen and (max-width: 767px) {
  .hall-photo::after { display: none; }
  .hall-showcase .hall-title { font-size: 2.2rem; }
  .hall-showcase .video-gallery { grid-auto-columns: 75%; }
}

/* 3. Testimonials
   ========================================================================== */
.testimonial-section { padding: 6rem 1rem; }
.testimonial-section::before { background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.75)); }
.testimonial-section .section-title {
  font-family: var(--casa-display); margin-bottom: 0.75rem;
}

.reviews-badge {
  position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 0.5rem 1.25rem; margin-bottom: 3rem; color: rgba(255, 255, 255, 0.85); font-size: 0.95rem;
}
.reviews-stars { color: #f5c26b; letter-spacing: 2px; }
.reviews-score strong { color: #fff; font-size: 1.1rem; }
.reviews-badge a {
  color: #fff; text-decoration: none; padding: 0.45rem 1rem; border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px; transition: background 0.2s ease, color 0.2s ease;
}
.reviews-badge a:hover { background: #fff; color: var(--casa-ink); }

.testimonial-card {
  min-height: 420px; padding: 2.5rem 2.25rem 2rem; border-radius: 14px;
  background: rgba(250, 248, 244, 0.95); color: var(--casa-ink);
  backdrop-filter: none; -webkit-backdrop-filter: none;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}
.testimonial-card:hover { transform: translateY(-4px); background: rgba(250, 248, 244, 1); color: var(--casa-ink); }
.testimonial-card .quote {
  position: relative; font-family: var(--casa-body); font-style: italic; font-size: 1rem; line-height: 1.75; color: #3a3a3a;
  display: -webkit-box; -webkit-line-clamp: 9; -webkit-box-orient: vertical; overflow: hidden;
}
.testimonial-card .quote::before {
  content: "\201C"; display: block; height: 2.2rem; margin: 0 0 0.5rem; font-family: var(--casa-display);
  font-style: normal; font-size: 4.5rem; line-height: 1; color: var(--casa-pink);
}
.t-author {
  display: flex; align-items: center; gap: 0.85rem; margin-top: 1.5rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(224, 205, 169, 0.6);
}
.t-author strong {
  border: 0; margin: 0; padding: 0; text-align: left; font-style: normal; font-weight: 600;
  font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--casa-ink);
}
.t-avatar {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--casa-pink), var(--casa-champagne)); color: #fff;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em;
}

@media only screen and (max-width: 767px) {
  .testimonial-section { padding: 4rem 1rem; }
  .testimonial-section .section-title { font-size: 2.2rem; }
  .testimonial-card { min-height: 0; padding: 2rem 1.5rem 1.5rem; }
}

/* 4. Contact page
   ========================================================================== */
.contact-page {
  position: relative; padding: 200px 0 6rem; margin: 0;
  background: url('../../images/Room4-wedding.jpg') center / cover no-repeat;
}
.contact-page::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.55) 0%, rgba(10, 10, 10, 0.8) 100%);
}
.contact-page .content-wrapper { position: relative; z-index: 1; }
.contact-page .contact-card {
  max-width: 820px; padding: 3.25rem 3.5rem; border-radius: 18px;
  background: rgba(250, 248, 244, 0.97); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  border-top: 4px solid var(--casa-pink);
}
.contact-page .contact-card h1 {
  font-family: var(--casa-display); font-size: 2.5rem;
}
.contact-page .contact-intro { color: #555; max-width: 52ch; margin-left: auto; margin-right: auto; }
.contact-page .inquiry-form input,
.contact-page .inquiry-form select,
.contact-page .inquiry-form textarea { background: #fff; border-color: #ddd6ca; border-radius: 8px; }
.contact-page .inquiry-form .btn-submit {
  border-radius: 999px; letter-spacing: 0.1em; font-size: 1rem; font-weight: 600; text-transform: uppercase;
  background: linear-gradient(135deg, var(--casa-pink), var(--casa-pink-dark)); border: 0;
  box-shadow: 0 10px 25px rgba(229, 131, 146, 0.35);
}
.contact-page .inquiry-form .btn-submit:hover,
.contact-page .inquiry-form .btn-submit:focus { background: var(--casa-ink); color: #fff; }

@media only screen and (max-width: 767px) {
  .contact-page { padding: 120px 0 3rem; }
  .contact-page .contact-card { padding: 2rem 1.25rem; border-radius: 14px; }
  .contact-page .contact-card h1 { font-size: 2rem; }
}

/* 5. FAQ (homepage)
   ========================================================================== */
.faq-section { background: var(--casa-ivory); }
.faq-eyebrow {
  text-align: center; margin: 0 0 0.5rem; color: var(--casa-pink-dark);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase;
}
.faq-title {
  text-align: center; font-family: var(--casa-display); margin-bottom: 3rem;
}
.faq-list { max-width: 820px; margin: 0 auto; border-top: 1px solid rgba(43, 43, 43, 0.12); }
.faq-item { border-bottom: 1px solid rgba(43, 43, 43, 0.12); }
.faq-item summary {
  position: relative; list-style: none; cursor: pointer; padding: 1.4rem 3rem 1.4rem 0;
  font-family: var(--casa-display); font-size: 1.35rem; font-weight: 600; letter-spacing: 0.05rem; color: var(--casa-ink);
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {  /* plus / minus */
  content: '+'; position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(229, 131, 146, 0.6); color: var(--casa-pink-dark);
  font-family: Montserrat, sans-serif; font-size: 1.1rem; font-weight: 400; transition: all 0.2s ease;
}
.faq-item[open] summary::after { content: '−'; background: var(--casa-pink); border-color: var(--casa-pink); color: #fff; }
.faq-item summary:hover { color: var(--casa-pink-dark); }
.faq-answer p { margin: 0 0 1.5rem; max-width: 68ch; color: #555; line-height: 1.75; }
.faq-answer a { color: var(--casa-pink-dark); }

@media only screen and (max-width: 767px) {
  .faq-title { margin-bottom: 2rem; }
  .faq-item summary { font-size: 1.2rem; padding: 1.1rem 2.75rem 1.1rem 0; }
}

/* Halls filmstrip: arrows, count and swipe hint (js/hall-strip.js)
   ========================================================================== */
.hall-gallery-label .strip-count {
  order: 1; font-family: var(--casa-body); font-style: normal; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--casa-pink-dark);
}
.hall-gallery-label::after { order: 2; }               /* the thin line sits between the count and the arrows */
.hall-gallery-label .strip-hint { display: none; order: 3; }
.hall-gallery-label .strip-controls { order: 4; display: inline-flex; gap: 0.5rem; }
.hall-gallery-label.no-overflow .strip-controls,
.hall-gallery-label.no-overflow .strip-hint { display: none; }

.strip-btn {
  width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(43, 43, 43, 0.25); background: #fff; color: var(--casa-ink); cursor: pointer;
  font-size: 0.85rem; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.strip-btn:hover:not(:disabled), .strip-btn:focus-visible { background: var(--casa-ink); border-color: var(--casa-ink); color: #fff; }
.strip-btn:disabled { opacity: 0.3; cursor: default; }

@media only screen and (max-width: 767px) {
  /* strip runs to the screen edge so the next video visibly peeks in */
  .hall-showcase .video-gallery {
    grid-auto-columns: 78%; margin-right: -5vw; padding-right: 5vw; scroll-padding-left: 0;
  }
  .hall-gallery-label { flex-wrap: wrap; row-gap: 0.5rem; }
  .hall-gallery-label .strip-hint {
    display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--casa-body); font-style: normal;
    font-size: 0.8rem; color: var(--casa-pink-dark); transition: opacity 0.4s ease;
    animation: casaNudge 1.6s ease-in-out infinite;
  }
  .hall-gallery-label .strip-hint.is-done { opacity: 0; animation: none; }
  .strip-btn { width: 36px; height: 36px; }
}
@keyframes casaNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
@media (prefers-reduced-motion: reduce) { .hall-gallery-label .strip-hint { animation: none; } }

/* Cookie consent (Law 25) — js/consent.js
   ========================================================================== */
.consent-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 10000;
  display: flex; justify-content: center; pointer-events: none;
}
.consent-inner {
  pointer-events: auto; width: 100%; max-width: 720px; max-height: calc(100vh - 2rem); overflow-y: auto;
  padding: 1.5rem 1.75rem; border-radius: 16px; color: #f2f1ee;
  background: linear-gradient(160deg, #2e2e2e, #111); border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 3px solid var(--casa-pink); box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  font-family: var(--casa-body); animation: casaConsentIn 0.4s ease-out both;
}
@keyframes casaConsentIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.consent-title { font-family: var(--casa-display); color: #fff; font-size: 1.5rem; margin: 0 0 0.5rem; }
.consent-text { font-size: 0.9rem; line-height: 1.6; color: rgba(242, 241, 238, 0.85); margin: 0 0 1rem; }
.consent-text a { color: #f3b3bd; }

.consent-details { margin: 0 0 1rem; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.consent-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); cursor: pointer;
}
.consent-row-text { display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.85rem; color: rgba(242, 241, 238, 0.75); }
.consent-row-text strong { color: #fff; font-size: 0.95rem; }
.consent-always { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--casa-champagne); white-space: nowrap; }

.consent-switch { position: relative; flex: 0 0 46px; width: 46px; height: 26px; }
.consent-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.consent-switch span { position: absolute; inset: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.25); transition: background 0.2s ease; }
.consent-switch span::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; transition: transform 0.2s ease;
}
.consent-switch input:checked + span { background: var(--casa-pink); }
.consent-switch input:checked + span::after { transform: translateX(20px); }
.consent-switch input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }

.consent-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.6rem; }
.consent-btn {
  padding: 0.75rem 1.3rem; border-radius: 999px; cursor: pointer; font-family: var(--casa-body);
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em; transition: background 0.2s ease, color 0.2s ease;
}
.consent-btn-primary { background: var(--casa-pink); border: 1px solid var(--casa-pink); color: #fff; }
.consent-btn-primary:hover { background: var(--casa-pink-dark); border-color: var(--casa-pink-dark); }
.consent-btn-outline { background: transparent; border: 1px solid rgba(255, 255, 255, 0.5); color: #fff; }
.consent-btn-outline:hover { background: #fff; color: var(--casa-ink); }

/* placeholder shown instead of the map / Instagram until allowed */
.consent-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; text-align: center;
  min-height: 220px; padding: 1.5rem; border-radius: 12px; color: rgba(242, 241, 238, 0.8);
  background: rgba(255, 255, 255, 0.05); border: 1px dashed rgba(255, 255, 255, 0.2); font-size: 0.85rem;
}
.consent-placeholder i { font-size: 1.75rem; color: #f3b3bd; }
.consent-placeholder strong { color: #fff; }
.consent-placeholder p { margin: 0 0 0.5rem; max-width: 34ch; }
/* on light sections (Instagram on the homepage) */
.section:not(.site-footer) .consent-placeholder { color: #555; background: var(--casa-ivory); border-color: rgba(43, 43, 43, 0.2); }
.section:not(.site-footer) .consent-placeholder strong { color: var(--casa-ink); }
.section:not(.site-footer) .consent-placeholder .consent-btn-outline { color: var(--casa-ink); border-color: rgba(43, 43, 43, 0.4); }
.section:not(.site-footer) .consent-placeholder .consent-btn-outline:hover { background: var(--casa-ink); color: #fff; }

@media only screen and (max-width: 640px) {
  .consent-banner { left: 0.5rem; right: 0.5rem; bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px)); }
  .consent-inner { padding: 1.25rem; }
  .consent-actions { justify-content: stretch; }
  .consent-actions .consent-btn { flex: 1 1 45%; }
}

/* Privacy policy page
   ========================================================================== */
.policy-page { padding-top: 180px; }
.policy-wrap { max-width: 820px; }
.policy-eyebrow { color: var(--casa-pink-dark); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.5rem; }
.policy-lead { font-size: 1.1rem; color: #444; margin-bottom: 2.5rem; }
.policy-wrap h2 { font-size: 1.6rem; margin: 2.5rem 0 1rem; }
.policy-wrap p, .policy-wrap li { color: #444; }
.policy-wrap ul { padding-left: 1.25rem; margin: 0 0 1.2em; }
.policy-wrap li { margin-bottom: 0.4rem; }
.policy-wrap a { color: var(--casa-pink-dark); }
.policy-contact { list-style: none; padding: 1.25rem 1.5rem !important; background: var(--casa-ivory); border-left: 3px solid var(--casa-pink); border-radius: 6px; }
.policy-table-wrap { overflow-x: auto; margin: 1.5rem 0; }
.policy-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.9rem; }
.policy-table th, .policy-table td { text-align: left; padding: 0.75rem; border-bottom: 1px solid rgba(43, 43, 43, 0.12); vertical-align: top; }
.policy-table th { background: var(--casa-ivory); font-weight: 600; }
.policy-table code { font-size: 0.8rem; background: rgba(43, 43, 43, 0.06); padding: 1px 4px; border-radius: 3px; }
@media only screen and (max-width: 767px) { .policy-page { padding-top: 120px; } }

/* embeds waiting for consent stay hidden even where other rules set display */
iframe[data-consent-src][hidden] { display: none !important; }
.policy-wrap h3 { font-family: var(--casa-body); font-size: 1rem; font-weight: 600; text-transform: none; letter-spacing: 0.02em; margin: 1.5rem 0 0.4rem; color: var(--casa-ink); }
.policy-toc { margin: 0 0 2.5rem; padding: 1.25rem 1.5rem; background: var(--casa-ivory); border-radius: 8px; }
.policy-toc strong { display: block; margin-bottom: 0.5rem; font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--casa-pink-dark); }
.policy-toc ol { columns: 2; column-gap: 2rem; margin: 0; padding-left: 1.25rem; font-size: 0.9rem; }
.policy-toc li { margin-bottom: 0.3rem; break-inside: avoid; }
@media only screen and (max-width: 640px) { .policy-toc ol { columns: 1; } }
