/* ═══════════════════════════════════════════════════════════
   Swimming Cool 2026 — Front Page Concept Styles
   Scoped with sc26- prefix to avoid conflicts
   ═══════════════════════════════════════════════════════════ */

/* ── Design Tokens ── */
.sc26-front {
  --sc-bg:        #FAFBFD;
  --sc-surface:   #FFFFFF;
  --sc-surface-2: #F2F4F8;
  --sc-border:    rgba(0,0,0,.06);
  --sc-text:      #0F1419;
  --sc-text-2:    #536471;
  --sc-text-3:    #8899A6;
  --sc-primary:   #0091FF;
  --sc-primary-l: #E8F4FF;
  --sc-accent:    #00D4AA;
  --sc-accent-2:  #7C5CFC;
  --sc-success:   #00C48C;
  --sc-danger:    #FF3B5C;
  --sc-gradient:  linear-gradient(135deg, #0091FF 0%, #00D4AA 100%);
  --sc-f-sans:    'Inter', -apple-system, system-ui, sans-serif;
  --sc-f-display: 'Space Grotesk', 'Inter', sans-serif;
  --sc-radius:    20px;
  --sc-radius-sm: 14px;
  --sc-radius-xs: 10px;
  --sc-shadow-sm: 0 1px 3px rgba(0,0,0,.04), 0 1px 2px rgba(0,0,0,.06);
  --sc-shadow-md: 0 4px 16px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.04);
  --sc-shadow-lg: 0 12px 40px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.04);
  --sc-shadow-xl: 0 24px 60px rgba(0,0,0,.10), 0 8px 20px rgba(0,0,0,.06);
}

/* ── Section Head (shared) ── */
.sc26-section-head {
  text-align: center;
  margin-bottom: 48px;
}
.sc26-section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--sc-primary-l);
  color: var(--sc-primary);
  font-family: var(--sc-f-sans);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}
.sc26-section-title {
  font-family: var(--sc-f-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--sc-text);
  margin-bottom: 12px;
  line-height: 1.15;
}
.sc26-section-subtitle {
  font-family: var(--sc-f-sans);
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--sc-text-2);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Fade-up animation ── */
.sc26-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all .7s cubic-bezier(.16,1,.3,1);
}
.sc26-fade-up.visible {
  opacity: 1;
  transform: none;
}


/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
.sc26-hero {
  min-height: 100vh;
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  font-family: var(--sc-f-sans);
}
.sc26-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, #EBF5FF 0%, #F0EDFF 30%, #FFF5EB 60%, #E8FFF5 100%);
}
.sc26-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 600px at 15% 50%, rgba(0,145,255,.12), transparent),
    radial-gradient(ellipse 500px 500px at 85% 30%, rgba(124,92,252,.10), transparent),
    radial-gradient(ellipse 400px 400px at 50% 80%, rgba(0,212,170,.08), transparent);
}
.sc26-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.sc26-hero__content {
  position: relative;
}
.sc26-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  border-radius: 100px;
  background: var(--sc-surface);
  box-shadow: var(--sc-shadow-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--sc-text-2);
  margin-bottom: 24px;
}
.sc26-hero__badge-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--sc-success);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
}
.sc26-hero__title {
  font-family: var(--sc-f-display);
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  color: var(--sc-text);
  margin-bottom: 20px;
}
.sc26-hero__title span {
  background: var(--sc-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sc26-hero__subtitle {
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--sc-text-2);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 32px;
}

/* Search form */
.sc26-hero__search {
  display: flex;
  align-items: center;
  background: var(--sc-surface);
  border-radius: 16px;
  padding: 6px 6px 6px 18px;
  box-shadow: var(--sc-shadow-lg);
  border: 1px solid var(--sc-border);
  margin-bottom: 40px;
  max-width: 540px;
}
.sc26-hero__search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sc-text-3);
  margin-right: 8px;
  flex-shrink: 0;
}
.sc26-hero__search-icon svg {
  width: 20px;
  height: 20px;
}
.sc26-hero__search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  color: var(--sc-text);
  font-family: var(--sc-f-sans);
  min-width: 0;
}
.sc26-hero__search input::placeholder {
  color: var(--sc-text-3);
}
.sc26-hero__search-btn {
  padding: 12px 24px;
  border-radius: var(--sc-radius-xs);
  background: var(--sc-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--sc-f-sans);
  border: none;
  cursor: pointer;
  transition: all .25s cubic-bezier(.16,1,.3,1);
  white-space: nowrap;
}
.sc26-hero__search-btn:hover {
  background: #007de0;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,145,255,.3);
}

