/* --- VARIABILI E RESET --- */
:root {
    --primary: #0061ff;
    --accent: #00d2ff;
    --dark: #0f172a;
    --text: #334155;
    --white: #ffffff;
    --light: #f8fafc;
    --gray-bg: #f1f5f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    line-height: 1.6;
    scroll-behavior: smooth;
    background-color: var(--white);
}

h1, h2, h3 { 
    font-family: 'Montserrat', sans-serif; 
    color: var(--dark);
}

/* --- HEADER / NAVIGAZIONE --- */
header {
    background: var(--white);
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

        
  .logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
  }

  .logo-large {
    /* Ho raddoppiato le dimensioni mantenendo le proporzioni */
    width: 260px; 
    height: auto; /* 'auto' mantiene le proporzioni originali del logo */
    display: block;
  }


nav { 
    display: flex; 
    align-items: center; 
    gap: 25px; 
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

nav a:hover { 
    color: var(--primary); 
}

.btn-call {
    background: var(--primary);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-call:hover { 
    transform: scale(1.05); 
    box-shadow: 0 5px 15px rgba(0,97,255,0.3); 
}

/* --- HERO SECTION (INTRO) --- */
.hero-section {
    padding-top: 150px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, #ddae58 0%, #cab444 100%);
    display: flex;
    align-items: center;
    padding-left: 8%;
    padding-right: 8%;
    gap: 20px;
    min-height: 80vh;
    
}

.hero-text {
  flex: 1;
  color: white;
}



.hero-text span {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: rgb(2, 1, 1)
}

.hero-text h1 {
    
    font-size: 4.9rem;
    line-height: 1.1;
    margin: px 0;
    color: white
}

.hero-image { flex: 1; }
.hero-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.1);
}

/* --- SEZIONE CHI SIAMO (STACCATA) --- */
.about-section-new {
    padding: 100px 8%;
    background: var(--white);
    text-align: center;
}

.container-small {
    max-width: 850px;
    margin: 0 auto;
}

.divider {
    width: 70px;
    height: 4px;
    background: var(--accent);
    margin: 20px auto 30px;
}

.about-section-new p {
    font-size: 1.15rem;
    margin-bottom: 20px;
}

/* --- SERVIZI (CARD SCURE) --- */
.services {
    padding: 100px 8%;
    background: linear-gradient(135deg, #ddae58 0%, #cab444 100%);
    color: white;
    text-align: center;
}

.services-header { 
    text-align: center; 
    margin-bottom: 60px; 
}

.services-header h2 { color: white; font-size: 2.5rem; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: rgba(255,255,255,0.05);
    padding: 40px;
    border-radius: 20px;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}

.card h3 { color: var(--accent); margin-bottom: 15px; }

.card:hover {
    background: var(--primary);
    transform: translateY(-10px);
}

/* --- GALLERIA --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 40px 8%;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    width:350px;
    height:380px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.gallery-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 97, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
    color: white;
    font-weight: 700;
}

.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* --- CONTATTI --- */
.contact-section {
    padding: 100px 8%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    background: var(--light);
}

.contact-section h2 { font-size: 2.5rem; margin-bottom: 20px; }

input, textarea, select {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
}

.submit-btn {
    background: var(--dark);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    transition: 0.3s;
    width: 100%;
}

.submit-btn:hover { background: var(--primary); }

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 40px;
    background: #111;
    color: #777;
    font-size: 0.9rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .hero-section { flex-direction: column; text-align: center; padding-top: 130px; }
    .hero-text h1 { font-size: 2.8rem; }
    nav { display: none; } /* Nasconde menu su mobile per semplicità */
    .contact-section { grid-template-columns: 1fr; }
}
    nav a {
        color: #333; /* Grigio molto scuro, quasi nero */
        text-decoration: none;
        margin: 0 10px;
        font-family: 'Helvetica', Arial, sans-serif;
        font-size: 14px;
        font-weight: 400;
        letter-spacing: 1.5px; /* Spaziatura elegante tra le lettere */
        text-transform: uppercase; /* Tutto in maiuscolo per ordine */
        transition: 0.2s;
    }

    /* L'unico tocco di colore: l'oro appare solo al passaggio del mouse o click */
    nav a:hover, nav a:active {
        color: #C5A021; /* Un oro elegante, non troppo acceso */
    }

    /* Effetto opzionale: un pallino dorato che appare sotto il link attivo */
    nav a:active::after {
        content: ' •';
        color: #C5A021;
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
    }
/* Stile per il tasto menu (Hamburger) */
.menu-toggle {
    display: none; /* Nascosto su PC */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--dark); /* Colore delle linee */
    border-radius: 10px;
    transition: all 0.3s linear;
}

/* --- RESPONSIVE PER MOBILE --- */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex; /* Mostra il tasto su telefono */
    }

    nav {
        display: none; /* Nasconde i link inizialmente */
        flex-direction: column;
        position: fixed; /* Si sovrappone alla pagina */
        top: 90px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        text-align: center;
        z-index: 1000;
    }

    /* Quando il menu ha la classe 'active' viene mostrato */
    nav.active {
        display: flex !important;
    }

    nav a {
        padding: 15px;
        border-bottom: 1px solid #eee;
        display: block;
        width: 100%;
    }

    nav .btn-call {
        background: var(--primary) !important;
        color: white !important;
        margin-top: 10px;
        border-radius: 10px;
    }
}
/* --- IMMAGINI CARD SERVIZI --- */
.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: 0.4s ease;
}

/* Effetto hover immagine */
.card:hover img {
    transform: scale(1.05);
}

/* Testo dentro le card servizi */
.card ul {
    list-style: none;
    padding-left: 0;
}

.card ul li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    opacity: 0.95;
}
.btn-outline {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid #ffffff;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 30px;
  transition: all 0.3s ease;
  background: transparent;

}

.btn-outline:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-outlin {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid #070404;
  color: #080404;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 30px;
  transition: all 0.3s ease;
  background: transparent;
}

.btn-outlin:hover {
  background: #ffffff;
  color: #0e0a0a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
/* ===============================
   GALLERIA
================================ */

.gallery-page{
    padding:170px 20px 110px;
    background:linear-gradient(180deg,#ffffff,#f4f7fb);
}

/* TITOLO */
.services-header{
    text-align:center;
    max-width:700px;
    margin:0 auto 60px;
}

.services-header h2{
    font-family:'Montserrat', sans-serif;
    font-size:2.4rem;
    font-weight:800;
    color:#0f172a;
}

.services-header p{
    margin-top:12px;
    font-size:1.05rem;
    color:#64748b;
}

/* BARRA CATEGORIE */
.gallery-filters{
    display:flex;
    justify-content:center;
    gap:16px;
    flex-wrap:wrap;
    margin-bottom:50px;
}

.filter-btn{
    padding:12px 24px;
    border-radius:50px;
    border:1px solid #ddd;
    background:#fff;
    cursor:pointer;
    font-weight:700;
    color:#0f172a;
    transition:all 0.3s ease;
}

.filter-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(0,0,0,0.15);
}

.filter-btn.active{
    background:linear-gradient(135deg,#ffbb00,#f1c913);
    color:#fff;
    border:none;
    box-shadow:0 10px 25px rgba(0,210,255,0.35);
}

/* Nasconde gli item filtrati */
.gallery-item{
    display:none; /* Di default nascoste, JS le mostra */
}





