/* ===== Base ===== */
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; }

/* ===== Hero ===== */
.hero-overlay {
  background: linear-gradient(to bottom,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.1) 40%,
    rgba(0, 0, 0, 0.5) 100%);
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.img-reveal {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1s cubic-bezier(0.77, 0, 0.175, 1);
}
.img-reveal.visible {
  clip-path: inset(0 0 0 0);
}

/* ===== Navigation ===== */
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* ===== Buttons ===== */
.btn-outline {
  border: 1px solid currentColor;
  padding: 0.6rem 1.8rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.btn-outline:hover { background: rgba(0,0,0,0.05); }

/* ===== Photo grid ===== */
.photo-grid img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.photo-grid img:hover { transform: scale(1.03); }

/* ===== Decorative circle ===== */
.decorative-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 124, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.decorative-circle::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px dashed rgba(201, 168, 124, 0.2);
}

/* ===== 3D & Perspective ===== */
.perspective { perspective: 1200px; }
.preserve-3d { transform-style: preserve-3d; }

.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.03, 0.98, 0.52, 0.99);
  will-change: transform;
}
.tilt-card .tilt-inner {
  transform: translateZ(40px);
  transition: transform 0.4s ease;
}
.tilt-card:hover .tilt-inner { transform: translateZ(60px); }

.parallax-hero { will-change: transform; }

/* ===== Floating elements ===== */
.float-element {
  animation: float3d 6s ease-in-out infinite;
  will-change: transform;
}
.float-element:nth-child(2) { animation-delay: -2s; }
.float-element:nth-child(3) { animation-delay: -4s; }

@keyframes float3d {
  0%, 100% { transform: translateY(0) translateZ(0) rotateX(0deg); }
  50% { transform: translateY(-20px) translateZ(30px) rotateX(3deg); }
}

.depth-scale {
  transition: transform 0.1s linear;
  will-change: transform;
}

/* ===== Glassmorphism ===== */
.glass-card {
  background: rgba(254, 254, 254, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(149, 182, 148, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 0 15px rgba(149, 182, 148, 0.06);
  transition: box-shadow 0.4s ease;
}
.glass-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 0 25px rgba(149, 182, 148, 0.15), 0 0 50px rgba(149, 182, 148, 0.05);
}

/* ===== Cursor glow ===== */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(149,182,148,0.18) 0%, rgba(149,182,148,0.05) 40%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  will-change: left, top;
}

/* ===== Magnetic button ===== */
.magnetic-btn {
  transition: transform 0.3s cubic-bezier(0.03, 0.98, 0.52, 0.99);
  will-change: transform;
}

/* ===== Immersive gallery ===== */
.immersive-gallery {
  display: flex;
  gap: 1rem;
  overflow-x: hidden;
  perspective: 800px;
}
.immersive-gallery .gallery-item {
  flex: 0 0 auto;
  width: 280px;
  height: 350px;
  border-radius: 8px;
  overflow: hidden;
  transform: rotateY(0deg);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
  will-change: transform;
}
.immersive-gallery .gallery-item:hover {
  transform: rotateY(-5deg) scale(1.03);
  box-shadow: 20px 20px 60px rgba(0,0,0,0.15);
}
.immersive-gallery .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.immersive-gallery .gallery-item:hover img { transform: scale(1.08); }

/* ===== Staggered reveal ===== */
.stagger-reveal > * {
  opacity: 0;
  transform: translateY(40px) rotateX(10deg);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.stagger-reveal.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-reveal.visible > *:nth-child(2) { transition-delay: 0.15s; }
.stagger-reveal.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-reveal.visible > *:nth-child(4) { transition-delay: 0.45s; }
.stagger-reveal.visible > * {
  opacity: 1;
  transform: translateY(0) rotateX(0deg);
}

/* ===== Text reveal ===== */
.text-reveal { overflow: hidden; }
.text-reveal span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}
.text-reveal.visible span { transform: translateY(0); }

