/* Google Fonts Import */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Jost:wght@300;400;500;600;700&family=Pinyon+Script&display=swap");

/* CSS Custom Variables for Luxury Palette */
:root {
  --primary: #655c4e; /* Earthy Bronze/Taupe */
  --primary-rgb: 101, 92, 78;
  --gold: #c5a26c; /* Zari Gold */
  --gold-rgb: 197, 162, 108;
  --gold-dark: #b59059;
  --gold-light: #f5f2ec;
  --bg-cream: #e8e3db; /* Warm Ivory/Cream */
  --bg-cream-dark: #dfd8cf;
  --text-dark: #474747; /* Slate Charcoal */
  --text-muted: #655c4e; /* Muted Earthy Taupe */
  --white: #ffffff;
  --black: #000000;

  /* Fonts */
  --font-serif: "Cormorant Garamond", serif;
  --font-sans: "Jost", sans-serif;
  --font-script: "Pinyon Script", cursive;

  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease;

  /* Panel settings (Kerala Traditional but Modern Style) */
  --panel-bg: var(--white);
  --panel-border: rgba(197, 162, 108, 0.4);
  --panel-shadow: 0 10px 30px rgba(71, 71, 71, 0.05);
}

/* Base Resets & Settings */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--primary);
  color: var(--text-dark);
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
  background-color: var(--primary);
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-cream-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--gold);
  border: 2px solid var(--bg-cream-dark);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}

/* Typography Rules */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

p {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

/* Premium Layout Helpers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

.section-padding {
  padding: 8rem 0;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Section Header Styles */
.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-header .subtitle {
  font-family: var(--font-sans);
  color: var(--gold);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  display: block;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: 3rem;
  color: var(--primary);
  position: relative;
  display: inline-block;
  padding-bottom: 1.5rem;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1.5px;
  background: var(--gold);
}

/* Sticky Bottom Gold Announcement Bar */
.gold-badge {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(
    120deg,
    var(--gold-dark) 25%,
    #e8d0a8 50%,
    var(--gold-dark) 75%
  );
  background-size: 200% auto;
  color: var(--white);
  padding: 0.85rem 1.5rem; /* Compact padding for bottom sticky header */
  border-radius: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.25);
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  font-family: inherit;
  animation: headerShine 6s infinite linear;
  transition: background var(--transition-smooth), opacity var(--transition-fast), box-shadow var(--transition-fast);
}

.gold-badge:hover {
  opacity: 0.98;
  box-shadow: 0 4px 20px rgba(196, 161, 108, 0.4);
}

.gold-badge .arrow {
  display: inline-block;
  margin-left: 0.6rem;
  transition: transform var(--transition-fast);
}

.gold-badge:hover .arrow {
  transform: translateX(5px);
}

@keyframes headerShine {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border-radius: 0;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transition: 0.6s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--primary);
}

.btn-gold {
  background-color: var(--gold);
  color: var(--white);
  border: 1px solid var(--gold);
}

.btn-gold:hover {
  background-color: transparent;
  color: var(--gold);
}

.btn-outline-gold {
  background-color: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}

.btn-outline-gold:hover {
  background-color: var(--gold);
  color: var(--white);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border: 1.5px solid var(--white);
}

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--primary);
}

/* Header Navigation (Sticky with Shrinking Transition) */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 110px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: var(--transition-smooth);
}

header.scrolled {
  height: 75px;
  background: var(--panel-bg);
  border-bottom: 1px solid var(--panel-border);
  box-shadow: var(--panel-shadow);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo-container {
  height: 60px;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

header.scrolled .logo-container {
  height: 45px;
}

.logo-container svg {
  height: 100%;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-dark);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--gold);
  transition: var(--transition-smooth);
}

.nav-links a:hover::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  position: absolute;
  transition: var(--transition-smooth);
}

.mobile-menu-btn span:nth-child(1) {
  top: 0;
}
.mobile-menu-btn span:nth-child(2) {
  top: 9px;
}
.mobile-menu-btn span:nth-child(3) {
  top: 18px;
}

/* 1. Hero Section with Optimized Ambient Media */
.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  color: var(--white);
  padding: 6rem 0;
}

.hero-overlay {
  display: none;
}

.hero-background-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 1;
}

.hero-background-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: zoomBg 20s infinite alternate ease-in-out;
}

