@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-gray: #666666;
  --color-light-gray: #F5F5F5;
  
  --font-sans: 'Inter', sans-serif;
  --font-serif: 'Playfair Display', serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--color-white);
  color: var(--color-black);
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 1px;
}

p {
  line-height: 1.6;
  font-weight: 300;
  color: var(--color-gray);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Image Lazy Loading Setup */
.lazy-wrapper {
  position: relative;
  overflow: hidden;
  background-color: var(--color-light-gray);
}

.lazy-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out, transform 1.2s ease-out;
}

.lazy-image.loaded {
  opacity: 1;
}

.lqip {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(20px);
  transform: scale(1.1);
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
}

.lazy-image.loaded + .lqip {
  opacity: 0;
  pointer-events: none;
}

/* Buttons */
.btn, .support-btn {
  display: inline-block;
  padding: 15px 40px;
  border: 1px solid var(--color-black);
  border-radius: 0; /* Sharp corners for minimalist look */
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-black);
  background: var(--color-white);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover, .support-btn:hover {
  background: var(--color-black);
  color: var(--color-white);
}

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

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

/* Typography */
.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 300;
  letter-spacing: 4px;
}

.section-subtitle {
  text-align: center;
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 3rem;
  color: var(--color-gray);
}

/* Sections */
section {
  padding: 120px 5%;
  position: relative;
  background-color: var(--color-white); /* Ensure solid white backgrounds */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  height: 100vh;
  height: 100svh; /* Safari mobile fix */
  min-height: 600px;
  background-color: var(--color-white);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 80px; /* offset header */
}

.hero-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  position: relative;
  z-index: 2;
}

.hero-text-area {
  flex: 1;
  padding-right: 5%;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -2px; /* modern editorial tight tracking */
  margin-bottom: 2rem;
  text-transform: uppercase;
  color: var(--color-black);
}

.hero-subtitle {
  font-size: 0.8rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--color-gray);
  margin-bottom: 1.5rem;
  font-weight: 500;
  display: block;
}

.hero-tagline {
  font-size: 1.1rem;
  max-width: 400px;
  margin-bottom: 3rem;
  color: var(--color-gray);
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
}

.hero-image-area {
  flex: 1;
  height: 75vh;
  position: relative;
  z-index: 1;
}

.hero-image-wrapper {
  width: 100%;
  height: 100%;
  border: 1px solid var(--color-black);
  position: relative;
  overflow: hidden;
  /* offset shadow for intrigue */
  box-shadow: 20px 20px 0px rgba(0,0,0,0.05);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slowZoom 10s ease-in-out alternate infinite;
}

/* Elegant floating background typography element */
.hero-bg-text {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-size: 25vw;
  font-weight: 700;
  color: rgba(0,0,0,0.02);
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
  font-family: var(--font-sans);
  letter-spacing: -5px;
}

/* Image Text Split Section */
.split-section {
  display: flex;
  align-items: center;
  gap: 8%;
  position: relative;
}

.split-section.reverse {
  flex-direction: row-reverse;
}

.split-image {
  flex: 1;
}

.split-image .lazy-wrapper {
  aspect-ratio: 4/5;
  border: 1px solid var(--color-black); /* Added border to match theme */
}

.split-text {
  flex: 1;
  padding: 2rem 0;
}

.split-text h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
}

.split-text p {
  color: var(--color-gray);
  margin-bottom: 1rem;
}

/* Removing Glassmorphism */
.glass-card {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  padding: 0;
  border-radius: 0;
}

/* Grid Sections (Experience / Support / Gallery) */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.experience-card {
  text-align: left; /* Aligned left for cleaner look */
}

.experience-card .lazy-wrapper {
  aspect-ratio: 3/4;
  margin-bottom: 1.5rem;
  border: 1px solid var(--color-black);
}

.experience-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.experience-card p {
  font-size: 0.9rem;
  color: var(--color-gray);
}

/* Parallax Sections - making them cleaner */
.parallax-section {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  padding: 150px 5%;
}

.parallax-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 255, 0.85); /* Light overlay instead of dark */
}

.parallax-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  color: var(--color-black);
}

/* Support Options */
.support-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 300px;
  gap: 2rem; /* Wider gaps for minimalism */
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-black);
}

.gallery-item .lazy-wrapper {
  height: 100%;
}

.gallery-item img {
  filter: grayscale(20%);
  transition: all 0.5s ease;
}

.gallery-item img:hover {
  filter: grayscale(0%);
  transform: scale(1.02);
}

.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(4) { grid-column: span 2; }
.gallery-item:nth-child(5) { grid-row: span 2; }

.gallery-grid-uniform .gallery-item {
  grid-column: span 1 !important;
  grid-row: span 1 !important;
}

.gallery-video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: var(--color-black);
}

.gallery-video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: all 0.5s ease;
}

.gallery-video-wrapper:hover video {
  opacity: 1;
  transform: scale(1.02);
}

