
:root {
    --primary-color: #2c3e50;
    --accent-color: #c49a45;
    --text-color: #4a4a4a;
    --bg-light: #f4f6f7;
    --white: #ffffff;
    --transition: all 0.3s ease;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.8;
    background-color: var(--white);
}
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--primary-color);
    font-weight: 600;
}
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.section-padding {
    padding: 80px 0;
}
.text-center {
    text-align: center;
}
.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}
.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 50px;
}
.top-bar {
    background: var(--primary-color);
    color: var(--white);
    font-size: 0.85rem;
    padding: 8px 0;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.top-bar a {
    color: var(--white);
}
header {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    letter-spacing: 1px;
    line-height: 1.2;
}
.logo span {
    color: var(--accent-color);
    display: block;
    font-size: 0.9rem;
    font-weight: normal;
    letter-spacing: 0;
    font-family: 'Segoe UI', sans-serif;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}
nav ul li a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--primary-color);
}
nav ul li a:hover {
    color: var(--accent-color);
}
.btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--accent-color);
    color: var(--white);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.9rem;
    border-radius: 3px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
.btn:hover {
    background: #a37f37;
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}
.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    background-color: #2c3e50;
}
.hero-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.4));
    z-index: 2;
}
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}
.badge-1970 {
    display: inline-block;
    background: var(--accent-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}
.about {
    background: var(--white);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    text-align: left;
}
.about-content h2::after {
    left: 0;
    transform: none;
}
.about-content p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}
.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.services {
    background: var(--bg-light);
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.service-card {
    background: var(--white);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-top: 4px solid transparent;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-top-color: var(--accent-color);
}
.service-img {
    height: 200px;
    background-color: #ddd;
    position: relative;
}
.service-info {
    padding: 25px;
}
.service-info h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}
.service-info p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: #555;
}
.seo-content {
    background: var(--primary-color);
    color: var(--white);
    padding: 80px 0;
}
.seo-content h2 {
    color: var(--white);
    margin-bottom: 30px;
}
.seo-content h2::after {
    background-color: var(--accent-color);
    left: 0;
    transform: none;
}
.seo-text p {
    margin-bottom: 20px;
    opacity: 0.9;
    font-size: 1.05rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.seo-text strong {
    color: var(--accent-color);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.contact-info-box {
    padding: 50px;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contact-info-box h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}
.contact-details {
    list-style: none;
    margin-top: 20px;
}
.contact-details li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 1.1rem;
}
.contact-icon {
    color: var(--accent-color);
    font-size: 1.3rem;
}
.map-container {
    background: #ccc;
    min-height: 400px;
    position: relative;
}
footer {
    background: #1a1a1a;
    color: #999;
    padding: 60px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
}
.footer-col p {
    margin-bottom: 15px;
    font-size: 0.95rem;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}
.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid #333;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.agency-credit {
    color: #ccc;
    font-weight: bold;
}
.agency-credit:hover {
    color: var(--accent-color);
}
@media (max-width: 992px) {
    .hero h1 { font-size: 2.8rem; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; }
    nav ul { display: none; }
    .top-bar .container { justify-content: center; gap: 10px; text-align: center; }
    .footer-bottom { flex-direction: column; gap: 15px; }
}
/* ================= WHATSAPP FLOATING BUTTON ================= */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%; /* Garantisce un cerchio perfetto */
    box-shadow: 2px 2px 10px rgba(0,0,0,0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none; /* Rimuove sottolineature accidentali */
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(0,0,0,0.25);
    color: #FFF;
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    fill: currentColor;
}

/* Responsività: Rimpicciolisce leggermente il pulsante sui telefoni */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-icon {
        width: 30px;
        height: 30px;
    }
}
/* ================= STILI SPECIFICI PAGINE INTERNE ================= */
.page-header { 
    background-color: var(--primary-color); 
    color: var(--white); 
    padding: 60px 0; 
    text-align: center; 
}
.page-header h1 { 
    color: var(--white); 
    font-size: 3rem; 
    margin-bottom: 15px; 
}
.page-header p { 
    font-size: 1.2rem; 
    opacity: 0.9; 
}

/* Griglie interne */
.grid-2 { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 50px; 
    align-items: center; 
}
.grid-3 { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 30px; 
}

/* Form e Box Contatti */
.contact-box { 
    background: var(--bg-light); 
    padding: 40px; 
    border-radius: 8px; 
}
.contact-list { 
    list-style: none; 
    margin-top: 0;
}
.contact-list li { 
    margin-bottom: 20px; 
    display: flex; 
    gap: 15px; 
    font-size: 1.1rem; 
}
.form-group { 
    margin-bottom: 20px; 
}
.form-control { 
    width: 100%; 
    padding: 12px; 
    border: 1px solid #ccc; 
    border-radius: 4px; 
    font-family: inherit; 
}
textarea.form-control { 
    min-height: 150px; 
    resize: vertical; 
}

/* Responsività pagine interne */
@media (max-width: 768px) {
    .grid-2, .grid-3 { 
        grid-template-columns: 1fr; 
    }
    .page-header h1 { 
        font-size: 2.2rem; 
    }
}