/*
Theme Name: NextAwards Child
Theme URI:  https://gigimau.it
Description: Child theme for NextAwards (customized)
Author: Luigi Mauriello
Author URI: https://gigimau.it
Template: nextawards
Version: 1.0.0
Text Domain: nextawards-child
*/

:root {
    --primary: #2c5f7c;
    --accent: #D4A574;
    --accent-dark: #806240;
    --dark: #1a1a1a;
    --light: #f8f9fa;
    --text: #2c2c2c;
    --text-light: #6c757d;
    --success: #28a745;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark)!important;
    color: var(--text);
}

.header {
    background-color: var(--dark);
}

.header__content {
    border: 0px;
    /* esempio: font-family: Arial, sans-serif; */
}

.header__logo-img {
    width: 230px;
}


/* ! menu e cta */
.menu li a {
    color: var(--light);
    opacity: 0.6;
    display: block;
    padding: 16px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
}

.menu li a:hover {
    color: var(--light);
    opacity: 1;
}

@media (max-width: 1190px){

.menu{
    background: var(--text);
}

.icon-hamburger {
    height: 50px;
    width: 50px;
    margin-left: 20px;
    position: absolute;
    top: 10px;
    right: -15px;
    display: block;
    border: none;
    background: transparent;
    z-index: 9999;
}

.icon-hamburger span {
    height: 2px;
    width: 30px;
    background: var(--light);
    position: relative;
    display: block;
    margin-bottom: 11px;
    transition: all 0.2s cubic-bezier(.215, .61, .355, 1);
}

.header__logo-img {
    margin-left: 50px;
}

}

.wp-block-button__link:hover:not(.is-style-outline .wp-block-button__link):not(.is-style-secondary-button .wp-block-button__link),
.wp-block-button__link:focus:not(.is-style-outline .wp-block-button__link):focus:not(.is-style-secondary-button .wp-block-button__link),
input[type=submit].wpcf7-submit:hover,
input[type=submit].wpcf7-submit:focus {
    background-color: var(--accent-dark) !important;
}


.cta-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.cta-button a {
    display: inline-block;
    padding: 18px 40px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
}

.cta-primary a {
    background: var(--accent);
    color: var(--text);
}

.cta-secondary a {
    background: var(--light);
    color: var(--text);
}

.cta-primary a:hover {
    background: var(--accent-dark); 
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

.cta-secondary a:hover {
    background: #ffffff;
    transform: translateY(-2px);
}




/* ! Hero */

.trust-badge {
    max-width: 360px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 20px;
    border-radius: 50px;
    margin: 0 auto;
    margin-bottom: 30px;
    font-size: 0.9em;
    backdrop-filter: blur(10px);
}

.trust-badge svg {
    width: 20px;
    height: 20px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.grup-stat {
    margin: 0 !important;
}

.stat-number {
    font-size: 2.5em;
    font-weight: 700;
    color: #d4a574;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.95em;
    opacity: 0.9;
}

/* ! Testimonial */

.testimonial-card {
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    min-height: 330px;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

/* ! Brand */
.brand {
    color: var(--text);
}

.brand-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--light);
    border-radius: 15px;
    transition: all 0.3s;
}

.brand-card .logo {
    text-transform: uppercase;
}

.brand-card:hover {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.brand-benefit {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    background: white;
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.9em;
    font-weight: 600;
}

/* ! chi siamo ************************************************************************************************/

.highlight-box {
    background: var(--light);
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid var(--accent);
    margin-top: 30px;
}

.highlight-box strong {
    color: var(--primary);
    font-size: 1.1em;
}

/* ! Certificazioni ****************************************************************************************/

.cert-card {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 2px solid rgba(212, 165, 116, 0.3);
    transition: all 0.3s;
}

/*.cert-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--accent);
    transform: scale(1.05);
}*/

.cert-card h3 {
    font-size: 1.3em;
    margin-bottom: 15px;
    color: white;
}

.cert-card p {
    font-size: 0.95em;
    opacity: 0.85;
    line-height: 1.6;
}

.cert-benefit a {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    background: white;
    color: var(--dark);
    border-radius: 50px;
    font-size: 0.9em;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
}

.cert-benefit a:hover {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    background: var(--accent-dark);
    color: var(--light);
    border-radius: 50px;
    font-size: 0.9em;
    font-weight: 600;
}

/* ! faq *********************************************************************************************/

/* Stile per la domanda - la rende cliccabile */
.faq-question {
    padding: 15px;
    background-color: #f1f1f1;
    cursor: pointer;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
    position: relative;
    /* Necessario per l'icona + / - */
    transition: background-color 0.3s ease;
    margin-bottom: 0;
}

.faq-question:hover {
    background-color: #e0e0e0;
}

/* Icona + che diventa - quando l'accordion è attivo */
.faq-question::after {
    content: '+';
    font-size: 20px;
    color: #777;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.faq-item.active .faq-question::after {
    content: '−';
    /* Carattere 'meno' */
}

/* Stile per la risposta - nascosta di default */
.faq-answer {
    margin-top: 0;
    padding: 0 15px;
    /* Padding laterale, ma non verticale */
    background-color: #fafafa;
    overflow: hidden;
    /* Nasconde il contenuto che fuoriesce */
    max-height: 0;
    /* Altezza massima 0 per nasconderlo */
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    /* Animazione fluida */
}

/* ! Storia */

.timeline-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 60px;
    top: 80px;
    bottom: -50px;
    width: 2px;
    background: var(--accent);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-year {
    font-family: 'Playfair Display', serif;
    font-size: 2em;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 15px;
    height: fit-content;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.timeline-content {
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin: 0;
}

.timeline-content h3 {
    font-size: 1.5em;
    color: var(--dark);
    margin-bottom: 15px;
}

.timeline-content p {
    color: var(--text);
    line-height: 1.7;
}

/* ! Footer */

.footer-container{
    background-color: #2c2c2c;
    color: var(--light)!important;
}

.footer-container .text-3{
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 700;
}

.col-5 { width: 5%;}
.col-45 { width: 45%;}
.col-10{ width: 10%;}
.col-20{ width: 20%; }
.col-25{ width: 25%; }
.col-30{ width: 30%; }
.col-33{ width: 33.33%; }
.col-40{ width: 40%; }
.col-50{ width: 50%; }
.col-60{ width: 60%; }
.col-70{ width: 70%; }
.col-80{ width: 80%; }
.col-90{ width: 90%; }
.col-100{ width: 100%; }

@media (max-width: 991px) {
  .tab-20 { width: 20%; }
  .tab-25 { width: 25%; }
  .tab-33 { width: 33.33%; }
  .tab-50 { width: 50%; }
  .tab-80 { width: 80%; }
  .tab-90 { width: 90%; }
  .tab-100 { width: 100%; }
}

@media (max-width: 768px) {
  [class*='col-'] { width: 100%;}
  .sma-20 { width: 20%; }
  .sma-25 { width: 25%; }
  .sma-33 { width: 33.33%; }
  .sma-50 { width: 50%; }
  .sma-100 { width: 100%; }
}