@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/* Defining Custome Variables */
:root {
    /* Colors */
    --primary-color: #ffbb00;
    --secondary-color: #050a30;
    --dark-color: #f2f2f2;
    --white-color: #fff;
    --light-gray-color: #f2f2f2;
    --color-header: #341414;
    --back-g-color: #eca500;

    /* Site Max-Width */
    --site-max-width: 1300px;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--white-color);
}

/* Setting for the whole website */
a {
    text-decoration: none;
}

ul {
    list-style: none;
}

.section_container {
    margin: 0 auto;
    max-width: var(--site-max-width);
}

.section_title {
    text-align: center;
    padding: 60px 0 100px;
    font-size: 32px;
    font-family: "Righteous", sans-serif;
    text-transform: uppercase;
}

.section_title::after {
    content: '';
    width: 80px;
    background: var(--secondary-color);
    height: 5px;
    display: block;
    margin: 7px auto 0;
    border-radius: 8px;
}

/* Styling for the header section */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 123px;
    z-index: 3;
    background: var(--back-g-color);
}

nav {
    display: flex;
    padding: 0px 0 15px 20px;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    max-width: var(--site-max-width);
}

nav .nav_logo a {
    display: flex;
    gap: 15px;
    align-items: center;
}

nav .nav_logo1 a img {
    
    max-width: 250px;
}

nav .nav_logo a img {
    max-width: 100px;
}

nav .nav_logo h2 {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 32px;
    font-family: "Playwrite IN", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 300;
    
    
    
}

nav ul {
    display: flex;
    gap: 10px;
}

nav ul li a {
    display: block;
    padding: 10px 25px;
    font-size: 18px;
    font-weight: 500;
    color: var(--white-color);
    border-radius: 8px;
    transition: all 0.2s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
    background-color: var(--secondary-color);
}

nav label {
    font-size: 32px;
    color: var(--white-color);
    cursor: pointer;
}

label .menu_btn,
label .close_btn {
    display: none;
}

#click {
    display: none;
}

/* Hero Section */
.hero_section {
    position: relative;
    min-height: 100vh; /* Altezza della sezione */
    overflow: hidden; /* Nasconde contenuti che escono dai bordi */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero_video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80%;
    object-fit: cover; /* Assicura che il video riempia la sezione */
    z-index: -1; /* Manda il video dietro al contenuto */
}

.hero_container {
    position: relative;
    z-index: 1; /* Porta il contenuto sopra il video */
    text-align: center;
    color: var(--white-color); /* Colore del testo */
    padding: 20px;
}


.hero_container .text_section h2,
.hero_container .text_section h3 {
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); 
    color: var(--white-color);
    font-weight: 600;
    font-size: 70px;
    font-family: "Playwrite IN", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 500;
}

.hero_container .text_section p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 20px;
}

.hero_container .hero_section_button {
    display: flex;
    gap: 24px;
}

.hero_container .hero_section_button .button {
    padding: 8px 28px;
    border: 2px solid transparent;
    outline: none;
    cursor: pointer;
    border-radius: 8px;
    background: var(--secondary-color);
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 600;
    transition: all 0.4s ease;
}

.hero_container .hero_section_button .button:last-child {
    color: var(--white-color);
    border-color: var(--white-color);
    background: none;
}

.hero_container .hero_section_button .button:first-child:hover {
    color: var(--white-color);
    background: transparent;
    border-color: var(--white-color);
}

.hero_container .hero_section_button .button:last-child:hover {
    color: var(--primary-color);
    background: transparent;
    border-color: var(--primary-color);
}

.hero_container .image_section {
    max-width: 45%;
}

.hero_container .image_section img {
    width: 100%;
}

/* ABOUT US SECTION */
/* Stile generale per la sezione About Us */
.about_us {
    text-align: center;
    padding: 50px 20px;
    background-color: #f9f9f9; /* Colore di sfondo chiaro */
    color: #333; /* Colore del testo */
  }
  
  /* Stile per il titolo della sezione */
  .about_us .section_title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333; /* Colore del titolo */
  }
  
  /* Stile per il paragrafo */
  .about_us p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555; /* Colore leggermente più chiaro per il testo */
    font-size: 17px;
    max-width: 800px;
    margin: 0 auto;
  }
  
  /* Griglia delle foto */
  .photo-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px; /* Spazio tra le colonne */
    margin-top: 40px; /* Spazio sopra la griglia */
  }
  
  /* Colonne delle immagini */
  .photo-grid .column {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Spazio tra le immagini verticalmente */
    flex: 1; /* Equilibrio tra le colonne */
  }
  
  /* Stile per le immagini */
  .photo-grid img {
    width: 100%; /* Adatta la larghezza delle immagini alla colonna */
    height: auto; /* Mantiene le proporzioni delle immagini */
    border-radius: 8px; /* Arrotonda i bordi */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Effetto ombra per le immagini */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animazione per hover */
  }
  
  /* Effetto hover per le immagini */
  .photo-grid img:hover {
    transform: scale(1.05); /* Leggero ingrandimento */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Aumenta l'ombra */
  }
  
  /* Media query per schermi piccoli */
  @media (max-width: 768px) {
    .photo-grid {
      justify-content: center; /* Centra la colonna */
    }
  
    .photo-grid .column {
      display: none; /* Nasconde tutte le colonne */
    }
  
    .photo-grid .column:nth-child(2) {
      display: flex; /* Mostra solo la colonna centrale */
    }
  }