@keyframes zoomBg {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

.hero-logo-container {
  max-width: 550px; /* Restored to original size */
  margin: -1.5rem auto 1.5rem; /* Shifted up vertically to save space */
  display: block;
}

.hero-logo-container svg {
  width: 100%;
  height: auto;
}

.hero-logo-container .st0 {
  fill: var(--gold);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: none;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  padding-top: 20px; /* Shifted up from 80px */
}

.hero-content h1 {
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: normal;
  margin-bottom: 1rem;
  color: var(--white);
  white-space: nowrap;
  text-shadow: none;
}

.hero-content p {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: var(--white);
  max-width: 650px;
  margin: 0 auto 1.5rem; /* Reduced bottom margin from 3rem */
  font-weight: 400;
  text-shadow: none;
}

/* Brand Film Video Player Widget */
.play-widget-container {
  display: block;
  max-width: 420px; /* Reduced from 500px */
  width: 100%;
  margin: 1.5rem auto 0; /* Reduced from 3.5rem */
  background-color: #2c2822; /* Solid traditional dark charcoal background */
  border-radius: 20px; /* Apple-style rounded corners */
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.play-widget-container:hover {
  transform: translateY(-5px);
}

.video-thumbnail-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}



.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
  display: block;
}

.play-widget-container:hover .video-thumbnail {
  transform: scale(1.06);
}

/* Play button centered on the thumbnail */
.play-widget-container .play-widget-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background-color: rgba(44, 40, 34, 0.9);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: var(--transition-smooth);
}

.play-widget-container:hover .play-widget-button {
  background-color: var(--gold);
  border-color: var(--white);
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 0 25px rgba(197, 162, 108, 0.6);
}

/* Play icon triangle */
.play-widget-icon {
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 18px solid var(--gold);
  margin-left: 5px; /* Visual center offset */
  transition: var(--transition-smooth);
  z-index: 3;
}

.play-widget-container:hover .play-widget-icon {
  border-left-color: #2c2822; /* Dark color on hover */
}

/* Ripple effect rings */
.play-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  animation: widgetRipple 3s infinite cubic-bezier(0.25, 0.8, 0.25, 1);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

.play-ripple:nth-child(2) {
  animation-delay: 1.5s;
}

@keyframes widgetRipple {
  0% {
    width: 70px;
    height: 70px;
    opacity: 0.8;
  }
  100% {
    width: 130px;
    height: 130px;
    opacity: 0;
  }
}

/* Duration Badge */
.video-duration {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background-color: rgba(44, 40, 34, 0.85);
  color: var(--white);
  padding: 0.3rem 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: 4px;
  z-index: 3;
  border: 1px solid rgba(197, 162, 108, 0.2);
}

/* Bottom info banner */
.play-widget-container .play-widget-info {
  padding: 1.2rem 1.5rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(197, 162, 108, 0.15);
}

.play-widget-title {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg-cream);
  transition: var(--transition-fast);
}

.play-widget-container:hover .play-widget-title {
  color: var(--gold);
}

.play-widget-subtitle {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: rgba(232, 227, 219, 0.6);
  font-weight: 400;
  letter-spacing: 0.05em;
}

/* Online Shop Coming Soon Status */
.shop-coming-soon-pill {
  display: block;
  margin: 1.2rem auto 0; /* Reduced from 2.2rem */
}

.shop-coming-soon-pill span {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  cursor: default;
  position: relative;
  padding-bottom: 0.5rem;
}

.shop-coming-soon-pill span::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 35%;
  width: 30%;
  height: 1px;
  background-color: var(--gold);
  opacity: 0.8;
}

/* Scroll Down Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(250, 248, 245, 0.6);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: opacity var(--transition-fast);
}

@media (max-height: 850px), (max-width: 768px) {
  .scroll-indicator {
    opacity: 0;
    pointer-events: none;
  }
}

.scroll-indicator span {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold) 50%, transparent 50%);
  background-size: 100% 200%;
  background-position: top;
  animation: scrollLine 2s infinite linear;
  margin-top: 0.5rem;
}

@keyframes scrollLine {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 0% 100%;
  }
}

/* 2. Launch Announcement & Guest Section */
.launch-section {
  background-color: var(--bg-cream-dark);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.launch-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("images/kasavu-art.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.12; /* Subtle traditional watermark effect */
  z-index: -1;
  pointer-events: none;
}

.launch-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
  width: 100%;
}

.launch-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
}

.launch-content h3 {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-style: italic;
  font-weight: 400;
}

.launch-content h2 {
  font-size: 3rem;
  color: var(--primary);
  line-height: 1.15;
  margin-bottom: 2rem;
}

