* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    max-height: 100%;
}

.mb-100 {
    margin-bottom: 100px !important;
}

.navbar a {
    text-decoration: none;
}

.hero {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 6rem;
}

.hero.hero--home {
    background-image: url('../img/home/20250623_094614.jpg');
    background-position: center;
}

.hero.hero--chi_siamo {
    background-image: none;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.3)"/><circle cx="80" cy="40" r="3" fill="rgba(255,255,255,0.2)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.4)"/><circle cx="90" cy="90" r="2" fill="rgba(255,255,255,0.3)"/><circle cx="10" cy="70" r="1.5" fill="rgba(255,255,255,0.3)"/></svg>') repeat;
    animation: float 20s infinite linear;
    pointer-events: none;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 980px;
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: slideInUp 1s ease-out;
}

.hero p {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    animation: slideInUp 1s ease-out 0.3s both;
    text-shadow: 2px 2px 4px black;
}

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

.cta-button {
    display: inline-block;
    /* background: linear-gradient(45deg, #ff6b6b, #ee5a24); */
    background: #ffcaf8;
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(255,107,107,0.4);
    transition: all 0.3s ease;
    animation: slideInUp 1s ease-out 0.6s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255,107,107,0.6);
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.1;
    animation: floatShape 15s infinite ease-in-out;
}

.shape:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    right: 10%;
    top: 60%;
    animation-delay: 5s;
}

.shape:nth-child(3) {
    left: 60%;
    bottom: 20%;
    animation-delay: 10s;
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.section {
    padding: 5rem 2rem;
    max-width: calc(100vw - 30px);
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.services-grid a,
.services-grid a * {
    text-decoration: none;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    background-clip: padding-box;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border-color: #ff6b6b;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.about-section {
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    background: linear-gradient(135deg, #b4ec51 0%, #36a54c 50%, #11998e 100%);
    color: white;
    text-align: center;
    border-radius: 50px
}

.about-section.about-section--violet {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    /* background: linear-gradient(135deg, #b4ec51 0%, #36a54c 50%, #41b7f4 100%); */
}

.about-section.about-section--pink {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
}

.about-content {
    max-width: 980px;
    margin: 0 auto;
}

.about-section .section-title {
    color: white;
}

.about-section .section-title::after {
    background: white;
}



.about-section--gallery .info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.about-section--gallery .info-card {
    height: 200px;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
}

.about-section--gallery .info-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.about-section--gallery .info-card img:hover {
  transform: scale(1.05);
}

/* Lightbox Styles */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  display: none;
}

.lightbox-overlay img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: #fff;
  background: rgba(0,0,0,0.5);
  padding: 0.5rem 1rem;
  border-radius: 50%;
  cursor: pointer;
  user-select: none;
  z-index: 1001;
}

.lightbox-prev {
  left: 2rem;
}

.lightbox-next {
  right: 2rem;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 2rem;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  padding: 0.3rem 0.7rem;
}



.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem auto 5rem auto;
}

.info-card {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-section {
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b6b;
}

.submit-btn {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255,107,107,0.4);
}

.contact-info {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    padding: 2rem;
    border-radius: 20px;
    color: white;
    height: fit-content;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    width: 30px;
}

footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section {
        padding: 3rem 1rem;
    }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    background-color: #41b7f4;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10;
}

.logo {
    /* font-size: 1.5rem;
    font-weight: bold;
    color: #ee5a24; */
    height: 70px;
}

.navbar nav {
    display: flex;
    gap: 1.5rem;
}

.navbar nav a {
    text-decoration: none;
    color: #fff;
    font-weight: 300;
    transition: color 0.3s;
    text-transform: uppercase;
}

.navbar nav a:hover,
.navbar nav a.select {
    color: #e1ebf0;
    /* text-decoration: underline; */
}

.dropdown {
    position: relative;
}

.dropdown > a::after {
    content: " ▼";
    font-size: 0.6rem;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #41b7f4;
    top: 100%;
    left: 0;
    min-width: 200px;
    z-index: 20;
    flex-direction: column;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.dropdown-content a {
    color: white;
    padding: 0.75rem 1rem;
    display: block;
    text-decoration: none;
    font-size: 0.95rem;
    text-transform: none;
}

.dropdown-content a:hover {
    background-color: #3aa2d6;
    /* text-decoration: underline; */
}

.dropdown:hover .dropdown-content {
    display: flex;
}

.hamburger {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: #fff;
}

.hero {
    margin-top: 80px;
}

@media (max-width: 1120px) {
    .logo {
        height: 60px;
    }

    .navbar nav {
        gap: 1rem;
        font-size: 15px;
    }
}


@media (max-width: 980px) {
    .navbar nav {
        position: absolute;
        top: 82px;
        right: 0;
        background: #41b7f4;
        flex-direction: column;
        width: 100%;
        display: none;
        padding: 1rem;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    .navbar nav.active {
        display: flex;
        height: calc(100vh - 70px);
        padding-bottom: 60px;
        overflow: auto;
    }

    .hamburger {
        display: block;
    }

    .dropdown-content {
        display: flex;
        position: static;
    }
}

@media (max-width: 768px) {
    .logo {
        height: 40px;
    }

    .section {
        max-width: calc(100vw - 20px);
    }

    .info-grid {
        justify-content: center;
    }

    .contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    }
}