/* Services Section */
.services {
    background: var(--dark-color);
    color: var(--secondary-color);
    padding: 60px 20px 120px;
}

.services .section_title {
    color: var(--secondary-color);
}

.services .service_container {
    display: flex;
    justify-content: space-between;
    gap: 120px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.services_items {
    display: flex;
    flex-direction: column; /* Layout verticale: titolo sopra, immagine sotto */
    align-items: center; /* Centra tutto */
    text-align: center; /* Centra il testo */
    width: calc(100% / 3 - 80px); /* Larghezza responsiva */
}

.services_items img {
    width: 30%; /* Ridimensiona le immagini */
    max-width: 50px; /* Imposta una larghezza massima */
    height: auto; /* Mantieni proporzioni corrette */
    margin-top: 50px; /* Spazio tra il titolo e l'immagine */
    border-radius: 8px; /* Opzionale: arrotonda gli angoli */
}

.services_items .services_text h3 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px; /* Spazio sotto il titolo */
    color: var(--secondary-color);
}

.services_items .services_text p {
    font-size: 18px;
    color: #555;
}

/* Why Us Section */
.why_us {
    background: var(--white-color);
    padding: 60px 20px 120px;
}

.why_us .why_container {
    display: flex;
    justify-content: space-between;
    gap: 80px;
    align-items: center;
    flex-wrap: wrap;
}

.why_container .why_items img {
    width: 30%;
    margin-bottom: 10px;
}

