:root {
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  --text-primary: #f8f9fa; /* Soft white for high contrast on dark glass */
  --text-secondary: #e9ecef; /* Light gray */
  --text-light: #adb5bd; /* Muted gray for placeholders/subtext */
  
  /* Dark Glass variables */
  --glass-bg: rgba(20, 25, 40, 0.45); /* Dark translucent background */
  --glass-border: rgba(255, 255, 255, 0.15); /* Thin subtle border */
  --glass-shadow: rgba(0, 0, 0, 0.4); /* Stronger drop shadow for depth */
  
  /* Midnight Aurora / Sunset Blob colors */
  --blob-c1: rgba(255, 107, 107, 0.85); /* Coral/Rose */
  --blob-c2: rgba(132, 94, 194, 0.85);  /* Deep Violet */
  --blob-c3: rgba(255, 150, 113, 0.8);  /* Warm Amber */
  --blob-c4: rgba(214, 93, 177, 0.8);   /* Magenta */
  
  /* Button Styling */
  --btn-gradient: linear-gradient(135deg, #ff6b6b, #845ec2);
  --btn-shadow: rgba(255, 107, 107, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: #0b0f19; /* Deep midnight base */
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, .logo {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-primary);
}

/* Liquid Background */
.liquid-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  background: #0b0f19;
}

/* Base class for the animated blobs */
.blob {
  position: absolute;
  filter: blur(100px);
  border-radius: 50%;
  animation: liquidMove 20s infinite linear alternate;
  opacity: 0.8;
}

.blob-1 {
  width: 65vw;
  height: 65vw;
  background: radial-gradient(circle, var(--blob-c1) 0%, transparent 70%);
  top: -15%;
  left: -10%;
  animation-duration: 25s;
}

.blob-2 {
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, var(--blob-c2) 0%, transparent 70%);
  top: 30%;
  right: -10%;
  animation-duration: 22s;
  animation-direction: alternate-reverse;
}

.blob-3 {
  width: 65vw;
  height: 65vw;
  background: radial-gradient(circle, var(--blob-c3) 0%, transparent 70%);
  bottom: -20%;
  left: 15%;
  animation-duration: 28s;
}

.blob-4 {
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, var(--blob-c4) 0%, transparent 70%);
  top: 15%;
  left: 30%;
  animation-duration: 18s;
  animation-direction: reverse;
}

/* 20s infinite linear loop */
@keyframes liquidMove {
  0% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(8vw, -6vh) scale(1.1); }
  50% { transform: translate(-4vw, 8vh) scale(0.95); }
  75% { transform: translate(5vw, 4vh) scale(1.05); }
  100% { transform: translate(-2vw, -2vh) scale(1); }
}

/* Glassmorphism Utilities */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 15px 35px var(--glass-shadow);
  border-radius: 24px;
}

/* Nav */
.glass-nav {
  position: fixed;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 5px 25px var(--glass-shadow);
  border-radius: 40px;
  padding: 15px 40px;
  z-index: 1000;
  transition: all 0.4s ease;
}

.glass-nav.scrolled {
  top: 15px;
  background: rgba(15, 20, 35, 0.7);
  padding: 12px 40px;
  box-shadow: 0 8px 32px var(--glass-shadow);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.6rem;
  text-decoration: none;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 35px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 1rem;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: #fff;
  opacity: 1;
}

/* Buttons */
.btn-primary {
  padding: 12px 30px;
  border-radius: 30px;
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  background: var(--btn-gradient);
  box-shadow: 0 6px 20px var(--btn-shadow);
}

.liquid-btn::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    transparent, 
    rgba(255, 255, 255, 0.3), 
    transparent
  );
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.liquid-btn:hover::before {
  transform: rotate(45deg) translate(50%, 50%);
  opacity: 1;
}

.liquid-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
}

.btn-large {
  padding: 16px 40px;
  font-size: 1.1rem;
}

