/* Ocean Theme - Cores de Praia */
:root {
  /* Cores principais - Azul e Amarelo */
  --ocean-blue: #1e40af;
  --ocean-blue-light: #3b82f6;
  --ocean-blue-dark: #1e3a8a;
  --ocean-teal: #0891b2;
  --ocean-teal-light: #06b6d4;
  
  --sand-yellow: #f59e0b;
  --sand-yellow-light: #fbbf24;
  --sand-yellow-dark: #d97706;
  --sunset-orange: #f97316;
  
  /* Cores neutras */
  --ocean-white: #f8fafc;
  --ocean-gray: #64748b;
  --ocean-gray-light: #94a3b8;
  --ocean-gray-dark: #334155;
  --ocean-black: #0f172a;
  
  /* Gradientes */
  --ocean-gradient: linear-gradient(135deg, var(--ocean-blue) 0%, var(--ocean-teal) 100%);
  --sunset-gradient: linear-gradient(135deg, var(--sand-yellow) 0%, var(--sunset-orange) 100%);
  --wave-gradient: linear-gradient(45deg, var(--ocean-blue-light), var(--ocean-teal-light));
  
  /* Efeitos */
  --wave-shadow: 0 4px 20px rgba(30, 64, 175, 0.3);
  --sand-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
  --floating-animation: floating 3s ease-in-out infinite;
}

/* Animações */
@keyframes floating {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes wave {
  0%, 100% { transform: translateX(0px); }
  50% { transform: translateX(10px); }
}

@keyframes ripple {
  0% { transform: scale(0); opacity: 1; }
  100% { transform: scale(4); opacity: 0; }
}

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

/* Efeitos de hover modernos */
.ocean-hover {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ocean-hover::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.ocean-hover:hover::before {
  left: 100%;
}

.ocean-hover:hover {
  transform: translateY(-2px);
  box-shadow: var(--wave-shadow);
}

/* Botões com efeito onda */
.btn-ocean {
  background: var(--ocean-gradient);
  border: none;
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-ocean::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-ocean:hover::before {
  width: 300px;
  height: 300px;
}

.btn-ocean:hover {
  transform: translateY(-3px);
  box-shadow: var(--wave-shadow);
}

/* Botões amarelos */
.btn-sand {
  background: var(--sunset-gradient);
  border: none;
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-sand:hover {
  transform: translateY(-3px);
  box-shadow: var(--sand-shadow);
}

/* Cards com efeito flutuante */
.ocean-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(30, 64, 175, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.ocean-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(30, 64, 175, 0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ocean-card:hover::before {
  opacity: 1;
}

.ocean-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(30, 64, 175, 0.2);
}

/* Efeito de ondas no background */
.wave-background {
  position: relative;
  overflow: hidden;
}

.wave-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23ffffff' fill-opacity='0.1'/%3E%3C/svg%3E") repeat-x;
  animation: wave 10s linear infinite;
  opacity: 0.3;
}

/* Gradiente animado para texto */
.gradient-text {
  background: var(--ocean-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: bold;
  animation: shimmer 2s ease-in-out infinite;
  background-size: 200% 100%;
}

/* Loader com tema oceânico */
.ocean-loader {
  width: 60px;
  height: 60px;
  border: 3px solid var(--ocean-blue-light);
  border-radius: 50%;
  border-top-color: var(--sand-yellow);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Navbar com efeito glass */
.ocean-navbar {
  background: rgba(30, 64, 175, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.ocean-navbar.scrolled {
  background: rgba(30, 64, 175, 0.95);
  box-shadow: 0 8px 32px rgba(30, 64, 175, 0.3);
}

/* Inputs com tema oceânico */
.ocean-input {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid transparent;
  border-radius: 15px;
  padding: 15px 20px;
  font-size: 16px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.ocean-input:focus {
  border-color: var(--ocean-blue);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 20px rgba(30, 64, 175, 0.2);
  outline: none;
}

/* Seções com efeito parallax */
.parallax-section {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.8), rgba(8, 145, 178, 0.6));
}

/* Responsividade */
@media (max-width: 768px) {
  .ocean-card {
    padding: 20px;
  }
  
  .btn-ocean, .btn-sand {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .parallax-section {
    background-attachment: scroll;
  }
}

/* Efeitos especiais para elementos importantes */
.highlight-element {
  position: relative;
  z-index: 1;
}

.highlight-element::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--sunset-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.highlight-element:hover::after {
  transform: scaleX(1);
}

/* Animação de entrada para elementos */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
}

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

/* Delays para animações em cascata */
.fade-in-up:nth-child(1) { animation-delay: 0.1s; }
.fade-in-up:nth-child(2) { animation-delay: 0.2s; }
.fade-in-up:nth-child(3) { animation-delay: 0.3s; }
.fade-in-up:nth-child(4) { animation-delay: 0.4s; }