/* Stats */
.sc26-hero__stats {
  display: flex;
  gap: 0;
}
.sc26-hero__stat {
  padding: 0 28px;
  border-right: 1px solid rgba(0,0,0,.08);
}
.sc26-hero__stat:first-child {
  padding-left: 0;
}
.sc26-hero__stat:last-child {
  border-right: none;
}
.sc26-hero__stat-num {
  font-family: var(--sc-f-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--sc-text);
}
.sc26-hero__stat-label {
  font-size: 13px;
  color: var(--sc-text-3);
  margin-top: 2px;
}

/* Visual / Floating cards */
.sc26-hero__visual {
  position: relative;
  height: 520px;
}
.sc26-hero__cards {
  position: relative;
  width: 100%;
  height: 100%;
}
.sc26-hero__card {
  position: absolute;
  width: 260px;
  background: var(--sc-surface);
  border-radius: var(--sc-radius);
  box-shadow: var(--sc-shadow-xl);
  overflow: hidden;
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.sc26-hero__card:hover {
  transform: translateY(-6px) !important;
}
.sc26-hero__card:nth-child(1) {
  top: 0; left: 10%;
  transform: rotate(-3deg);
}
.sc26-hero__card:nth-child(2) {
  top: 60px; right: 0;
  transform: rotate(2deg);
}
.sc26-hero__card:nth-child(3) {
  bottom: 20px; left: 20%;
  transform: rotate(-1.5deg);
}
.sc26-hero__card-img {
  height: 150px;
  background: linear-gradient(135deg, #c8e6ff 0%, #e0d4ff 100%);
  background-size: cover;
  background-position: center;
}
.sc26-hero__card-body {
  padding: 14px 16px;
}
.sc26-hero__card-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--sc-text);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sc26-hero__card-meta {
  font-size: 12px;
  color: var(--sc-text-3);
}
.sc26-hero__card-status {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  margin-top: 8px;
}
.sc26-hero__card-status--open {
  background: rgba(0,196,140,.12);
  color: var(--sc-success);
}
.sc26-hero__card-status--closed {
  background: rgba(255,59,92,.1);
  color: var(--sc-danger);
}


/* ═══════════════════════════════════════════════════════════
   POPULAR POOLS
   ═══════════════════════════════════════════════════════════ */
.sc26-popular {
  padding: 80px 0;
  background: var(--sc-surface);
  font-family: var(--sc-f-sans);
}
.sc26-pools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.sc26-pool-card {
  background: var(--sc-surface);
  border-radius: var(--sc-radius);
  border: 1px solid var(--sc-border);
  overflow: hidden;
  transition: all .3s cubic-bezier(.16,1,.3,1);
  display: flex;
  flex-direction: column;
}
.sc26-pool-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sc-shadow-lg);
  border-color: transparent;
}
.sc26-pool-card__img {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
  background-color: var(--sc-surface-2);
}
.sc26-pool-card__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.sc26-pool-card__badge {
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.sc26-pool-card__badge--status {
  background: rgba(255,255,255,.92);
  color: var(--sc-success);
}
.sc26-pool-card__badge--status.closed {
  color: var(--sc-danger);
}
.sc26-pool-card__badge--price {
  background: rgba(0,0,0,.6);
  color: #fff;
  margin-left: auto;
}
.sc26-pool-card__body {
  padding: 18px 20px 14px;
  flex: 1;
}
.sc26-pool-card__name {
  font-weight: 700;
  font-size: 17px;
  color: var(--sc-text);
  margin-bottom: 6px;
  line-height: 1.3;
}
.sc26-pool-card__address {
  font-size: 13px;
  color: var(--sc-text-3);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.sc26-pool-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sc26-pool-card__feature {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--sc-surface-2);
  font-size: 12px;
  color: var(--sc-text-2);
}
.sc26-pool-card__footer {
  padding: 14px 20px;
  border-top: 1px solid var(--sc-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sc26-pool-card__rating {
  display: flex;
  align-items: center;
  gap: 6px;
}
.sc26-pool-card__stars {
  color: #F5A623;
  font-size: 14px;
  letter-spacing: 1px;
}
.sc26-pool-card__rating-text {
  font-size: 13px;
  color: var(--sc-text-3);
}
.sc26-pool-card__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--sc-primary);
  text-decoration: none;
  transition: gap .2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.sc26-pool-card__link:hover {
  gap: 8px;
}


/* ═══════════════════════════════════════════════════════════
   REVIEWS
   ═══════════════════════════════════════════════════════════ */
.sc26-reviews {
  padding: 80px 0;
  font-family: var(--sc-f-sans);
}
.sc26-reviews-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.sc26-reviews-track::-webkit-scrollbar {
  display: none;
}
.sc26-review-card {
  flex: 0 0 380px;
  scroll-snap-align: start;
  background: var(--sc-surface);
  border-radius: var(--sc-radius);
  border: 1px solid var(--sc-border);
  padding: 24px;
  transition: all .3s cubic-bezier(.16,1,.3,1);
}
.sc26-review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sc-shadow-md);
  border-color: transparent;
}
.sc26-review-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.sc26-review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}
.sc26-review-card__info {
  flex: 1;
  min-width: 0;
}
.sc26-review-card__name {
  font-weight: 600;
  font-size: 15px;
  color: var(--sc-text);
}
.sc26-review-card__pool {
  font-size: 12px;
  color: var(--sc-text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sc26-review-card__pool a {
  color: var(--sc-primary);
  text-decoration: none;
}
.sc26-review-card__pool a:hover {
  text-decoration: underline;
}
.sc26-review-card__stars {
  color: #F5A623;
  font-size: 15px;
  letter-spacing: 1px;
  flex-shrink: 0;
}
.sc26-review-card__text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--sc-text-2);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}
.sc26-review-card__date {
  font-size: 12px;
  color: var(--sc-text-3);
}


