/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ===== HERO GEOMETRIC SHAPES ===== */
.hero-geo {
  position: absolute;
  pointer-events: none;
}

.shape-circle-1 {
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52,212,176,0.12) 0%, transparent 70%);
  top: 5%;
  right: -5%;
  animation: float-slow 8s ease-in-out infinite;
}

.shape-circle-2 {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52,212,176,0.08) 0%, transparent 70%);
  bottom: 10%;
  left: -3%;
  animation: float-slow 10s ease-in-out infinite reverse;
}

.shape-circle-3 {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(52,212,176,0.1);
  top: 35%;
  left: 8%;
  animation: float-medium 6s ease-in-out infinite;
}

.shape-ring {
  width: 200px;
  height: 200px;
  border: 3px solid rgba(52,212,176,0.15);
  border-radius: 50%;
  top: 15%;
  left: 15%;
  animation: spin-slow 20s linear infinite;
}

.shape-dots {
  width: 120px;
  height: 120px;
  bottom: 20%;
  right: 12%;
  background-image: radial-gradient(circle, rgba(52,212,176,0.3) 1px, transparent 1px);
  background-size: 14px 14px;
  animation: float-medium 7s ease-in-out infinite reverse;
}

.shape-photo-1 {
  width: 180px;
  height: 220px;
  border-radius: 20px;
  overflow: hidden;
  top: 12%;
  right: 5%;
  opacity: 0.35;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  transform: rotate(6deg);
  animation: float-medium 9s ease-in-out infinite;
}

.shape-photo-1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shape-photo-2 {
  width: 150px;
  height: 190px;
  border-radius: 16px;
  overflow: hidden;
  bottom: 18%;
  left: 5%;
  opacity: 0.3;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  transform: rotate(-4deg);
  animation: float-slow 11s ease-in-out infinite reverse;
}

.shape-photo-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shape-photo-3 {
  width: 120px;
  height: 150px;
  border-radius: 14px;
  overflow: hidden;
  top: 50%;
  right: 12%;
  opacity: 0.25;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  transform: rotate(3deg);
  animation: float-slow 8s ease-in-out infinite;
}

.shape-photo-3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== ANIMATIONS ===== */
@keyframes float-slow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes float-medium {
  0%, 100% { transform: translateY(0px) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-14px) rotate(var(--rot, 0deg)); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.shape-ring {
  animation: spin-slow 25s linear infinite;
}

.shape-photo-1 { --rot: 6deg; }
.shape-photo-2 { --rot: -4deg; }
.shape-photo-3 { --rot: 3deg; }

@keyframes float-medium {
  0%, 100% { transform: translateY(0px) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-14px) rotate(var(--rot, 0deg)); }
}

/* ===== SCROLL REVEAL ===== */
.scroll-reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
  }
  .scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
}

/* ===== NAV ===== */
header {
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .shape-circle-1 { width: 240px; height: 240px; }
  .shape-circle-2 { width: 160px; height: 160px; }
  .shape-circle-3 { display: none; }
  .shape-ring { display: none; }
  .shape-dots { display: none; }
  .shape-photo-1 { width: 100px; height: 130px; top: 8%; right: 2%; }
  .shape-photo-2 { width: 80px; height: 100px; bottom: 12%; left: 2%; }
  .shape-photo-3 { display: none; }
}

@media (min-width: 641px) and (max-width: 1023px) {
  .shape-circle-1 { width: 300px; height: 300px; }
  .shape-photo-1 { width: 130px; height: 160px; }
  .shape-photo-2 { width: 110px; height: 140px; }
  .shape-photo-3 { display: none; }
}

/* ===== SELECTION ===== */
::selection {
  background: rgba(52,212,176,0.3);
  color: #f0f4f8;
}
