html {
  scroll-behavior: smooth;
}


/* ---------------------------------
  RESET & GLOBAL STYLES
---------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background: #f9fafc;
  color: #222;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ---------------------------------
  NAVBAR
---------------------------------- */
header.navbar {
  background: linear-gradient(90deg, #1a4a93, #adb7c4);
  color: #fff;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.logo h1 {
  font-size: 1.6rem;
  font-weight: 600;
}


.nav-links a {
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  transition: color 0.3s ease;
  margin-left: 25px;
  font-weight: 600;
  position: relative;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  
  content: '';
  width: 100%;
  height: 2px;
  background: #2c3e50;
  position: absolute;
  bottom: -5px;
  left: 0;
}

.nav-links a {
  color: rgb(24, 14, 14);
  text-decoration: none;
  margin-left: 15px;
}
.nav-links a:hover {
  color: #ffdf5d;
}

/* ---------------------------------
  SECTION COMMON STYLES
---------------------------------- */
section {
  padding: 60px 40px;
}

/* ---------------------------------
  HERO SECTION
---------------------------------- */
.hero {
  position: relative;
  height: 90vh;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-text-box {
  position: absolute;
  bottom: 15%;
  right: 5%;
  background-color: #f1f5f9;
  padding: 40px;
  max-width: 400px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.hero-text-box h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 10px;
}

.hero-text-box p {
  font-size: 18px;
  color: #555;
  border-top: 3px solid #a8c3c9;
  margin-top: 10px;
  padding-top: 10px;
}

/* ---------------------------------
  ABOUT SECTION
---------------------------------- */
.about {
  padding: 60px 20px;
  background-color: #f9f9f9;
}


.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.about-text {
  flex: 1 1 500px;
  background-color: #f1f5f9;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-text h2 {
  font-size: 32px;
  text-align: center;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.about-img {
  flex: 1 1 300px;
}

.about-img img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ---------------------------------
  GALLERY / MEMORY LANE SECTION
---------------------------------- */

.gallery h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 32px;
}

.memory-lane-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 30px;
}

.memory-card {
  width: 580px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
}

.memory-card {
  transition: transform 0.5s ease, opacity 0.5s ease;
}
.memory-card:nth-child(1) { transition-delay: 0.1s; }
.memory-card:nth-child(2) { transition-delay: 0.2s; }
.memory-card:nth-child(3) { transition-delay: 0.3s; }

.slider-container {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  object-position: center center;
}

.slider-container img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease-in-out;
}

.slider-btn {   
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.slider-btn.prev {
  left: 10px;
}

.slider-btn.next {
  right: 10px;
}

.slider-container:hover .slider-btn {
  opacity: 1;
}

.caption {
  padding: 15px;
  text-align: center;
  font-weight: bold;
}


/* ---------------------------------
  TOUR PLACES SECTION
---------------------------------- */
.tour-places h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 32px;
}

.tour-places label {
  background-color: #789f9f;
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
  font-size: 25px;
}

.tour-places select {
  padding: 10px;
  text-align: center;
  width: 500px;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #ccc;
  background-color: rgb(246, 245, 207);
}

.district-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.district-list button {
  padding: 10px 15px;
  background: #94b8b8;
  border: none;
  border-radius: 5px;
  color: white;
  cursor: pointer;
  transition: background 0.3s;
}

.district-list button:hover {
  background: #789f9f;
}

.place-details {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.place-card {
  width: 250px;
  background: #fff;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
}

.place-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.place-card p {
  padding: 10px;
  font-weight: bold;
}

.place-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  transition: opacity 0.5s ease;
  opacity: 0;
}

.place-list.show {
  opacity: 1;
}

.place-card img,
.slider-container img {
  transition: transform 0.4s ease;
}

.place-card img:hover,
.slider-container img:hover {
  transform: scale(1.05);
}

/* ---------------------------------
  CONTACT SECTION
---------------------------------- */
.contact h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 30px;
}

.contact-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.contact-info {
  flex: 1 1 300px;
}

.contact-info p {
  margin: 10px 0;
}

.form-fields {
  flex: 1 1 300px;
}

.form-fields input,
.form-fields textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.form-fields button {
  padding: 12px 20px;
  background-color: #94b8b8;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.map {
  margin-top: 30px;
  width: 100%;
  height: 300px;
}

/* ---------------------------------
  RESPONSIVE STYLES
---------------------------------- */
@media(max-width: 768px) {
  .hero-text-box {
    position: static;
    margin: 20px auto;
  }

  .about-container,
  .contact-form {
    flex-direction: column;
  }

  .nav-links {
display: flex;
  gap: 25px;
  list-style: none;
  }

  .district-list {
    justify-content: center;
  }

  .place-details {
    justify-content: center;
  }
}

/* ---------------------------------
  Social Icon SECTION
---------------------------------- */

.social-icons {
  margin-top: 10px;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
  color: #555;
  font-size: 1.4rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #008080; /* or your brand color */
}



/*------------------------
Fade/Slide-In Effects (On Scroll)
----------------------------*/

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.6s ease;
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.6s ease;
}

.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}




/*-------------------------------------------------------------------------------------------------------------------------
Button hover
-------------------------------------------------------------------------------------------------------------------------*/

button,
.nav-links a {
  transition: all 0.3s ease-in-out;
}

button:hover,
.nav-links a:hover {
  background-color: #222;
  /*color: #fff;*/
  transform: scale(1.05);
}


/*---------------------------------------------- Blinking red dot --------------------------------------------------------------*/
.blinking-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: red;
  border-radius: 50%;
  margin-left: 6px;
  animation: blink 1s infinite;
  vertical-align: middle;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ---------- Animations ---------- */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-40px);}
  to { opacity: 1; transform: translateY(0);}
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: 0.3s ease;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px;
    right: -100%;
    flex-direction: column;
    background: linear-gradient(90deg, #1a4a93, #adb7c4);
    width: 100%;
    text-align: center;
    gap: 20px;
    padding: 20px;
    transition: right 0.4s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}




