/* Import Font */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');

/* Variabili Colori */
:root {
    --bg-dark: #1a1a2e;
    --bg-card: #16213e;
    --primary-color: #0f3460;
    --accent-color: #e94560;
    --text-color: #e0e0e0;
    --text-muted: #a0a0a0;
}

/* Stili Generali */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

h1, h2, h3 {
    color: #fff;
    margin-bottom: 15px;
}

h2 {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 30px;
}

section {
    padding: 40px 10px;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 40px;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    object-fit: cover;
    margin-bottom: 20px;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Sezione Origine del Nome */
#origin-story {
    background-color: var(--bg-card);
    border-radius: 8px;
    padding: 30px;
    margin-top: 20px;
    border-top: 4px solid var(--accent-color);
}

.story-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.story-content i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-top: 5px;
}

.story-content p {
    margin-bottom: 1em;
    color: var(--text-muted);
}

.story-content p:last-child {
    margin-bottom: 0;
}

/* Servizi */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.service-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

/* Contatti */
.contact-intro {
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-muted);
}

.contact-item {
    display: flex;
    align-items: center;
    background-color: var(--bg-card);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-right: 15px;
    width: 20px;
}

.contact-text {
    flex-grow: 1;
    font-family: monospace;
    color: var(--text-muted);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #fff;
}

.contact-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-btn:hover {
    background-color: var(--accent-color);
}
.contact-btn.copied {
    background-color: #28a745; /* Verde successo */
}


/* Footer */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-top: 1px solid var(--primary-color);
    color: var(--text-muted);
}