﻿@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700&family=DM+Sans:opsz,wght@9..40,300;400;500&display=swap');

:root {
    --primary: #132a20; /* Deep Forest Green */
    --secondary: #d4af37; /* Architecture Gold */
    --accent: #f4f1ea; /* Warm Eco White */
    --text-dark: #2d3748;
}

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

body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--accent);
    color: var(--text-dark);
    line-height: 1.8;
    overflow-x: hidden;
    position: relative;
}

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

/* Unique Abstract Background Element */
.abstract-bg {
    position: fixed;
    top: 10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212,175,55,0.05) 0%, rgba(212,175,55,0) 70%);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: -1;
    animation: morph 20s linear infinite;
    pointer-events: none;
}

@keyframes morph {
    0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: rotate(0deg); }
    34% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; transform: rotate(120deg); }
    67% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; transform: rotate(240deg); }
}

/* Header */
header {
    background: rgba(244, 241, 234, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(19, 42, 32, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}
.logo img { width: 35px; }
nav ul { display: flex; list-style: none; gap: 2rem; }
nav a { text-decoration: none; color: var(--primary); font-weight: 500; font-size: 1.1rem; transition: color 0.3s; }
nav a:hover { color: var(--secondary); }

/* Button */
.btn {
    display: inline-block;
    background: var(--primary);
    color: var(--accent);
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 2px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.4s, transform 0.4s;
}
.btn:hover { background: var(--secondary); color: var(--primary); transform: translateY(-2px); }
.btn:disabled { background: #cbd5e1; color: #64748b; cursor: not-allowed; transform: none; }

/* Sections */
section { padding: 8rem 5%; }

/* Hero */
.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}
.hero h1 {
    font-size: clamp(3.5rem, 7vw, 6.5rem);
    line-height: 1.05;
    margin-bottom: 2rem;
    max-width: 1000px;
    letter-spacing: -1px;
}
.hero p {
    font-size: 1.4rem;
    max-width: 600px;
    margin-bottom: 3rem;
    color: #4a5568;
}

/* Random: Italian Roots */
.heritage {
    background: var(--primary);
    color: var(--accent);
    text-align: center;
}
.heritage h2 { color: var(--secondary); font-size: 3rem; margin-bottom: 2rem; }
.heritage p { font-size: 1.2rem; max-width: 800px; margin: 0 auto; line-height: 2; opacity: 0.9; }

/* Mid-Page Form Section (Unexpected placement for uniqueness) */
.lead-capture {
    background: var(--accent);
}
.form-card {
    background: #fff;
    max-width: 900px;
    margin: 0 auto;
    padding: 5rem 4rem;
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
    border-top: 5px solid var(--secondary);
    border-radius: 4px;
}
.form-card h2 { font-size: 3rem; margin-bottom: 1rem; text-align: center; }
.form-card > p { text-align: center; margin-bottom: 3rem; font-size: 1.2rem; color: #718096; }

.input-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.form-group input {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    border-radius: 2px;
    transition: border 0.3s, background 0.3s;
}
.form-group input:focus { outline: none; border-color: var(--secondary); background: #fff; }
.full-width { grid-column: 1 / -1; }

.checkbox-wrap { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 2rem; font-size: 0.95rem; color: #4a5568; }
.checkbox-wrap input { margin-top: 6px; }

#successMsg {
    display: none;
    text-align: center;
    background: rgba(212, 175, 55, 0.1);
    padding: 3rem;
    border: 1px solid var(--secondary);
    border-radius: 4px;
    animation: fadeIn 0.5s;
}
#successMsg h3 { color: var(--primary); font-size: 2rem; margin-bottom: 1rem; }
#successMsg p { font-style: italic; font-size: 1.2rem; }

/* Features (Asymmetric) */
.features { display: flex; align-items: center; gap: 6rem; flex-wrap: wrap; }
.feat-img { flex: 1; min-width: 300px; }
.feat-img img { width: 100%; object-fit: cover; aspect-ratio: 4/5; border-radius: 4px; box-shadow: -20px 20px 0 var(--secondary); }
.feat-text { flex: 1; min-width: 300px; }
.feat-text h2 { font-size: 3.5rem; margin-bottom: 2rem; }
.feat-text ul { list-style: none; }
.feat-text li { font-size: 1.2rem; margin-bottom: 1.5rem; display: flex; gap: 1rem; }
.feat-text i { color: var(--secondary); font-size: 1.5rem; margin-top: 4px; }

/* About */
.about { text-align: center; background: #fff; }
.about h2 { font-size: 3.5rem; margin-bottom: 2rem; }
.about p { font-size: 1.2rem; max-width: 900px; margin: 0 auto 1.5rem; color: #4a5568; }

/* FAQ */
.faq { max-width: 900px; margin: 0 auto; padding: 6rem 5%; }
.faq h2 { font-size: 3.5rem; text-align: center; margin-bottom: 3rem; }
details { border-bottom: 1px solid #cbd5e1; padding: 1.5rem 0; }
summary { font-size: 1.3rem; font-weight: 500; color: var(--primary); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::after { content: '\2b'; font-family: 'FontAwesome'; font-weight: 900; color: var(--secondary); transition: transform 0.3s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 1.5rem; color: #4a5568; font-size: 1.1rem; padding-right: 2rem; }

/* Legal Base */
.legal-sec { padding: 4rem 5%; }
.legal-box {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 5rem 4rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    border-top: 4px solid var(--primary);
}
.legal-box h1 { font-size: 2.5rem; border-bottom: 1px solid #e2e8f0; padding-bottom: 1rem; margin-bottom: 2rem; }
.legal-box h2 { font-size: 1.5rem; margin-top: 2rem; margin-bottom: 1rem; }
.legal-box p, .legal-box ul { margin-bottom: 1rem; font-size: 1.1rem; }
.legal-box ul { padding-left: 2rem; }

/* Footer */
footer { background: var(--primary); color: var(--accent); padding: 5rem 5% 2rem; text-align: center; }
.f-links { display: flex; justify-content: center; gap: 3rem; margin-bottom: 3rem; flex-wrap: wrap; }
.f-links a { color: var(--accent); text-decoration: none; font-size: 1rem; letter-spacing: 1px; text-transform: uppercase; }
.f-links a:hover { color: var(--secondary); }
.f-copy { opacity: 0.6; font-size: 0.9rem; }

/* Cookie Banner */
.cookie-bar {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: rgba(19, 42, 32, 0.98); color: var(--accent);
    padding: 1.5rem 5%; display: flex; justify-content: space-between; align-items: center;
    transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 9999;
}
.cookie-bar.show { transform: translateY(0); }
.cookie-info { flex: 1; margin-right: 2rem; font-size: 0.95rem; }
.cookie-actions { display: flex; gap: 1rem; }
.btn-ghost { background: transparent; border: 1px solid var(--accent); color: var(--accent); padding: 0.8rem 1.5rem; cursor: pointer; transition: 0.3s; }
.btn-ghost:hover { background: var(--accent); color: var(--primary); }

@media (max-width: 768px) {
    nav ul { display: none; }
    .input-grid { grid-template-columns: 1fr; gap: 1rem; }
    .features { flex-direction: column; gap: 3rem; }
    .cookie-bar { flex-direction: column; text-align: center; gap: 1.5rem; }
    .cookie-info { margin-right: 0; }
    .hero h1 { font-size: 3rem; }
    .form-card, .legal-box { padding: 3rem 1.5rem; }
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
