/* ================================================================== */
/* FONT IMPORTS */
/* ================================================================== */

@font-face {
  font-family: 'Alice';
  src: url("font/Alice.ttf") format('truetype');
}

@font-face {
  font-family: 'amster';
  src: url("font/amster.ttf") format('truetype');
}

@font-face {
  font-family: 'Bodonibold';
  src: url("font/BodoniFLF-Bold.ttf") format('truetype');
}

@font-face {
  font-family: 'bodoniroman';
  src: url("font/BodoniFLF-Roman.ttf") format('truetype');
}

@font-face {
  font-family: 'PL';
  src: url("font/Pl.ttf") format('truetype');
}

@font-face {
  font-family: 'Didot';
  src: url("font/Didot.otf") format('opentype');
}

@font-face {
  font-family: 'DidotDisplayLP';
  src: url("font/DidotDisplay.ttf") format('truetype');
}

@font-face {
  font-family: 'Poppinsbold';
  src: url("font/Poppins-Bold.ttf") format('truetype');
}

@font-face {
  font-family: 'PoppinsSemiBold';
  src: url("font/Poppins-SemiBold.ttf") format('truetype');
}

@font-face {
  font-family: 'Zing';
  src: url("font/Zing.ttf") format('truetype');
}

/* ================================================================== */
/* CSS VARIABLES & RESET */
/* ================================================================== */

:root {
  --rosso: #bd1212;
  --rosso-light: #ff3131;
  --bianco: #ffffff;
  --nero: #000000;
  --grigio-light: #f5f5f5;
  --container-max: 1400px;
  --transition: all 0.3s ease;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  background: var(--bianco);
  color: var(--nero);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: var(--header-height);
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ================================================================== */
/* FIXED HEADER */
/* ================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--bianco);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  padding: 0 clamp(20px, 5vw, 40px);
  height: 100%;
}

.logo {
  font-family: Didot, serif;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--nero);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}

.nav-links a {
  font-family: 'Zing', serif;
  font-size: clamp(0.85rem, 1.1vw, 1.05rem);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--nero);
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--rosso);
}

.nav-cta-header {
  border: 1px solid var(--rosso);
  padding: 8px 18px;
  color: var(--rosso) !important;
  font-family: 'Zing', serif;
  transition: var(--transition);
}

.nav-cta-header:hover {
  background: var(--rosso);
  color: var(--bianco) !important;
}

/* ================================================================== */
/* SECTION CONTAINER & TYPOGRAPHY */
/* ================================================================== */

section {
  width: 100%;
  padding: clamp(60px, 10vh, 120px) clamp(20px, 5vw, 40px);
  background: var(--bianco);
}

.section-container {
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}

.section-title {
  font-family: Didot, serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  letter-spacing: 3px;
  color: var(--rosso);
  text-align: center;
  margin-bottom: 60px;
}

.philosophy-main-quote {
  font-family: Didot, serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 400;
  line-height: 1.5;
  font-style: italic;
  letter-spacing: 0.5px;
}

.philosophy-body {
  font-family: Bodonibold, serif;
  font-size: clamp(1rem, 1.25vw, 1.35rem);
  line-height: 1.8;
  color: var(--nero);
  opacity: 0.9;
}

/* ================================================================== */
/* PORTFOLIO GRID & CARDS (3-COLUMN LAYOUT) */
/* ================================================================== */

.featured-stories {
  background: var(--bianco);
}

.stories-wrapper {
  max-width: 1400px;
  margin: 0 auto;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.story-card {
  overflow: hidden;
  transition: var(--transition);
}

.story-card:hover {
  transform: translateY(-6px);
}

.story-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--grigio-light);
  margin-bottom: 20px;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.story-card:hover .story-image img {
  transform: scale(1.04);
}

.story-info {
  padding: 0 5px;
}

.story-card h3 {
  font-family: Didot, serif;
  font-size: clamp(1.2rem, 1.5vw, 1.5rem);
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--nero);
  margin-bottom: 8px;
}

.story-detail {
  font-family: bodoniroman, serif;
  font-size: clamp(0.8rem, 0.9vw, 0.95rem);
  letter-spacing: 1.5px;
  color: var(--rosso);
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 400;
}

.story-description {
  font-family: Bodonibold, serif;
  font-size: clamp(0.9rem, 1vw, 1.05rem);
  line-height: 1.6;
  color: var(--nero);
  opacity: 0.85;
}

