:root {
    --bg-color: #fbf9f5;
    --accent-color: #e67e22;
    --accent-hover: #d35400;
    --text-color: #2c3e50;
    --card-bg: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* --- Header & Nav --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

nav a {
    margin-left: 1.5rem;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
}

.btn-cta {
    background-color: var(--accent-color);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
    display: inline-block;
}

.btn-cta:hover {
    background-color: var(--accent-hover);
    transform: scale(1.05);
}

.btn-secondary {
    background-color: #34495e;
}

.btn-secondary:hover {
    background-color: #2c3e50;
}

/* --- Hero Section --- */
.hero {
    text-align: center;
    padding: 5rem 1rem 3rem 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.hero .badge {
    display: inline-block;
    background: #fef3e7;
    color: var(--accent-color);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    border: 1px solid rgba(230, 126, 34, 0.2);
    animation: pulse 2.5s infinite;
}

.hero h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(3.5rem, 7vw, 6rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1rem;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #2c3e50 0%, #e67e22 50%, #d35400 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 8px 20px rgba(230, 126, 34, 0.25));
}

.hero p.tagline {
    font-size: 1.6rem;
    font-style: italic;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.hero p.tagline::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background: #f39c12;
    bottom: -6px;
    left: 20%;
    border-radius: 2px;
    opacity: 0.6;
}

.hero p.description {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* --- Features --- */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 3rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    text-align: center;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* --- Reviews --- */
.reviews {
    background: #f0eae1;
    padding: 4rem 5%;
    text-align: center;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.review-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    font-style: italic;
}

/* --- Contact Section --- */
.contact-section {
    max-width: 600px;
    margin: 4rem auto;
    padding: 2.5rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #f0e6df;
}

.contact-section h2 {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.contact-section p.subtitle {
    text-align: center;
    color: #7f8c8d;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
}

.btn-submit {
    width: 100%;
    padding: 0.9rem;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.btn-submit:hover {
    background-color: var(--accent-hover);
}

.form-response {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    background: #fff3cd;
    color: #856404;
    border-radius: 8px;
    text-align: center;
    font-size: 0.95rem;
    border: 1px solid #ffeeba;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
    color: #7f8c8d;
}

/* --- Animations --- */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

/* --- Wall Section / Guestbook --- */
.wall-section {
    max-width: 700px;
    margin: 4rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #f0e6df;
}

.wall-section h2 {
    text-align: center;
    color: var(--text-color);
}

.wall-section p.subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.wall-form {
    margin-bottom: 2rem;
}

.wall-board {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 5px;
}

/* Stile Post-it / Messaggio del Wall */
.wall-post {
    background: #fef9e7;
    border-left: 5px solid #f39c12;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    animation: fadeIn 0.4s ease-in-out;
}

.wall-post-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-bottom: 0.4rem;
}

.wall-post-author {
    font-weight: 700;
    color: var(--text-color);
}

.wall-post-text {
    font-size: 0.95rem;
    color: #34495e;
    word-break: break-word;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}