/* Modern Color Palette and Typography for RioLagos Explorer 2025 */

:root {
  /* Primary Colors */
  --primary-color: #00B4D8; /* Vibrant turquoise blue - representing ocean/water */
  --primary-dark: #0077B6; /* Deeper blue for contrast and depth */
  --primary-light: #90E0EF; /* Light blue for accents and highlights */
  
  /* Secondary Colors */
  --secondary-color: #FF9E00; /* Warm orange/gold - representing sun/sand */
  --secondary-dark: #FF7B00; /* Deeper orange for contrast */
  --secondary-light: #FFD166; /* Light gold for accents */
  
  /* Neutral Colors */
  --neutral-dark: #1A1A2E; /* Deep navy/almost black for text */
  --neutral-medium: #4A4E69; /* Medium gray with slight purple tint for secondary text */
  --neutral-light: #F8F9FA; /* Off-white for backgrounds */
  
  /* Accent Colors */
  --accent-green: #06D6A0; /* Vibrant teal/green for CTAs and highlights */
  --accent-coral: #EF476F; /* Coral pink for special highlights */
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-green) 0%, var(--primary-color) 100%);
  --gradient-hero: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
  
  /* Typography */
  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Playfair Display', serif;
  --font-size-base: 1rem;
  --line-height-base: 1.6;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  
  /* Borders & Shadows */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --border-radius-circle: 50%;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.15);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Modern Typography Base Styles */
body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--neutral-dark);
  background-color: var(--neutral-light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: var(--spacing-md);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: all var(--transition-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: white;
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-cta {
  background-color: var(--accent-green);
  color: white;
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-cta:hover {
  background-color: #05b386; /* Slightly darker shade */
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Card Styles */
.card {
  background: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover img {
  transform: scale(1.05);
}

.card-content {
  padding: var(--spacing-lg);
}

.card-title {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--neutral-dark);
}

.card-text {
  color: var(--neutral-medium);
  margin-bottom: var(--spacing-md);
}

/* Hero Section */
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 0 var(--spacing-lg);
  overflow: hidden;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: var(--spacing-md);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-lg);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Search Bar */
.search-bar {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  z-index: 2;
}

.search-bar input {
  width: 100%;
  padding: 1.25rem 1.5rem;
  font-size: 1.1rem;
  border: none;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

.search-bar button {
  position: absolute;
  right: 5px;
  top: 5px;
  bottom: 5px;
  padding: 0 1.5rem;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.search-bar button:hover {
  background: var(--primary-dark);
}

/* Section Styles */
.section {
  padding: var(--spacing-xl) 0;
}

.section-title {
  position: relative;
  font-size: 2.5rem;
  margin-bottom: var(--spacing-xl);
  text-align: center;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: var(--border-radius-sm);
}

/* Destination Intro */
.destination-intro {
  margin-bottom: var(--spacing-xl);
}

.hero-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  margin-bottom: var(--spacing-lg);
}

.intro-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--neutral-medium);
}

/* Booking CTA */
.booking-cta {
  background: var(--gradient-primary);
  color: white;
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  margin-bottom: var(--spacing-xl);
  text-align: center;
}

.booking-cta h3 {
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
}

.booking-cta p {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-lg);
  opacity: 0.9;
}

/* Packages */
.packages {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.package {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.package.highlight {
  border: none;
  background: linear-gradient(white, white) padding-box,
              var(--gradient-primary) border-box;
  border: 3px solid transparent;
  position: relative;
}

.package.highlight::before {
  content: 'Recomendado';
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--accent-green);
  color: white;
  padding: 5px 15px;
  border-radius: var(--border-radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Contact Form */
.contact-form-section {
  background: white;
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  margin-top: var(--spacing-xl);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius-md);
  font-size: 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.2);
  outline: none;
}

/* Footer */
footer {
  background: var(--neutral-dark);
  color: white;
  padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
}

.footer-section h3 {
  color: white;
  margin-bottom: var(--spacing-md);
  font-size: 1.3rem;
}

.footer-section p,
.footer-section ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-section ul li a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: var(--spacing-lg);
  color: rgba(255, 255, 255, 0.5);
}

/* Animations and Effects */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Responsive Adjustments */
@media (max-width: 992px) {
  h1 { font-size: 3rem; }
  .hero h1 { font-size: 3.5rem; }
  .package { width: 100%; }
}

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  .hero h1 { font-size: 2.8rem; }
  .hero p { font-size: 1.2rem; }
  .section { padding: var(--spacing-lg) 0; }
  .card-container { justify-content: center; }
}

@media (max-width: 576px) {
  h1 { font-size: 2rem; }
  .hero h1 { font-size: 2.2rem; }
  .hero { height: 80vh; }
  .search-bar button { position: relative; width: 100%; right: 0; top: 10px; }
  .form-group { grid-column: span 2; }
}
