/* =========================
   Tours Page Styles
========================= */

:root {
  --primary-green: #2fbf71;
  --primary-blue: #1c7ed6;
  --dark: #2c3e50;
  --light: #f7fbfd;
  --transition-speed: 0.3s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* =========================
   Header / Navbar
========================= */
header {
  width: 100%;
  background-color: #3498db;
  color: white;
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

header h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #3498db;
  cursor: pointer;
  flex-shrink: 0;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
  transition: all 0.3s ease-in-out;
}

nav ul li a {
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color var(--transition-speed);
}

nav ul li a:hover {
  color: var(--primary-blue);
}

/* =========================
   Hero Section
========================= */
.hero {
  position: relative;
  background: url('images/tourhero.jpg') no-repeat center center/cover;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45); /* semi-transparent overlay */
  z-index: 0;
}

.hero h1, .hero h2, .hero p {
  position: relative;
  z-index: 1;
  color: white;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

/* =========================
   Section Titles
========================= */
section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: var(--primary-blue);
}

/* =========================
   Packages / Cards
========================= */
.cards, .package-grid {
  padding-left: 2rem;
  padding-right: 2rem;
  padding-bottom: 2rem;
  padding-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  text-align: center;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.card h3 {
  padding: 1rem;
  color: var(--primary-green);
}

.card p {
  padding: 0 1rem 1rem;
  color: var(--dark);
}

.price {
  font-weight: bold;
  color: var(--primary-blue);
  display: block;
  margin-bottom: 0.8rem;
}

/* Card hover effect */
.card:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0,0,0,0.25),
              0 0 20px rgba(0, 150, 255, 0.3);
}

/* =========================
   About Card
========================= */
.about-card {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  max-width: 800px;
  margin: 2rem auto;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* =========================
   Contact Form
========================= */
form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form input, form textarea, form button {
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
}

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

form button {
  background-color: var(--primary-green);
  color: white;
  border: none;
  cursor: pointer;
  transition: background var(--transition-speed);
}

form button:hover {
  background-color: var(--primary-blue);
  opacity: 0.9;
}

/* =========================
   Footer
========================= */
footer {
  text-align: center;
  padding: 2rem;
  background: var(--dark);
  color: white;
}

/* =========================
   Responsive
========================= */
@media (max-width: 1024px) {
  .hero h2 { font-size: 2.2rem; }
  nav ul { gap: 1rem; }
  .cards { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
}

@media (max-width: 768px) {
  header { flex-direction: row; align-items: center; }
  .nav-toggle { display: block; }
  nav ul { flex-direction: column; width: 100%; display: none; margin-left: 0; }
  nav ul.active { display: flex; }
  .hero h2 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
}

@media (max-width: 480px) {
  .hero h2 { font-size: 1.5rem; }
  .hero p { font-size: 0.9rem; }
  .cards { grid-template-columns: 1fr; }
  form input, form textarea, form button { font-size: 0.9rem; padding: 0.6rem; }
}

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

@keyframes slideUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero h2 { font-size: 2.5rem; }
  nav ul { gap: 1rem; }
  .cards { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
}

@media (max-width: 768px) {
  header { flex-direction: row; align-items: center; }
  .nav-toggle { display: block; }
  nav ul { flex-direction: column; width: 100%; display: none; margin-left: 0; }
  nav ul.active { display: flex; }
  .hero h2 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
}

@media (max-width: 480px) {
  .hero h2 { font-size: 1.5rem; }
  .hero p { font-size: 0.9rem; }
  .cards { grid-template-columns: 1fr; }
  form input, form textarea, form button { font-size: 0.9rem; padding: 0.6rem; }
}
