/* Blue Lagoon — modern theme */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }

:root {
  --bg: #07080d;
  --bg-alt: #0d101a;
  --surface: rgba(255,255,255,.045);
  --surface-strong: rgba(255,255,255,.08);
  --border: rgba(255,255,255,.1);
  --text: #f4f6fb;
  --text-muted: #a3acc2;
  --cyan: #3fc9f2;
  --cyan-soft: #9fe6fb;
  --pink: #ff4f8b;
  --gradient-brand: linear-gradient(135deg, var(--cyan), var(--pink));
  --shadow-lg: 0 30px 60px -25px rgba(0,0,0,.7);
  --shadow-sm: 0 10px 25px -15px rgba(0,0,0,.6);
  --radius-lg: 22px;
  --radius-md: 14px;
  --container: 1220px;
  --header-h: 76px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--pink); color: #fff; }

:focus-visible {
  outline: 2px solid var(--cyan-soft);
  outline-offset: 3px;
  border-radius: 4px;
}

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

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  color: #fff;
}

h2 { font-size: clamp(1.7rem, 4.5vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); font-weight: 600; }

p { margin: 0 0 1em; color: var(--text-muted); }
p:last-child { margin-bottom: 0; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--cyan-soft);
  margin-bottom: 14px;
}
.kicker::before {
  content: '';
  width: 26px;
  height: 3px;
  background: var(--gradient-brand);
  border-radius: 2px;
  box-shadow: 0 0 6px 1px rgba(63,201,242,.7), 0 0 13px 2px rgba(255,79,139,.4);
}

.section-head { max-width: 640px; margin: 0 0 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head.center .kicker::before { display: none; }

.section { padding: 76px 0; position: relative; }
.section-alt { background: var(--bg-alt); }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-brand);
  color: #08090d;
  box-shadow: 0 12px 30px -10px rgba(63,201,242,.55), 0 0 24px -6px rgba(255,79,139,.6);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -10px rgba(255,79,139,.6), 0 0 32px -4px rgba(63,201,242,.75);
}
.btn-outline {
  border-color: rgba(255,255,255,.35);
  color: #fff;
  background: rgba(255,255,255,.04);
}
.btn-outline:hover { border-color: var(--cyan-soft); background: rgba(255,255,255,.09); transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }

.chip-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: .85rem;
  color: var(--text);
  font-weight: 400;
}
.chip svg { width: 16px; height: 16px; color: var(--cyan-soft); flex: none; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease, height .3s ease;
}
.site-header.is-scrolled {
  background: rgba(7,8,13,.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border);
  height: 66px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 40px; width: auto; transition: height .3s ease; }
.site-header.is-scrolled .brand img { height: 34px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.site-nav ul { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) {
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .03em;
  color: #eef1f8;
  position: relative;
  padding: 6px 0;
}
.site-nav a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--gradient-brand);
  box-shadow: 0 0 8px 1px rgba(63,201,242,.7);
  transition: right .3s ease;
  border-radius: 2px;
}
.site-nav a:not(.btn):hover::after { right: 0; }
.nav-cta { display: none; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: '';
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle.is-open::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open::after { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle.is-open span { opacity: 0; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-slides { position: absolute; inset: 0; z-index: -2; background: #000; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFade 36s infinite;
  transform: scale(1.08);
}
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }
.hero-slide:nth-child(4) { animation-delay: 18s; }
.hero-slide:nth-child(5) { animation-delay: 24s; }
.hero-slide:nth-child(6) { animation-delay: 30s; }

@keyframes heroFade {
  0%   { opacity: 0; transform: scale(1.08); }
  4%   { opacity: 1; transform: scale(1.08); }
  16%  { opacity: 1; transform: scale(1.16); }
  20%  { opacity: 0; transform: scale(1.16); }
  100% { opacity: 0; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 50% 30%, rgba(63,201,242,.14), transparent 70%),
    linear-gradient(180deg, rgba(5,6,10,.55) 0%, rgba(5,6,10,.55) 40%, rgba(5,6,10,.92) 100%);
}

.hero-content {
  position: relative;
  text-align: center;
  padding: calc(var(--header-h) + 20px) 24px 40px;
  max-width: 760px;
}
.hero-logo {
  width: min(72vw, 300px);
  margin: 0 auto 18px;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,.5)) drop-shadow(0 0 18px rgba(63,201,242,.35));
  animation: logoGlow 5s ease-in-out infinite;
}
@keyframes logoGlow {
  0%, 100% { filter: drop-shadow(0 12px 30px rgba(0,0,0,.5)) drop-shadow(0 0 18px rgba(63,201,242,.35)); }
  50% { filter: drop-shadow(0 12px 30px rgba(0,0,0,.5)) drop-shadow(0 0 30px rgba(255,79,139,.45)); }
}
.hero-tagline {
  font-family: 'Alex Brush', cursive;
  font-size: clamp(2rem, 6vw, 3.4rem);
  color: #fff;
  line-height: 1.15;
  margin: 0 0 6px;
  text-shadow: 0 2px 24px rgba(63,201,242,.35);
}
.hero-sub {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--cyan-soft);
  font-weight: 500;
  margin: 0 0 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-cue span {
  width: 4px;
  height: 8px;
  border-radius: 3px;
  background: var(--cyan-soft);
  animation: scrollCue 1.8s infinite;
}
@keyframes scrollCue {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 0; }
}