.launch-content p {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.launch-details-list {
  list-style: none;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.launch-details-list li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
  text-align: left;
  width: 100%;
}

.launch-details-list li .icon {
  color: var(--gold);
  font-size: 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.launch-details-list li .label {
  font-weight: 600;
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.3rem;
}

.launch-details-list li .value {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.5;
}

/* Countdown Clock */
.countdown-container {
  display: flex;
  justify-content: flex-start;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.launch-card-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

.countdown-box {
  background: var(--white);
  border: 1px solid var(--panel-border);
  box-shadow: var(--panel-shadow);
  width: 90px;
  height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.countdown-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
}

.countdown-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
}

.countdown-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* Guest of Honor Spotlight */
.guest-spotlight {
  position: relative;
  display: flex;
  justify-content: center;
}

.guest-frame {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 0.75;
  border: 1px solid var(--gold);
  padding: 1.5rem;
  background-color: var(--bg-cream);
  z-index: 5;
  box-shadow: 0 20px 40px rgba(71, 71, 71, 0.08);
}

.guest-frame::after {
  content: "";
  position: absolute;
  top: -10px;
  right: -10px;
  bottom: 10px;
  left: 10px;
  border: 1.5px solid var(--gold);
  pointer-events: none;
  z-index: -1;
  transition: var(--transition-smooth);
}

.guest-frame:hover::after {
  transform: translate(5px, -5px);
}

.guest-image-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.guest-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.guest-frame:hover img {
  transform: scale(1.05);
}

.guest-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(
    to top,
    rgba(71, 71, 71, 0.9) 0%,
    rgba(71, 71, 71, 0.4) 60%,
    transparent 100%
  );
  padding: 2.5rem 1.5rem 1.5rem;
  color: var(--white);
  text-align: center;
}

.guest-name {
  font-size: 1.8rem;
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.guest-title {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* 3. Invitation Card Section */
.inauguration-section {
  background-color: var(--bg-cream);
  position: relative;
}

.inauguration-card-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.digital-invitation-card {
  max-width: 620px;
  width: 100%;
  background: radial-gradient(circle, #fdfcf7 0%, #fcf9f2 100%);
  padding: 12px;
  box-shadow: 0 30px 70px rgba(101, 92, 78, 0.15);
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.5s ease;
  position: relative;
}

.digital-invitation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 40px 90px rgba(101, 92, 78, 0.22);
}

.invitation-image-src {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid rgba(197, 162, 108, 0.35);
}

.card-border-outer {
  border: 2px solid var(--gold);
  padding: 8px;
  position: relative;
}

.card-border-inner {
  border: 1px solid rgba(197, 162, 108, 0.5);
  padding: 4rem 2.5rem 3.5rem;
  position: relative;
}

.corner-ornament {
  position: absolute;
  width: 38px;
  height: 38px;
  color: var(--gold);
}

.corner-ornament.top-left {
  top: 8px;
  left: 8px;
}

.corner-ornament.top-right {
  top: 8px;
  right: 8px;
}

.corner-ornament.bottom-left {
  bottom: 8px;
  left: 8px;
}

.corner-ornament.bottom-right {
  bottom: 8px;
  right: 8px;
}

.corner-ornament svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  display: block;
}

.card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.invite-lead {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.card-logo-container {
  width: 100%;
  max-width: 320px;
  margin: 0 auto 1.2rem;
  color: var(--primary);
}

.card-logo-container svg {
  width: 100%;
  height: auto;
  display: block;
}

.card-logo-container svg path,
.card-logo-container svg .st0 {
  fill: var(--gold);
}

.card-tagline {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--gold-dark);
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.card-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 1.5rem;
  margin: 2rem 0;
  color: var(--gold);
}

.card-divider .d-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(197, 162, 108, 0.4), transparent);
}

.card-divider .d-ornament {
  width: 60px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  flex-shrink: 0;
}

.card-venue-block {
  margin: 0.5rem 0;
}

.venue-text {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text-dark);
  line-height: 1.6;
  font-weight: 400;
  max-width: 440px;
  margin: 0 auto 0.8rem;
}

.datetime-text {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
}

.card-inauguration-block {
  margin: 1rem 0 0;
}

.inaugulated-by {
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  display: block;
}

.inaugurator-name {
  font-family: var(--font-script);
  font-size: 4.5rem;
  color: var(--primary);
  line-height: 0.9;
  font-weight: 400;
  margin: 0.5rem 0 0;
}

