﻿:root {
    --primary: #1A3636;
    --secondary: #D6EFD8;
    --accent: #D4AF37;
    --text-dark: #222222;
    --text-light: #F4F6F5;
    --bg-light: #F9FAF9;
    --shadow: 0 15px 35px rgba(26, 54, 54, 0.1);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; font-weight: 700; color: var(--primary); }

header {
    background-color: var(--primary);
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.logo { display: flex; align-items: center; gap: 10px; color: var(--accent); font-size: 1.5rem; font-weight: bold; text-decoration: none; }
.logo img { width: 40px; height: 40px; }
nav ul { display: flex; gap: 2rem; list-style: none; }
nav a { color: var(--text-light); text-decoration: none; font-size: 1.1rem; transition: var(--transition); }
nav a:hover { color: var(--accent); }

section { padding: 6rem 5%; }

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 54, 54, 0.85), rgba(26, 54, 54, 0.95)), url('https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?q=80&w=1920&auto=format&fit=crop') center/cover;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: var(--text-light);
}
.hero h1 {
    font-size: clamp(3rem, 8vw, 6.5rem);
    color: var(--text-light);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 900px;
}
.hero h1 span { color: var(--accent); }
.hero p {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    max-width: 700px;
    margin-bottom: 3rem;
    color: var(--secondary);
}

/* Random Section (Italian Heritage) */
.italian-heritage { background-color: var(--primary); color: var(--text-light); text-align: center; }
.italian-heritage h2 { color: var(--accent); font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 2rem; }
.italian-heritage p { font-size: 1.2rem; max-width: 800px; margin: 0 auto; color: var(--secondary); }

/* About */
.about { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center; }
.about-img { width: 100%; border-radius: 20px; box-shadow: var(--shadow); }
.about h2 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1.5rem; }
.about p { font-size: 1.2rem; margin-bottom: 1.5rem; color: #555; }

/* Features */
.features { background-color: var(--secondary); display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center; }
.features-content h2 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 2rem; }
.features-list { list-style: none; }
.features-list li { font-size: 1.3rem; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 15px; color: var(--primary); }
.features-list i { color: var(--accent); font-size: 1.8rem; }
.features-img { width: 100%; border-radius: 20px; box-shadow: var(--shadow); transform: rotate(2deg); }

/* Form Section */
.lead-section { background-color: #fff; }
.lead-container { max-width: 800px; margin: 0 auto; background: var(--bg-light); padding: 4rem; border-radius: 24px; box-shadow: var(--shadow); }
.lead-container h2 { font-size: 3rem; text-align: center; margin-bottom: 1rem; }
.lead-container p { text-align: center; margin-bottom: 3rem; font-size: 1.2rem; color: #666; }
.form-group { margin-bottom: 1.5rem; }
.form-group input { width: 100%; padding: 1.2rem; border: 2px solid #ddd; border-radius: 12px; font-size: 1.1rem; font-family: inherit; transition: var(--transition); }
.form-group input:focus { border-color: var(--primary); outline: none; }
.checkbox-group { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 2rem; font-size: 0.95rem; color: #555; }
.btn-submit { width: 100%; background-color: var(--accent); color: var(--primary); font-size: 1.3rem; font-weight: 700; padding: 1.2rem; border: none; border-radius: 12px; cursor: pointer; transition: var(--transition); display: flex; justify-content: center; align-items: center; gap: 10px; }
.btn-submit:hover { background-color: #b5952f; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3); }

/* FAQ */
.faq { max-width: 900px; margin: 0 auto; padding-bottom: 6rem; }
.faq h2 { font-size: 3rem; text-align: center; margin-bottom: 3rem; }
details { background: #fff; margin-bottom: 1.5rem; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); overflow: hidden; }
summary { padding: 1.5rem; font-size: 1.3rem; font-weight: bold; color: var(--primary); cursor: pointer; list-style: none; position: relative; }
summary::after { content: '+'; position: absolute; right: 1.5rem; font-size: 1.5rem; color: var(--accent); }
details[open] summary::after { content: '-'; }
.faq-content { padding: 0 1.5rem 1.5rem; font-size: 1.1rem; color: #555; }

/* Legal Pages Styling */
.legal-page { padding: 4rem 5%; min-height: 80vh; }
.legal-container { max-width: 1000px; margin: 0 auto; background: #fff; padding: 4rem; border-radius: 20px; box-shadow: var(--shadow); }
.legal-container h1 { font-size: 3rem; margin-bottom: 2rem; border-bottom: 3px solid var(--accent); padding-bottom: 1rem; }
.legal-container h2 { font-size: 2rem; margin: 2rem 0 1rem; }
.legal-container p, .legal-container ul { font-size: 1.1rem; margin-bottom: 1.5rem; color: #444; }
.legal-container ul { margin-left: 2rem; }

/* Footer & Cookies */
footer { background: var(--primary); color: var(--text-light); text-align: center; padding: 3rem 5%; }
.footer-links { display: flex; justify-content: center; gap: 2rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: var(--secondary); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }

.cookie-banner { position: fixed; bottom: -100%; left: 0; width: 100%; background: #fff; padding: 2rem 5%; box-shadow: 0 -10px 30px rgba(0,0,0,0.1); z-index: 9999; display: flex; justify-content: space-between; align-items: center; transition: var(--transition); border-top: 4px solid var(--accent); }
.cookie-banner.show { bottom: 0; }
.cookie-text { font-size: 1rem; max-width: 70%; color: #333; }
.cookie-btn { background: var(--primary); color: #fff; padding: 1rem 2rem; border: none; border-radius: 8px; cursor: pointer; font-weight: bold; }

.success-message { text-align: center; padding: 3rem; background: var(--secondary); border-radius: 16px; border: 2px solid var(--primary); }
.success-message h3 { font-size: 2rem; margin-bottom: 1rem; color: var(--primary); }
.success-message p { font-size: 1.2rem; color: var(--primary); }

@media(min-width: 768px) {
    .about, .features { grid-template-columns: 1fr 1fr; }
    .features-content { padding-left: 3rem; }
}
@media(max-width: 767px) {
    nav ul { display: none; }
    .hero h1 { font-size: 3rem; }
    .lead-container { padding: 2rem; }
    .cookie-banner { flex-direction: column; gap: 1rem; text-align: center; }
    .cookie-text { max-width: 100%; }
}
