/* 
  Splendid Vacations - Custom Design System Stylesheet
  Built incorporating design system specifications:
  - Colors: Brand Blue (#007CC5), Tagline Gray (#575756 / #D0D0D0)
  - Typography: EB Garamond (Primary Serif), Museo Sans / Montserrat (Secondary Sans-serif)
*/

:root {
  /* Brand Color Tokens */
  --brand-blue: #007CC5;
  --brand-blue-deep: #005B94;
  --brand-gradient: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-deep) 100%);
  --tagline-gray-light: #575756;
  --tagline-gray-dark: #D0D0D0;
  
  /* Chromatic Variants */
  --variant-gray-light: #C6C6C6;
  --variant-gray-dark: #9D9D9C;
  
  /* Typography Families */
  --font-primary: 'EB Garamond', 'Georgia', serif;
  --font-secondary: 'Montserrat', 'Inter', 'Helvetica Neue', sans-serif;
}

/* Base resets & layout */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: var(--font-secondary);
  background-color: #070e17; /* Deep ocean dark background fallback */
  color: #ffffff;
  overflow-x: hidden;
}

/* Background Carousel Zoom & Fade */
.carousel-bg-image {
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
  animation: kenBurnsZoom 30s infinite alternate ease-in-out;
  transition: transform 0.5s ease;
}

@keyframes kenBurnsZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.08);
  }
}

/* Overlay dark shade for maximum contrast */
.carousel-inner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle, rgba(0,0,0,0.3) 0%, rgba(7,14,23,0.7) 100%);
  z-index: 1;
}

/* Foreground glass container content */
.main-overlay {
  position: relative;
  z-index: 2;
}

/* Glassmorphism Card styling */
.card-glass {
  background: rgba(7, 14, 23, 0.50);
  backdrop-filter: blur(8px) saturate(110%);
  -webkit-backdrop-filter: blur(25px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
  max-width: 900px;
  width: 100%;
  transition: all 0.5s ease-in-out;
}

/* Brand logo styling */
.brand-logo {
  max-height: 70px;
  width: 100%;
  display: block;
}

/* Tagline: EB Garamond, elegant Serif */
.tagline {
  font-family: var(--font-primary);
  font-size: 2.2rem;
  font-weight: 500;
  font-style: italic;
  color: var(--tagline-gray-dark); /* Contrast optimized for photo background */
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .tagline {
    font-size: 1.6rem;
  }
}

/* Location Tag styles */
.location-tag-wrapper {
  perspective: 1000px;
}

.location-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.35s ease-in-out;
  opacity: 0.55;
  cursor: pointer;
}

.location-tag:hover, .location-tag.active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.location-tag.active {
  background: rgba(0, 124, 197, 0.15);
  border-color: var(--brand-blue);
  box-shadow: 0 0 15px rgba(0, 124, 197, 0.35);
}

.brand-blue-color {
  color: var(--brand-blue);
  filter: drop-shadow(0 0 2px rgba(0, 124, 197, 0.4));
}

/* Dividers */
.divider {
  width: 80px;
  height: 2px;
  background: var(--brand-gradient);
  border: none;
  opacity: 0.8;
}

/* Brand Description & Badge */
.brand-description {
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.bg-brand-gradient {
  background: var(--brand-gradient);
  color: #ffffff;
  letter-spacing: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 124, 197, 0.3);
}

/* Contact Block */
.contact-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
}

.text-muted-custom {
  color: rgba(255, 255, 255, 0.6);
}

.contact-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  transition: all 0.3s ease;
}

.contact-card:hover {
  background: rgba(0, 124, 197, 0.08);
  border-color: rgba(0, 124, 197, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.contact-card i {
  transition: transform 0.3s ease;
}

.contact-card:hover i {
  transform: scale(1.15);
}

/* Footer border */
.border-light-custom {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

/* Privacy policy styling */
.privacy-notice, .privacy-notice-es {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.privacy-link {
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s, text-decoration 0.2s;
}

.privacy-link:hover {
  color: #40b0ff;
  text-decoration: underline;
}

/* Fine-tune alignments for small displays */
@media (max-width: 576px) {
  .card-glass {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    border-radius: 16px;
  }
  .brand-logo {
    max-height: 80px;
  }
}

.tracking-wider {
  letter-spacing: 2px;
}
