/* 
   Growing People - Custom Styles 
   Questo file contiene stili personalizzati che integrano le utility di Tailwind.
*/

:root {
    --brand-primary: #4b4494;
    --brand-secondary: #9595c4;
    --brand-accent: #d1d1e8;
    --brand-warm: #FDFCFB;
}

/* Hero background image */
.hero-bg {
    background-image: url('img/growing_people_hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.max-w-7xl {
    width: 100%!important;
}


.logo_gp {
    width: 300px;
}

.logo_footer{
    width: 200px !important;
}

/* Glassmorphism effect for cards */
.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(26, 65, 55, 0.1);
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Custom button hover effects */
.btn-primary-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(26, 65, 55, 0.3);
}

/* Section transitions */
section {
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Custom form focus states */
input:focus, textarea:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(26, 65, 55, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
        line-height: 1.1;
    }
}

/* Utility classes for spacing if needed without Tailwind */
.section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.container-custom {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* FOOTER */
.site-footer {
  background: #4b4796;
  color: rgba(255, 255, 255, 0.72);
  padding: 82px 0 38px;
  font-family: 'Inter', sans-serif;
  border-radius: 0 0 4px 4px;
}

.footer-container {
  width: min(1230px, calc(100% - 80px));
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px;
}

.footer-left {
  max-width: 560px;
}

.footer-main-logo {
  width: 150px;
  height: auto;
  display: block;
  margin-bottom: 34px;
}

.footer-company {
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-company strong {
  font-weight: 700;
}

.footer-address {
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 56px;
  padding-top: 6px;
}

.footer-partner-logos {
  display: flex;
  align-items: center;
  gap: 32px;
}

.footer-partner-logo {
  display: block;
  height: 38px;
  width: auto;
  object-fit: contain;
}

.associazione-logo {
  height: 40px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 2px;
}

.footer-social {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.instagram-icon {
  font-size: 22px;
  font-weight: 400;
}

.footer-line {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 82px 0 38px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 13px;
  line-height: 1;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-links span {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.38);
}

.footer-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 13px;
}

/* Responsive */
@media (max-width: 900px) {
  .site-footer {
    padding: 60px 0 34px;
  }

  .footer-container {
    width: min(100% - 40px, 1230px);
  }

  .footer-top {
    flex-direction: column;
    gap: 44px;
  }

  .footer-right {
    align-items: flex-start;
    gap: 32px;
    padding-top: 0;
  }

  .footer-partner-logos {
    flex-wrap: wrap;
    gap: 22px;
  }

  .footer-line {
    margin: 54px 0 30px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 14px;
  }
}

@media (max-width: 520px) {
  .footer-main-logo {
    width: 135px;
  }

  .footer-company,
  .footer-address {
    font-size: 14px;
  }

  .footer-partner-logo {
    height: 32px;
  }

  .associazione-logo {
    height: 34px;
  }
}