.btn-secondary {
  padding: 10px 24px;
  border-radius: 30px;
  border: 1.5px solid var(--glass-border);
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

/* Shared Page Headers (for inner pages) */
.page-header {
  padding: 160px 20px 60px;
  text-align: center;
}
.page-header h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.page-header p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Sections */
main {
  min-height: calc(100vh - 200px);
  padding-top: 100px; /* Space for the fixed nav */
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 40px; 
}

.hero-content {
  text-align: center;
  max-width: 850px;
  padding: 70px 50px;
  margin-top: -5vh; 
  will-change: transform;
}

.hero-content h1 {
  font-size: 4.8rem;
  margin-bottom: 25px;
  line-height: 1.1;
  letter-spacing: -1px;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  color: var(--text-secondary);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.content-section {
  padding: 80px 20px 100px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}
.section-title h2 {
  font-size: 3rem;
  margin-bottom: 15px;
}

/* Generic Grid */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

/* Glass Card */
.glass-card {
  --parallax-y: 0px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 40px var(--glass-shadow);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  
  opacity: 0;
  transform: translateY(calc(80px + var(--parallax-y)));
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.8s ease-out, box-shadow 0.4s ease, border-color 0.4s ease;
  will-change: transform, opacity;
}

.glass-card.visible:hover {
  transform: translateY(calc(-10px + var(--parallax-y))) scale(1.02);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  border-color: rgba(255, 255, 255, 0.3);
}

.glass-card.visible, .staggered-fade.visible {
  opacity: 1;
  transform: translateY(var(--parallax-y));
}

.glass-card .icon {
  margin-bottom: 25px;
  color: #ff9671; /* Accent color for icons */
  display: inline-block;
}

.glass-card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.glass-card p {
  color: var(--text-secondary);
  margin-bottom: 30px;
  font-size: 1.05rem;
  line-height: 1.5;
}

/* Schedule Table */
.schedule-panel {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
  overflow-x: auto;
}
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.schedule-table th, .schedule-table td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--glass-border);
}
.schedule-table th {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: #ff9671;
}

/* Forms */
.contact-wrapper {
  max-width: 700px;
  margin: 0 auto;
  padding: 50px;
}

.glass-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.form-group label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-left: 5px;
}

.glass-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  padding: 14px 24px;
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  outline: none;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

textarea.glass-input {
  min-height: 150px;
  resize: vertical;
  border-radius: 20px;
}

.glass-input::placeholder {
  color: var(--text-light);
}

.glass-input:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 107, 107, 0.6);
  box-shadow: 0 0 15px rgba(255, 107, 107, 0.2);
}

/* Footer Minimal */
.glass-footer {
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
  background: rgba(0,0,0,0.2);
  backdrop-filter: blur(10px);
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 30px;
}
.social-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 600;
  transition: color 0.3s ease;
}
.social-links a:hover {
  color: #ff9671;
}

/* Animations */
.staggered-fade {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

/* Gallery Styles */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.gallery-item {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* Contact Grid Layout */
.contact-page-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.map-container {
  flex-grow: 1;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  min-height: 300px;
}

.contact-form-container form {
  margin-top: 20px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-btn span {
  width: 30px;
  height: 3px;
  background-color: var(--text-primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.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);
}

/* Media Queries */
@media (max-width: 900px) {
  .hero-content h1, .page-header h1 {
    font-size: 3.2rem;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn { display: flex; }
  .nav-container > .btn-primary { display: none; }
  
  .nav-links { 
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    /* More solid background for mobile to prevent overlap visibility */
    background: rgba(15, 20, 35, 0.98); 
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    flex-direction: column;
    padding: 40px 0;
    gap: 25px;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    z-index: 2000;
    
    /* Animation defaults */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    font-size: 1.2rem;
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }

  .glass-nav { padding: 15px 25px; width: 95%; z-index: 2000; }
  .hero-content { padding: 50px 30px; }
  .glass-card { padding: 30px; }
  .contact-wrapper { padding: 30px 20px; }
  .contact-page-container { 
    grid-template-columns: 1fr; 
    gap: 40px; 
    padding: 30px 20px; 
  }
}
