/*
Theme Name: Glenn Criacao (Astra Child)
Theme URI: https://www.glenn.com.br/
Description: Child theme for Astra - Glenn Criacao (minimal, fast, Gutenberg-first).
Author: Glenn Douglas
Author URI: https://www.glenn.com.br/
Template: astra
Version: 1.0.0
Text Domain: glenn-criacao-astra-child
*/

/* === Brand tokens (adjust if needed) === */
:root{
  --gc-blue: #0000AA;   /* base background */
  --gc-green:#8CC63F;   /* accent */
  --gc-white:#ffffff;
  --gc-ink:  #10131a;   /* near-black for text on white */
  --gc-muted:#5b6575;
  --gc-radius: 16px;
  --gc-shadow: 0 10px 30px rgba(0,0,0,.10);
  --gc-maxw:  1200px;
}

/* === Global typography & rhythm (keeps it clean) === */
body{
  color: var(--gc-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Give Gutenberg content a consistent max width */
.site-content .ast-container,
.ast-container{
  max-width: var(--gc-maxw);
}

/* Headings: slightly tighter for a modern look */
h1,h2,h3,h4,h5,h6{
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* Links */
a{ text-decoration-thickness: .12em; text-underline-offset: .15em; }

/* === Section helpers for one-page layouts === */
.gc-section{
  padding: 72px 0;
}
@media (max-width: 768px){
  .gc-section{ padding: 56px 0; }
}

.gc-section--brand{
  background: var(--gc-blue);
  color: var(--gc-white);
}
.gc-section--brand a{ color: var(--gc-white); }

.gc-section--muted{
  background: #f6f7fb;
}

/* === Buttons (Gutenberg + Astra) === */
.wp-block-button__link,
.ast-button,
button,
input[type="submit"],
input[type="button"],
input[type="reset"]{
  border-radius: var(--gc-radius);
}

.wp-block-button__link{
  background: var(--gc-green);
  color: #0c1a0b;
  font-weight: 700;
  padding: 14px 22px;
  box-shadow: var(--gc-shadow);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.wp-block-button__link:hover{
  transform: translateY(-1px);
  filter: brightness(0.98);
  box-shadow: 0 14px 40px rgba(0,0,0,.14);
}

/* Secondary button style (add class 'is-style-outline' in block styles) */
.wp-block-button.is-style-outline .wp-block-button__link{
  background: transparent;
  color: var(--gc-green);
  border: 2px solid var(--gc-green);
  box-shadow: none;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover{
  transform: translateY(-1px);
  filter: none;
  box-shadow: none;
}

/* === Card helper (use a Group block with class 'gc-card') === */
.gc-card{
  background: #fff;
  border-radius: calc(var(--gc-radius) + 4px);
  box-shadow: var(--gc-shadow);
  padding: 22px;
}

/* === Simple grid spacing improvements for Columns blocks === */
.wp-block-columns{
  gap: 22px;
}
@media (max-width: 781px){
  .wp-block-columns{ gap: 16px; }
}

/* === Make gallery images look nicer === */
.wp-block-gallery.has-nested-images figure.wp-block-image img{
  border-radius: 12px;
}

/* === Hide page title when you want a clean one-page hero === */
.gc-hide-title .entry-title{
  display:none !important;
}

/* === Reduce header/footer noise (optional) === */
/* Uncomment if you want a super-clean landing page look */
/*
.site-header{ border-bottom: 0; }
.site-footer{ border-top: 0; }
*/
