/*
Theme Name: BottleLabelers
Theme URI: https://bottlelabelers.com/
Description: Custom child theme for BottleLabelers.com (based on Twenty Twenty-Five)
Author: Nexus
Template: twentytwentyfive
Version: 0.3.0
Text Domain: bottlelabelers
*/

:root {
  --bl-max-width: 1180px;
  --bl-radius: 22px;
  --bl-radius-sm: 14px;
  --bl-shadow: 0 18px 60px rgba(8, 15, 33, 0.12);
  --bl-shadow-lg: 0 28px 90px rgba(8, 15, 33, 0.18);
  --bl-border: 1px solid rgba(15, 23, 42, 0.08);
  --bl-ring: 0 0 0 4px rgba(0, 212, 255, 0.22);
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 45, 85, 0.12) 0%, rgba(255, 45, 85, 0) 36%),
    radial-gradient(circle at 90% 10%, rgba(0, 212, 255, 0.13) 0%, rgba(0, 212, 255, 0) 36%),
    radial-gradient(circle at 20% 88%, rgba(183, 255, 60, 0.10) 0%, rgba(183, 255, 60, 0) 35%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.wp-site-blocks {
  padding-left: 24px;
  padding-right: 24px;
}

.wp-site-blocks > * {
  max-width: var(--bl-max-width);
  margin-left: auto;
  margin-right: auto;
}

header.wp-block-template-part,
footer.wp-block-template-part {
  max-width: 100%;
}

h1, h2, h3, h4 {
  letter-spacing: -0.035em;
}

h1 {
  line-height: 0.95;
}

p {
  font-size: 1.04rem;
}

a {
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

a:hover {
  filter: saturate(1.18);
}

.wp-block-button__link {
  border-radius: 999px;
  padding: 0.9em 1.25em;
  font-weight: 750;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
}

.wp-block-group.has-background,
.wp-block-cover,
.wp-block-columns.has-background {
  border-radius: var(--bl-radius);
  box-shadow: var(--bl-shadow);
}

.wp-block-separator {
  opacity: 0.2;
}

ul, ol {
  padding-left: 1.2em;
}

li {
  margin: 0.38em 0;
}

:focus-visible {
  outline: none;
  box-shadow: var(--bl-ring);
  border-radius: 12px;
}

/* Homepage / landing page enhancements */
.home .entry-content > :first-child,
.page-template-default .entry-content > :first-child {
  margin-top: 0;
}

.bl-hero,
.home .entry-content > .wp-block-group:first-child {
  position: relative;
  overflow: hidden;
  color: #f8fafc;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 45, 85, 0.38) 0%, rgba(255, 45, 85, 0) 34%),
    radial-gradient(circle at 80% 15%, rgba(0, 212, 255, 0.34) 0%, rgba(0, 212, 255, 0) 34%),
    radial-gradient(circle at 30% 90%, rgba(183, 255, 60, 0.18) 0%, rgba(183, 255, 60, 0) 30%),
    linear-gradient(135deg, #07101f 0%, #101a34 50%, #121a2a 100%);
  padding: clamp(2rem, 6vw, 5rem);
  border-radius: 30px;
  box-shadow: var(--bl-shadow-lg);
}

.bl-hero::before,
.home .entry-content > .wp-block-group:first-child::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,0.08), rgba(255,255,255,0));
  pointer-events: none;
}

.bl-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 1.5rem 0 2rem;
}

.bl-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.98) 100%);
  border: var(--bl-border);
  border-radius: var(--bl-radius);
  padding: 1.2rem 1.15rem;
  box-shadow: var(--bl-shadow);
}

.bl-card h3 {
  margin-top: 0;
  margin-bottom: 0.35rem;
}

.bl-stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 1rem 0 2rem;
}

.bl-stat {
  border-radius: 18px;
  padding: 1rem 1rem 0.9rem;
  color: #081121;
  background: linear-gradient(135deg, rgba(0,212,255,0.14), rgba(255,212,0,0.16));
  border: var(--bl-border);
}

.bl-stat strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.bl-highlight {
  background: linear-gradient(135deg, rgba(255,45,85,0.10), rgba(91,44,255,0.10), rgba(0,212,255,0.10));
  border: var(--bl-border);
  border-radius: 24px;
  padding: 1.25rem 1.2rem;
  box-shadow: var(--bl-shadow);
}

.bl-compare {
  width: 100%;
  border-collapse: collapse;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--bl-shadow);
}

.bl-compare th,
.bl-compare td {
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  text-align: left;
  background: rgba(255,255,255,0.96);
}

.bl-compare th {
  background: linear-gradient(135deg, #101a34, #18284d);
  color: #f8fafc;
}

.bl-chip {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  color: #081121;
  background: linear-gradient(135deg, #b7ff3c, #ffd400);
}

@media (max-width: 720px) {
  .wp-site-blocks {
    padding-left: 16px;
    padding-right: 16px;
  }

  .bl-hero,
  .home .entry-content > .wp-block-group:first-child {
    padding: 1.4rem;
    border-radius: 22px;
  }
}