.card-portrait-wrapper {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  padding: 5px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(101, 92, 78, 0.12);
  margin: 2rem auto 1rem;
  position: relative;
  overflow: hidden;
}

.card-portrait-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.digital-invitation-card:hover .card-portrait-img {
  transform: scale(1.08);
}

.card-actions {
  margin-top: 1rem;
}

/* Responsive Overrides for Invitation Card */
@media (max-width: 600px) {
  .card-border-inner {
    padding: 3rem 1.5rem 2.5rem;
  }
  
  .corner-ornament {
    width: 30px;
    height: 30px;
  }
  
  .card-logo-container {
    max-width: 240px;
  }
  
  .card-tagline {
    font-size: 1.1rem;
  }
  
  .venue-text {
    font-size: 1.05rem;
  }
  
  .datetime-text {
    font-size: 0.85rem;
  }
  
  .inaugurator-name {
    font-size: 3.5rem;
  }
  
  .card-portrait-wrapper {
    width: 190px;
    height: 190px;
    margin: 1.5rem auto 1rem;
  }
}

/* 4. Signature Collections Section */
.collections-section {
  background-color: var(--primary);
  color: var(--white);
  padding-bottom: 0 !important;
}

.collections-section .section-header h2 {
  color: var(--bg-cream);
}
/* 4. Signature Collections Slider (Infinite Marquee) */
.collections-slider-wrapper {
  position: relative;
  width: 100vw;
  margin-left: calc(
    -50vw + 50%
  ); /* Force breakout to absolute viewport edges */
  margin-right: calc(-50vw + 50%);
  margin-top: 3.5rem;
  padding: 0;
  overflow: hidden;
}

.collections-slider {
  width: 100%;
  overflow: hidden;
}

.collections-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: kasavuMarquee 50s linear infinite;
  will-change: transform;
}

.collections-track:hover {
  animation-play-state: paused;
}

.collection-slide {
  flex: 0 0 25vw;
  width: 25vw;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .collection-slide {
    flex: 0 0 50vw;
    width: 50vw;
  }
}

@media (max-width: 768px) {
  .collection-slide {
    flex: 0 0 100vw;
    width: 100vw;
  }
}

@keyframes kasavuMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.collection-card {
  position: relative;
  aspect-ratio: 0.7;
  overflow: hidden;
  border: 1px solid rgba(196, 161, 108, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  background-color: #2c2822;
  cursor: default;
}

.collection-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  z-index: 1;
  transition: var(--transition-smooth);
}

.collection-card:hover .collection-img {
  transform: scale(1.08);
  opacity: 1;
}

.collection-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(44, 40, 34, 0.95) 0%,
    rgba(44, 40, 34, 0.3) 60%,
    transparent 100%
  );
  z-index: 2;
}

.collection-card-content {
  position: relative;
  z-index: 3;
  transform: translateY(1.5rem);
  transition: var(--transition-smooth);
}

.collection-card:hover .collection-card-content {
  transform: translateY(0);
}

.collection-tag {
  color: var(--gold);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.collection-title {
  font-size: 1.8rem;
  font-family: var(--font-serif);
  margin-bottom: 0.8rem;
  color: var(--bg-cream);
}

.collection-description {
  font-size: 0.85rem;
  color: rgba(250, 248, 245, 0.7);
  opacity: 0;
  transition: var(--transition-smooth);
  height: 0;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.collection-card:hover .collection-description {
  opacity: 1;
  height: auto;
}

.collection-link {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.collection-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: var(--transition-fast);
}

.collection-card:hover .collection-link svg {
  transform: translateX(5px);
}

/* 5. Store Sneak Peek Section */
.store-section {
  background-color: var(--bg-cream);
}

.store-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 6rem;
  align-items: center;
}

.store-visual {
  position: relative;
  border: 1px solid var(--gold);
  padding: 1.5rem;
  box-shadow: 0 30px 60px rgba(71, 71, 71, 0.06);
}

.store-image-container {
  width: 100%;
  aspect-ratio: 1.5;
  overflow: hidden;
}

.store-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.store-visual:hover img {
  transform: scale(1.04);
}

.store-info h3 {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-style: italic;
}

.store-info h2 {
  font-size: 3.5rem;
  color: var(--primary);
  margin-bottom: 2rem;
}

.store-info p {
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* 6. VIP Registration Form Section */
.register-section {
  background-color: var(--bg-cream-dark);
  position: relative;
}

.register-card {
  max-width: 750px;
  margin: 0 auto;
  background-color: var(--white);
  border: 1px solid var(--panel-border);
  box-shadow: 0 20px 50px rgba(71, 71, 71, 0.06);
  padding: 4.5rem;
  position: relative;
  overflow: hidden;
}

.register-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary) 0%,
    var(--gold) 50%,
    var(--primary) 100%
  );
}

