/* Lino Busato - Psicologo - Static Website Styles */

/* Import Bootstrap 5 via CDN (included in HTML) */
/* Import Google Fonts - Sans-serif as requested */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Global Styles */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #34495e;
  --accent-color: #3498db;
  --text-color: #2c3e50;
  --light-text: #34495e;
  --bg-light: #efefef;
  --white: #ffffff;
  --green: #239b49;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  font-weight: 400;
}

.data-fissa {
  position: fixed;
  bottom: 15px;
  right: 20px;
  background: var(--green);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 9999;
}

@media all and (max-width: 550px) {
  .data-fissa {
    display: none;
  }
}

/* Header & Navigation */
.navbar-brand {
  font-weight: 600;
  color: var(--primary-color) !important;
  font-size: 1.25rem;
  display: flex;
  gap: .5rem;
  align-items: center;
}

.logo-wrapper img {
  height: 50px;
  width: auto;
}

.logo-info {
  display: flex;
  flex-direction: column;
  color: var(--green);
}

.logo-info .nome {
  font-size: 1.6rem;
  line-height: 100%;
}

.logo-info .postilla {
  font-size: .8rem;
  line-height: 100%;
}


.navbar-nav .nav-link {
  color: var(--text-color) !important;
  font-weight: 400;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--green) !important;
}

.navbar-nav .nav-link.active {
  color: var(--green) !important;
  font-weight: 500;
}

/* Hero Section */
.hero-section {
  background-color: var(--bg-light);
  padding: 3rem 0 2rem;
  min-height: 60vh;
  display: flex;
  align-items: center;
  position: relative;
}

body.home .overlay {
  padding-top: 10rem;
  padding-right: 3rem;
}

@media all and (max-width: 1400px) {

  body.home .overlay {
    padding-top: 5rem;
    padding-right: 3rem;
  }
}

@media all and (max-width: 1200px) {

  body.home .overlay {
    padding-top: 2rem;
    padding-right: 3rem;
  }
}

.page-about .content-section,
.page-approfondimenti .content-section,
.page-articoli .content-section,
.page-privacy-policy .content-section {
  padding-top: 0;
}

.page-about .hero-about-section,
.page-approfondimenti .hero-approfondimenti-section,
.page-articoli .hero-articoli-section,
.page-privacy-policy .hero-privacy-policy-section {
  padding-top: 4rem;
  background: var(--green);
  margin-bottom: 4rem;
}

.page-articoli .hero-articoli-section {
  margin-bottom: 0rem;
}

.page-approfondimenti .hero-approfondimenti-section {
  padding-bottom: 4rem;
}

/* .hero-section .overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
} */

.page-about .hero-about-section .section-title,
.page-about .hero-about-section .section-subtitle,
.page-approfondimenti .content-section .section-title,
.page-approfondimenti .content-section .section-subtitle,
.page-articoli .hero-articoli-section .section-title,
.page-articoli .hero-articoli-section .section-subtitle,
.page-privacy-policy .hero-privacy-policy-section .section-title,
.page-privacy-policy .hero-privacy-policy-section .section-subtitle {
  text-align: center;
  color: var(--white)!important;
}

.hero-title {
  font-size: 3rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 9;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 300;
  position: relative;
  z-index: 9;
}

.hero-section p,
.hero-section .quote {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--light-text);
  position: relative;
  z-index: 9;
  margin-bottom: 2rem;
}

.btn-primary-custom {
  background-color: var(--green);
  border: none;
  padding: 12px 30px;
  font-weight: 500;
  border-radius: 25px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: white;
  position: relative;
  z-index: 9;
}

.btn-whatsapp {
  background-color: #25d366;
}

.btn-whatsapp:hover {
  background-color: #075e54!important;
  color: #dcf8c6!important;
}

.btn-primary-custom-dark {
  display: inline-block;
  margin-left: 10px;
  background-color: var(--primary-color);
}

.btn-primary-custom:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
  color: white;
}

/* Content Sections */

.lista-due-colonne {
  margin: 20px auto;
  padding: 0 16px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  line-height: 1.6;
  color: #222;
}

.lista-due-colonne .servizi-title {
  font-size: 2.3rem;
  margin-bottom: 1rem;
  font-weight: 500;
  position: relative;
  z-index: 9;
  color: var(--green);
}

/* migliora la leggibilità dei singoli item */
.lista-due-colonne li {
  break-inside: avoid; /* evita che un singolo elemento venga spezzato tra colonne */
  margin-bottom: 0.3rem;
  font-size: 1.2rem;
  line-height: 1.4;
  font-weight: 400;
  text-align: left;
  color: var( --primary-color);
}

/* layout a due colonne */
.lista-due-colonne ul {
  list-style: disc;
  list-style-position: outside!important;
  margin: 0;
  padding-left: 1.25rem;
  column-count: 2;
  column-gap: 2rem;
}

.content-section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--light-text);
  text-align: center;
  margin-bottom: 3rem;
}

/* Homepage Description Section */
.description-section {
  padding: 4rem 0;
  background-color: var(--white);
  text-align: center;
}

.profile-img {
  max-width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.description-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-color);
}

.description-text p {
  margin-bottom: 1.5rem;
}

