@charset "UTF-8";
/* VARIABILI */
:root {
  --panna: #FAF9F6;
  --text: #333333;
  --primary: #007A78;
  --primary-2: #009B98;
  --font-primary: "Epilogue", sans-serif;
  --font-secondary: "Fraunces", serif;
}

/* LINK */
a, a *, a:hover, a:focus, a:active {
  text-decoration: none !important;
  color: inherit;
}

a:hover {
  color: var(--primary);
}

/* GLOBAL */
body {
  background-color: var(--panna);
  color: var(--text);
  font-family: var(--font-primary);
  line-height: 1.6;
}

/* BUTTONS */
.btn {
  background-color: var(--primary);
  color: var(--panna);
  border-radius: 10px;
  border: none;
  padding: 0.7rem 1.4rem;
  transition: 0.3s;
}

.btn:hover {
  background-color: var(--primary-2);
  color: var(--panna);
}

.custom-outline {
  border: 2px solid var(--primary) !important;
  color: var(--primary) !important;
  background-color: transparent !important;
}
.custom-outline:hover {
  background-color: var(--panna) !important;
  color: var(--primary) !important;
}

/* TIPOGRAFIA */
h1 {
  font-family: var(--font-primary);
  font-size: clamp(1.8rem, 3vw, 3rem);
  color: var(--text);
}

h2 {
  font-family: var(--font-secondary);
  font-size: clamp(1.6rem, 4vw, 3.3rem);
  color: var(--primary);
}

h3 {
  font-family: var(--font-primary);
  font-size: clamp(1.4rem, 3.5vw, 2.875rem);
  color: var(--text);
}

p {
  font-size: 1.2rem;
  line-height: 1.65;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 576px) {
  p {
    font-size: 0.95rem;
  }
}
/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: var(--panna);
  padding: 1rem 2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Logo / Brand */
.navbar-brand {
  margin-right: 2rem;
}

.navbar-brand img {
  height: 36px;
  width: auto;
}

/* Nav links */
.navbar .nav-link {
  color: var(--text);
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  transition: 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
  color: var(--primary);
}

.navbar-nav {
  gap: 1.2rem;
}

/*  HERO */
.hero h1 {
  font-family: var(--font-secondary);
  color: var(--text);
}