/* ---------- about ---------- */
.about-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  align-items: start;
  margin-bottom: 40px;
}
.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 160px; height: 160px;
  background: var(--gradient-brand);
  filter: blur(60px);
  opacity: .35;
}
.about-card .address-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 500;
}
.about-card .address-line svg { width: 20px; height: 20px; color: var(--cyan-soft); flex: none; }

.panorama {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.panorama img { width: 100%; height: auto; }

/* ---------- gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 18px 16px;
  background: linear-gradient(0deg, rgba(0,0,0,.75), transparent);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 500;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
}
.gallery-item:hover .caption { opacity: 1; transform: translateY(0); }

.gallery-tagline {
  text-align: center;
  margin-top: 34px;
  font-family: 'Alex Brush', cursive;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  color: var(--cyan-soft);
}

/* ---------- partner ---------- */
.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 46px 28px;
  max-width: 560px;
  margin: 0 auto;
  transition: transform .3s ease, border-color .3s ease;
}
.partner-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.22); }
.partner-card img { display: block; width: min(70%, 260px); margin: 0 auto; background: #fff; border-radius: var(--radius-md); padding: 14px; }
.partner-card .btn { margin-top: 6px; white-space: normal; text-align: center; }

/* ---------- jobs ---------- */
.jobs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.job-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.job-card .badge {
  align-self: flex-start;
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--gradient-brand);
  color: #08090d;
  font-weight: 700;
}
.job-card h3 { margin: 0; font-size: 1.05rem; font-weight: 500; font-family: 'Poppins',sans-serif; color: #fff; line-height: 1.5; }
.job-card .phone-list { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.job-card .phone-list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan-soft);
  font-weight: 500;
  font-size: .95rem;
}
.job-card .phone-list a svg { width: 17px; height: 17px; flex: none; }
.job-card .phone-list a:hover { color: #fff; }

/* ---------- map ---------- */
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.map-frame iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
  filter: invert(92%) hue-rotate(180deg) contrast(90%);
}

/* ---------- footer ---------- */
.site-footer {
  background: #05060a;
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand img { height: 46px; width: auto; margin-bottom: 16px; }
.footer-brand p { color: var(--text-muted); }
.footer-contact .small-title {
  font-size: .72rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--cyan-soft);
  font-weight: 600;
  margin-bottom: 16px;
  display: block;
}
.footer-contact ul { display: flex; flex-direction: column; gap: 14px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; color: var(--text-muted); }
.footer-contact li svg { width: 18px; height: 18px; margin-top: 3px; color: var(--cyan-soft); flex: none; }
.footer-contact a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  font-size: .78rem;
  color: var(--text-muted);
}
.footer-bottom a:hover { color: #fff; }

/* ---------- mobile nav overlay ---------- */
@media (max-width: 899px) {
  .site-nav {
    position: fixed;
    inset: 0;
    top: 0;
    flex-direction: column;
    justify-content: center;
    gap: 46px;
    background: rgba(6,7,12,.98);
    backdrop-filter: blur(10px);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform .4s ease, opacity .4s ease, visibility .4s;
    padding: 90px 24px 40px;
  }
  .site-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 26px; text-align: center; }
  .site-nav a:not(.btn) { font-size: 1.3rem; }
  .nav-cta.btn { display: inline-flex; }
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { gap: 40px; }
}

/* ---------- breakpoints ---------- */
@media (min-width: 560px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .jobs-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.1fr 1fr; align-items: start; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

@media (min-width: 800px) {
  .about-grid { grid-template-columns: 1.3fr .9fr; }
}

@media (min-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
  }
  .gallery-item.is-large {
    grid-row: span 2;
    aspect-ratio: auto;
  }
}

@media (min-width: 1000px) {
  .section { padding: 110px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide, .hero-logo, .scroll-cue span,
  .partner-card, .btn, .gallery-item img, .gallery-item .caption,
  .site-nav a:not(.btn)::after, .nav-toggle span, .nav-toggle::before, .nav-toggle::after {
    animation: none !important;
    transition: none !important;
  }
  .hero-slide { opacity: 1; transform: none; }
  .hero-slide:not(:first-child) { display: none; }
}