.video-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.8rem;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.gallery-pagination {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.gallery-pagination .btn {
  padding: 10px 20px;
}

/* Contact Section */
.contact-block {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 4rem;
}

.contact-card {
  border: 1px solid var(--color-black);
  padding: 3rem 2rem;
  text-align: center;
  min-width: 250px;
  background: var(--color-white);
}

.contact-card i {
  font-size: 2rem;
  color: var(--color-black);
  margin-bottom: 1rem;
  font-style: normal;
}

.contact-card h4 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.contact-card p {
  color: var(--color-black);
  font-weight: 500;
}

.copy-btn {
  margin-top: 1.5rem;
  font-size: 0.7rem;
  padding: 8px 20px;
  background: transparent;
  border: 1px solid var(--color-black);
  color: var(--color-black);
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.copy-btn:hover {
  background: var(--color-black);
  color: var(--color-white);
}

.card-actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.card-actions .copy-btn {
  margin-top: 0;
}

.visit-btn {
  font-size: 0.7rem;
  padding: 8px 20px;
  background: var(--color-black);
  border: 1px solid var(--color-black);
  color: var(--color-white);
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

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

/* Forms */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

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

.form-control {
  width: 100%;
  padding: 15px;
  background: var(--color-white);
  border: 1px solid var(--color-black);
  border-radius: 0;
  color: var(--color-black);
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.form-control:focus {
  outline: none;
  box-shadow: 4px 4px 0px rgba(0,0,0,0.1);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
footer {
  padding: 60px 5%;
  text-align: center;
  border-top: 1px solid var(--color-black);
  font-size: 0.8rem;
  color: var(--color-gray);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Header/Nav */
.menu-toggle {
  display: none;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  padding: 20px 5%;
  border-bottom: 1px solid var(--color-black);
}

.logo {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  color: var(--color-black);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
}

nav ul {
  display: flex;
  gap: 2.5rem;
}

nav a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-black);
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--color-gray);
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    height: auto;
    min-height: 100svh;
    padding-top: 100px;
    padding-bottom: 50px;
    align-items: flex-start;
  }
  .hero-container {
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 0;
  }
  .hero-text-area {
    padding-right: 0;
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 2rem;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-image-area {
    width: 100%;
    height: 50vh;
    min-height: 400px;
  }
  .hero-title { font-size: 4rem; }
  .split-section, .split-section.reverse { flex-direction: column; gap: 3rem; }
  .split-image, .split-text { width: 100%; text-align: center; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 1rem; }
  
  header {
    flex-direction: row;
    padding: 15px 5%;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 101;
  }
  
  .menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--color-black);
    transition: all 0.3s ease-in-out;
  }
  
  nav#nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    height: 100svh;
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
  }
  
  nav#nav-menu.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  
  nav ul li a {
    font-size: 1.5rem;
  }
  
  /* hamburger animation */
  .menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 600px) {
  .hero-title { font-size: 15vw; margin-bottom: 0.5rem; }
  .hero-subtitle { font-size: 0.7rem; letter-spacing: 2px; }
  .hero-tagline { font-size: 1rem; margin-bottom: 2rem; }
  .hero-bg-text { font-size: 35vw; top: 15%; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; margin-bottom: 10px; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 100px; gap: 0.5rem; }
  section { padding: 80px 5%; }
  .contact-block { flex-direction: column; }
  
  /* Zig-Zag Experience Layout */
  .grid-3 {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }
  .experience-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
  }
  .experience-card .lazy-wrapper {
    width: 40%;
    aspect-ratio: 3/4;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  /* Card 1 and 3: Text Left, Image Right */
  .experience-card:nth-child(odd) {
    flex-direction: row-reverse;
    text-align: right;
  }
  /* Card 2: Image Left, Text Right */
  .experience-card:nth-child(even) {
    flex-direction: row;
    text-align: left;
  }
}


/* Sponsor Benefits Section */
.sponsor-benefits {
  padding: 150px 5%;
  border-top: 1px solid var(--color-light-gray);
  border-bottom: 1px solid var(--color-light-gray);
}

.light-overlay {
  background: rgba(255, 255, 255, 0.4);
}

.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 4rem 5rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInScroll 1s ease-out forwards;
}

@keyframes fadeInScroll {
  to { opacity: 1; transform: translateY(0); }
}

.serif-heading {
  font-family: var(--font-serif);
  text-transform: none;
  letter-spacing: 1px;
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 2rem;
  text-align: center;
}

.benefits-intro {
  font-size: 1.1rem;
  color: var(--color-black);
  margin-bottom: 2rem;
  text-align: center;
  font-style: italic;
}

.benefits-list {
  margin-bottom: 2.5rem;
}

.benefits-list li {
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  color: var(--color-black);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  line-height: 1.5;
}

.check-icon {
  font-family: var(--font-sans);
  color: var(--color-gray);
  font-weight: 300;
  font-size: 1.1rem;
}

.benefits-outro {
  font-size: 1.1rem;
  color: var(--color-black);
  text-align: center;
  font-weight: 500;
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 2rem;
}

@media (max-width: 768px) {
  .glass-panel {
    padding: 3rem 2rem;
  }
  .serif-heading {
    font-size: 2rem;
  }
}

/* Scroll Reveal Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-zoom {
  opacity: 0;
  transform: scale(0.95);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.is-revealed {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Add a slight delay for grid items to cascade */
.grid-3 > div:nth-child(1), .gallery-item:nth-child(1) { transition-delay: 0.1s; }
.grid-3 > div:nth-child(2), .gallery-item:nth-child(2) { transition-delay: 0.2s; }
.grid-3 > div:nth-child(3), .gallery-item:nth-child(3) { transition-delay: 0.3s; }
.gallery-item:nth-child(4) { transition-delay: 0.1s; }
.gallery-item:nth-child(5) { transition-delay: 0.2s; }
.gallery-item:nth-child(6) { transition-delay: 0.3s; }
.gallery-item:nth-child(7) { transition-delay: 0.4s; }
.gallery-item:nth-child(8) { transition-delay: 0.5s; }

/* Subtle image scale animation on load for more intrigue */
@keyframes slowZoom {
  from { transform: scale(1.0); }
  to { transform: scale(1.05); }
}

.lazy-image.loaded {
  animation: slowZoom 10s ease-in-out alternate infinite;
}

/* Stop slowZoom on gallery hover to let the hover effect take over */
.gallery-item:hover .lazy-image.loaded {
  animation-play-state: paused;
}
