@import url('https://fonts.googleapis.com/css2?family=Patrick+Hand&display=swap');

:root {
  --primary-green: #2ecc71;
  --primary-blue: #3498db;
  --dark: #2c3e50;
  --light: #ecf0f1;
  --transition-speed: 0.3s;
}

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

body {
  font-family: 'Patrick Hand', cursive, sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Header */
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: 'Patrick Hand', cursive, 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: 'Patrick Hand', cursive, 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/heroimage2.jpeg') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

/* Dark overlay */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* semi-transparent black */
  z-index: 0;
}

.hero h1,
.hero h2,
.hero p {
  position: relative; /* ensures text sits above overlay */
  color: white;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
  z-index: 1;
}

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

/* Optional hover effect to match tour cards */
.about-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}


/* Sections */

/* About Us Section */
.about-us {
  text-align: center;
  padding: 60px 20px;
  background: #f9f9f9;
}

.about-us h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #333;
}

.about-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}

.about-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  padding: 20px;
  max-width: 320px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.about-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.about-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #222;
}

.about-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

section {
  padding: 5rem 2rem;
}

section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: var(--primary-blue);
  opacity: 0;
  transform: translateY(50px);
  animation: slideUp 1s forwards;
}

/* Experiences Section */
.experiences {
  padding: 60px 20px;
  text-align: center;
  background: #fff;
}

.section-title {
  font-size: 28px;
  font-weight: bold;
  color: #004d61; /* matches travel theme blue */
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.experience-card {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 25px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.experience-card h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #007b91;
}

.experience-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

.experience-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.experience-card img {
  width: 100%;
  height: 200px;         /* adjust height to fit your layout */
  object-fit: cover;     /* keeps image proportional and cropped */
  border-radius: 12px 12px 0 0; /* rounded top corners only */
  margin-bottom: 15px;
}

/* Tours Section */
.tours {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  background: #f9f9f9;
}

.tours-card {
  background: #ffffff;
  max-width: 800px;
  width: 100%;
  padding: 40px;
  text-align: center;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.tours-card h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #222;
}

.tours-card p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: #555;
  line-height: 1.6;
}

.tours-btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: #3498db; /* Change to your brand color */
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.tours-btn:hover {
  background-color: #0056b3;
}


/* Contact Form */
/* Contact Section */
.contact {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #222;
}

.contact p {
  margin-bottom: 30px;
  color: #555;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: left;
}

.contact-form label {
  font-weight: 600;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
  transition: border 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0077cc;
  outline: none;
}

.contact-form button {
  padding: 14px;
  border: none;
  border-radius: 8px;
  background: #0077cc;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #005fa3;
}

.form-buttons {
  display: flex;
  gap: 15px; /* space between buttons */
  margin-top: 15px;
  justify-content: flex-start; /* align left; change to center if needed */
}

/* Both buttons inherit your existing contact-form button style */
.form-buttons .btn {
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  color: white;
  flex: 1; /* make buttons equal width; remove if you want natural width */
}

/* Send Message button */
.form-buttons .btn.send {
  background: #0077cc;
}

.form-buttons .btn.send:hover {
  background: #005fa3;
}

/* Back to Home button */
.form-buttons .btn.back {
  background: #555; /* slightly muted gray */
}

.form-buttons .btn.back:hover {
  background: #333;
}

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

/* Floating Message Widget */
.message-widget {
  position: fixed;          /* stays in place when scrolling */
  bottom: 20px;             /* distance from bottom */
  right: 20px;              /* distance from right */
  background-color: #3498db; /* match your theme color */
  color: white;
  padding: 12px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  z-index: 1000;            /* ensures it stays on top */
}

.message-widget:hover {
  background-color: #3498db;
  transform: scale(1.05);
}


/* 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; }
}
