/* Global Styles */
:root {
  --primary-color: #00a7e1;
  --secondary-color: #00cccc;
  --accent-color: #ffc845;
  --dark-color: #003459;
  --light-color: #f8f9fa;
  --text-color: #333;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --vh: 1vh;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
  overflow-x: hidden;
  width: 100%;
}

h1,
h2,
h3,
h4 {
  font-family: "Montserrat", sans-serif;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5rem 0;
  width: 100%;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  margin: 0.5rem;
}

.primary-btn {
  background-color: var(--primary-color);
  color: white;
}

.primary-btn:hover {
  background-color: var(--secondary-color);
  color: white;
}

.secondary-btn {
  background-color: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  z-index: 100;
  padding: 0.7rem 0;
  transition: transform 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(5px);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 80px;
  margin: 0;
  padding: 0;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
}

.logo-text {
  font-family: "Montserrat", sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-left: 1rem;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.logo:hover .logo-text {
  color: var(--primary-color);
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 2.5rem;
}

nav ul li a {
  color: var(--dark-color);
  font-weight: 600;
  position: relative;
  padding: 0.5rem 0;
  font-size: 1.05rem;
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
  border-radius: 3px;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger .bar {
  width: 25px;
  height: 3px;
  background-color: var(--dark-color);
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Hero Section */
.hero {
  height: 100vh; /* Fallback */
  height: calc(var(--vh, 1vh) * 100);
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("images/header.webp");
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 60px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* About Section */
.about-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.about-text {
  flex: 1;
}

.about-img {
  flex: 1;
  position: relative;
}

.about-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.instructor-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 1rem;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.instructor-info h3 {
  color: white;
  margin-bottom: 0.25rem;
}

/* Features Section */
.features {
  background-color: #f1f8fb;
  padding: 5rem 0;
}

.features h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-box {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: 8px;
  background-color: white;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.feature-box:hover {
  transform: translateY(-5px);
}

.feature-box i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.feature-box h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.feature-box p {
  margin-bottom: 0;
  line-height: 1.6;
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Booking Section */
.booking {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
}

.booking h2,
.booking p {
  color: white;
}

.booking-widget {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.setmore-button {
  display: inline-block;
  background-color: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.3s ease;
}

.setmore-button:hover {
  transform: translateY(-5px);
}

.setmore-button img {
  height: 60px;
}

/* Contact Section */
.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.contact-card {
  text-align: center;
  padding: 2rem;
  border-radius: 8px;
  background-color: white;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
}

.contact-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact-detail {
  font-size: 0.9rem;
  color: #777;
  margin-top: 0.5rem;
}

.location-info {
  margin-top: 3rem;
  background-color: #f9f9f9;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow);
}

.location-info h3 {
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.location-info p {
  line-height: 1.6;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.footer-logo img {
  height: 150px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links a,
.footer-contact a {
  color: #ccc;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: white;
}

.footer-contact p {
  margin-bottom: 0.5rem;
}

.footer-social a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  margin-right: 0.5rem;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #ccc;
}

.seo-footer {
  text-align: center;
  padding: 1.5rem 0;
  max-width: 900px;
  margin: 0 auto 1.5rem;
  border-top: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.seo-footer p {
  color: #aaa;
  font-size: 0.9rem;
  line-height: 1.6;
}

.copyright a {
  color: #ccc;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.copyright a:hover {
  color: white;
}

/* Mobile Responsive Styles */
@media (max-width: 991px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo-text {
    font-size: 1.5rem;
  }

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

  .hero p {
    font-size: 1.3rem;
  }

  .container {
    padding: 0 1.5rem;
  }
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .container {
    width: 100%;
    padding: 0 1.2rem;
  }

  .logo img {
    height: 60px;
  }

  .logo-text {
    font-size: 1.3rem;
  }

  nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    height: calc((var(--vh, 1vh) * 100) - 70px);
    background-color: white;
    transition: left 0.3s ease;
    z-index: 99;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
  }

  nav.active {
    left: 0;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    padding-top: 2rem;
  }

  nav ul li {
    margin: 1rem 0;
  }

  nav ul li a {
    font-size: 1.1rem;
    padding: 0.8rem 0;
  }

  .hamburger {
    display: block;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .about-content {
    flex-direction: column;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2rem;
    word-wrap: break-word;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero {
    height: auto;
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
    padding: 6rem 0 4rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .location-info {
    padding: 1.5rem;
  }

  section {
    padding: 4rem 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .gallery-item img {
    height: 200px;
  }

  .cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 250px;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .logo {
    justify-content: center;
  }

  .logo img {
    height: 45px;
  }

  .logo-text {
    font-size: 1.1rem;
    margin-left: 0.5rem;
  }

  header .container {
    padding: 0 1rem;
  }

  .container {
    padding: 0 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .footer-social h3 {
    margin-bottom: 1rem;
  }

  .footer-social a {
    margin: 0 0.5rem;
    display: inline-block;
  }

  .footer-social a:first-of-type {
    margin-left: 0;
  }

  .footer-social a:last-of-type {
    margin-right: 0;
  }

  /* Create a flex container for the social icons */
  .footer-social .social-icons-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
  }

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

  .hero p {
    font-size: 1.1rem;
  }

  .feature-box {
    padding: 2rem 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
  }

  .gallery-item img {
    height: 180px;
  }

  section {
    padding: 3rem 0;
  }

  .tour-detail {
    padding: 1.2rem;
  }
}

@media (max-width: 400px) {
  .logo-text {
    font-size: 0.9rem;
  }

  .logo img {
    height: 40px;
  }

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

  .hero p {
    font-size: 1rem;
  }

  .container {
    padding: 0 0.8rem;
  }

  .section-intro {
    font-size: 1rem;
  }

  .contact-card {
    padding: 1.5rem 1rem;
  }

  h2 {
    font-size: 1.6rem;
  }
}

/* New SEO-related styles */
.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-color);
}

.tour-details {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 2rem 0;
}

.tour-detail {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  min-width: 150px;
  flex: 1;
  max-width: 200px;
}

.tour-detail i {
  font-size: 2rem;
  color: white;
  margin-bottom: 1rem;
}

.tour-detail h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.tour-detail p {
  color: white;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .tour-details {
    flex-direction: column;
    align-items: center;
  }

  .tour-detail {
    width: 100%;
    max-width: 300px;
  }
}
