/* ── Gotham Font ────────────────────────────────── */
@font-face {
  font-family: 'Gotham';
  src: url('fonts/Gotham Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: url('fonts/Gotham Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: url('fonts/Gotham Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: url('fonts/Gotham Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'Gotham', 'Inter', sans-serif;
  color: #1a1a1a;
}

/* ── Full-Screen Background ────────────────────────── */
body {
  background: url('bg2.png') center center / cover no-repeat fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Subtle overlay for readability ────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  pointer-events: none;
  z-index: 0;
}

/* ── Top Left Logo ─────────────────────────────────── */
.top-logo {
  position: fixed;
  top: 32px;
  left: 32px;
  z-index: 10;
  width: 208px;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.06));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  animation: logoIn 0.6s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.top-logo:hover {
  transform: scale(1.04);
}

@keyframes logoIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Panel Container ───────────────────────────────── */
.panel-container {
  position: relative;
  z-index: 1;
  width: min(880px, 90vw);
  animation: cardIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ── Panel (each section) ──────────────────────────── */
.panel {
  display: none;
  text-align: center;
  padding: 84px 78px;
  background: none;
  border: none;
  border-radius: 24px;
  box-shadow: none;
  animation: panelFade 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.panel.active {
  display: block;
}

@keyframes panelFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Panel Title ───────────────────────────────────── */
.panel__title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #1a1a1a;
  margin-bottom: 16px;
}

/* ── Panel Divider ─────────────────────────────────── */
.panel__divider {
  width: 254px;
  height: 2px;
  margin: 20px auto 24px;
  background: linear-gradient(90deg, transparent, #1a1a1a, transparent);
  border: none;
  opacity: 0.3;
}

/* ── Panel Logo ────────────────────────────────────── */
.panel__logo {
  width: 340px;
  height: auto;
  display: block;
  margin: 0 auto 20px;
}

/* ── Panel Text ────────────────────────────────────── */
.panel__text {
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.75;
  color: #333;
  letter-spacing: 0.01em;
  max-width: 620px;
  margin: 0 auto;
}

/* ── Services text smaller ─────────────────────────── */
#panel-services .panel__text {
  font-size: 1.05rem;
}

/* ── Services List (clean checkmarks) ──────────────── */
.panel__services {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 340px;
  width: 100%;
  margin: 0 auto;
  text-align: left;
}

.panel__services li {
  position: relative;
  padding-left: 22px;
  font-size: 0.92rem;
  font-weight: 300;
  color: #444;
  line-height: 1.6;
}

.panel__services li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: #888;
}
.panel__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  max-width: 380px;
  margin: 0 auto;
}

.panel__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 400;
  color: #444;
  letter-spacing: 0.01em;
}

.panel__list li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: #2a6b4a;
  opacity: 0.7;
}

/* ── Contact Title Override ────────────────────────── */
#panel-contact .panel__title {
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* ── Panel Contact ─────────────────────────────────── */
.panel__contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  margin-top: 32px;
}

.panel__contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: #fff;
  background: #44506D;
  text-decoration: none;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.panel__contact-item:hover {
  background: #3a4560;
  transform: scale(1.03);
}

.panel__contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: #fff;
  opacity: 0.7;
}

/* ── Right Floating Buttons ────────────────────────── */
.side-buttons {
  position: fixed;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: sideIn 0.6s 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes sideIn {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

.side-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  color: #333;
  position: relative;
}

.side-btn svg {
  width: 22px;
  height: 22px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.side-btn:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: scale(1.12);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.12),
    0 2px 4px rgba(0, 0, 0, 0.06);
}

.side-btn:hover svg {
  transform: scale(1.1);
}

/* ── Active Button ─────────────────────────────────── */
.side-btn.active {
  background: #44506D;
  color: #fff;
  border-color: #44506D;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.2),
    0 1px 3px rgba(0, 0, 0, 0.1);
}

.side-btn.active:hover {
  background: #3a4560;
  transform: scale(1.08);
}

/* ── Tooltip ───────────────────────────────────────── */
.side-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  white-space: nowrap;
  background: rgba(68, 80, 109, 0.9);
  color: #fff;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
}

.side-btn:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ── Footer ────────────────────────────────────────── */
.footer {
  position: fixed;
  bottom: 16px;
  right: 24px;
  z-index: 1;
  font-size: 0.72rem;
  color: rgba(80, 80, 80, 0.5);
  letter-spacing: 0.04em;
  animation: fadeIn 1s 0.8s both;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer__logo {
  width: 20px;
  height: auto;
  opacity: 0.4;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 640px) {
  .top-logo {
    width: 150px;
    top: 20px;
    left: 20px;
  }

  body {
    justify-content: flex-start;
    align-items: center;
  }

  .panel-container {
    width: 75vw;
    margin-left: 0;
    margin-top: 15vh;
  }

  .panel {
    padding: 48px 28px 56px 22px;
    border-radius: 0 20px 20px 0;
    text-align: left;
  }

  .panel__logo {
    width: 234px;
    margin-left: 0;
    margin-right: auto;
  }

  .panel__divider {
    width: 176px;
    margin: 22px 0 26px 0;
  }

  .panel__text {
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: left;
    margin: 0;
  }

  .panel__title {
    text-align: left;
  }

  .panel__services {
    margin: 0;
  }

  .panel__contact {
    align-items: flex-start;
  }

  .panel__divider {
    background: linear-gradient(90deg, #1a1a1a, transparent);
  }

  .side-buttons {
    right: 16px;
    gap: 12px;
    top: auto;
    bottom: 80px;
    transform: none;
  }

  .side-btn {
    width: 44px;
    height: 44px;
  }

  .side-btn svg {
    width: 18px;
    height: 18px;
  }

  .side-btn::after {
    display: none;
  }

  .footer {
    right: 50%;
    transform: translateX(50%);
    flex-direction: column;
    text-align: center;
  }

  .footer__logo {
    width: 28px;
  }
}

@media (max-width: 380px) {
  .top-logo {
    width: 140px;
    top: 16px;
    left: 16px;
  }

  .panel {
    padding: 24px 18px;
  }

  .panel__title {
    font-size: 0.75rem;
  }

  .panel__text {
    font-size: 0.9rem;
  }

  .panel__list li {
    font-size: 0.85rem;
  }
}
