/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Nunito:wght@400;600&display=swap');

/* Reset and Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Brand Colors */
  --turquoise: #009FAE;
  --sand: #FFF4E1;
  --dark: #1D3E5F;
  --light: #FFFFFF;
  --accent: #FF6B35;
  
  /* Typography */
  --heading-font: 'Playfair Display', serif;
  --body-font: 'Nunito', sans-serif;
  
  /* Spacing */
  --spacing-xs: clamp(0.5rem, 1vw, 1rem);
  --spacing-sm: clamp(1rem, 2vw, 1.5rem);
  --spacing-md: clamp(2rem, 4vw, 3rem);
  --spacing-lg: clamp(2.5rem, 6vw, 4rem);
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 2rem;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--body-font);
  color: var(--dark);
  background-color: var(--sand);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  .scroll-section {
    scroll-snap-align: none;
  }
  
  #hero {
    background-attachment: scroll !important;
  }
  
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Typography */
h1, h2 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: var(--spacing-md);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--light);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  position: relative;
  margin-bottom: var(--spacing-md);
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  width: 5rem;
  height: 4px;
  background-color: var(--turquoise);
}

h3 {
  font-family: var(--body-font);
  font-weight: 600;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: var(--spacing-xs);
}

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

a {
  color: var(--turquoise);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover, a:focus {
  color: var(--accent);
  text-decoration: underline;
}

a:focus {
  outline: 2px solid var(--turquoise);
  outline-offset: 2px;
}

/* Layout */
.content-container {
  width: 100%;
  max-width: 1240px;
  padding: 0 var(--spacing-lg);
  margin: 0 auto;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) var(--spacing-lg);
  background-color: rgba(255, 244, 225, 0.85);
  backdrop-filter: blur(5px);
  z-index: 100;
}

.logo {
  font-family: var(--heading-font);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
}

.logo a {
  color: var(--dark);
  text-decoration: none;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: var(--spacing-md);
}

.main-nav a {
  color: var(--dark);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

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

.main-nav a:hover::after,
.main-nav a:focus::after {
  width: 100%;
}

/* Horizontal Scrolling Structure */
.horizontal-scroll-container {
  display: flex;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  width: 100%;
  height: 100vh;
  scroll-behavior: smooth;
  -ms-overflow-style: none;  /* Hide scrollbar IE and Edge */
  scrollbar-width: none;  /* Hide scrollbar Firefox */
}

.horizontal-scroll-container::-webkit-scrollbar {
  display: none;  /* Hide scrollbar Chrome, Safari, Opera */
}

.scroll-section {
  flex: 0 0 100vw;
  width: 100vw;
  height: 100vh;
  scroll-snap-align: start;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--spacing-lg) 0;
  position: relative;
  overflow: hidden;
}

/* Section-specific Styles */

/* Hero Section */
#hero {
  background-image: url('images/hero-travel.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--light);
  text-align: center;
  padding-top: 5rem;
}

#hero .content-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2));
  z-index: 1;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  max-width: 800px;
  margin-bottom: var(--spacing-md);
  color: var(--light);
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--turquoise);
  color: var(--light);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  text-decoration: none;
  border: 2px solid transparent;
}

.cta-button:hover, .cta-button:focus {
  background-color: transparent;
  border: 2px solid var(--light);
  color: var(--light);
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

/* Services Section */
#services {
  background-color: var(--light);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.service-card {
  background-color: var(--sand);
  padding: var(--spacing-md);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card .icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  background-color: var(--turquoise);
  border-radius: 50%;
  margin-bottom: var(--spacing-sm);
}

.service-card .icon i {
  font-size: 2rem;
  color: var(--light);
}

/* Journeys Section */
#journeys {
  background-color: var(--sand);
  overflow: hidden;
}

.journey-carousel {
  display: flex;
  overflow-x: auto;
  gap: var(--spacing-md);
  padding: var(--spacing-sm) 0;
  margin-top: var(--spacing-md);
  -ms-overflow-style: none;
  scrollbar-width: none;
  cursor: grab;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--spacing-md);
}

.journey-carousel:active {
  cursor: grabbing;
}