/* Topic Cards - Approfondimenti */
.topic-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f1f2f6;
}

.topic-image-container {
  aspect-ratio: 16 / 9;
  position: relative;
  margin-bottom: 20px;
}

.topic-image-container img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  object-position: center;
}

.topic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

.topic-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 1rem;
}

.topic-description {
  color: var(--text-color);
  line-height: 1.6;
}

.topic-description ul li {
  margin-bottom: 5px;
}

/* Articles List */
.article-item {
  background: var(--white);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 3px 15px rgba(0,0,0,0.06);
  transition: transform 0.3s ease;
  border-left: 4px solid var(--green);
}

.article-item:hover {
  transform: translateX(5px);
}

.article-title {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.article-description {
  color: var(--light-text);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.btn-article {
  background-color: var(--green);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-article:hover {
  background-color: var(--green);
  color: white;
  text-decoration: none;
}

/* Contact Form */
.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.contact-form a {
  color: var(--green);
}

.form-control {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

/* Pre-footer Video Section */
.video-section {
  background-color: var(--bg-light);
  padding: 4rem 0;
}

.video-container {
  margin-bottom: 2rem;
}

.video-embed {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* Facebook CTA Section */
.facebook-cta-section {
  background: var(--green);
  padding: 3rem 0;
  color: white;
  text-align: center;
}

.facebook-cta-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.facebook-cta-text {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.contatti-cta-section {
  background: linear-gradient(135deg, var(--white));
  padding: 3rem 0;
  color: white;
  text-align: center;
}

.page-about .contatti-cta-section,
.page-approfondimenti .contatti-cta-section,
.page-articoli .contatti-cta-section {
  background: linear-gradient(135deg, var(--bg-light));
}

.contatti-cta-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--green);
}

.contatti-cta-text {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  color: var(--light-text);
}

.btn-facebook {
  background-color: #1877f2;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  font-weight: 500;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.btn-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  font-weight: 500;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.btn-facebook:hover {
  background-color: #166fe5;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4);
  color: white;
  text-decoration: none;
}

.btn-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4);
}

.btn-youtube {
  background-color: #FF0000;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  font-weight: 500;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-block;
  margin: 0 auto;
}

.btn-youtube:hover {
  background-color: #FF0000;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
  color: white;
  text-decoration: none;
}

.btn-download {
  background-color: #7f8c8d;
  color: white;
  padding: 8px 15px;
  border: none;
  border-radius: 25px;
  font-weight: 500;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.btn-download:hover {
  background-color: rgb(127, 140, 141);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(127, 140, 141, 0.4);
  color: var(--bg-light);
  text-decoration: none;
}

.btn-outline-primary {
  border-color: var(--green);
  color: var(--green);
}

.btn-outline-primary:hover {
  background-color: var(--green);
  border-color: var(--green);
}

#articoli {
  padding-top: 3rem;
  padding-bottom: 3rem;
  background-color: #FFF!important;
}

#articoli h2 {
  color: var(--green);
  font-weight: 600;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: white;
  padding: 2rem 0;
}

.footer-text {
  margin: 0;
  opacity: 0.8;
}

.right-footer {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: flex-end;
}

/* Contact Info */
.contact-info {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
}

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

.contact-item a {
  color: var(--green);
  font-weight: 700;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  color: var(--green);
  margin-right: 1rem;
  font-size: 1.2rem;
}

.references {
  padding: 3rem 0;
}

/* Stile per i loghi */
.swiper {
  width: 100%;
  padding: 40px 0;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
}
 

.swiper-slide img {
  max-width: 150px;
  max-height: 100px;
  object-fit: contain;
}

.televenezia img, 
.radio img {
  max-height: 80px!important;
}

.nordest img {
  width: 170px!important;
  height: 120px!important;
  max-width: 170px!important;
  max-height: 120px!important;
}

.page-articoli .section-articles-contact {
  padding: 3rem 0;
  background-color: var(--bg-light);
}

@media (max-width: 991px) {
  .navbar-nav .nav-link {
    text-align: right;
  }

  .profile-img {
    margin-top: 3rem;
  }

  .btn-primary-custom {
    margin-bottom: 1rem;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .content-section {
    padding: 3rem 0;
  }
  
  .description-section {
    padding: 5rem 0;
  }
  
  .topic-card {
    padding: 1.5rem;
  }

  .hero-section .btn-primary-custom {
    display: inline-block;
    max-width: 180px;
  }

  .btn-instagram {
    margin-top: 15px;
  }

  .swiper-slide img {
    max-width: 100px;
    max-height: 70px;
  }

  footer .right-footer {
    justify-content: flex-start;
    margin-top: 1rem;
  }
}

@media (max-width: 576px) {

  .hero-title {
    font-size: 2rem;
  }
  
  .facebook-cta-title {
    font-size: 1.5rem;
  }
  
  .topic-card {
    padding: 1rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  /* responsive: su schermi stretti passa a 1 colonna */

  .lista-due-colonne ul {
    column-count: 1;
    column-gap: 1rem;
  }

  .page-approfondimenti .topic-description {
    margin-bottom: 0;
  }

  .page-approfondimenti .profile-img {
    margin: 20px 0;
  }

}
