@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-color: #f7ede2; /* Pale-brownish / cream base */
  --bg-darker: #ecdcc9;
  --text-dark: #1f1b18; /* Dark brown/black */
  --text-light: #ffffff;
  --text-muted: #8b796c;
  --primary: #eb5e28; /* Accent orange */
  --primary-hover: #cf4f1e;
  --forest-dark: #202b21; /* Dark green for dark sections */
  --nav-bg: rgba(247, 237, 226, 0.95);
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 32px;
  --radius-full: 999px;
  
  --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 15px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 25px rgba(0,0,0,0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

ul {
  list-style: none;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Base Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 1rem;
  transition: all var(--transition-normal);
  cursor: pointer;
  border: 1px solid transparent;
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(235, 94, 40, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(235, 94, 40, 0.4);
}

.btn-outline {
  border: 1px solid var(--text-light);
  color: var(--text-light);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(5px);
}

.btn-outline:hover {
  background: var(--text-light);
  color: var(--text-dark);
  transform: translateY(-2px);
}

.btn-outline-dark {
  border: 1px solid var(--text-dark);
  color: var(--text-dark);
}

.btn-outline-dark:hover {
  background: var(--text-dark);
  color: var(--bg-color);
  transform: translateY(-2px);
}

.arrow-icon {
  transition: transform var(--transition-normal);
}
.btn:hover .arrow-icon {
  transform: translateX(4px);
}

/* NAVBAR */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all var(--transition-normal);
}

header.scrolled {
  background-color: var(--nav-bg);
  padding: 1rem 5%;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

/* Different states for navbar text color based on starting header style. If transparent on dark hero, it needs to be light */
header.transparent {
  color: var(--text-light);
}

header.scrolled.transparent {
  color: var(--text-dark);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo-svg {
  width: 32px;
  height: 32px;
  fill: var(--primary);
  /* slight animation on hover */
  transition: transform var(--transition-normal);
}
.logo-container:hover .logo-svg {
  transform: scale(1.1) rotate(5deg);
}

nav ul {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-normal);
}

nav a:hover::after {
  width: 100%;
}

nav a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-toggles {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggles button {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  display: flex;
  align-items: center;
}

.lang-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.3);
}

/* HERO SECTION */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  padding: 0 5%;
  color: var(--text-light);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  object-fit: cover;
  transform: scale(1.05); /* Slight zoom for initial state */
  animation: bgZoomOut 10s ease-out forwards;
}

@keyframes bgZoomOut {
  from { transform: scale(1.1); }
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
  z-index: -1;
}

/* Subtle decorative wave in hero corner */
.hero-deco {
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 400px;
  height: 400px;
  z-index: -1;
  opacity: 0.8;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 10;
  animation: fadeUp 1s ease-out;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255,255,255,0.2);
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1.5px;
}

.hero p {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* SECTION PADDING */
section {
  padding: 6rem 5%;
}

/* SECTION TITLES */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-inline: auto;
}

/* ABOUT SECTION */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

.about-img-wrapper:hover img {
  transform: scale(1.05);
}

.about-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.feature-icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

/* DESTINATIONS (POPULAR PLACES) */
.destinations {
  background-color: var(--bg-darker);
  border-radius: var(--radius-lg);
  margin: 0 2%;
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.destination-card {
  background: var(--bg-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
}

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

.card-img {
  height: 220px;
  overflow: hidden;
}

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

.destination-card:hover .card-img img {
  transform: scale(1.1);
}

.card-content {
  padding: 1.5rem;
}

.card-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.card-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(0,0,0,0.05);
  padding-top: 1rem;
}

.price {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}

/* CONTACT SECTION */
.contact {
  position: relative;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 4rem;
  box-shadow: var(--shadow-md);
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 1.5rem;
}

.info-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.info-text h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.info-text p {
  color: var(--text-muted);
  margin: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 500;
  font-size: 0.95rem;
}

.form-control {
  padding: 14px 16px;
  border: 1px solid #e2d7c8;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background: var(--bg-color);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(235, 94, 40, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* FOOTER */
footer {
  background: var(--forest-dark);
  color: var(--text-light);
  padding: 5rem 5% 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-about p {
  margin-top: 1rem;
  color: rgba(255,255,255,0.7);
  max-width: 300px;
}

.footer-links h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all var(--transition-normal);
}

.social-links a:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
  color: white;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* UTILITIES */
.page-header {
  height: 40vh;
  min-height: 350px;
  background-color: var(--forest-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 0 5%;
  position: relative;
}

.page-header h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.8;
  position: relative;
  z-index: 2;
}

.page-header::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(32,43,33,0.9), rgba(235,94,40,0.4));
  z-index: 1;
}

.page-content {
  padding: 5rem 5%;
  min-height: 50vh;
}

.simple-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.auth-container {
  max-width: 450px;
  margin: 0 auto;
}

.text-center { text-align: center; }

/* Responsive Grid */
@media (max-width: 992px) {
  .about, .contact-container {
    grid-template-columns: 1fr;
  }
  .contact-container {
    padding: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  nav ul, .nav-actions {
    display: none; /* simple mobile hide for now */
  }
  .hero h1 {
    font-size: 2.8rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
