/* ===== Variables & Reset ===== */
:root {
  --primary-color: #006D77; /* Deep Sea Blue */
  --secondary-color: #83C5BE; /* Light Aqua */
  --accent-color: #E29578; /* Coral / Sunset */
  --bg-color: #F8F9FA;
  --text-dark: #2B2D42;
  --text-light: #6c757d;
  --white: #FFFFFF;
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.3);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Prompt', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

.text-center {
  text-align: center;
}

.section {
  padding: 100px 0;
}

.bg-light {
  background-color: var(--white);
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-bottom: 40px;
  font-weight: 400;
}

/* ===== Buttons ===== */
.btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 109, 119, 0.3);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(131, 197, 190, 0.4);
}

.btn-large {
  padding: 16px 40px;
  font-size: 1.1rem;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

.btn-outline {
  display: inline-block;
  background-color: transparent;
  color: var(--primary-color);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 500;
  border: 2px solid var(--primary-color);
  cursor: pointer;
}

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

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
  padding: 5px 0;
}

.navbar.scrolled {
  padding: 3px 0;
  box-shadow: var(--shadow);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.navbar-logo {
  height: 84px;
  width: auto;
  display: block;
  transform: scale(1.6);
  transform-origin: left center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--accent-color);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
  transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('assets/hero-bg.png'); /* Fallback image */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding-top: 80px;
  overflow: hidden;
}

.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.video-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 Aspect Ratio */
  min-height: 100vh;
  min-width: 177.77vh; /* 16:9 Aspect Ratio */
  transform: translate(-50%, -50%);
  pointer-events: none; /* Prevent interacting with YouTube player */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 800px;
  padding: 0 20px;
}

.badge {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.hero-title {
  font-size: 4.5rem;
  margin-bottom: 10px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 20px;
  text-shadow: 1px 1px 8px rgba(0,0,0,0.3);
}

.hero-desc {
  font-size: 1.2rem;
  margin-bottom: 40px;
  font-weight: 300;
}

.price-tag {
  background: var(--glass-bg);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 20px 40px;
  border-radius: 15px;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 40px;
  color: var(--text-dark);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.price-label {
  font-size: 1.2rem;
  font-weight: 500;
}

.price-value {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.price-unit {
  font-size: 1.2rem;
  font-weight: 500;
}

/* ===== Concept Section ===== */
.concept-container {
  max-width: 800px;
}

.concept-content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text-light);
}

.highlight-text {
  font-size: 1.3rem !important;
  color: var(--primary-color) !important;
  font-weight: 500;
  margin-top: 30px;
}

/* ===== Factsheet Section ===== */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.fact-card {
  background: var(--white);
  padding: 30px 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.02);
}

.fact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 109, 119, 0.1);
  border-color: var(--secondary-color);
}

.fact-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.fact-label {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 5px;
}

.fact-value {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

.fact-value span {
  font-size: 1rem;
  font-weight: 400;
}

/* ===== Facilities Section ===== */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.facility-card {
  background: var(--bg-color);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  transition: var(--transition);
}

.facility-card:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-5px);
}

.facility-card:hover p {
  color: rgba(255,255,255,0.8);
}

.fac-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.facility-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.facility-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  transition: var(--transition);
}

/* ===== Location & Register Section ===== */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.location-desc {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.location-content p {
  color: var(--text-light);
  margin-bottom: 30px;
}

.register-card {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  border-top: 5px solid var(--accent-color);
}

.register-card h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.register-card > p {
  color: var(--text-light);
  margin-bottom: 30px;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 109, 119, 0.1);
}

.contact-info {
  margin-top: 30px;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.call-btn {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 10px;
}

/* ===== Footer ===== */
.footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-logo {
  height: 150px;
  width: auto;
  margin-bottom: 15px;
}

.copyright {
  margin-top: 30px;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

/* ===== Animations ===== */
.animate-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.animate-up.in-view {
  opacity: 1;
  transform: translateY(var(--parallax-y, 0));
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }

/* ===== Custom Pop-up ===== */
.custom-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.custom-popup.show {
  opacity: 1;
  pointer-events: all;
}

.popup-content {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.custom-popup.show .popup-content {
  transform: translateY(0);
}

.popup-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 15px;
}

.popup-content h4 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.popup-content p {
  color: var(--text-light);
  margin-bottom: 25px;
}

/* ===== Media Queries ===== */
@media (max-width: 992px) {
  .hero-title { font-size: 3.5rem; }
  .split-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: var(--shadow);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: var(--transition);
  }

  .nav-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .nav-btn { display: none; }
  .hamburger { display: flex; }

  .hero-title { font-size: 2.8rem; }
  .hero-subtitle { font-size: 1.5rem; }
  .price-tag { padding: 15px 25px; }
  .price-value { font-size: 2.5rem; }
  
  .section { padding: 60px 0; }
  .section-title { font-size: 2rem; }
}