.register-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.register-header h3 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.register-header p {
  font-size: 0.95rem;
}

/* Premium Form Styles */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.form-group-full {
  grid-column: span 2;
}

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

.form-input {
  width: 100%;
  padding: 1.2rem 1rem 0.5rem;
  background-color: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(71, 71, 71, 0.15);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-dark);
  outline: none;
  transition: var(--transition-fast);
}

.form-label {
  position: absolute;
  top: 1.1rem;
  left: 1rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  pointer-events: none;
  transition: var(--transition-fast);
}

/* Focus and Active states */
.form-input:focus,
.form-input:not(:placeholder-shown) {
  border-bottom-color: var(--gold);
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
  top: 0;
  left: 1rem;
  font-size: 0.65rem;
  color: var(--gold);
  font-weight: 600;
}

/* Validation styling using modern selectors */
.form-input:user-invalid {
  border-bottom-color: #a83232;
}

.form-input:user-invalid ~ .form-label {
  color: #a83232;
}

.form-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
}

.form-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(71, 71, 71, 0.25);
  border-radius: 0;
  outline: none;
  cursor: pointer;
  position: relative;
  margin-top: 0.1rem;
  transition: var(--transition-fast);
}

.form-checkbox:checked {
  background-color: var(--gold);
  border-color: var(--gold);
}

.form-checkbox:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-checkbox-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
}

.form-checkbox-label a {
  color: var(--gold);
  text-decoration: underline;
}

.submit-btn {
  width: 100%;
}

