/* Luxury Wedding Cinema Custom Styles & Professional Typography */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&family=Italiana&family=Marcellus&family=Plus+Jakarta+Sans:wght@300;400;500;600&family=Tenor+Sans&display=swap');

/* Signature Script Font: Priestacy // Handlettering Font by Sronstudio */
@font-face {
  font-family: 'Priestacy';
  src: url('assets/fonts/Priestacy.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Priestacy // Handlettering Font';
  src: url('assets/fonts/Priestacy.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-emera-black: #1A0D0F;
  --color-emera-gold: #8C734B;
  --color-emera-cream: #FFFFFF;
  --color-emera-sand: #C9B89A;
  --color-emera-white: #FFFFFF;
  --color-emera-pureblack: #000000;
  --color-emera-burgundy: #72000A;
  --color-emera-green: #25D366;
  
  --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-display: 'Italiana', 'Cinzel', 'Cormorant Garamond', serif;
  --font-cinzel: 'Cinzel', Georgia, serif;
  --font-marcellus: 'Marcellus', serif;
  --font-sans: 'Tenor Sans', 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-priestacy: 'Priestacy', 'Priestacy // Handlettering Font', cursive;
  --font-handlettering: 'Priestacy', 'Priestacy // Handlettering Font', cursive;
  
  --color-bg: #FFFFFF;
  --color-gold: #8C734B;
  --color-gold-light: #C9B89A;
  --color-burgundy: #72000A;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
  font-family: var(--font-sans);
  background-color: #FFFFFF;
  color: #1c1917;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
  max-width: 100%;
  letter-spacing: 0.015em;
  background-color: #FFFFFF;
}

/* Luxury Editorial Headings */
h1, h2, h3, .font-serif {
  font-family: var(--font-serif);
  font-feature-settings: "liga" 1, "dlig" 1, "kern" 1;
}

.font-display {
  font-family: var(--font-display);
  letter-spacing: 0.035em;
}

.font-cinzel {
  font-family: var(--font-cinzel);
  letter-spacing: 0.08em;
}

/* Luxury Cinema & Film Typography */
.font-cinematic {
  font-family: var(--font-cinzel);
  letter-spacing: 0.08em;
}

.film-title {
  font-family: var(--font-cinzel);
  letter-spacing: 0.05em;
  font-weight: 500;
}

.film-card h2,
.film-card h3,
.filmsListBox h2 {
  font-family: var(--font-cinzel);
  letter-spacing: 0.04em;
}

.font-marcellus {
  font-family: var(--font-marcellus);
  letter-spacing: 0.05em;
}

.font-tenor {
  font-family: 'Tenor Sans', sans-serif;
  letter-spacing: 0.08em;
}

.font-priestacy,
.font-handlettering {
  font-family: var(--font-priestacy);
  letter-spacing: normal;
  text-transform: none !important;
  line-height: 1.5 !important;
  display: inline-block;
  padding-bottom: 0.35em !important;
  padding-top: 0.15em !important;
  vertical-align: middle;
}

/* Safe vertical clearance so cursive ascenders and descenders never collide with text above or below */
h1.font-priestacy + p,
h2.font-priestacy + p,
h3.font-priestacy + p,
h1.font-handlettering + p,
h2.font-handlettering + p,
h3.font-handlettering + p,
div:has(> h1.font-priestacy) + p,
div:has(> h2.font-priestacy) + p,
div:has(> h1.font-handlettering) + p,
div:has(> h2.font-handlettering) + p {
  margin-top: 1.5rem !important;
}

/* Elegant Kerning & Editorial Spacing */
.tracking-widest-luxury {
  letter-spacing: 0.32em;
}

.tracking-cinematic {
  letter-spacing: 0.22em;
}

/* Hide scrollbar for clean carousels */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

/* Custom transitions */
.transition-navbar {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
}

/* Modal animation */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.animate-modal {
  animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Subtle Film Grain Texture Overlay for that 35mm aesthetic */
.film-grain {
  position: relative;
}
.film-grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(0, 0, 0, 0.08) 1px, transparent 0);
  background-size: 4px 4px;
  opacity: 0.4;
}


/* Floating Quick Action Group (WhatsApp & Instagram) */
.floating-social-group {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 60;
}

.whatsapp-float-btn {
  background-color: #25D366;
  color: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.4), 0 8px 10px -6px rgba(37, 211, 102, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}
.whatsapp-float-btn:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 15px 30px -5px rgba(37, 211, 102, 0.5);
  background-color: #20ba5a;
}

.instagram-float-btn {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px -5px rgba(220, 39, 67, 0.35), 0 8px 10px -6px rgba(188, 24, 136, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}
.instagram-float-btn:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 15px 30px -5px rgba(220, 39, 67, 0.5);
}

@media (max-width: 640px) {
  .floating-social-group {
    bottom: 80px; /* avoid mobile bottom tab bar */
    right: 16px;
    gap: 10px;
  }
  .whatsapp-float-btn,
  .instagram-float-btn {
    width: 44px;
    height: 44px;
  }
}

/* ========================================================
   SHARP BOX ARCHITECTURE — NO CURVED EDGES FOR CARDS
   High-fashion architectural edges (0 border-radius)
======================================================== */
.film-card,
.filmsListBox,
.filmsListBoxThumbnail,
.testimonial-video-card,
.editorial-card,
.about-card,
.eden-card,
.showcase-card,
#enquiry,
#eden-enquiry,
.card-box,
.box-card,
.feedback-tab-btn,
.video-modal-card {
  border-radius: 0 !important;
}

/* Sharp box edges for card inputs and buttons */
#enquiry input,
#enquiry select,
#enquiry textarea,
#enquiry button,
#eden-enquiry input,
#eden-enquiry select,
#eden-enquiry textarea,
#eden-enquiry button {
  border-radius: 0 !important;
}

/* ========================================================
   MOBILE VIEW ENHANCEMENTS & iOS SAFARI POLISH
======================================================== */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  #mobile-bottom-nav {
    padding-bottom: max(8px, env(safe-area-inset-bottom)) !important;
  }
}

#films-carousel,
#reviews-carousel {
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

#films-carousel .film-card,
#reviews-carousel .review-card {
  scroll-snap-align: start;
}

@media (max-width: 640px) {
  #enquiry input,
  #enquiry select,
  #enquiry textarea,
  #eden-enquiry input,
  #eden-enquiry select,
  #eden-enquiry textarea {
    font-size: 16px !important; /* Prevents auto-zoom on iOS Safari */
  }
}