/*   INTRO PAGINE */
.page-intro h1 {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.page-intro .intro {
  font-family: var(--font-secondary);
  font-weight: 600;
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.page-intro p {
  font-size: 1.1rem;
  line-height: 1.7;
}

/* SELECTED PROJECTS */
.projects-scroll {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 1rem;
}

.project-card {
  flex: 0 0 260px;
  min-width: 260px;
  height: auto;
  padding: 1rem;
  border-radius: 18px;
  background-color: var(--panna);
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  scroll-snap-align: start;
}

.project-card img {
  width: 100%;
  height: 160px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.project-card h5 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.project-card p {
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
}

.project-card .btn {
  margin-top: auto;
  align-self: flex-start;
  border-radius: 8px;
  padding: 0.55rem 1.2rem;
}

/* MOBILE RESPONSIVE */
@media (max-width: 576px) {
  .projects-scroll {
    gap: 1rem;
    padding-left: 0.5rem;
  }
  .project-card {
    flex: 0 0 230px;
    min-width: 230px;
    padding: 0.9rem;
  }
  .project-card img {
    height: 140px;
  }
  .project-card h5 {
    font-size: 1rem;
  }
  .project-card p {
    font-size: 0.8rem;
  }
  .project-card .btn {
    padding: 0.45rem 1rem;
  }
  /* BIG card */
  .big-card {
    max-width: 100%;
    padding: 1.4rem;
    border-radius: 16px;
  }
  .big-card img {
    height: 180px;
  }
  .big-card h5 {
    font-size: 1.3rem;
  }
  .big-card p {
    font-size: 0.95rem;
  }
}
/* SINGLE PROJECT — BIG CARD */
.big-card {
  width: 100%;
  max-width: 480px;
  padding: 2rem;
  border-radius: 20px;
  height: auto;
}

.big-card img {
  width: 100%;
  height: 240px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 14px;
}

.big-card h5 {
  font-size: 1.5rem;
}

.big-card p {
  font-size: 1rem;
}

/*  3 PROJECTS CENTERED */
.projects-centered {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.projects-centered .project-card {
  width: 300px;
  min-width: 300px;
  height: auto;
}

/*  AREA CARDS */
.card-base, .area-card {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 18px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  color: var(--panna);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  height: auto;
  aspect-ratio: 4/3;
}
.card-base h3, .area-card h3 {
  z-index: 2;
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 1.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 100%;
  margin: 0;
  transition: color 0.3s ease;
}
.card-base .overlay, .area-card .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
  transition: background 0.3s ease;
}
.card-base:hover, .area-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}
.card-base:hover h3, .area-card:hover h3 {
  color: var(--primary);
}
.card-base:hover .overlay, .area-card:hover .overlay {
  background: rgba(255, 255, 255, 0.25);
}

.area-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
  transition: 0.3s;
}

.area-card:hover::before {
  background: rgba(255, 255, 255, 0.25);
}

.area-card h3 {
  position: relative;
  z-index: 2;
  color: var(--panna);
  transition: 0.3s;
}

@media (max-width: 576px) {
  .area-card {
    height: auto;
    aspect-ratio: 4/3;
  }
  .area-card h3 {
    font-size: 1.3rem;
  }
}
/* Sfondi */
.area-card.editorial {
  background-image: url("../img/sfondo-editorial.webp");
}

.area-card.voice {
  background-image: url("../img/sfondo-voice.webp");
}

.area-card.design {
  background-image: url("../img/sfondo-design.webp");
}

.area-card.progettazione {
  background-image: url("../img/sfondo-progettazione.webp");
}

/* Mobile */
@media (max-width: 576px) {
  .area-card {
    aspect-ratio: 1/1;
  }
  .area-card h3 {
    font-size: 1.4rem;
  }
}
/* GALLERIA */
.editorial-masonry {
  -moz-column-count: 3;
       column-count: 3;
  -moz-column-gap: 2rem;
       column-gap: 2rem;
  padding: 2rem 0;
}

.editorial-masonry img {
  width: 100%;
  display: block;
  margin-bottom: 2rem;
  border-radius: 0;
  background: #f4f4f4;
  -moz-column-break-inside: avoid;
       break-inside: avoid;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.editorial-masonry img:hover {
  transform: scale(1.02);
  opacity: 0.95;
}

/* Tablet */
@media (max-width: 992px) {
  .editorial-masonry {
    -moz-column-count: 2;
         column-count: 2;
    -moz-column-gap: 1.5rem;
         column-gap: 1.5rem;
  }
}
/* Mobile */
@media (max-width: 576px) {
  .editorial-masonry {
    -moz-column-count: 1;
         column-count: 1;
    -moz-column-gap: 1rem;
         column-gap: 1rem;
  }
  .editorial-masonry img {
    margin-bottom: 1.5rem;
  }
}
/* Mobile */
@media (max-width: 576px) {
  .editorial-slide {
    height: 65vh;
  }
  .editorial-scroll {
    gap: 2rem;
  }
}
/* PAGINA CHI SONO */
.about {
  background-color: var(--panna);
  color: var(--text);
  text-align: left;
}
.about h1 {
  font-family: var(--font-primary);
  font-weight: 700;
  margin-bottom: 1rem;
}
.about .intro {
  font-family: var(--font-secondary);
  font-weight: 600;
  color: var(--primary);
  font-size: 1.35rem;
  margin-bottom: 2rem;
}
.about p {
  font-family: var(--font-primary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}
.about .about-img {
  max-width: 350px;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* SOFTWARE SKILLS */
.skills-grid img {
  width: 55px;
  height: 55px;
  -o-object-fit: contain;
     object-fit: contain;
  padding: 4px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.9;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(55px, 1fr));
  gap: 1.5rem;
  justify-items: center;
  align-items: center;
  max-width: 700px;
  margin: 0 auto;
}

@media (max-width: 576px) {
  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(45px, 1fr));
    gap: 1rem;
  }
}
/* CONTACT FORM */
.contact-form {
  max-width: 550px;
  margin: 0 auto;
  padding: 2rem;
  background-color: var(--panna);
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.contact-form .form-group {
  margin-bottom: 1.4rem;
  text-align: left;
}

.contact-form label {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  background: white;
  font-size: 1rem;
  color: var(--text);
  outline: none;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.18);
}

.contact-form button {
  padding: 0.9rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
}

/* SEZIONE DARK */
.bg-dark-portfolio {
  background-color: var(--text);
  color: var(--panna);
}

.bg-dark-portfolio h2 {
  color: var(--panna);
}

/* FOOTER */
.footer a {
  color: var(--panna);
  transition: 0.2s;
}

.footer a:hover {
  color: var(--primary-2);
}

.accordion-btn {
  background: none;
  border: none;
  color: var(--panna);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.accordion-btn .arrow {
  transition: 0.25s;
}

.accordion-btn[aria-expanded=true] .arrow {
  transform: rotate(180deg);
}

/* SCROLLUP MOBILE */
.scrollup-mobile {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 42px;
  height: 42px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.scrollup-mobile img {
  width: 55%;
  height: auto;
}

.scrollup-mobile.show {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 992px) {
  .scrollup-mobile {
    display: none !important;
  }
}
/* BLOG TIPOGRAFIA */
.voice-blog p {
  font-size: 1rem;
  line-height: 1.7;
}

.section-title {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 35px;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 2rem;
}

/* BLOG  */
.blog-hero {
  background-color: var(--panna);
}

.blog-hero h1 {
  font-family: var(--font-secondary);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.blog-hero .section-subtitle {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  color: var(--primary);
}

.blog-card {
  background-color: var(--panna);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.blog-thumb {
  width: 100%;
  height: 170px;
  -o-object-fit: cover;
     object-fit: cover;
}

.blog-excerpt {
  line-height: 1.5;
}

.post-layout {
  max-width: 760px;
}

.post-header h1 {
  font-family: var(--font-secondary);
  font-size: clamp(2rem, 4vw, 3rem);
}

.post-image {
  width: 100%;
  height: auto;
  max-height: 380px;
  -o-object-fit: cover;
     object-fit: cover;
}

.post-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
}

.post-content h2,
.post-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.post-content p {
  margin-bottom: 1.2rem;
}

.post-content blockquote {
  margin: 2rem 0;
  padding: 1.2rem 1.5rem;
  border-left: 4px solid var(--primary);
  background: rgba(0, 0, 0, 0.03);
  border-radius: 12px;
}

/* BLOG INTRO */
.blog-intro h1 {
  font-family: var(--font-primary);
  font-size: 3rem;
}

.blog-intro .intro {
  font-family: var(--font-secondary);
  font-size: 1.4rem;
  color: var(--primary);
  max-width: 700px;
}

.blog-description {
  font-size: 1.05rem;
  max-width: 700px;
  line-height: 1.7;
}

/* LISTA ARTICOLI */
.blog-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 2rem;
  text-align: left;
}

.blog-thumb {
  width: 260px;
  height: 180px;
  -o-object-fit: cover;
     object-fit: cover;
}

.blog-text h3 {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.4rem;
  text-align: left;
}

.excerpt {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 580px;
}

/* MOBILE */
@media (max-width: 576px) {
  .blog-thumb {
    width: 100%;
    height: 200px;
  }
}/*# sourceMappingURL=main.css.map */