/* Enhanced Visual Styles */

/* Improved color scheme */
:root {
  --primary: #0ea5e9;
  --primary-light: #38bdf8;
  --primary-dark: #0369a1;
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --accent-dark: #d97706;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --background: #f8fafc;
  --foreground: #1e293b;
  --card: #ffffff;
  --card-hover: #f1f5f9;
  --border: #e2e8f0;
  
  /* Enhanced gradients */
  --gradient-hero: linear-gradient(135deg, #0ea5e9, #38bdf8, #f59e0b);
  --gradient-sunset: linear-gradient(135deg, #f59e0b, #fb923c, #fbbf24);
  --gradient-cloud: linear-gradient(180deg, #f8fafc, #f1f5f9);
  --gradient-blue: linear-gradient(135deg, #0ea5e9, #38bdf8);
  
  /* Enhanced shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 15px rgba(14, 165, 233, 0.5);
}

/* Enhanced body styles */
body {
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.7;
}

/* Enhanced navbar */
.navbar {
  box-shadow: var(--shadow-sm);
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.logo-text {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

.nav-link {
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Enhanced hero section */
.hero {
  min-height: 90vh;
}

.hero-overlay {
  background: linear-gradient(to bottom, rgba(248, 250, 252, 0.7), rgba(248, 250, 252, 0.9));
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
}

.gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.7;
  max-width: 42rem;
}

/* Enhanced buttons */
.btn {
  border-radius: 0.5rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: var(--gradient-blue);
  border: none;
}

.btn-primary:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--border);
  background-color: rgba(255, 255, 255, 0.8);
}

.btn-outline:hover {
  border-color: var(--primary);
  background-color: rgba(14, 165, 233, 0.1);
  transform: translateY(-2px);
}

/* Enhanced section headers */
.section-header {
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  animation: fadeInUp 1s ease-out;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background: var(--gradient-blue);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  animation: expandWidth 1.5s ease-out forwards;
}

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

@keyframes expandWidth {
  from {
    width: 0;
  }
  to {
    width: 60px;
  }
}

.section-description {
  font-size: 1.125rem;
  max-width: 42rem;
  color: var(--foreground);
  opacity: 0.8;
}

/* Enhanced feature cards */
.features-grid {
  gap: 2.5rem;
}

.feature-card {
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: none;
  background-color: var(--card);
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.feature-icon {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Enhanced weather cards */
.weather-types {
  background: var(--gradient-cloud);
  padding: 6rem 0;
}

.weather-grid {
  gap: 2rem;
}

.weather-card {
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: none;
  background-color: var(--card);
}

.weather-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px) rotate(2deg);
}

.weather-icon {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.weather-card:hover .weather-icon {
  transform: scale(1.1);
}

.weather-icon.sun {
  color: var(--accent);
}

.weather-icon.shine {
  color: var(--accent-light);
}

.weather-icon.rain {
  color: var(--primary);
}

.weather-icon.cloudy {
  color: var(--foreground);
  opacity: 0.7;
}

.weather-name {
  font-size: 1.25rem;
  font-weight: 700;
}

/* Enhanced CTA section */
.cta {
  background: var(--gradient-cloud);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-hero);
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.cta-description {
  font-size: 1.25rem;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  color: var(--foreground);
  opacity: 0.8;
}

/* Enhanced footer */
.footer {
  background-color: var(--card);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  margin-top: 0;
}

.footer-text {
  font-size: 1rem;
}

.team-name {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  padding: 0 0.25rem;
}

/* Enhanced team members */
.team-members {
  margin: 2rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.team-member {
  background-color: var(--card);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-left: 4px solid var(--primary);
  position: relative;
  overflow: hidden;
}

.team-member::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-blue);
  z-index: 1;
}

.team-member::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-blue);
  opacity: 0;
  z-index: 0;
  transition: opacity 0.4s ease;
}

.team-member:hover {
  transform: translateY(-5px) translateX(5px);
  box-shadow: var(--shadow-lg);
}

.team-member:hover::after {
  opacity: 1;
}

.team-member-icon {
  color: var(--primary);
  margin-right: 0.75rem;
  font-size: 1.25rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.team-member-name {
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.team-member:hover .team-member-name,
.team-member:hover .team-member-icon {
  color: white;
}

#team-name {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

/* Responsive improvements */
@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
  
  .cta-title {
    font-size: 3rem;
  }
}

/* Animation enhancements */
.float-animation {
  animation: float 4s ease-in-out infinite;
}

.pulse-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@keyframes pulse-glow {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.6);
    transform: scale(1.05);
  }
}