/* ============================================================
   QUADRI SPORT CENTER — style.css
   ============================================================ */

/* ============================================================
   CSS CUSTOM PROPERTIES — IMAGE BACKGROUND
   ============================================================ */

:root {
  --bg-image: url("assets/nekton-gym.jpg");
  --color-fg: #FFFFFF;
}

/* ============================================================
   RESET
   ============================================================ */

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

html {
  height: 100%;
}

/* ============================================================
   BASE
   ============================================================ */

body {
  min-height: 100%;
  background-color: #000000;
  background-image: linear-gradient(rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.42)), var(--bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--color-fg);
  font-family: 'Cal Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.45);
}

address {
  font-style: normal;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================================
   AREA PERSONALE BUTTON
   ============================================================ */

.personal-area {
  position: fixed;
  top: clamp(18px, 2.4vw, 36px);
  right: clamp(18px, 2.4vw, 40px);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  background-color: #FFFFFF;
  color: #000000;
  font-family: 'Cal Sans', sans-serif;
  font-size: clamp(13px, 0.95vw, 16px);
  line-height: 1;
  padding: clamp(11px, 0.85vw, 15px) clamp(18px, 1.4vw, 26px);
  border-radius: 999px;
  text-shadow: none;
  transition: opacity 0.15s ease;
}

.personal-area:hover {
  opacity: 0.82;
}

/* ============================================================
   PAGE LAYOUT
   ============================================================ */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: clamp(72px, 16vh, 180px) clamp(28px, 6vw, 96px) clamp(32px, 5vw, 72px);
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(14px, 1.8vw, 34px);
}

.hero-title {
  font-size: clamp(32px, 5.4vw, 92px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}

.hero-logo {
  display: block;
  width: clamp(190px, 22vw, 360px);
  height: auto;
  margin: clamp(2px, 0.3vw, 6px) 0;
}

.hero-subtitle {
  font-size: clamp(15px, 1.45vw, 25px);
  font-weight: 400;
  line-height: 1.55;
  max-width: min(1180px, 92%);
  text-align: center;
}

/* ============================================================
   MID SPACER
   ============================================================ */

.mid-spacer {
  flex: 1;
  min-height: clamp(40px, 8vw, 100px);
}

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

.info-footer {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1vw, 18px);
}

.company-label {
  font-size: clamp(10px, 0.78vw, 13px);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 3.2vw, 52px);
}

.info-col {
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 0.35vw, 7px);
}

.info-name {
  font-size: clamp(11px, 0.82vw, 14px);
  font-weight: 400;
  line-height: 1.35;
}

.info-address {
  font-size: clamp(11px, 0.82vw, 14px);
  font-weight: 400;
  line-height: 1.55;
}

.info-social {
  display: flex;
  flex-direction: column;
  gap: clamp(2px, 0.18vw, 3px);
  margin-top: clamp(3px, 0.35vw, 6px);
}

.info-social a {
  font-size: clamp(11px, 0.82vw, 14px);
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
  transition: opacity 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.info-social a:hover {
  text-decoration: underline;
  opacity: 0.6;
}

.social-icon {
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  display: block;
}

.info-schedule {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 0.9vw, 16px);
}

.info-schedule-block {
  display: flex;
  flex-direction: column;
}

.info-day {
  font-size: clamp(11px, 0.82vw, 14px);
  font-weight: 400;
  line-height: 1.35;
}

.info-hours {
  font-size: clamp(11px, 0.82vw, 14px);
  font-weight: 400;
  line-height: 1.35;
}

/* ============================================================
   RESPONSIVE — TABLET  (≤ 1024px)
   ============================================================ */

@media (max-width: 1024px) {

  .page {
    padding-top: clamp(48px, 20vh, 200px);
  }

  .hero-title {
    font-size: clamp(30px, 4.6vw, 64px);
  }

  .hero-logo {
    width: clamp(180px, 24vw, 320px);
  }

  .hero-subtitle {
    font-size: clamp(15px, 1.9vw, 21px);
    max-width: 92%;
  }

  .info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(20px, 4vw, 56px);
    row-gap: clamp(20px, 3.5vw, 44px);
  }

}

/* ============================================================
   RESPONSIVE — MOBILE  (≤ 640px)
   ============================================================ */

@media (max-width: 640px) {

  .personal-area {
    font-size: 13px;
    padding: 10px 16px;
  }

  .page {
    padding: 22vw 7vw 12vw;
    min-height: 100svh;
  }

  .hero-section {
    gap: 7vw;
  }

  .hero-title {
    font-size: clamp(28px, 8vw, 46px);
  }

  .hero-logo {
    width: clamp(160px, 52vw, 240px);
  }

  .hero-subtitle {
    font-size: clamp(15px, 4.1vw, 19px);
    max-width: 100%;
  }

  .mid-spacer {
    min-height: 14vw;
  }

  .info-footer {
    gap: 5vw;
  }

  .company-label {
    font-size: clamp(10px, 2.8vw, 13px);
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 8vw;
  }

  .info-name,
  .info-address,
  .info-social a,
  .info-day,
  .info-hours {
    font-size: clamp(12px, 3.5vw, 16px);
  }

}