.why_container .why_items {
    width: calc(100% / 3 - 80px);
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.why_items .why_us_text {
    text-align: center;
}

.why_items .why_us_text h3 {
    margin: 20px 0;
    font-size: 22px;
}

.why_items .why_us_text p {
    font-size: 17px;
    color: #555;
}


/* Gallery Section */
/* Stile generale per la sezione Gallery */
.gallery {
    text-align: center;
    padding: 50px 20px;
    background-color: #f9f9f9; /* Colore di sfondo */
    color: #333;
  }
  
  /* Stile per il titolo della sezione */
  .gallery .section_title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
  }
  
  /* Griglia delle foto */
  .gallery .photo-grid {
    display: flex;
    justify-content: space-between;
    gap: 10px; /* Spazio tra le colonne */
    margin-top: 40px; /* Spazio sopra la griglia */
  }
  
  /* Colonne delle immagini */
  .gallery .photo-grid .column {
    flex: 1; /* Ogni colonna occupa lo stesso spazio */
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  /* Stile per le immagini */
  .gallery .photo-grid img {
    width: 100%; /* Adatta la larghezza delle immagini alla colonna */
    max-width: 350px; /* Limita la dimensione massima */
    height: auto; /* Mantiene le proporzioni delle immagini */
    border-radius: 8px; /* Arrotonda i bordi */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Effetto ombra */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  /* Effetto hover per le immagini */
  .gallery .photo-grid img:hover {
    transform: scale(1.05); /* Leggero ingrandimento */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Ombra più intensa */
  }
  
  /* Media query per schermi piccoli */
  @media (max-width: 768px) {
    .gallery .photo-grid {
      flex-direction: column; /* Dispone le immagini in una singola colonna */
      align-items: center; /* Centra tutte le immagini */
      gap: 30px; /* Spazio maggiore tra le immagini */
    }
  
    .gallery .photo-grid .column {
      width: 100%; /* Ogni colonna occupa tutta la larghezza */
    }
  
    .gallery .photo-grid img {
      max-width: 80%; /* Riduce la dimensione massima per immagini più piccole */
    }
  }


/* Contact Section */
.contact {
    background: var(--white-color);
    padding: 60px 20px 100px;
}

.contact_container {
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: space-between;
}

.contact_container .contact_form {
    max-width: 65%;
    width: 100%;
}

.contact_container .contact_form .field {
    margin: 20px 0;
}

.contact_container .contact_form .field label {
    display: block;
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 8px;
}

.contact_container .contact_form .field input {
    width: 100%;
    height: 50px;
    padding: 0 12px;
    font-size: 16px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.contact_container .contact_form textarea {
    width: 100%;
    height: 200px;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
    resize: vertical;
}

.contact_container .contact_form .button {
    padding: 8px 28px;
    border: 2px solid transparent;
    outline: none;
    cursor: pointer;
    border-radius: 50px;
    background: var(--primary-color);
    color: var(--white-color);
    font-size: 17px;
    font-weight: 600;
    transition: all 0.4s ease;
}

.contact_container .contact_form .button:hover {
    color: var(--primary-color);
    background: transparent;
    border-color: var(--primary-color);
}

.contact_text .contact_items {
    display: flex;
    gap: 20px;
    margin: 80px 0;
}

.contact_text .contact_items i {
    font-size: 32px;
    margin-top: 5px;
}

/* Footer Section 
footer {
    background: var(--back-g-color);
    color: var(--white-color);
    padding: 30px 20px;
}

.footer_section {
    display: flex;
    justify-content: space-between;
}

.footer_section h3 {
    font-size: 22px;
    margin-bottom: 8px;
    font-weight: 600;
}

.footer_section .footer_logo a {
    display: flex;
    gap: 15px;
    align-items: center;
    color: var(--white-color);
}

.footer_section .footer_logo a img {
    max-width: 55px;
}

.footer_section .footer_logo a h2 {
    font-weight: 600;
}

.footer_section .useful_links ul li {
    margin: 20px 0;
}

.footer_section .useful_links ul li a {
    color: var(--white-color);
    font-size: 17px;
}

.footer_section .useful_links ul li a:hover {
    text-decoration: underline;
}

.footer_section .contact_us ul li {
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer_section .contact_us ul li i {
    font-size: 25px;
}

.footer_section .contact_us ul li span {
    font-size: 17px;
}

.footer_section .follow_us i {
    font-size: 26px;
    margin-right: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer_section .follow_us i:hover {
    color: var(--secondary-color);
}
*/

/* Footer */
.site-footer {
    background-color: #eca500;
    color: white;
    padding: 20px 0;
  }
  
  .footer-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer-content span {
    margin: 10px 20px;
    font-size: 14px;
    color: #050a30;
  }
  
  /* Banner sotto al footer */
  .footer-banner {
    background-color: white;
    text-align: center;
  }
  
  .footer-banner img {
    height: 70px;
    width: auto;
    display: block;
    margin: 10px auto;
  }

/* Responsive Media Query code for max-width: 1024px */

@media screen and (max-width: 1024px) {
    nav {
        padding: 15px 20px;
    }

    label .menu_btn {
        display: block;
    }

    nav ul {
        display: block;
        background: var(--white-color);
        position: absolute;
        top: 75px;
        left: -100%;
        overflow-y: auto;
        width: 60%;
        height: 150vh;
        text-align: center;
        transition: all 0.15s ease;
    }

    #click:checked~ul {
        left: 0;
    }

    #click:checked~label .close_btn {
        display: block;
    }

    #click:checked~label .menu_btn {
        display: none;
    }

    nav ul li {
        display: block;
        padding: 8px 12px;
        width: 48%;
        margin: 24px auto;
    }

    nav ul li a {
        color: var(--primary-color);
        size: 10px;
    }

    .hero_container {
        flex-direction: column-reverse;
        align-items: center;
        padding-bottom: 32px;
    }

    .hero_container .image_section {
        max-width: 100%;
        text-align: center;
    }

    .hero_container .image_section img {
        max-width: 90%;
        align-items: center;
    }

    .hero_container .text_section {
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero_container .text_section p {
        max-width: 100%;
    }

    .about_container {
        flex-direction: column;
    }

    .about_container .text_section {
        max-width: 100%;
    }

    .services .service_container {
        gap: 50px;
    }

    .section_container .services_items {
        width: calc(100% / 2 - 50px);
    }

    .why_us .why_container {
        gap: 50px;
    }

    .why_container .why_items {
        width: calc(100% / 2 - 50px);
    }

    .gallery .gallery_container {
        justify-content: center;
    }

    .gallery_container .gallery_items {
        width: calc(100% / 2 - 50px);
    }

    .contact_container {
        flex-direction: column-reverse;
    }

    .contact_text .contact_items {
        margin: 25px 0;
    }

    .contact_container .contact_form {
        max-width: 100%;
    }

    .footer_section {
        flex-direction: column;
        gap: 24px;
    }

    .footer_section .useful_links {
        text-align: start;
    }
}

/* Responsive Media Query code for max-width: 576px */
@media screen and (max-width: 576px) {
    .section_title {
        padding: 50px 0;
    }

    nav .nav_logo a img,
    .footer_section .footer_logo a img {
        max-width: 45px;
    }

    nav .nav_logo h2 {
        font-size: 30px;
    }

    .hero_container {
        justify-content: space-evenly;
    }

    .hero_container .text_section h2 {
        font-size: 30px;
    }

    .hero_container .text_section h3 {
        font-size: 26px;
    }

    .hero_container .image_section img {
        max-width: 80%;
    }

    .hero_container .text_section p {
        font-size: 17px;
    }

    .about_container .image_section {
        max-width: 70%;
    }

    .button {
        padding: 10px 20px !important;
        font-size: 15px !important;
    }

    .section_container .services_items,
    .why_container .why_items {
        width: 100%;
        text-align: center;
    }

    .gallery_container .gallery_items {
        flex-direction: column;
        width: 100%;
    }

    .services .service_container,
    .why_us .why_container {
        gap: 70px;
    }

    .section_container .services_items img {
        max-width: 80%;
    }
}