.form-success-msg {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form-success-msg svg {
  width: 50px;
  height: 50px;
  fill: var(--gold);
  margin-bottom: 1.5rem;
}

.form-success-msg h4 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* 7. Footer Section */
footer {
  background-color: var(--primary);
  color: rgba(250, 248, 245, 0.7);
  padding: 6rem 0 calc(3rem + 55px); /* Bottom padding offset for sticky bottom banner */
  border-top: 1px solid rgba(196, 161, 108, 0.15);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 5rem;
}

.footer-brand .logo-container {
  height: 55px;
  margin-bottom: 2rem;
}

.footer-brand p {
  color: rgba(250, 248, 245, 0.6);
  margin-bottom: 2rem;
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-brand .st0 {
  fill: var(--bg-cream);
}

.footer-socials {
  display: flex;
  gap: 1.2rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(250, 248, 245, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--bg-cream);
  transition: var(--transition-smooth);
}

.social-link:hover {
  background-color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-nav-col h4 {
  font-family: var(--font-sans);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 2rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 1.2rem;
}

.footer-links a {
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 5px;
}

.footer-contact-info p {
  margin-bottom: 1.2rem;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: rgba(250, 248, 245, 0.7);
}

.footer-contact-info p strong {
  color: var(--bg-cream);
  display: block;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.footer-contact-info p svg {
  color: var(--gold);
  width: 16px;
  height: 16px;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(250, 248, 245, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(250, 248, 245, 0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

/* Accessibility Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Premium Dialog / Modal Styling (HTML5 <dialog>) */
.custom-modal {
  border: none;
  background: transparent;
  width: 100vw;
  height: 100vh;
  max-width: 100%;
  max-height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.custom-modal[open] {
  opacity: 1;
  pointer-events: auto;
}

.custom-modal::backdrop {
  background: rgba(44, 40, 34, 0.95); /* Solid premium charcoal overlay */
  opacity: 0;
  transition: opacity 0.5s ease;
}

.custom-modal[open]::backdrop {
  opacity: 1;
}

.modal-container {
  position: relative;
  width: min(90%, calc(85vh * 16 / 9));
  max-width: 1000px;
  aspect-ratio: 16/9;
  background-color: var(--black);
  border: 1px solid var(--gold-border);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.8);
  transform: scale(0.9);
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.custom-modal[open] .modal-container {
  transform: scale(1);
}

/* Image Modal sizing alternative */
.custom-modal.image-modal .modal-container {
  width: min(90%, calc(85vh * 0.5625));
  max-width: 500px;
  aspect-ratio: 0.5625; /* vertical card shape */
  background-color: transparent;
  border: none;
  box-shadow: none;
}

.custom-modal.image-modal .modal-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(44, 40, 34, 0.85); /* Premium solid dark charcoal background for visibility */
  border: 1px solid rgba(197, 162, 108, 0.25);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.modal-close-btn:hover {
  color: var(--gold);
  background: #2c2822;
  transform: scale(1.1);
}

.modal-body {
  width: 100%;
  height: 100%;
}

.modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Modern IntersectionObserver Animation System */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
    transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Delayed reveals for sequential grids */
.reveal-delay-1 {
  transition-delay: 0.15s;
}
.reveal-delay-2 {
  transition-delay: 0.3s;
}
.reveal-delay-3 {
  transition-delay: 0.45s;
}
.reveal-delay-4 {
  transition-delay: 0.6s;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.0rem;
  }
  .hero-content h1 {
    white-space: normal;
  }
  .section-header h2 {
    font-size: 2.5rem;
  }
  .launch-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .launch-content {
    align-items: center;
    text-align: center;
  }
  .launch-content h2 {
    font-size: 2.5rem;
  }
  .launch-details-list {
    align-items: center;
  }
  .launch-details-list li {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
  }
  .countdown-container {
    justify-content: center;
  }
  .collections-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .store-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
  .footer-brand {
    grid-column: span 3;
    text-align: center;
  }
  .footer-brand .logo-container {
    display: flex;
    justify-content: center;
    margin: 0 auto 2rem;
  }
  .footer-socials {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 45px;
    padding-bottom: 0;
  }
  footer {
    padding-bottom: 3rem; /* Reset bottom padding since banner is sticky at the top */
  }
  #store-launch {
    scroll-margin-top: 45px;
  }
  .hero-background-media img {
    object-position: 18% center;
  }
  .gold-badge {
    top: 0;
    bottom: auto;
    font-size: 0.78rem;
    padding: 0.75rem 1rem;
    letter-spacing: 0.08em;
    border-top: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.25);
  }
  .container {
    padding: 0 1.5rem;
  }
  .section-padding {
    padding: 6rem 0;
  }

  header {
    height: 90px;
  }
  header.scrolled {
    height: 70px;
  }

  .nav-links {
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    height: calc(100vh - 90px);
    background-color: var(--bg-cream);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    padding: 3rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    border-top: 1px solid var(--panel-border);
  }

  header.scrolled .nav-links {
    top: 70px;
    height: calc(100vh - 70px);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu-btn {
    display: block;
    z-index: 101;
  }

  /* Active Menu Toggle Lines */
  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .header-cta .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
  }

  .hero-logo-container {
    max-width: 320px;
    margin: -1rem auto 1.2rem;
  }

  .hero-content h1 {
    font-size: 1.85rem;
  }
  .hero-content p {
    font-size: 1.05rem;
  }

  .launch-content h2,
  .store-info h2 {
    font-size: 2.8rem;
  }
  .invitation-details h2 {
    font-size: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .footer-brand {
    grid-column: span 1;
  }
  .footer-brand .logo-container {
    display: flex;
    justify-content: center;
    margin: 0 auto 2rem;
  }
  .footer-socials {
    justify-content: center;
  }
  .footer-nav-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-nav-col h4 {
    margin-bottom: 1rem;
    font-size: 0.85rem;
  }
  .footer-contact-info p {
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 0.95rem;
    gap: 0.5rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .form-group-full {
    grid-column: span 1;
  }

  .register-card {
    padding: 2.5rem 1.5rem;
  }

  .rsvp-actions {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-logo-container {
    max-width: 220px;
    margin: -1rem auto 1rem;
  }
  .hero-content h1 {
    font-size: 1.65rem;
  }
  .collections-grid {
    grid-template-columns: 1fr;
  }
  .countdown-container {
    gap: clamp(0.4rem, 2vw, 0.8rem);
  }
  .countdown-box {
    width: clamp(65px, 18vw, 75px);
    height: clamp(75px, 20vw, 85px);
  }
  .countdown-number {
    font-size: clamp(1.45rem, 5vw, 1.9rem);
  }
  .countdown-label {
    font-size: 0.72rem;
  }
  body {
    padding-top: 50px;
  }
  #store-launch {
    scroll-margin-top: 50px;
  }
  .gold-badge {
    font-size: 0.75rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: span 1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
  }
  .footer-bottom-links {
    justify-content: center;
  }
}
