/* ========================================
   BEACH & TOURISM THEME - Pulau Banyak
   ======================================== */

:root {
  /* Ocean & Beach Colors */
  --ocean-dark: #004e89;
  --ocean-blue: #0077b6;
  --ocean-light: #00b4d8;
  --sand: #f4e4c1;
  --coral: #e63946;
  --turquoise: #06ffa5;
  --sunset: #ff6b35;
  --foam-white: #f8f9fa;

  /* Gradients */
  --ocean-gradient: linear-gradient(
    135deg,
    #004e89 0%,
    #0077b6 50%,
    #00b4d8 100%
  );
  --beach-gradient: linear-gradient(135deg, #f4e4c1 0%, #fff8dc 100%);
  --sunset-gradient: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  --tropical-gradient: linear-gradient(135deg, #06ffa5 0%, #00b4d8 100%);
}

/* ========================================
   HERO SECTION - Beach Atmosphere
   ======================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--ocean-gradient);
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 30% 50%,
    rgba(0, 187, 216, 0.3) 0%,
    rgba(0, 78, 137, 0.7) 100%
  );
  z-index: 2;
  animation: oceanWave 8s ease-in-out infinite;
}

@keyframes oceanWave {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.8;
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  animation: fadeInUp 1.2s ease-out;
}

.hero-title {
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  animation: slideInDown 1s ease-out;
}

.hero-subtitle {
  font-size: clamp(1rem, 4vw, 1.5rem);
  margin-bottom: 3rem;
  opacity: 0.95;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  animation: slideInUp 1s ease-out 0.2s both;
}

/* ========================================
   BUTTONS - Modern Beach Style
   ======================================== */

.btn {
  position: relative;
  overflow: hidden;
  border: none;
  border-radius: 50px;
  padding: 12px 32px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.5s ease;
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

/* Button Variants */
.btn-primary {
  background: linear-gradient(135deg, #00b4d8, #00d4ff);
  color: white;
  box-shadow: 0 8px 20px rgba(0, 180, 216, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 180, 216, 0.5);
}

.btn-secondary {
  background: linear-gradient(135deg, #06ffa5, #00d4ff);
  color: #004e89;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(6, 255, 165, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(6, 255, 165, 0.5);
}

.btn-gold {
  background: linear-gradient(135deg, #ff9a36, #ffb84d);
  color: white;
  box-shadow: 0 8px 20px rgba(255, 154, 54, 0.3);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 154, 54, 0.5);
}

.btn-lg {
  padding: 18px 48px;
  font-size: 1.1rem;
}

/* ========================================
   FLOATING BUTTONS - Chatbot & WhatsApp
   ======================================== */

.whatsapp-float,
.chatbot-toggle {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  cursor: pointer;
  z-index: 999;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* WhatsApp Button */
.whatsapp-float {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  bottom: 30px;
  right: 30px;
  text-decoration: none;
  animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.15) translateY(-5px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
}

/* Chatbot Toggle Button */
.chatbot-toggle {
  background: linear-gradient(135deg, #00b4d8, #0077b6);
  color: white;
  bottom: 110px;
  right: 30px;
}

.chatbot-toggle:hover {
  transform: scale(1.15) translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 180, 216, 0.4);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* ========================================
   CHATBOT WIDGET - Modern Style
   ======================================== */

.chatbot-widget {
  position: fixed;
  bottom: 90px;
  right: 30px;
  z-index: 990;
}

.chatbot-container {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 380px;
  height: 500px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chatbot-container.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chatbot-header {
  background: linear-gradient(135deg, #00b4d8, #0077b6);
  color: white;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-header h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.chatbot-close {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.chatbot-close:hover {
  transform: rotate(90deg);
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background: #f8f9fa;
}

.chatbot-input-area {
  display: flex;
  padding: 12px;
  gap: 8px;
  border-top: 1px solid #e0e0e0;
  background: white;
}

.chatbot-input-area input {
  flex: 1;
  border: 1px solid #e0e0e0;
  border-radius: 24px;
  padding: 10px 16px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.chatbot-input-area input:focus {
  border-color: #00b4d8;
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

.chatbot-send {
  background: linear-gradient(135deg, #00b4d8, #06ffa5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
}

.chatbot-send:hover {
  transform: scale(1.1) rotate(-15deg);
}

/* ========================================
   SECTION STYLES - Beach Theme
   ======================================== */

.section-padding {
  padding: 80px 0;
}

.section-title {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 60px;
  background: linear-gradient(135deg, #004e89, #00b4d8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  padding-bottom: 20px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #00b4d8, #06ffa5);
  border-radius: 2px;
  animation: expandWidth 1s ease-out;
}

@keyframes expandWidth {
  from {
    width: 0;
  }
  to {
    width: 80px;
  }
}

.bg-light {
  background: linear-gradient(180deg, #f8f9fa 0%, #f0f8ff 100%);
}

/* ========================================
   CARD STYLES - Modern Beach Cards
   ======================================== */

.package-card,
.reason-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(0, 180, 216, 0.1);
}

.package-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 180, 216, 0.2);
  border-color: #00b4d8;
}

.reason-card {
  padding: 40px 24px;
  text-align: center;
}

.reason-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #00b4d8, #06ffa5);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 36px;
  color: white;
  animation: rotateIcon 4s linear infinite;
}

@keyframes rotateIcon {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(5deg);
  }
  75% {
    transform: rotate(-5deg);
  }
}

/* ========================================
   CTA BANNER - Eye Catching
   ======================================== */

.cta-banner {
  background: linear-gradient(135deg, #637583 0%, #91abb1 100%);
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,60 Q300,30 600,60 T1200,60 L1200,0 L0,0 Z" fill="rgba(255,255,255,0.1)"/></svg>');
  background-size: 600px 100%;
  background-position: 0 0;
  animation: wave 10s linear infinite;
}

@keyframes wave {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 600px 0;
  }
}

.banner-content {
  position: relative;
  z-index: 2;
  color: white;
  animation: fadeInUp 1s ease-out;
}

.banner-content h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.banner-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
  .whatsapp-float,
  .chatbot-toggle {
    width: 54px;
    height: 54px;
    font-size: 24px;
    bottom: 20px;
    right: 20px;
  }

  .chatbot-toggle {
    bottom: 90px;
  }

  .chatbot-container {
    width: 320px;
    height: 450px;
  }

  .section-padding {
    padding: 50px 0;
  }

  .cta-banner {
    padding: 60px 20px;
  }
}

@media (max-width: 480px) {
  .whatsapp-float,
  .chatbot-toggle {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .chatbot-container {
    width: 100%;
    height: 400px;
    right: 10px;
    left: 10px;
    bottom: 70px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }
}