.journey-carousel::-webkit-scrollbar {
  display: none;
}

.journey-card {
  flex: 0 0 80%;
  margin-right: 5%;
  background-color: var(--light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  scroll-snap-align: start;
  transition: transform 0.3s ease;
}

.journey-card:hover {
  transform: translateY(-5px);
}

.journey-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.journey-card h3, .journey-card p {
  padding: 0 var(--spacing-sm);
}

.journey-card h3 {
  padding-top: var(--spacing-sm);
  color: var(--dark);
}

.journey-card p {
  padding-bottom: var(--spacing-sm);
}

/* Carousel Navigation Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: var(--turquoise);
  color: var(--light);
  border: none;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.carousel-arrow:hover,
.carousel-arrow:focus {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
  outline: none;
}

.carousel-arrow-left {
  left: 20px;
}

.carousel-arrow-right {
  right: 20px;
}

.journey-carousel.active {
  cursor: grabbing;
}

/* Process Section */
#process {
  background-color: var(--light);
}

.timeline {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: var(--spacing-lg);
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--turquoise);
  z-index: 1;
}

.timeline-item {
  position: relative;
  flex: 1;
  text-align: center;
  z-index: 2;
  padding: 0 var(--spacing-sm);
}

.timeline-dot {
  width: 40px;
  height: 40px;
  background-color: var(--turquoise);
  border-radius: 50%;
  margin: 0 auto var(--spacing-sm);
  border: 4px solid var(--light);
  position: relative;
}

.timeline-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background-color: var(--light);
  border-radius: 50%;
}

/* Contact Section */
#contact {
  background-color: var(--sand);
}

.contact-form {
  width: 100%;
  max-width: 600px;
  margin: var(--spacing-md) auto 0;
  padding: var(--spacing-md);
  background-color: var(--light);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: var(--spacing-sm);
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

input, textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius-sm);
  font-family: var(--body-font);
  transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--turquoise);
}

.submit-button {
  display: block;
  width: 100%;
  padding: 1rem;
  background-color: var(--turquoise);
  color: var(--light);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: var(--spacing-md);
}

.submit-button:hover, .submit-button:focus {
  background-color: #007e8a;
}

/* Mini Map Navigation */
.mini-map {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 100;
}

.mini-map ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
}

.mini-map .dot {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(29, 62, 95, 0.3);
  transition: all 0.3s ease;
}

.mini-map .dot:hover, .mini-map .dot:focus {
  background-color: var(--turquoise);
  transform: scale(1.2);
}

.mini-map .dot.active {
  background-color: var(--turquoise);
  transform: scale(1.5);
}

/* Footer */
footer {
  background-color: var(--dark);
  color: var(--light);
  padding: var(--spacing-lg) 0;
  position: relative;
  z-index: 10;
}

footer .content-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
}

.company-info p {
  margin-bottom: 0.25rem;
}

.company-description {
  grid-column: 1/-1;
  margin: var(--spacing-sm) 0;
  font-style: italic;
}

.footer-links {
  display: flex;
  gap: var(--spacing-md);
}

.footer-links a {
  color: var(--light);
  text-decoration: underline;
}

