/*
Theme Name: Silvia Theme
Author: Pasquale Bosco
Author URI: https://pasqualebosco.it
Description: Starter theme per WordPress con Bootstrap 5
Version: 1.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: silvia-theme
*/

body {
 font-family: "Manrope", sans-serif;
  padding-top: 72px; /* altezza navbar fissa */
}

h1, h2, h3 {
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
  color: #000;
}

a {
  color: #2b2b2b;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

a:hover,
a:focus {
  color: #FF8B5A;
  text-decoration: underline;
}

.navbar-nav .nav-link {
  color: #212529;
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: #FF8B5A;
  text-decoration: none;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-item.active > .nav-link {
  color: #FF8B5A;
  font-weight: 600;
  text-decoration: none;
}

.hero-video {
  height: 100vh;
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.4); /* Puoi aumentare l'opacità per più contrasto */
  z-index: 1;
}

.hero-content {
  z-index: 2;
  max-width: 90vw;
}

@media (min-width: 1200px) {
  .display-1 {
    font-size: 8.5rem;
    font-weight: 200;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 5rem;
    font-weight: 200;
  }
}



.title-home-lead {
 
  font-size: 4rem;

}

.title-home-secondary {
 
  font-size: 3rem;

}

@media (max-width: 767.98px) {
  .title-home-lead {
    font-size: 2.2rem;
  }

  .title-home-secondary {
    font-size: 1.6rem;
  }
}


.p-home {
 
  font-size: 1.25rem;

}
  
  .woodland-text {
    background: linear-gradient(to right, #fff, #c38bc3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    letter-spacing: -0.02em;
  }
  
  .land-text {
    color: #000;
    font-weight: 900;
  }
  

 
  /* Footer post info (categorie e tag) */
.post-meta-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e0e0e0;
  font-size: 0.95rem;
  color: #555;
}

.post-meta-footer p {
  margin: 0.5rem 0;
}

.post-meta-footer a {
  color: #2b2b2b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease-in-out;
}

.post-meta-footer a:hover {
  color: #FF8B5A;
}

.post-nav {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.post-nav a {
  color: #2b2b2b;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.post-nav a:hover {
  color: #FF8B5A;
  text-decoration: underline;
}


  /* Animazioni base */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Variazioni con delay */
.fade-in-delay-1 {
  transition-delay: 0.2s;
}
.fade-in-delay-2 {
  transition-delay: 0.4s;
}
.fade-in-delay-3 {
  transition-delay: 0.6s;
}

/* --- Sidebar Box Container --- */
.sidebar-box {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

/* --- Sidebar Titolo --- */
.sidebar-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #b9dfd4;
  padding-bottom: 0.5rem;
  color: #222;
}

/* --- Articolo Singolo --- */
.sidebar-post {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 1rem;
}

.sidebar-post:last-child {
  border-bottom: none;
}

/* --- Immagine --- */
.sidebar-post img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

/* --- Testo --- */
.sidebar-post-title {
  font-size: 1rem;
  font-weight: 600;
  color: #2b2b2b;
  margin: 0;
  line-height: 1.3;
}

.sidebar-post-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease-in-out;
}

.sidebar-post-title a:hover {
  color: #FF8B5A; /* colore accento */
}

/* --- Data e Excerpt --- */
.sidebar-post-meta {
  font-size: 0.875rem;
  color: #777;
  margin-top: 0.25rem;
}
