/* CSS Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --background: hsl(0, 0%, 4%);
  --foreground: hsl(0, 0%, 100%);
  --primary: hsl(357, 84%, 53%);
  --primary-foreground: hsl(0, 0%, 100%);
  --muted: hsl(0, 0%, 60%);
  --border: hsl(0, 0%, 20%);
  --radius: 1rem;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Spline Sans', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  overflow: hidden;
  height: 100vh;
}
/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background-color: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: 96px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.header-container {
  max-width: 1440px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (min-width: 768px) {
  .header-container {
    padding: 0 40px;
  }
}
/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-icon {
  width: 32px;
  height: 32px;
  color: var(--primary);
}
.logo-text {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}
/* Navigation */
.nav {
  display: none;
  align-items: center;
  gap: 32px;
}
@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}
@media (min-width: 1024px) {
  .nav {
    gap: 48px;
  }
}
/* --- Add this at the bottom of your CSS file --- */

@media (max-width: 767px) {
  .nav.active {
    display: flex; /* This makes the menu appear when clicked */
    flex-direction: column;
    position: absolute;
    top: 96px; /* Positions it right under your 96px header */
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.98); /* Solid-ish dark background */
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 24px;
    z-index: 100;
    text-align: center;
  }
  
  /* Optional: Makes the links look better on mobile */
  .nav.active .nav-link {
    font-size: 1.2rem;
    width: 100%;
  }
}
.nav-link {
  background: none;
  border: none;
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s ease;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.nav-link:hover {
  color: var(--primary);
  opacity: 1;
}
.nav-link.active {
  color: var(--primary);
  opacity: 1;
  border-bottom-color: var(--primary);
}
.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.3s ease;
}
.mobile-menu-btn:hover {
  color: var(--foreground);
}
@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}
/* Main Gallery */
.main {
  height: 100vh;
  width: 100%;
  padding-top: 96px;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.main::-webkit-scrollbar {
  display: none;
}
/* Gallery Item */
.gallery-section {
  height: 100vh;
  width: 100%;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
@media (min-width: 768px) {
  .gallery-section {
    padding: 80px;
  }
}
.gallery-item {
  position: relative;
  width: 100%;
  height: 85vh;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: all 0.7s ease-in-out;
  animation: fadeInUp 0.8s ease-out forwards;
}
.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
  transform: scale(1.05);
}
.gallery-item:hover .gallery-image {
  transform: scale(1);
}
.quote-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 50%, transparent 100%);
  opacity: 1;
  transition: opacity 0.5s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}
@media (min-width: 768px) {
  .quote-overlay {
    padding: 48px;
  }
}
.gallery-item:hover .quote-overlay {
  opacity: 1;
}
.quote-text {
  font-size: 1.875rem;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.025em;
}
@media (min-width: 640px) {
  .quote-text {
    font-size: 3rem;
  }
}
@media (min-width: 768px) {
  .quote-text {
    font-size: 3.75rem;
  }
}
@media (min-width: 1024px) {
  .quote-text {
    font-size: 4.5rem;
  }
}
/* CTA Section */
.cta-section {
  height: 100vh;
  width: 100%;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
}
.cta-content {
  max-width: 1000px;
  text-align: center;
  padding: 24px;
}
.cta-title {
  color: var(--primary-foreground);
  font-size: 3rem;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.025em;
  margin-bottom: 48px;
}
@media (min-width: 640px) {
  .cta-title {
    font-size: 4.5rem;
  }
}
@media (min-width: 768px) {
  .cta-title {
    font-size: 6rem;
  }
}
@media (min-width: 1024px) {
  .cta-title {
    font-size: 8rem;
  }
}
.cta-btn {
  margin-top: 32px;
  padding: 16px 32px;
  background-color: var(--background);
  color: var(--foreground);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.cta-btn:hover {
  background-color: var(--foreground);
  color: var(--background);
}
/* Floating Elements */
.floating-share {
  position: fixed;
  left: 24px;
  bottom: 40px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 768px) {
  .floating-share {
    left: 40px;
  }
}
.floating-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.floating-btn:hover {
  background-color: var(--foreground);
  color: var(--background);
}
.floating-scroll-indicator {
  display: none;
  position: fixed;
  right: 40px;
  bottom: 40px;
  z-index: 50;
  align-items: center;
  gap: 24px;
}
@media (min-width: 768px) {
  .floating-scroll-indicator {
    display: flex;
  }
}
.scroll-indicator {
  height: 96px;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  position: relative;
}
.scroll-indicator::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary);
  transition: height 0.3s ease;
  height: 0%;
}
.watermark {
  position: fixed;
  top: 50%;
  right: -80px;
  transform: rotate(-90deg);
  z-index: 40;
  display: none;
  pointer-events: none;
  font-size: 120px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.025em;
}
@media (min-width: 1280px) {
  .watermark {
    display: block;
  }
}
.scroll-top-btn {
  position: fixed;
  right: 24px;
  bottom: 112px;
  z-index: 50;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  pointer-events: none;
}
@media (min-width: 768px) {
  .scroll-top-btn {
    right: 40px;
  }
}
.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
}
.scroll-top-btn:hover {
  transform: scale(1.1);
}
/* Animations */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}