/*
 Theme Name:   Bootscore Child
 Description:  Bootscore Child Theme
 Author:       Bootscore
 Author URI:   https://bootscore.me
 Template:     bootscore
 Version:      6.0.0
 Requires at least: 5.0
 Tested up to: 6.6
 Requires PHP: 7.4
 License: MIT License
 License URI: https://github.com/bootscore/bootscore-child/blob/main/LICENSE
 Text Domain:  bootscore
*/

/* 
All style editing is done via /assets/scss/_bootscore_custom.scss
*/

/* HERO INTRO */
.hero-intro {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* Titolo principale */
.hero-title {
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  color: #000;
}

/* Lead emotivo */
.hero-lead {
  font-size: 1.25rem;
  font-weight: 500;
  color: #333;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Testo di supporto */
.hero-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  max-width: 760px;
}

.hero-image img {
  max-height: 380px;   /* regola qui */
  width: auto;
  object-fit: contain;
}

/* CARD BASE */
.fondazione-card {
  background-color: #fff;
  border-radius: 1.5rem;
  padding: 1.5rem;
  border: 1px solid #e6e6e6;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.fondazione-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(0,0,0,.08);
}

/* ACCENTO COLORATO */
.fondazione-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background-color: currentColor;
}

/* Titolo */
.fondazione-card-title {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .9rem;
  margin-bottom: 1rem;
}

/* AREA COLORS */
.area-formazione { color: #2f7dbf; }
.area-arti       { color: #c45a1a; }
.area-viaggi     { color: #4a8f5c; }
.area-sport      { color: #7a3fa1; }
.area-civica     { color: #b13c3c; }

/* Testo leggibile */
.fondazione-card .card-text {
  color: #333;
  line-height: 1.6;
  font-size: .95rem;
}

/* ICONE AREE TEMATICHE */
.fondazione-icon {
  font-size: 2.4rem;
  line-height: 1;
  color: currentColor; /* eredita il colore area */
  opacity: 0.9;
}

/* Spazio e armonia */
.fondazione-card .card-body {
  padding-top: 2rem;
}

/* Micro animazione */
.fondazione-card:hover .fondazione-icon {
  transform: scale(1.1);
  transition: transform .25s ease;
}

