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

:root {
  --primary-color: #f94d1c;
  --secondary-color: #232323;
  --bg-color: #ffffff;
  --text-color: #636363;
  --heading-color: #000000;
  --card-bg: white;
  --nav-bg: white;
  --nav-btn-bg: #f0f0f0;
  --nav-btn-hover: var(--primary-color);
  --footer-bg: #232323;
  --footer-text: #888888;
  --form-border: #e0e0e0;
}

[data-theme="dark"] {
  --bg-color: #1a1a1a;
  --text-color: #a5a5a5;
  --heading-color: #ffffff;
  --card-bg: #2d2d2d;
  --nav-bg: #2d2d2d;
  --nav-btn-bg: #404040;
  --nav-btn-hover: var(--primary-color);
  --footer-bg: #1a1a1a;
  --footer-text: #888888;
  --form-border: #404040;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5%;
  background-color: var(--nav-bg);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--heading-color);
  text-decoration: none;
}

.logo span {
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.theme-switch {
  background: transparent;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--text-color);
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.theme-switch:hover {
  color: var(--primary-color);
}

nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

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

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

nav a[aria-current='page'] {
  color: var(--primary-color);
}

nav a[aria-current='page']::after {
  width: 100%;
}

.hero {
  height: 100vh;
  background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url('https://images.unsplash.com/photo-1469474968028-56623f02e42e');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 2rem;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

.hero p {
  font-size: 1.5rem;
  max-width: 600px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards 0.3s;
}

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

main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 5%;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--heading-color);
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-title p {
  color: var(--text-color);
  max-width: 600px;
  margin: 0 auto;
}

.featured-destinations {
  padding: 6rem 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--card-bg);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
}

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

.card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.card-content {
  padding: 2rem;
}

.card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--heading-color);
  font-weight: 600;
}

.card-content p {
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.contact-section {
  max-width: 800px;
  margin: 8rem auto 4rem;
  padding: 3rem;
  background-color: var(--card-bg);
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.contact-section h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--heading-color);
}

.contact-intro {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-color);
}

.contact-form {
  display: grid;
  gap: 2rem;
}

.form-group {
  display: grid;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  color: var(--heading-color);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 1rem;
  border: 2px solid var(--form-border);
  border-radius: 0.5rem;
  font-size: 1rem;
  width: 100%;
  transition: all 0.3s ease;
  background-color: var(--card-bg);
  color: var(--text-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(249, 77, 28, 0.1);
}

.submit-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 2rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  justify-self: center;
  min-width: 200px;
}

.submit-btn:hover {
  background-color: #e03d0c;
  transform: translateY(-2px);
}

footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  text-align: center;
  padding: 4rem 2rem;
  margin-top: 6rem;
}

@media (max-width: 768px) {
  nav {
    padding: 1rem;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.2rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .contact-section {
    margin: 6rem 1rem 2rem;
    padding: 2rem;
  }

  .contact-section h1 {
    font-size: 2rem;
  }
}