.copyright {
  grid-column: 1/-1;
  margin-top: var(--spacing-sm);
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Compass Rose Watermark - Enhanced version */
.compass-rose {
  position: fixed;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='100' cy='100' r='90' fill='none' stroke='%23009FAE' stroke-width='2'/%3E%3Ccircle cx='100' cy='100' r='70' fill='none' stroke='%23009FAE' stroke-width='1'/%3E%3Cline x1='100' y1='10' x2='100' y2='190' stroke='%23009FAE' stroke-width='2'/%3E%3Cline x1='10' y1='100' x2='190' y2='100' stroke='%23009FAE' stroke-width='2'/%3E%3Cline x1='29.29' y1='29.29' x2='170.71' y2='170.71' stroke='%23009FAE' stroke-width='1' stroke-dasharray='4'/%3E%3Cline x1='29.29' y1='170.71' x2='170.71' y2='29.29' stroke='%23009FAE' stroke-width='1' stroke-dasharray='4'/%3E%3Cpolygon points='100,10 105,30 100,25 95,30' fill='%23009FAE'/%3E%3Cpolygon points='190,100 170,105 175,100 170,95' fill='%23009FAE'/%3E%3Cpolygon points='100,190 95,170 100,175 105,170' fill='%23009FAE'/%3E%3Cpolygon points='10,100 30,95 25,100 30,105' fill='%23009FAE'/%3E%3Ctext x='100' y='30' text-anchor='middle' fill='%23009FAE' font-size='8' font-family='Arial'%3EN%3C/text%3E%3Ctext x='170' y='103' text-anchor='middle' fill='%23009FAE' font-size='8' font-family='Arial'%3EE%3C/text%3E%3Ctext x='100' y='175' text-anchor='middle' fill='%23009FAE' font-size='8' font-family='Arial'%3ES%3C/text%3E%3Ctext x='30' y='103' text-anchor='middle' fill='%23009FAE' font-size='8' font-family='Arial'%3EW%3C/text%3E%3Ctext x='136' y='136' text-anchor='middle' fill='%23009FAE' font-size='6' font-family='Arial'%3ESE%3C/text%3E%3Ctext x='64' y='136' text-anchor='middle' fill='%23009FAE' font-size='6' font-family='Arial'%3ESW%3C/text%3E%3Ctext x='136' y='64' text-anchor='middle' fill='%23009FAE' font-size='6' font-family='Arial'%3ENE%3C/text%3E%3Ctext x='64' y='64' text-anchor='middle' fill='%23009FAE' font-size='6' font-family='Arial'%3ENW%3C/text%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.08;
  z-index: 1;
  pointer-events: none;
  animation: rotate 120s linear infinite;
}

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

@media (prefers-reduced-motion: reduce) {
  .compass-rose {
    animation: none;
  }
}

/* Page-specific styles (for privacy and terms pages) */
.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
}

.page-content {
  padding-top: 7rem;
  padding-bottom: var(--spacing-lg);
  text-align: center;
}

.placeholder-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-lg);
  background-color: var(--light);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.back-button {
  display: inline-block;
  margin-top: var(--spacing-md);
  padding: 0.75rem 1.5rem;
  background-color: var(--turquoise);
  color: var(--light);
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
}

.back-button:hover, .back-button:focus {
  background-color: #007e8a;
  color: var(--light);
  text-decoration: none;
}

/* Border image for section dividers */
.scroll-section::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 25px;
  border-image: repeating-linear-gradient(
    -45deg,
    var(--turquoise),
    var(--turquoise) 10px,
    transparent 10px,
    transparent 20px
  ) 20;
  border-right: 20px solid;
  opacity: 0.7;
  z-index: 5;
}

/* Thank You Message Popup */
.thank-you-message {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 200;
  border-radius: var(--radius-lg);
}

.thank-you-message.visible {
  opacity: 1;
  visibility: visible;
}

.thank-you-content {
  background-color: var(--light);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  text-align: center;
  max-width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-left: 5px solid var(--turquoise);
}

.thank-you-content h3 {
  color: var(--turquoise);
  margin-bottom: var(--spacing-sm);
  font-size: 1.5rem;
}

.close-button {
  margin-top: var(--spacing-sm);
  padding: 0.5rem 1.5rem;
  background-color: var(--turquoise);
  color: var(--light);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--body-font);
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.close-button:hover, .close-button:focus {
  background-color: #007e8a;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .mini-map {
    bottom: auto;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    padding: 1rem 0;
    background-color: rgba(255, 244, 225, 0.85);
    backdrop-filter: blur(5px);
  }
  
  .mini-map ul {
    flex-direction: row;
    justify-content: center;
  }
  
  .timeline {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  .timeline::before {
    top: 0;
    left: 20px;
    width: 4px;
    height: 100%;
  }
  
  .timeline-item {
    text-align: left;
    padding-left: 60px;
  }
  
  .timeline-dot {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
  }
  
  header {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .main-nav ul {
    gap: var(--spacing-sm);
  }
  
  footer .content-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }
  
  .scroll-section::after {
    display: none;
  }
} 