/* =============================
   SafariStoEastAfrica Style Guide
   ============================= */

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

body {
  font-family: 'Lato', sans-serif;
  background-color: #FDF6E3;
  color: #065F46;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
}

/* ---- Navigation Bar ---- */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  transition: all 0.4s ease;
  z-index: 1000;
  background: rgba(6, 95, 70, 0.15);
  backdrop-filter: blur(5px);
}

.navbar.scrolled {
  background-color: #065F46;
}

.logo-placeholder {
  background-color: #D4AF37;
  color: #065F46;
  font-weight: 700;
  font-size: 1.5rem;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: #FDF6E3;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links .active {
  color: #D4AF37;
}

/* ---- Hero Section ---- */
.hero {
  height: 100vh;
  background: url('../images/gallery/home-hero.jpg') no-repeat center center/cover;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #FDF6E3;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 95, 70, 0.55);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  animation: fadeUp 1.2s ease-out forwards;
}

.hero p {
  font-size: 1.3rem;
  margin-top: 10px;
  color: #D4AF37;
  animation: fadeUp 1.6s ease-out forwards;
}

.btn {
  display: inline-block;
  background-color: #D4AF37;
  color: #065F46;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  margin-top: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #FDF6E3;
  color: #065F46;
}

.btn-dark {
  background-color: #065F46;
  color: #FDF6E3;
}

.btn-dark:hover {
  background-color: #D4AF37;
  color: #065F46;
}

/* ---- Section Styling ---- */
section {
  padding: 80px 10%;
}

h2 {
  color: #065F46;
  margin-bottom: 20px;
  text-align: center;
}

.welcome p {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* ---- Destinations ---- */
.destinations .destination-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.card {
  position: relative;
  height: 250px;
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  overflow: hidden;
  transform: scale(1);
  transition: transform 0.6s ease;
}

.card:hover {
  transform: scale(1.05);
}

.card .overlay {
  position: absolute;
  bottom: 0;
  background: rgba(6, 95, 70, 0.6);
  color: #FDF6E3;
  width: 100%;
  text-align: center;
  padding: 15px;
  font-size: 1.2rem;
  letter-spacing: 1px;
}

/* ---- Culture Section ---- */
.culture {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.culture .text {
  flex: 1;
  min-width: 280px;
}

.culture .image {
  flex: 1;
  min-width: 280px;
  height: 350px;
  background-size: cover;
  background-position: center;
  border-radius: 15px;
}

/* ---- Gallery Preview ---- */
.gallery-preview .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 40px;
}

.gallery-preview img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.5s ease;
}

.gallery-preview img:hover {
  transform: scale(1.05);
}

/* ---- CTA ---- */
.cta {
  background-color: #D4AF37;
  color: #065F46;
  text-align: center;
  padding: 60px 10%;
}

/* ---- Footer ---- */
footer {
  background-color: #065F46;
  color: #FDF6E3;
  text-align: center;
  padding: 30px;
  font-size: 0.9rem;
}

/* ---- Animations ---- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1.5s ease-out forwards;
}

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

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

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
  }

  .culture {
    flex-direction: column;
  }

  .hero h1 {
    font-size: 2.4rem;
  }
}
