/* --- Global Styles & Resets --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-dark-primary: #0B0C10;    
  --bg-dark-secondary: #1F2833;  
  --text-primary: #FFFFFF;     
  --text-secondary: #C5C6C7;   
  --accent-primary: #66FCF1;    
  --accent-secondary: #45A29E;  
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.7;
  background-color: var(--bg-dark-primary);
  color: var(--text-secondary);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}
 

h1, h2, h3 {
  font-family: "Palatino", "Iowan Old Style", "Apple Garamond", "Georgia", serif;
  margin-bottom: 1.2rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-primary);
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

a {
  text-decoration: none;
  color: var(--accent-primary);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--text-primary);
}

/* --- Header & Navigation --- */
.main-header {
  background-color: rgba(11, 12, 16, 0.75); 
  backdrop-filter: blur(18px) saturate(120%); 
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  padding: 1.2rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(102, 252, 241, 0.1); 
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: "Palatino", "Iowan Old Style", serif;
}

.logo span {
  color: var(--accent-primary);
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-left: 35px;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  position: relative;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: var(--accent-primary);
  transition: width 0.3s ease-out;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

/* --- Responsive Menu (Hamburger) --- */
.menu-toggle { display: none; }
.menu-icon {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  user-select: none;
  color: var(--text-primary);
}

/* --- (Homepage) --- */
.hero {
  background-image: 
    linear-gradient(to top, rgba(11, 12, 16, 1) 10%, rgba(11, 12, 16, 0.3) 70%, rgba(11, 12, 16, 0.1) 100%),
    url('https://images.pexels.com/photos/507410/pexels-photo-507410.jpeg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--text-primary);
  padding: 0 20px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -1px;
  animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
  color: var(--text-secondary);
  animation: fadeInUp 1s ease-out 0.5s backwards;
}

 
.cta-button {
  background-color: var(--accent-primary);
  color: var(--bg-dark-primary);
  padding: 16px 35px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(102, 252, 241, 0.2);
  animation: fadeInUp 1s ease-out 0.8s backwards;
  height: 60px;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background-color: var(--text-primary);
  color: var(--bg-dark-primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(102, 252, 241, 0.3);
}

/* --- Travel Planner Section --- */
.travel-planner-section {
  background-color: var(--bg-dark-secondary);
  padding: 2.5rem 0;
  margin: 1rem;
  border-top: 1px solid #222;
  border-radius: .8rem;
  border-bottom: 1px solid #222;
     
    backdrop-filter: blur(18px) saturate(120%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.travel-planner-form {
  display: grid;
  grid-template-columns: 3fr 1.5fr 1.5fr auto; 
  gap: 1.5rem;
  align-items: flex-end;
}

.travel-planner-form .form-group {
  margin-bottom: 0;
}

.planner-btn {
  animation: none; 
}

.planner-date-input {
  color-scheme: dark;
}

/* --- Main Content & Cards --- */
.main-content {
  padding: 5rem 0;
}

.page-title {
  text-align: center;
  font-size: 3.5rem;
  margin-bottom: 4rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
}

.card {
  background-color: var(--bg-dark-secondary);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid #222;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(102, 252, 241, 0.2);
  border-color: var(--accent-secondary);
}

.card-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 2rem;
}

.card-content h3 {
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}

.card-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* --- About Page --- */
.about-content {
  background-color: var(--bg-dark-secondary);
  padding: 3rem;
  border-radius: 8px;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid #222;
}
.about-content h2 {
  color: var(--accent-primary);
  font-size: 2rem;
}

/* ---  Form Styles --- */
.contact-container,
.booking-page-container {
  display: grid;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--bg-dark-secondary);
  padding: 3rem;
  border-radius: 8px;
  border: 1px solid #222;
}
.contact-container {
  grid-template-columns: 1fr 1.5fr;
}
.booking-page-container {
  grid-template-columns: 1.2fr 1fr;
}

.contact-info h3,
.booking-details h3,
.booking-form h3 {
  color: var(--accent-primary);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
.contact-info p {
  line-height: 1.8;
  color: var(--text-secondary);
}
.contact-info p strong {
  color: var(--text-primary);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  border: 2px solid #333;
  background-color: var(--bg-dark-primary);
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-primary);
  transition: all 0.3s ease;
  height: 60px;
}
.form-group textarea {
    height: auto;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-primary);
  background-color: #111;
  box-shadow: 0 0 15px rgba(102, 252, 241, 0.2);
}

.submit-btn {
  background-color: var(--accent-primary);
  color: var(--bg-dark-primary);
  padding: 16px 35px;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(102, 252, 241, 0.2);
  animation: none;
}

.submit-btn:hover {
  background-color: var(--text-primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(102, 252, 241, 0.3);
}

/* --- Booking Page Specifics --- */
.booking-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  object-fit: cover;
  border: 1px solid #333;
}
.booking-details p {
  font-size: 1.1rem;
}

/* Footer */
.main-footer {
  background-color: var(--bg-dark-secondary);
  padding: 5rem 0 0 0; /* No bottom padding, bar will handle it */
  margin-top: 5rem;
  border-top: 1px solid #333;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr; /* 4 columns */
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-column .logo {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-column p {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 300px;
}

.footer-column h3 {
  font-family: "Palatino", "Iowan Old Style", serif;
  color: var(--accent-primary);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column ul li a {
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.footer-column ul li a:hover {
  color: var(--accent-primary);
  text-decoration: underline;
  padding-left: 5px;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--text-secondary);
  border-radius: 50%;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--accent-primary);
  border-color: var(--accent-primary);
  color: var(--bg-dark-primary);
  transform: translateY(-3px);
}

/* Bottom Copyright Bar */
.footer-bottom-bar {
  background-color: var(--bg-dark-primary);
  padding: 1.5rem 0;
  text-align: center;
  border-top: 1px solid #333;
}

.footer-bottom-bar p {
  margin: 0;
  font-size: 0.9rem;
  color: #888;
}

/* --- Responsive Media Queries --- */
@media (max-width: 900px) {
  .contact-container,
  .booking-page-container {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
  .hero h1 { font-size: 3rem; }
  .hero p { font-size: 1.2rem; }
  .page-title { font-size: 2.5rem; }

  .travel-planner-form {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .planner-btn {
    width: 100%;
  }

  /* Footer stacking */
  .footer-grid {
    grid-template-columns: 1fr 1fr; /* 2x2 grid */
  }
}

@media (max-width: 768px) {
  .navbar {
    position: relative;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: var(--bg-dark-secondary);
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  }
  
  .nav-links li {
    margin: 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #333;
  }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a { display: block; padding: 1.2rem; }
  .nav-links a::after { display: none; }
  .menu-icon { display: block; }
  .menu-toggle:checked ~ .nav-links { display: flex; }

  /* Footer stacking to single column */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-column p {
    max-width: 100%;
  }
  .social-links {
    justify-content: center;
  }
}