/* RESPONSIVE DESIGN PER TABLET E MOBILE */
@media (max-width: 1024px) {
  .stories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 30px;
  }
}

@media (max-width: 767px) {
  .stories-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story-image {
    aspect-ratio: 3 / 4;
  }
}
/* ================================================================== */
/* CTA BUTTONS & INVESTMENT */
/* ================================================================== */

.cta-button {
  display: inline-block;
  font-family: 'Zing', serif;
  font-size: clamp(0.9rem, 1.1vw, 1.1rem);
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 36px;
  background-color: var(--rosso);
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.cta-button:hover {
  background-color: #000000;
  color: #ffffff;
}

/* ================================================================== */
/* FOOTER */
/* ================================================================== */

.footer {
  background: var(--rosso);
  color: var(--bianco);
  padding: clamp(40px, 6vh, 80px) clamp(20px, 5vw, 40px);
  text-align: center;
}

.footer-content {
  max-width: var(--container-max);
  margin: 0 auto;
}

.footer-copy {
  font-family: Bodonibold, serif;
  font-size: clamp(0.85rem, 1vw, 1rem);
  line-height: 1.6;
  margin-bottom: 25px;
  opacity: 0.85;
}

.footer-contact {
  margin-bottom: 25px;
}

.footer-contact p {
  font-family: Bodonibold, serif;
  font-size: clamp(0.9rem, 1.1vw, 1.1rem);
  line-height: 1.8;
  margin: 6px 0;
}

.footer-contact a {
  color: var(--bianco);
  transition: var(--transition);
}

.footer-contact a:hover {
  opacity: 0.8;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 25px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bianco);
  transition: var(--transition);
}

.footer-social svg {
  width: 22px;
  height: 22px;
}

/* ================================================================== */
/* RESPONSIVE DESIGN */
/* ================================================================== */

@media (max-width: 767px) {
  :root {
    --header-height: 70px;
  }

  .nav-cta-header {
    display: none;
  }

  .stories-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story-image {
    aspect-ratio: 3 / 4;
  }
}

/* ================================================================== */
/* EDITORIAL SINGLE GALLERY (ELEGANT 2-COLUMN GRID) */
/* ================================================================== */

/* Foto Copertina Grande Iniziale */
.story-cover-image {
  width: 100%;
  max-width: auto;
  margin: 0 auto 50px auto;
  display: flex;
  justify-content: center;
}

.story-cover-image img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

/* Griglia Foto 2 Colonne Centrata e Compatta */
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 480px)); /* Limita la larghezza di ogni colonna */
  gap: 15px; /* Spazio controllato tra le colonne */
  justify-content: center; /* Centra la griglia al mezzo della pagina */
  align-items: start;
  margin: 0 auto;
}

.editorial-grid img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Foto grandi del drone a tutta larghezza */
.editorial-grid img.full-width-img {
  grid-column: 1 / -1;
  width: 100%;
  margin: 20px 0;
}

.editorial-grid img:hover {
  opacity: 0.95;
  transform: scale(1.01);
}


/* Su Smartphone va tutto in singola colonna */
@media (max-width: 767px) {
  .editorial-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .editorial-grid img.full-width-img {
    margin: 10px 0;
  }
}


/* ================================================================== */
/* SCROLL INDICATOR (LET'S START + ARROW) */
/* ================================================================== */

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 10px auto 45px auto;
  gap: 8px;
  color: var(--rosso); /* O var(--nero) se preferisci un tono neutro */
  opacity: 0.85;
}

.scroll-indicator span {
  font-family: 'Zing', serif;
  font-size: clamp(2rem, 0.9vw, 0.85rem);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  stroke: var(--rosso);
  animation: bounceArrow 2s infinite ease-in-out;
}

/* Animazione morbida per la freccia */
@keyframes bounceArrow {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(6px);
  }
  60% {
    transform: translateY(3px);
  }
}

/* ================================================================== */
/* STORY CARD CLICKABLE LINKS & BUTTON */
/* ================================================================== */

.story-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.story-btn {
  display: inline-block;
  margin-top: 18px;
  font-family: 'Zing', serif;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rosso);
  font-weight: 600;
  transition: transform 0.3s ease;
}

.story-card:hover .story-btn {
  transform: translateX(6px);
}