/* ═══════════════════════════════════════════════════════════
   BLOG
   ═══════════════════════════════════════════════════════════ */
.sc26-blog {
  padding: 80px 0;
  background: var(--sc-surface);
  font-family: var(--sc-f-sans);
}
.sc26-blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}
.sc26-blog-card {
  background: var(--sc-surface);
  border-radius: var(--sc-radius);
  border: 1px solid var(--sc-border);
  overflow: hidden;
  transition: all .3s cubic-bezier(.16,1,.3,1);
  text-decoration: none;
  color: inherit;
  display: block;
}
.sc26-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sc-shadow-lg);
  border-color: transparent;
}
.sc26-blog-card--featured {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}
.sc26-blog-card__img {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
  background-color: var(--sc-surface-2);
}
.sc26-blog-card--featured .sc26-blog-card__img {
  height: 100%;
  min-height: 280px;
}
.sc26-blog-card__time {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 12px;
  font-weight: 600;
  color: var(--sc-text-2);
}
.sc26-blog-card__body {
  padding: 18px 20px;
}
.sc26-blog-card__category {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--sc-primary-l);
  color: var(--sc-primary);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}
.sc26-blog-card__title {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.35;
  color: var(--sc-text);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sc26-blog-card__excerpt {
  font-size: 14px;
  color: var(--sc-text-2);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .sc26-hero__inner {
    grid-template-columns: 1fr;
  }
  .sc26-hero__visual {
    display: none;
  }
  .sc26-hero__content {
    max-width: 100%;
  }
  .sc26-hero__search {
    max-width: 100%;
  }
  .sc26-blog-grid {
    grid-template-columns: 1fr 1fr;
  }
  .sc26-blog-card--featured {
    grid-column: 1 / 3;
    grid-row: auto;
  }
  .sc26-blog-card--featured .sc26-blog-card__img {
    height: 220px;
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .sc26-hero {
    padding: 120px 0 60px;
    min-height: auto;
  }
  .sc26-hero__search {
    flex-wrap: wrap;
  }
  .sc26-hero__search input {
    min-width: 100%;
    padding: 10px 0;
  }
  .sc26-hero__search-btn {
    width: 100%;
    text-align: center;
    padding: 12px;
    margin-top: 2px;
  }
  .sc26-hero__search-icon {
    display: none;
  }
  .sc26-hero__stats {
    flex-wrap: wrap;
    gap: 0;
  }
  .sc26-hero__stat {
    padding: 12px 20px 12px 0;
  }
  .sc26-pools-grid {
    grid-template-columns: 1fr;
  }
  .sc26-blog-grid {
    grid-template-columns: 1fr;
  }
  .sc26-blog-card--featured {
    grid-column: auto;
    grid-row: auto;
  }
  .sc26-blog-card--featured .sc26-blog-card__img {
    height: 200px;
    min-height: auto;
  }
  .sc26-review-card {
    flex: 0 0 300px;
  }
  .sc26-section-head {
    margin-bottom: 32px;
  }
  .sc26-popular,
  .sc26-reviews,
  .sc26-blog {
    padding: 48px 0;
  }
}
