:root {
  --blue: #003264;
  --black: #202124;
  --white: #f8f9fa;
  --red: #8B0000;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Comic Neue', cursive;
  background-color: #f4f4f4;
  padding-top: 80px;
}

/* HEADER */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  padding: 12px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  height: 80px;
}

.header-container {
  width: 95%;
  max-width: 1300px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 55px;
}

/* Navigation */
.nav-menu {
  display: flex;
  gap: 10px;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: var(--blue);
  font-weight: bold;
  font-size: 18px;
  padding: 5px 8px;
  border-radius: 6px;
  transition: 0.3s;
}

.nav-menu a:hover {
  background-color: rgba(0, 50, 100, 0.1);
}

.nav-menu a.active {
  background-color: var(--red);
  color: white;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown > a::after {
  content: ' ▼';
  font-size: 0.6em;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--red);
  border-radius: 0 0 10px 10px;
  top: 100%;
  left: 0;
  min-width: 200px;
  z-index: 1000;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.dropdown-content a {
  color: white;
  padding: 10px 20px;
  display: block;
}

  .dropdown-content a:hover {
    background-color: var(--blue);
    /* background-color: rgba(255, 255, 255, 0.1); */
  }

.dropdown-content.show {
  display: block;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  background-color: var(--blue);
  border-radius: 2px;
}

/* Hero Section */
.activities-hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-image-slider {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-position: center;
  background-size: cover;
  z-index: -1;
  animation: elephantSlide 30s infinite ease-in-out;
}

@keyframes elephantSlide {
  0%, 20% {
    background-image: url('../images/elephantbeach.jpg');
  }
  21%, 40% {
    background-image: url('../images/elephantbeach3.jpg');
  }
  41%, 60% {
    background-image: url('../images/elephantbeach2.jpg');
  }
  61%, 80% {
    background-image: url('../images/elephantbeach1.jpg');
  }
  81%, 100% {
    background-image: url('../images/elephantbeach.jpg');
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 50, 100, 0.1);
}

.hero-content {
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.hero-content-bg {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 30px 40px;
  border-radius: 20px;
  display: inline-block;
}

.hero-content h1 {
  font-size: 3.5rem;
  color: var(--red);
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: var(--blue);
}

.hero-content p {
  font-size: 1.4rem;
  color: white;
}

.hero-btn {
  margin-top: 30px;
}

.animated-border-btn {
  position: relative;
  display: inline-block;
  padding: 14px 30px;
  font-size: 1.1rem;
  color: white;
  background-color: var(--red);
  border: 2px solid transparent;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  z-index: 1;
  transition: background-color 0.4s ease;
}

.animated-border-btn:hover {
  background-color: var(--blue);
}

.animated-border-btn::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--red), var(--blue), var(--red));
  z-index: -1;
  animation: border-rotate 4s linear infinite;
  background-size: 300% 300%;
}

.animated-border-btn::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background-color: var(--red);
  border-radius: 50px;
  z-index: -1;
  transition: background-color 0.4s ease;
}

.animated-border-btn:hover::after {
  background-color: var(--blue);
}

@keyframes border-rotate {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


/* Section Header */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--blue);
}

.section-header h2 span {
  color: var(--red);
}

.section-header p {
  font-size: 1.2rem;
  color: #555;
}

/* Elephant Beach Details */
.elephantbeach-details {
  background: var(--white);
  padding: 80px 20px;
}

.elephantbeach-slider {
  max-width: 1000px;
  height: 400px;
  margin: 30px auto;
  overflow: hidden;
  position: relative;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.elephantbeach-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  opacity: 0;
  transition: opacity 1s ease;
}

.elephantbeach-slider img.show {
  opacity: 1;
  z-index: 1;
}

.elephantbeach-content {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

.elephantbeach-content p {
  margin-bottom: 20px;
}

/* Form Styles */
.activity-enquiry-form {
  padding: 80px 20px;
  background: #f9f9f9;
}

.form-container {
  max-width: 800px;
  margin: auto;
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(139, 0, 0, 0.3);
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.form-group {
  flex: 1;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--blue);
}

input,
textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-family: 'Comic Neue', cursive;
  font-size: 1rem;
  transition: 0.3s ease;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 50, 100, 0.2);
  outline: none;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

.form-submit {
  text-align: center;
  margin-top: 30px;
}

.submit-btn {
  background: var(--red);
  color: white;
  border: none;
  padding: 14px 30px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.submit-btn:hover {
  background: var(--blue);
}


/* Responsive */
@media (max-width: 992px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    background: var(--blue);
    flex-direction: column;
    gap: 10px;
    width: 250px;
    height: calc(100vh - 80px);
    padding: 20px;
    transition: left 0.3s ease;
    z-index: 999;
  }

  .nav-menu.show {
    left: 0;
  }

  .nav-menu a {
    color: white;
    width: 100%;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    width: 100%;
    margin-top: 5px;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

  .elephantbeach-slider {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .form-container {
    padding: 30px 20px;
  }

  .submit-btn {
    width: 100%;
  }
}


/* Footer Styling */
.main-footer {
  background-color: #003264;
  color: #ffffff;
  padding: 40px 20px 20px 20px;
  font-family: 'Comic Neue', cursive;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1300px;
  margin: 0 auto;
  gap: 40px;
}

.footer-logo,
.footer-links,
.footer-contact {
  flex: 1 1 300px;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 15px;
}

.footer-logo p {
  font-size: 1rem;
  color: #ffffff;
}

.footer-links h3,
.footer-contact h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a,
.footer-contact a {
  color: #ffffff;
  text-decoration: none;
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}

.footer-contact p {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #ffffff;
}

/* Hover Underline Animation */
.hover-underline-animation::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #8B0000;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.hover-underline-animation:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Social Media Icons */
.social-media-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.social-media {
  display: flex;
  gap: 20px;
}

.social-media a {
  color: #ffffff;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-media a:hover {
  color: #8B0000;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo,
  .footer-links,
  .footer-contact {
    flex: 1 1 100%;
  }

  .social-media {
    flex-wrap: wrap;
    justify-content: center;
  }
}