/* =====================
   STILE GENERALE
===================== */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    color: #333;
    background: #fafafa;
}

h1, h2, h3 {
    font-weight: 600;
    color: #2d4b3a;
}

p {
    line-height: 1.6;
}

/* =====================
   NAVBAR
===================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #2d4b3a;
}

.logo {
    color: #fff;
    font-size: 1.4rem;
    font-weight: bold;
    
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #aad8b0;
}

/* =====================
   HERO HOME PAGE
===================== */
.hero {
    background: url('https://images.unsplash.com/photo-1501004318641-b39e6451bec6?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.3rem;
    margin: 10px 0;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #4CAF50;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
    font-weight: 600;
}

.btn:hover {
    background: #3c8a40;
}

/* =====================
   SEZIONI GENERALI
===================== */
section {
    padding: 60px 20px;
    max-width: 1100px;
    margin: auto;
}

.intro {
    text-align: center;
}

.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
}

/* =====================
   HEADER PAGINE INTERNE
===================== */
.subpage-header {
    background: url('RosadeiVenti.png') center/cover no-repeat;
    padding: 100px 20px;
    color: #fff;
    text-align: center;
}

.header-content h1 {
    font-size: 2.5rem;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.4);
}

/* =====================
   PAGINA PRODOTTI
===================== */
.products-section h2 {
    margin-top: 40px;
    color: #2d4b3a;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.product-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

/* =====================
   PAGINA CONTATTI
===================== */
.contact-form {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: auto;
}

.form-group {
    margin-bottom: 15px;
}

label {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

/* =====================
   PAGINA DOVE SIAMO
===================== */
.map-box, .geo-box {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-top: 20px;
}

.dynamic-map {
    width: 100%;
    height: 300px;
    margin-top: 15px;
}

/* =====================
   FOOTER
===================== */
footer {
    background: #2d4b3a;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}