/* =========================================================
   IN MY PERFECT SHADE OF ME | GLOBAL STYLES
   Purpose:
   Shared design system for the parking page, global header,
   global footer, mood cards, and content protection modal.
========================================================= */

:root {
  --aqua: #19f4f4;
  --purple: #8e3ff2;
  --purple-deep: #4a168f;
  --lavender: #d9c4ff;
  --ink: #111111;
  --glass: rgba(255, 255, 255, 0.76);
  --border: rgba(142, 63, 242, 0.28);
  --shadow: 0 24px 70px rgba(74, 22, 143, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(25, 244, 244, 0.28), transparent 34%),
    radial-gradient(circle at top right, rgba(142, 63, 242, 0.24), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f7f0ff 48%, #e8ffff 100%);
}

/* =========================================================
   GLOBAL CONTENT PROTECTION BASE
========================================================= */

img,
.protected-img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.modal-open {
  overflow: hidden;
}

/* =========================================================
   GLOBAL HEADER
========================================================= */

.site-header {
  width: min(1120px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 14px 40px rgba(74, 22, 143, 0.12);
  backdrop-filter: blur(16px);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.brand-subtitle {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.main-nav,
.footer-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.main-nav a,
.footer-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 999px;
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.main-nav a:hover,
.footer-nav a:hover {
  background: rgba(25, 244, 244, 0.22);
  box-shadow: 0 10px 24px rgba(142, 63, 242, 0.18);
  transform: translateY(-1px);
}

/* =========================================================
   PARKING PAGE HERO
========================================================= */

.parking-page {
  width: min(1120px, calc(100% - 32px));
  margin: 34px auto 0;
}

.hero-section {
  padding: 24px 0;
}

.hero-card {
  min-height: 560px;
  padding: clamp(28px, 5vw, 58px);
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 38px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 36px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(25, 244, 244, 0.22);
  border-radius: 28px;
  pointer-events: none;
}

.hero-copy,
.hero-logo-wrap {
  position: relative;
  z-index: 1;
}

.section-kicker {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 18px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(142, 63, 242, 0.34);
  background: rgba(25, 244, 244, 0.18);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.hero-intro {
  max-width: 580px;
  margin: 24px 0 0;
  font-size: clamp(1.06rem, 2vw, 1.26rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  color: var(--ink);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}

.primary-btn {
  background: linear-gradient(135deg, var(--aqua), var(--lavender));
  border: 1px solid rgba(142, 63, 242, 0.46);
  box-shadow: 0 14px 32px rgba(25, 244, 244, 0.24);
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(142, 63, 242, 0.34);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(74, 22, 143, 0.2);
}

.hero-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  width: min(100%, 420px);
  height: auto;
  filter:
    drop-shadow(0 24px 28px rgba(74, 22, 143, 0.22))
    drop-shadow(0 0 18px rgba(25, 244, 244, 0.2));
}

/* =========================================================
   PREVIEW / MOOD CARDS
========================================================= */

.preview-section {
  padding: 18px 0 54px;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.preview-card {
  min-height: 245px;
  padding: 28px;
  border-radius: 28px;
  backdrop-filter: blur(14px);
}

.mood-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.92),
      rgba(248, 244, 255, 0.92)
    );
  border: 1px solid rgba(186, 146, 255, 0.22);
  box-shadow: 0 16px 38px rgba(74, 22, 143, 0.10);
}

.mood-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background:
    linear-gradient(
      90deg,
      rgba(45, 229, 255, 0.9),
      rgba(147, 72, 255, 0.9)
    );
}

.card-mini-label {
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #3ddcff, #8e3ff2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.preview-card h2 {
  margin: 0 0 18px;
  color: #161616;
  font-size: 1.35rem;
  line-height: 1.08;
}

.preview-card p:not(.card-mini-label) {
  margin: 0;
  color: rgba(17, 17, 17, 0.78);
  line-height: 1.7;
}

/* =========================================================
   GLOBAL FOOTER
   Main panel stays boxed; copyright stays outside below.
========================================================= */

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 6px auto 34px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.footer-inner {
  padding: 52px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  text-align: center;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(186, 146, 255, 0.24);
  box-shadow: 0 24px 60px rgba(111, 76, 255, 0.08);
  backdrop-filter: blur(14px);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.footer-title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  color: #111;
}

.footer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.footer-bottom {
  margin-top: 18px;
  text-align: center;
}

.footer-bottom small {
  color: rgba(17, 17, 17, 0.72);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

/* =========================================================
   CONTENT PROTECTION MODAL
========================================================= */

.protection-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 8, 14, 0.58);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.protection-modal.is-active {
  display: flex;
}

.protection-panel {
  width: min(520px, 100%);
  padding:
    clamp(38px, 5vw, 58px)
    clamp(28px, 5vw, 52px);
  text-align: center;
  border-radius: 34px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.96),
      rgba(242, 255, 255, 0.94)
    );
  border: 1px solid rgba(142, 63, 242, 0.24);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.30),
    0 0 0 1px rgba(255, 255, 255, 0.16);
  position: relative;
  overflow: hidden;
}

