/*
Theme Name:   PROFIBER GO Child
Description:  Child theme for PROFIBER GO website
Author:       PROFIBER GO
Template:     astra
Version:      1.0.0
Text Domain:  profibergo-child
*/

:root {
  --pg-bg:           #0A0A0A;
  --pg-bg-elevated:  #141414;
  --pg-bg-section:   #0F0F0F;
  --pg-border:       #2A2A2A;
  --pg-accent:       #B6241E;
  --pg-accent-hover: #D32A22;
  --pg-accent-dim:   #7A1814;
  --pg-accent-glow:  rgba(182, 36, 30, 0.35);
  --pg-text:         #F2F2F2;
  --pg-text-muted:   #A8A8A8;
  --pg-text-dim:     #6B6B6B;
  --pg-success:      #2EA043;
  --pg-warning:      #D29922;
  --pg-error:        #DA3633;
  --pg-container:    1240px;
  --pg-radius-sm:    6px;
  --pg-radius-md:    12px;
  --pg-radius-lg:    20px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--pg-bg);
  color: var(--pg-text);
  font-family: 'Inter', 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--pg-text) !important;
  margin: 0 0 0.75em;
}
/* Light sections: dark headings */
.pg-section h1, .pg-section h2, .pg-section h3,
.pg-section h4, .pg-section h5, .pg-section h6 {
  color: #111111 !important;
}
/* Dark (alt) sections and hero: keep light headings */
.pg-section--alt h1, .pg-section--alt h2, .pg-section--alt h3,
.pg-section--alt h4, .pg-section--alt h5, .pg-section--alt h6,
.pg-hero h1, .pg-hero h2, .pg-hero h3 {
  color: var(--pg-text) !important;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: 0.04em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p { margin: 0 0 1em; color: var(--pg-text-muted); }
a { color: var(--pg-accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--pg-accent-hover); }
ul { padding-left: 1.25em; }
img { max-width: 100%; height: auto; }

/* ===== CONTAINER ===== */
.pg-container {
  max-width: var(--pg-container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== SECTIONS ===== */
.pg-section {
  padding: 96px 0;
}
.pg-section--alt {
  background: var(--pg-bg-section);
}
.pg-section__header {
  text-align: center;
  margin-bottom: 64px;
}
.pg-section__title {
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}
.pg-section__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--pg-accent);
}
.pg-section__subtitle {
  color: var(--pg-text-muted);
  font-size: 1.05rem;
  margin-top: 12px;
}

/* ===== DIVIDERS ===== */
.pg-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pg-accent-dim), transparent);
  margin: 0;
}

/* ===== BUTTONS ===== */
.pg-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--pg-radius-sm);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all .25s;
  border: none;
  text-decoration: none;
}
.pg-btn--primary {
  background: var(--pg-accent);
  color: #fff;
}
.pg-btn--primary:hover {
  background: var(--pg-accent-hover);
  color: #fff;
  box-shadow: 0 0 30px var(--pg-accent-glow);
}
.pg-btn--outline {
  background: transparent;
  color: var(--pg-text);
  border: 1px solid var(--pg-border);
}
.pg-btn--outline:hover {
  border-color: var(--pg-accent);
  color: var(--pg-accent);
}

/* ===== OVERRIDE ASTRA DEFAULTS ===== */
.ast-container,
.ast-row,
#ast-fixed-header {
  max-width: 100% !important;
}
.site-header { display: none !important; }
.site-content { padding-top: 0 !important; }
.ast-breadcrumbs-wrapper { display: none; }
.entry-content { max-width: 100% !important; padding: 0 !important; margin: 0 !important; }
.ast-page-builder-template .entry-content { padding: 0 !important; }
