/* styles/style.css */
/* ============ GLOBAL ============ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  --wc-color-deep: #002d4f;
  --wc-color-sky: #a5f0ff;
  --wc-color-coral: #ff7c6b;
  --wc-color-sand: #ffe9c7;
  --wc-color-mint: #c2ffe5;
  --wc-color-ink: #071826;
  --wc-text-main: #082032;
  --wc-text-muted: #48647a;
  --wc-radius-lg: 24px;
  --wc-radius-pill: 999px;
  --wc-shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.16);
  --wc-transition-fast: 0.25s ease-out;
  --wc-transition-slow: 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
  --wc-header-height: 76px;
}

/* Local Google Fonts (TTF), лежат в папке /fonts */
@font-face {
  font-family: "WaveChillSans";
  src: url("../fonts/Quicksand-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "WaveChillSans";
  src: url("../fonts/Quicksand-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "WaveChillDisplay";
  src: url("../fonts/Baloo2-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

body.wc-body {
  margin: 0;
  font-family: "WaveChillSans", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--wc-text-main);
  background: radial-gradient(circle at top, #e0fbff, #f7fcff 50%, #fdf8f3 100%);
  overflow-x: hidden;
}

/* Global image rule — ширина до 350px */
img {
  max-width: 350px;
  width: 100%;
  height: auto;
  display: block;
}

/* ============ LAYOUT HELPERS ============ */

.wc-container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.wc-main {
  padding-top: var(--wc-header-height);
}

/* Секции по умолчанию */
.wc-section {
  padding: 4rem 0;
  position: relative;
}

/* Reveal-анимация через IntersectionObserver */
.wc-reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.97);
  transition: opacity var(--wc-transition-slow), transform var(--wc-transition-slow);
}

.wc-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ============ HEADER ============ */

.wc-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    90deg,
    rgba(0, 45, 79, 0.92),
    rgba(0, 82, 119, 0.92)
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.wc-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--wc-header-height);
  gap: 1.5rem;
}

/* Логотип */

.wc-logo {
  text-decoration: none;
  color: #f7fcff;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.wc-logo-main {
  font-family: "WaveChillDisplay", system-ui, sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
}

.wc-logo-amp {
  color: var(--wc-color-coral);
  font-size: 1.1em;
}

.wc-logo-tagline {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.78;
}

/* Навигация */

.wc-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.wc-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.wc-nav-list a {
  text-decoration: none;
  color: #f8fbff;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 0.2rem;
}

.wc-nav-list a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  height: 2px;
  border-radius: 999px;
  transform-origin: center;
  transform: scaleX(0);
  transition: transform var(--wc-transition-fast);
  background: linear-gradient(90deg, var(--wc-color-sky), var(--wc-color-coral));
}

.wc-nav-list a:hover::after,
.wc-nav-list a:focus-visible::after {
  transform: scaleX(1);
}

/* Бургер */

.wc-nav-toggle {
  display: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(0, 0, 0, 0.12);
  padding: 0;
  align-items: center;
  justify-content: center;
  gap: 0.24rem;
  flex-direction: column;
  cursor: pointer;
}

.wc-nav-line {
  width: 1.2rem;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  transition: transform var(--wc-transition-fast), opacity var(--wc-transition-fast);
}

.wc-nav-toggle.is-open .wc-nav-line:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.wc-nav-toggle.is-open .wc-nav-line:nth-child(2) {
  opacity: 0;
}

.wc-nav-toggle.is-open .wc-nav-line:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

/* Мобильное меню */
@media (max-width: 900px) {
  .wc-nav-toggle {
    display: inline-flex;
  }

  .wc-nav-list {
    position: absolute;
    inset-inline: 0;
    inset-block-start: calc(var(--wc-header-height));
    padding: 0.75rem 1.25rem 1rem;
    margin: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    background: radial-gradient(circle at top, #023055, #001320);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--wc-transition-fast), opacity var(--wc-transition-fast);
  }

  .wc-nav-list.is-open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }
}

/* ============ BUTTONS ============ */

.wc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--wc-radius-pill);
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition:
    background var(--wc-transition-fast),
    color var(--wc-transition-fast),
    box-shadow var(--wc-transition-fast),
    transform var(--wc-transition-fast);
  white-space: nowrap;
}

.wc-btn-primary {
  background: linear-gradient(130deg, var(--wc-color-sky), var(--wc-color-coral));
  color: var(--wc-color-ink);
  box-shadow: var(--wc-shadow-soft);
}

.wc-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.2);
}

.wc-btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
  color: #f7fbff;
}

.wc-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.24);
}

/* ============ FOOTER ============ */

.wc-footer {
  padding: 3rem 0 1.5rem;
  background: #00111e;
  color: #e7f4ff;
  margin-top: 2rem;
}

.wc-footer-inner {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr;
  gap: 2.5rem;
  align-items: flex-start;
}

.wc-footer-title {
  font-family: "WaveChillDisplay", system-ui, sans-serif;
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

.wc-footer-subtitle {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.wc-footer-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(230, 243, 255, 0.86);
}

.wc-footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.wc-footer-links a {
  color: rgba(230, 243, 255, 0.9);
  font-size: 0.9rem;
  text-decoration: none;
}

.wc-footer-links a:hover {
  color: var(--wc-color-sky);
}

.wc-footer-bottom {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(200, 225, 245, 0.8);
}

.wc-footer-copy {
  margin: 0;
}

/* ============ GLOBAL RESPONSIVE ============ */

@media (max-width: 960px) {
  .wc-footer-inner {
    grid-template-columns: 1.7fr 1.3fr;
  }
}

@media (max-width: 720px) {
  :root {
    --wc-header-height: 70px;
  }

  .wc-container {
    width: min(100% - 1.75rem, 640px);
  }

  .wc-footer-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (max-width: 480px) {
  .wc-logo-main {
    font-size: 1.25rem;
  }

  .wc-logo-tagline {
    display: none;
  }
}
/* ===== FOOTER LINKS – WAVE & CHILL ===== */

.wc-footer-contact a,
.wc-footer-links a {
  color: var(--wc-footer-link, #e6f3ff);   /* мягкий светлый цвет */
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(230, 243, 255, 0.35);
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease;
}

.wc-footer-contact a:hover,
.wc-footer-contact a:focus-visible,
.wc-footer-links a:hover,
.wc-footer-links a:focus-visible {
  color: var(--wc-footer-link-hover, #ffffff);
  border-color: rgba(255, 255, 255, 0.7);
  opacity: 1;
}

.wc-footer-contact a:active,
.wc-footer-links a:active {
  opacity: 0.8;
}

/* чтобы общие стили ссылок не перебивали футер */
.wc-footer a {
  text-underline-offset: 3px;
}