.protection-panel::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 24px;
  border: 1px solid rgba(25, 244, 244, 0.16);
  pointer-events: none;
}

.protection-logo {
  width: 96px;
  height: auto;
  margin-bottom: 18px;
  filter: drop-shadow(0 8px 16px rgba(142, 63, 242, 0.16));
}

.protection-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #161616;
  font-weight: 700;
}

.protection-message {
  max-width: 420px;
  margin: 24px auto 0;
  font-size: 1.08rem;
  line-height: 1.9;
  color: rgba(17, 17, 17, 0.68);
}

.protection-close {
  margin-top: 34px;
  min-width: 138px;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid rgba(142, 63, 242, 0.42);
  background:
    linear-gradient(
      135deg,
      rgba(25, 244, 244, 0.92),
      rgba(142, 63, 242, 0.92)
    );
  color: white;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.protection-close:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(142, 63, 242, 0.22);
  border-color: rgba(25, 244, 244, 0.58);
}

/* =========================================================
   MOBILE RESPONSIVE STYLES
========================================================= */

@media (max-width: 820px) {
  .site-header {
    border-radius: 26px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .brand-link {
    flex-direction: column;
  }

  .brand-text-wrap {
    align-items: center;
  }

  .main-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-card {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
  }

  .section-kicker {
    margin-inline: auto;
  }

  h1 {
    margin-inline: auto;
  }

  .hero-intro {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-logo {
    width: min(100%, 320px);
  }

  .preview-grid {
    grid-template-columns: 1fr;
  }

  .preview-card {
    min-height: auto;
  }

  .footer-inner {
    padding: 42px 24px;
  }

  .footer-nav {
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-title {
    font-size: 1.45rem;
  }

  .footer-bottom small {
    display: block;
    max-width: 320px;
    margin: 0 auto;
    line-height: 1.6;
  }

}

/* =========================================================
   CONNECTED SITES MARQUEE
========================================================= */

.connect-sites-section {
  width: min(1180px, calc(100% - 48px));
  margin: 90px auto 70px;
  text-align: center;
}

.connect-kicker {
  margin-bottom: 18px;
}

.connect-sites-title {
  margin-bottom: 42px;
}

.cloud-marquee {
  width: 100%;
  overflow: hidden;

  position: relative;

  background: transparent;

  border: none;
  box-shadow: none;
}

.cloud-track {
  display: flex;
  align-items: center;

  gap: 54px;

  width: max-content;

  background: transparent;

  animation: cloudScroll 12s linear infinite;
}

.cloud-link {
  flex: 0 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;

  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.cloud-link:hover {
  transform: translateY(-4px) scale(1.04);
}

.cloud-link img {
  display: block;

  width: 78px;
  height: 78px;

  object-fit: contain;

  user-select: none;
  pointer-events: none;

  filter: none;
}

@keyframes cloudScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-25% - 27px));
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 820px) {

  .cloud-track {
    gap: 48px;
    animation-duration: 10s;
  }

  .cloud-link img {
    width: 62px;
    height: 62px;
  }

}
