:root {
    --bg-color: #121212;
    --text-color: #E0E0E0;
    --primary-color: #F0F; /* Rosa Elettrico */
    --secondary-color: #0FF; /* Ciano Elettrico come accento secondario */
    --surface-color: #1E1E1E;
    --font-family: 'Poppins', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Altezza header */
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER --- */
.nav-links li a svg {
  vertical-align: middle;
  color: #ff0000; /* colore YouTube */
  transition: transform 0.2s ease, color 0.2s ease;
}

.nav-links li a:hover svg {
  transform: scale(1.1);
  color: #e60000;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background-color: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--surface-color);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.main-nav .nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-color);
    position: relative;
    transition: background 0.3s ease;
}

.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: var(--text-color);
    left: 0;
    transition: transform 0.3s ease, top 0.3s ease;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }


/* --- HERO --- */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 0 20px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('hero-background.png');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    animation: fadeIn 1.5s ease-in-out;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    text-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
}

.hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.5rem);
    margin: 20px 0 40px;
    font-weight: 400;
}

.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--bg-color);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid var(--primary-color);
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--primary-color);
}


/* --- SECTIONS --- */
.content-section {
    padding: 100px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.content-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}


.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 60px;
    color: var(--text-color);
}

/* --- ABOUT --- */
#about .about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 700px;
    margin: 40px auto 0;
    background: var(--surface-color);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid #333;
}
.about-icon {
    width: 60px;
    margin-bottom: 20px;
}

/* --- SERVICES --- */
.services-table {
    max-width: 700px;
    margin: 0 auto;
    background: var(--surface-color);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #333;
}
.table-header {
    background: var(--primary-color);
    color: var(--bg-color);
    padding: 20px;
    text-align: center;
}
.table-header h3 {
    font-size: 1.5rem;
    margin: 0;
}
.table-list {
    list-style: none;
    padding: 20px 30px;
}
.table-list li {
    padding: 15px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #333;
}
.table-list li:last-child {
    border-bottom: none;
}
.check-icon {
    width: 20px;
    height: 20px;
}

/* --- PRICING --- */
.pricing-card {
    max-width: 400px;
    margin: 0 auto;
    background: var(--surface-color);
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.2);
}
.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.price-full {
    font-size: 1.5rem;
    color: #888;
}
.price-discount {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 5px;
}
.price-details {
    font-weight: 700;
    margin-bottom: 30px;
}
.price-note {
    font-size: 0.9rem;
    color: #aaa;
    margin-top: 30px;
}

/* --- FAQ --- */
.faq-container {
    max-width: 700px;
    margin: 0 auto;
}
.faq-item {
    background: var(--surface-color);
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #333;
}
.faq-item summary {
    padding: 20px;
    font-weight: 700;
    cursor: pointer;
    list-style: none; /* Rimuove la freccia di default */
    position: relative;
    padding-right: 40px;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}
.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}
.faq-item p {
    padding: 0 20px 20px;
    border-top: 1px solid #333;
}

/* --- CONTACT --- */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-group input {
    width: 100%;
    padding: 15px;
    background: var(--surface-color);
    border: 1px solid #444;
    border-radius: 5px;
    color: var(--text-color);
    font-family: var(--font-family);
    font-size: 1rem;
}
.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}
.contact-form .cta-button {
    width: 100%;
    border: none;
    cursor: pointer;
}
.social-links {
    text-align: center;
    margin-top: 40px;
}
.social-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}

/* --- FOOTER --- */
/* === FOOTER PERSONALIZZATO === */
.site-footer {
  background: none !important;
  text-align: center !important;
  padding: 50px 0 !important;
  font-family: var(--font-family) !important;
  color: var(--text-color) !important;
}

.site-footer .footer-content p {
  margin: 10px 0;
  font-size: 1rem;
  text-align: center;
  letter-spacing: 0.5px;
}

.site-footer a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.site-footer a.highlight {
  color: var(--primary-color);
  font-weight: 700;
}

.site-footer a.highlight:hover {
  text-shadow: 0 0 10px rgba(255, 0, 255, 0.7);
  transform: scale(1.03);
}

/* Sezione Social */
.social-footer {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-color);
}

.youtube-icon {
  color: #ff0000;
  transition: transform 0.2s ease, color 0.2s ease;
}

.youtube-icon:hover {
  transform: scale(1.1);
  color: #e60000;
}


/* --- ANIMATIONS --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 70%;
        height: 100vh;
        background: var(--surface-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }
    .nav-links.active {
        transform: translateX(0);
    }
    .nav-toggle {
        display: block;
    }

    .nav-toggle.active .hamburger {
        background: transparent;
    }
    .nav-toggle.active .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }
    .nav-toggle.active .hamburger::after {
        transform: rotate(-45deg);
        top: 0;
    }

    .section-title {
        font-size: 2rem;
    }
}