/* ===== EDINA PAINTING 1:1 CLONE ===== */
:root {
    --primary: #DF3526;
    --primary-dark: #B8281F;
    --dark: #000000;
    --white: #FFFFFF;
    --grey: #777777;
    --grey-light: #f9f9f9;
    --grey-border: #e5e5e5;
    --font-h: 'Nunito', sans-serif;
    --font-b: 'Roboto', sans-serif;
    --font-alt: 'Open Sans', sans-serif;
    --shadow: rgba(0,0,0,0.1) 0px 1px 1px 0px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-b);
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== HEADER (transparent over hero, white on scroll) ===== */
.header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 20px 0;
}

.header.scrolled {
    background: rgba(255,255,255,0.98);
    box-shadow: var(--shadow);
    padding: 12px 0;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-h);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    transition: color 0.3s;
}
.header.scrolled .nav-logo { color: var(--dark); }

.logo-text { letter-spacing: 1px; }
.logo-accent { color: var(--primary); margin-left: 6px; }

.nav-menu { display: flex; gap: 28px; }
.nav-menu a {
    font-family: var(--font-b);
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
    transition: color 0.3s;
}
.header.scrolled .nav-menu a { color: var(--dark); }
.nav-menu a:hover { color: var(--primary); }

.nav-cta { display: flex; gap: 16px; align-items: center; }

.nav-phone {
    font-family: var(--font-b);
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
    transition: color 0.3s;
}
.header.scrolled .nav-phone { color: var(--dark); }
.nav-phone:hover { color: var(--primary); }

.nav-quote {
    font-family: var(--font-b);
    font-size: 13px;
    font-weight: 700;
    color: var(--white) !important;
    background: var(--primary);
    padding: 10px 20px;
    border-radius: 4px;
    transition: background 0.3s;
    letter-spacing: 0.5px;
}
.nav-quote:hover { background: var(--primary-dark); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); transition: 0.3s; }
.header.scrolled .nav-toggle span { background: var(--dark); }

/* ===== HERO (Edina 1:1) ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('assets/exterior.jpg') center center / cover no-repeat fixed;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 120px 20px 200px;
    max-width: 900px;
}

.hero-content h1 {
    font-family: var(--font-h);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 24px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
    animation: fadeIn 1s ease;
}

.hero-content h1 strong { font-weight: 700; }

.hero-content h3 {
    font-family: var(--font-h);
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 300;
    margin-bottom: 36px;
    opacity: 0.95;
    animation: fadeIn 1s ease 0.3s both;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary);
    color: var(--white);
    padding: 16px 36px;
    border-radius: 4px;
    font-family: var(--font-b);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(223,53,38,0.4);
    animation: fadeIn 1s ease 0.6s both;
}

.hero-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(223,53,38,0.6);
}

.btn-icon img { width: 24px; height: 24px; }

/* ===== BENEFITS BAR (4 cols, overlay on hero bottom) ===== */
.benefits-bar {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(10px);
    padding: 40px 40px;
}

.benefit {
    color: var(--white);
    padding: 0 24px;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.benefit:last-child { border-right: none; }

.benefit h5 {
    font-family: var(--font-h);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: left;
}

.benefit p {
    font-family: var(--font-b);
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255,255,255,0.65);
    text-align: left;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== SECTIONS ===== */
section { padding: 100px 0; }

.section-title {
    font-family: var(--font-h);
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 300;
    text-align: center;
    margin-bottom: 60px;
    color: var(--dark);
}
.section-title span { color: var(--primary); font-weight: 600; }

.section-sub { text-align: center; font-size: 18px; color: var(--grey); margin-top: -40px; margin-bottom: 60px; }

/* ===== SERVIZI ===== */
.servizi { background: var(--white); }

.servizi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.servizio-card {
    background: var(--white);
    border: 1px solid var(--grey-border);
    overflow: hidden;
    transition: all 0.3s;
}
.servizio-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

.servizio-img {
    width: 100%;
    aspect-ratio: 16/10;
    background-size: cover;
    background-position: center;
}

.servizio-card h3 {
    font-family: var(--font-h);
    font-size: 22px;
    font-weight: 600;
    padding: 24px 24px 8px;
    color: var(--dark);
}

.servizio-card p {
    padding: 0 24px 24px;
    color: var(--grey);
    font-size: 15px;
    line-height: 1.6;
}

/* ===== FEATURES ===== */
.features { background: var(--grey-light); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--white);
    overflow: hidden;
    border: 1px solid var(--grey-border);
    transition: all 0.3s;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.feature-img {
    width: 100%;
    aspect-ratio: 16/10;
    background-size: cover;
    background-position: center;
}

.feature-content { padding: 32px 28px; }

.feature-content h5 {
    font-family: var(--font-h);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.feature-content h3 {
    font-family: var(--font-h);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.3;
}

.feature-content p {
    color: #555;
    font-size: 15px;
    line-height: 1.7;
}

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--white); }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.testimonial {
    background: var(--grey-light);
    padding: 32px 28px;
    border-radius: 8px;
    position: relative;
    border-left: 4px solid var(--primary);
    transition: all 0.3s;
}
.testimonial:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.quote-mark {
    font-family: Georgia, serif;
    font-size: 60px;
    color: var(--primary);
    line-height: 0.5;
    margin-bottom: 16px;
    opacity: 0.3;
}

