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

:root {
  --bg-color: #030a16;
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --accent: #00f3ff;
  --accent-glow: rgba(0, 243, 255, 0.4);
  --glass-bg: rgba(10, 20, 40, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Background Effects */
.ocean-bg {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: radial-gradient(circle at 50% 0%, #0a1931 0%, var(--bg-color) 70%);
  z-index: -2;
}

.bubbles {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bubble {
  position: absolute;
  bottom: -20px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.1));
  border-radius: 50%;
  animation: floatUp 10s infinite ease-in;
  opacity: 0.3;
}

@keyframes floatUp {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  20% { opacity: 0.4; }
  100% { transform: translateY(-110vh) scale(1.5); opacity: 0; }
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 5%;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(3, 10, 22, 0.9), transparent);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 0 15px var(--accent-glow);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s, text-shadow 0.3s;
}

nav a:hover {
  color: var(--accent);
  text-shadow: 0 0 8px var(--accent-glow);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  z-index: -1;
  overflow: hidden;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(3,10,22,0.2) 0%, var(--bg-color) 100%);
}

.parallax-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 10;
  background: rgba(3, 10, 22, 0.4);
  padding: 3rem;
  border-radius: 20px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.05);
}

.hero-subtitle {
  font-size: 1.2rem;
  letter-spacing: 4px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1rem;
  animation: fadeIn 2s ease-out;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, #ffffff, #8ba4d8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: slideUp 1s ease-out;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 2.5rem;
  animation: slideUp 1.2s ease-out;
}

.btn-primary {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  color: #000;
  background: var(--accent);
  border: none;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 0 20px var(--accent-glow);
  transition: transform 0.3s, box-shadow 0.3s;
  animation: slideUp 1.4s ease-out;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px var(--accent);
}

/* Info Cards */
.content-section {
  padding: 5rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #fff;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.4s, border-color 0.4s;
}

.glass-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 243, 255, 0.1);
}

.glass-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.glass-card p {
  color: var(--text-muted);
  font-size: 1rem;
}

.icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0, 243, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent);
  font-size: 1.5rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Tentacle Animation (Subtle) */
.tentacle {
  position: absolute;
  width: 300px;
  height: 300px;
  background-image: radial-gradient(circle, var(--accent-glow) 10%, transparent 60%);
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.5;
  animation: sway 8s infinite alternate ease-in-out;
  z-index: -1;
}

.t1 { top: 20%; left: -10%; }
.t2 { bottom: 10%; right: -5%; animation-delay: -4s; }

@keyframes sway {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, -30px) scale(1.1); }
}

/* Footer */
footer {
  text-align: center;
  padding: 3rem;
  border-top: 1px solid var(--glass-border);
  margin-top: 5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Gallery Section */
.gallery-section {
  padding: 5rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16/9;
  cursor: pointer;
  border: 1px solid var(--glass-border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  padding: 2rem 1.5rem;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
}

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

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
  opacity: 1;
}

.gallery-overlay h3 {
  color: #fff;
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.5rem;
}

.gallery-overlay p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Cinematic Quote */
.cinematic-quote {
  padding: 8rem 5%;
  text-align: center;
  background: radial-gradient(circle at center, rgba(0, 243, 255, 0.05), transparent 60%);
  margin: 4rem 0;
}

.quote-content p {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-style: italic;
  color: #fff;
  max-width: 900px;
  margin: 0 auto 2rem;
  line-height: 1.3;
}

.quote-content .author {
  font-size: 1.2rem;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Interactive Cursor Canvas */
#bubble-canvas {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
}

/* CSS SVG Octopus Animation */
.swimming-octopus {
  position: fixed;
  top: 30%;
  left: -200px;
  z-index: -1;
  opacity: 0.6;
  animation: swimAcross 25s linear infinite;
  filter: drop-shadow(0 0 20px var(--accent-glow));
}

@keyframes swimAcross {
  0% { transform: translateX(0) translateY(0) rotate(5deg); }
  50% { transform: translateX(50vw) translateY(-50px) rotate(-5deg); }
  100% { transform: translateX(120vw) translateY(30px) rotate(10deg); }
}

/* Horizontal Scroll Section */
.horizontal-scroll-section {
  height: 500vh; /* Increased for longer scroll duration and buffer */
  position: relative;
}

.sticky-container {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

.horizontal-wrapper {
  display: flex;
  height: 100%;
  width: 300%; /* 3 items = 300% of sticky container width */
  will-change: transform;
}

.horizontal-item {
  width: 33.3333%; /* 1/3 of the wrapper */
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.horizontal-item img {
  position: absolute;
  top: 0;
  left: -35vw;
  width: 170vw;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.4);
}

.horizontal-info {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 4rem;
  max-width: 800px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  animation: fadeIn 1s ease-out;
}

.horizontal-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: #fff;
  margin-bottom: 1.5rem;
}

.horizontal-info p {
  color: var(--text-main);
  font-size: 1.2rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .hero h1 { font-size: 3rem; }
  nav ul { display: none; }
  .quote-content p { font-size: 2rem; }
  .horizontal-info { padding: 2rem; margin: 0 20px; }
  .horizontal-info h3 { font-size: 2rem; }
}
