/*
Theme Name: Pedagogista Template
Theme URI: https://example.com/
Author: Il tuo nome
Author URI: https://example.com/
Description: Tema personalizzato per pedagogista
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pedagogista-template
*/


/*
 * Base stylesheet for the pedagogista site template.
 *
 * This CSS file defines a light, playful colour palette inspired by the
 * reference site. The design uses soft greens and warm neutrals,
 * rounded shapes and generous spacing to evoke a friendly, calm tone
 * suitable for a pedagogical professional. Component classes are kept
 * generic so that pages can reuse the same styling without
 * duplication. Feel free to tweak colours, sizing and fonts to suit
 * your own brand once you start customising the template.
 */

:root {
    --colour-dark: #506c64;
    --colour-mid:  #6f8c81;
    --colour-light: #d8e6c9;
    --colour-accent: #f5d5c5;
    --colour-white: #ffffff;
}

/* Global reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--colour-dark);
    background-color: var(--colour-light);
}

a {
    color: var(--colour-dark);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header */
header {
    background-color: var(--colour-dark);
    color: var(--colour-light);
    margin: 1rem;
    padding: 1rem 2rem;
    border-radius: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

header .logo {
    font-size: 1.5rem;
    font-weight: 700;
}

header nav a {
    margin: 0 0.75rem;
    font-weight: 500;
    color: var(--colour-light);
    transition: opacity 0.2s;
}

header nav a:hover {
    opacity: 0.7;
}

/* Shared hero section */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 3rem 1rem;
    background-color: var(--colour-light);
}

.hero .hero-text {
    flex: 1 1 300px;
    padding: 1rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--colour-dark);
}

.hero p {
    font-size: 1.2rem;
    color: var(--colour-mid);
    margin-bottom: 1.5rem;
}

.hero .cta-button {
    display: inline-block;
    background-color: var(--colour-dark);
    color: var(--colour-light);
    padding: 0.75rem 1.5rem;
    border-radius: 1.5rem;
    font-weight: 600;
}

/* Cards */
.card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 2rem 1rem;
}

.card {
    flex: 1 1 calc(33.333% - 1rem);
    background-color: var(--colour-white);
    border: 2px dashed var(--colour-mid);
    border-radius: 1rem;
    padding: 1.5rem;
    min-width: 260px;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--colour-dark);
}

.card p {
    font-size: 0.95rem;
    color: var(--colour-mid);
    margin-bottom: 1rem;
}

.card .card-button {
    display: inline-block;
    background-color: var(--colour-dark);
    color: var(--colour-light);
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.9rem;
}

/* Section headings */
section h2 {
    font-size: 2rem;
    text-align: center;
    margin: 2rem 0 1rem;
    color: var(--colour-dark);
}

/* Testimonials */
.testimonials {
    background-color: var(--colour-light);
    padding: 2rem 1rem;
}

.testimonial-item {
    background-color: var(--colour-white);
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.testimonial-item h4 {
    margin-bottom: 0.5rem;
}

/* Steps section */
.steps {
    background-color: var(--colour-dark);
    color: var(--colour-light);
    padding: 2rem 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    border-radius: 1rem;
    margin: 2rem;
}

.step {
    flex: 1 1 calc(33.333% - 1rem);
    background-color: var(--colour-mid);
    border-radius: 1rem;
    padding: 1.5rem;
    min-width: 220px;
}

.step .number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Form styling */
form {
    background-color: var(--colour-white);
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

form input, form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid var(--colour-mid);
    border-radius: 0.5rem;
    font-family: inherit;
}

form button {
    background-color: var(--colour-dark);
    color: var(--colour-light);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    font-weight: 600;
}

/* Footer */
footer {
    background-color: var(--colour-dark);
    color: var(--colour-light);
    padding: 2rem 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-top-left-radius: 2rem;
    border-top-right-radius: 2rem;
}

footer .footer-col {
    flex: 1 1 200px;
    margin-bottom: 1rem;
}

footer .footer-col h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: var(--colour-light);
}

footer .footer-col ul {
    list-style: none;
    padding-left: 0;
}

footer .footer-col ul li {
    margin-bottom: 0.5rem;
}

footer .footer-col ul li a {
    color: var(--colour-light);
    font-size: 0.95rem;
}

/* Utility */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .card-grid, .steps {
        flex-direction: column;
    }
    .card, .step {
        flex: 1 1 100%;
    }
    header {
        flex-direction: column;
        align-items: flex-start;
    }
    header nav {
        margin-top: 1rem;
    }
}