.testimonial p {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial footer {
    font-size: 14px;
    color: var(--grey);
    border-top: 1px solid var(--grey-border);
    padding-top: 16px;
}

.testimonial footer strong {
    color: var(--on-surface, var(--dark));
    font-size: 15px;
}

/* ===== CTA FINAL ===== */
.cta-final {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}

.cta-final h2 {
    font-family: var(--font-h);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 300;
    margin-bottom: 20px;
}

.cta-final p {
    font-size: 18px;
    margin-bottom: 36px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-final .btn-primary {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}
.cta-final .btn-primary:hover {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

/* ===== CHI SONO (split) ===== */
.chi-sono { background: var(--grey-light); padding: 0; }

.chi-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.chi-photo {
    background-size: cover;
    background-position: center;
    min-height: 500px;
}

.chi-text {
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.chi-text h2 {
    font-family: var(--font-h);
    font-size: 40px;
    font-weight: 300;
    margin-bottom: 24px;
    color: var(--dark);
}

.chi-intro { font-size: 20px; margin-bottom: 20px; }
.chi-intro strong { color: var(--primary); }

.chi-text p { margin-bottom: 16px; color: #444; line-height: 1.8; }

.chi-list { margin-top: 24px; display: grid; gap: 10px; }
.chi-list li { font-size: 16px; }
.chi-list strong { color: var(--primary); }

/* ===== ZONE ===== */
.zone { background: var(--white); }

.zone-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 32px;
}

.zone-tags span {
    background: var(--grey-light);
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 15px;
    border: 1px solid var(--grey-border);
    transition: all 0.3s;
}
.zone-tags span:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.zone-note { text-align: center; color: var(--grey); }
.zone-note a { color: var(--primary); font-weight: 600; }

/* ===== CONTATTI ===== */
.contatti { background: var(--grey-light); }

.contatti-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.contatto-card {
    background: var(--white);
    padding: 40px 30px;
    text-align: center;
    border: 1px solid var(--grey-border);
    transition: all 0.3s;
}
.contatto-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-4px);
    border-color: var(--primary);
}

.contatto-icon { font-size: 40px; margin-bottom: 16px; }

.contatto-card h3 {
    font-family: var(--font-h);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.contatto-card p { color: var(--grey); font-size: 15px; }
.contatto-card .phone { color: var(--primary); font-weight: 600; font-size: 16px; }

/* ===== FOOTER ===== */
.footer { background: #1a1a1a; color: #ccc; padding: 60px 0 0; }

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer h4 {
    font-family: var(--font-h);
    color: white;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 600;
}

.footer p { line-height: 1.8; font-size: 14px; color: #999; }
.footer a { color: #ccc; }
.footer a:hover { color: var(--primary); }

.footer-bottom {
    border-top: 1px solid #333;
    padding: 24px 20px;
    text-align: center;
    font-size: 13px;
    color: #777;
}

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
    position: fixed;
    bottom: 24px; right: 24px;
    width: 60px; height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 999;
    transition: all 0.3s;
}
.wa-float:hover { transform: scale(1.1); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .benefits-bar { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .benefit { border-right: none; padding: 0; }
}

@media (max-width: 768px) {
    .nav-menu, .nav-cta { display: none; }
    .nav-toggle { display: flex; }
    
    .nav-menu.active {
        display: flex;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: rgba(0,0,0,0.9);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
    }
    .nav-menu.active a { color: white; }
    
    .hero-bg { background-attachment: scroll; }
    .hero-content { padding: 100px 20px 180px; }
    
    .benefits-bar {
        grid-template-columns: 1fr;
        position: relative;
        padding: 40px 20px;
    }
    
    section { padding: 60px 0; }
    
    .chi-split { grid-template-columns: 1fr; }
    .chi-photo { min-height: 300px; }
    .chi-text { padding: 40px 24px; }
    .chi-text h2 { font-size: 32px; text-align: center; }
    
    .footer-inner { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 28px; }
    .hero-content h3 { font-size: 18px; }
    .hero-btn { padding: 14px 28px; font-size: 14px; }
    .section-title { font-size: 28px; }
}
