body {
  background: #f3dbf0;
  color: #000000;
  overflow-x: hidden;
}

.hero {
  /* Local header background image */
  background: url('../image/project1.jpg') no-repeat center center/cover;
  height: 40vh;
  position: relative;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.4);
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

/* When dynamic slider overlay is used, hide the default ::before overlay */
.hero.has-dynamic-overlay::before { display: none; }

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .8s ease;
  z-index: 0;
}
.hero-slide.active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

.hero-content {
  position: absolute;
  bottom: 30px;
  width: 100%;
  text-align: center;
  color: rgb(0, 0, 0);
  padding: 0 20px;
  z-index: 2;
}

.logo {
  width: 110px;
  height: auto;
  margin: auto;
  margin-bottom: 12px;
}

.tagline {
  font-size: 20px;
  font-weight: bold;
  font-family: 'Li Mahfuj AK Unicode', serif;
}

.buttons {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.buttons button {
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 15px;
  margin: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.buttons button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.buttons button:hover::before {
  width: 300px;
  height: 300px;
}

.buttons button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.buttons button:active {
  transform: translateY(-1px) scale(1.02);
}

.buttons .book {
  background: linear-gradient(135deg, #006400 0%, #0e9f6e 100%);
  color: white;
  animation: pulse 2s ease-in-out infinite;
}

.buttons .quote {
  background: linear-gradient(135deg, #8B0000 0%, #DC143C 100%);
  color: white;
}

.buttons .check-packages {
  background: linear-gradient(135deg, #0066cc 0%, #1e90ff 100%);
  color: white;
}

.buttons .check-dates {
  background: linear-gradient(135deg, #8B0000 0%, #DC143C 100%);
  color: white;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(0, 100, 0, 0.4);
  }
  50% {
    box-shadow: 0 4px 25px rgba(0, 100, 0, 0.6);
  }
}

.section {
  padding: 20px 15px;
}

.section h2 {
  font-size: 20px;
  margin-bottom: 15px;
  text-align: center;
}

.projects {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.project-card {
  background: #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.project-card iframe {
  width: 100%;
  height: 500px;
  border: none;
}

/* Mobile Improvements */
@media (max-width: 767px) {
  .hero {
    height: 45vh;
    min-height: 300px;
  }
  
  .hero-content {
    bottom: 20px;
    padding: 0 15px;
  }
  
  .logo {
    width: 90px;
    margin-bottom: 10px;
  }
  
  .tagline {
    font-size: 16px;
    margin-bottom: 15px;
  }
  
  .buttons {
    margin-top: 12px;
    gap: 8px;
  }
  
  .buttons button {
    padding: 11px 22px;
    font-size: 14px;
    margin: 0;
  }
  
  .section {
    padding: 15px 10px;
  }
  
  .section h2 {
    font-size: 18px;
    margin-bottom: 12px;
  }
  
  .project-card iframe {
    height: 400px;
  }
}

/* Tablet Styles */
@media (min-width: 600px) and (max-width: 991px) {
  .hero {
    height: 50vh;
  }
  
  .logo {
    width: 100px;
  }
  
  .tagline {
    font-size: 22px;
  }
  
  .buttons button {
    font-size: 15px;
    padding: 12px 26px;
  }
  
  .projects {
    grid-template-columns: 1fr;
  }

  .project-card iframe {
    height: 500px;
  }
}

/* Desktop Styles */
@media (min-width: 992px) {
  .hero {
    height: 70vh;
  }

  .tagline {
    font-size: 28px;
  }

  .buttons button {
    font-size: 16px;
    padding: 14px 32px;
  }

  .section h2 {
    font-size: 24px;
  }

  .projects {
    padding: 0 15%;
  }
  
  .project-card iframe {
    height: 600px;
  }
}

/* Landscape mobile improvements */
@media screen and (max-width: 768px) and (orientation: landscape) and (max-height: 500px) {
  .hero {
    height: 80vh;
  }
  
  .tagline {
    font-size: 14px;
  }
  
  .buttons button {
    padding: 9px 18px;
    font-size: 13px;
  }
  
  .project-card iframe {
    height: 350px;
  }
}