/* ===== Decorative ring ===== */
.ring-3d {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1.5px solid rgba(149, 182, 148, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: ring-spin 20s linear infinite;
}
.ring-3d::before {
  content: '';
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1px dashed rgba(149, 182, 148, 0.2);
  animation: ring-spin 30s linear infinite reverse;
}
.ring-3d::after {
  content: '';
  position: absolute;
  inset: -32px;
  border-radius: 50%;
  border: 1px dotted rgba(149, 182, 148, 0.12);
  animation: ring-spin 40s linear infinite;
}
.ring-3d .ring-letter {
  animation: ring-spin 20s linear infinite reverse;
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-style: italic;
  color: #95b694;
}
@keyframes ring-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== Neon effects ===== */
.neon-text {
  text-shadow:
    0 0 10px rgba(149, 182, 148, 0.4),
    0 0 30px rgba(149, 182, 148, 0.2),
    0 0 60px rgba(149, 182, 148, 0.1);
}

.neon-border {
  box-shadow:
    0 0 5px rgba(149, 182, 148, 0.15),
    0 0 20px rgba(149, 182, 148, 0.08),
    inset 0 0 15px rgba(149, 182, 148, 0.03);
  border-color: rgba(149, 182, 148, 0.3);
}
.neon-border:hover {
  box-shadow:
    0 0 10px rgba(149, 182, 148, 0.3),
    0 0 40px rgba(149, 182, 148, 0.15),
    inset 0 0 20px rgba(149, 182, 148, 0.05);
}

.neon-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(149, 182, 148, 0.5), transparent);
  box-shadow: 0 0 8px rgba(149, 182, 148, 0.3), 0 0 20px rgba(149, 182, 148, 0.1);
}

.neon-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #95b694;
  box-shadow: 0 0 6px #95b694, 0 0 15px rgba(149, 182, 148, 0.4), 0 0 30px rgba(149, 182, 148, 0.2);
  animation: neon-pulse 3s ease-in-out infinite;
}

@keyframes neon-pulse {
  0%, 100% { box-shadow: 0 0 6px #95b694, 0 0 15px rgba(149, 182, 148, 0.4), 0 0 30px rgba(149, 182, 148, 0.2); }
  50% { box-shadow: 0 0 10px #95b694, 0 0 25px rgba(149, 182, 148, 0.6), 0 0 50px rgba(149, 182, 148, 0.3); }
}

.neon-btn {
  border: 1px solid rgba(149, 182, 148, 0.5);
  box-shadow: 0 0 8px rgba(149, 182, 148, 0.15), inset 0 0 8px rgba(149, 182, 148, 0.05);
  transition: all 0.3s ease;
}
.neon-btn:hover {
  box-shadow: 0 0 15px rgba(149, 182, 148, 0.4), 0 0 40px rgba(149, 182, 148, 0.15), inset 0 0 15px rgba(149, 182, 148, 0.08);
  border-color: rgba(149, 182, 148, 0.8);
  color: #95b694;
}

.neon-icon { filter: drop-shadow(0 0 6px rgba(149, 182, 148, 0.5)); }

.neon-label { position: relative; display: inline-block; }
.neon-label::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #95b694;
  box-shadow: 0 0 5px #95b694, 0 0 15px rgba(149, 182, 148, 0.3);
}

/* ===== Depth shadow ===== */
.depth-shadow { position: relative; }
.depth-shadow::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 5%;
  right: 5%;
  height: 30px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.12) 0%, transparent 70%);
  filter: blur(8px);
  z-index: -1;
  transition: all 0.4s ease;
}
.depth-shadow:hover::after {
  bottom: -16px;
  left: 8%;
  right: 8%;
  opacity: 0.7;
}

/* ===== Mobile menu ===== */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.mobile-menu.open { transform: translateX(0); }

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 1.5rem;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  color: #fefefe;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  border-top: 1px solid rgba(149, 182, 148, 0.3);
  box-shadow: 0 -4px 30px rgba(149, 182, 148, 0.08);
}
.cookie-banner p {
  max-width: 700px;
  line-height: 1.6;
  color: rgba(254, 254, 254, 0.7);
}
.cookie-banner a {
  color: #95b694;
  text-decoration: underline;
}
.cookie-btn-accept {
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  background: #95b694;
  color: #000;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.3s;
  box-shadow: 0 0 10px rgba(149, 182, 148, 0.3);
}
.cookie-btn-accept:hover {
  box-shadow: 0 0 20px rgba(149, 182, 148, 0.5);
}
.cookie-btn-decline {
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  background: transparent;
  color: rgba(254, 254, 254, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(254, 254, 254, 0.2);
  cursor: pointer;
  transition: all 0.3s;
}
.cookie-btn-decline:hover {
  border-color: rgba(149, 182, 148, 0.4);
  color: #95b694;
}
