/* =====assets =====*/

@font-face {
  font-family: 'Stamp';
  src: url('../public/font/StampRSPKTwo-Regular.woff2') format('woff2'),
       url('../public/font/StampRSPKTwo-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ===== VARIABLES ===== */
:root {
  --primary: #1c53a7;
  --primary-dark: #153d7a;
  --azzurro-chiaro: #6a9ff0;
  --footer: #192b48;
  --accent: #e67723;
  --accent-light: #f2b246;
  --arancio-chiaro: #ffe6d2; 
  --white: #ffffff;
  --off-white: #F7FCFF;
  --cream: #f5f0e8;
  --gray-100: #f7f7f7;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
  --black: #0a0a0a;
  
  --font-heading: 'Stamp', sans-serif;
  --font-body: 'Archivo', sans-serif;
  
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ===== RESET ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--off-white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ===== UTILITIES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.section-label-w {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 300;
  color: var(--accent);
  line-height: 1.2;
  margin-bottom: 24px;
}

.section-title-w {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
}

.section-title-center {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  color: var(--gray-900);
  text-align: center;
  margin-bottom: 48px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 0;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
}

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

.btn-primary-w {
  background-color: var(--primary-dark);
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-primary-w:hover {
  background-color: var(--primary);
  border-color: var(--white);
}

.btn-primary-wchiaro {
  background-color: var(--primary);
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-primary-wchiaro:hover {
  background-color: var(--primary-dark);
  border-color: var(--white);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

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

.btn-outline-dark {
  background-color: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary-dark);
}

.btn-outline-dark:hover {
  background-color: var(--primary);
  color: var(--white);
}

.btn-outline-accent {
  background-color: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline-accent:hover {
  background-color: var(--accent);
  color: var(--white);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 24px;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
}

.logo-year {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  color: var(--gray-700);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--primary);
}

.nav-link-external {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}


.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--gray-800);
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-only {
  display: block;
}

.hero-video-container {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-video-only .hero-video-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28, 83, 167, 0.7) 0%,
    rgba(28, 83, 167, 0.5) 100%
  );
}

.hero-content {
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0.9;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 24px;
  text-wrap: balance;
}

.hero-description {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-video-mobile {
  display: none;
}

.hero-video-desktop {
  display: block;
}

@media (max-width: 768px) {
  .hero-video-desktop {
    display: none;
  }
  
  .hero-video-mobile {
    display: block;
  }
}
/* ===== COLORED SECTIONS ===== */
.section-orange {
  background-color: var(--accent);
  color: var(--white);
}

.section-orange .section-title,
.section-orange .section-title-center,
.section-orange .info-card-title,
.section-orange .info-card-text {
  color: var(--white);
}

.section-orange .info-card-icon {
  color: var(--white);
}

.section-yellow {
  background-color: var(--accent-light);
  color: var(--gray-900);
}

.section-yellow .section-title,
.section-yellow .section-title-center {
  color: var(--gray-900);
}

.section-orange-light {
  background-color: #fef3e8;
}

.section-yellow-light {
  background-color: #ffc07c;
}

/* ===== INFO SECTION ===== */
.info-section {
  padding: 100px 0;
  background-color: var(--white);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.info-card {
  text-align: center;
  padding: 40px 24px;
}

.info-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  
}

.info-card-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.info-card-text {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
}

.info-cta {
  text-align: center;
}

/* ===== EVENTS SECTION ===== */
.events-section {
  background-color: var(--primary-dark);
}

.events-wrapper {
  display: flex;
}

.events-image {
  flex: 0 0 55%;
}

.events-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 600px;
}

.events-content {
  flex: 1;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.event-preview {
  display: flex;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
}

.event-preview:last-child {
  border-bottom: none;
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  padding: 12px;
  background-color: var(--white);
}

.event-day {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
}

.event-month {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--black);
}

.event-info {
  flex: 1;
}

.event-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  margin-bottom: 8px;
}

.tag-spettacolo {
  background-color: var(--accent);
  color: var(--white);
}

.tag-incontro {
  background-color: var(--primary);
  color: var(--white);
}

.event-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 500;
  color: var(--off-white);
  margin-bottom: 6px;
  line-height: 23px;
}

.event-description {
  font-size: 14px;
  color: var(--gray-200);
  line-height: 1.5;
}

/* ===== HIGHLIGHT SLIDER ===== */
.highlight-section {
  padding: 100px 0;
  background-color: var(--white);
}

.slider-wrapper {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

.slider {
  overflow: hidden;
}

.slide {
  display: none;
}

.slide.active {
  display: flex;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.slide-image {
  flex: 0 0 55%;
}

.slide-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.slide-content {
  flex: 1;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--arancio-chiaro);
}

.slide-label {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.slide-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 300;
  color: var(--accent);
  line-height: 1.2;
  margin-bottom: 20px;
}

.slide-description {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 32px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  transition: var(--transition);
  z-index: 10;
}

.slider-arrow:hover {
  color: var(--gray-900);
}

.slider-prev {
  left: 0;
}

.slider-next {
  right: 0;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--gray-400);
  transition: var(--transition);
}

.dot.active {
  background-color: var(--primary);
}

/* ===== CTA SECTION ===== */
.cta-section {
  background-color: var(--white);
}

.cta-wrapper {
  display: flex;
  flex-direction: row-reverse;
}

.cta-image {
  flex: 0 0 50%;
}

.cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 500px;
}

.cta-content {
  flex: 1;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--primary);
  color: var(--white);
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 20px;
}

.cta-description {
  font-size: 16px;
  opacity: 0.9;
  line-height: 1.7;
  margin-bottom: 32px;
}


/* ===== FOOTER ===== */
.footer {
  background-color: var(--footer);
  color: var(--white);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-logo {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 16px;
}

.footer-logo .logo-text {
  color: var(--white);
}

.footer-tagline {
  font-size: 14px;
  color: var(--azzurro-chiaro);
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--azzurro-chiaro);
  color: var(--white);
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--accent);
  border-color: var(--accent);
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--azzurro-chiaro);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--azzurro-chiaro);
}

.footer-contact svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid var(--azzurro-chiaro);
  text-align: center;
}

.footer-bottom p {
  font-size: 15px;
  color: var(--azzurro-chiaro);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .events-wrapper,
  .cta-wrapper {
    flex-direction: column;
  }
  
  .events-image,
  .cta-image {
    flex: none;
  }
  
  .events-image img,
  .cta-image img {
    min-height: 400px;
  }
  
  .slide {
    flex-direction: column;
  }
  
  .slide-image {
    flex: none;
  }
  
  .slide-image img {
    height: 350px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--white);
    padding: 80px 32px 32px;
    transition: var(--transition);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  }
  
  .nav.active {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  
  .nav-link {
    font-size: 18px;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 12px;
  }
  
  .btn {
    width: 100%;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .events-content,
  .slide-content,
  .cta-content {
    padding: 48px 24px;
  }
  
  .slider-wrapper {
    padding: 0 24px;
  }
  
  .slider-arrow {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-brand {
    text-align: center;
  }
  
  .footer-tagline {
    max-width: 100%;
  }
  
  .footer-social {
    justify-content: center;
  }
}
.info-card-icon img,
.value-icon img,
.contact-icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

/* ===== SCUOLE PAGE ===== */
.scuole-section {
  padding: 80px 0;
}

.scuole-wrapper {
  display: flex;
  gap: 60px;
  align-items: center;
}

.scuole-content {
  flex: 1;
}

.scuole-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 300;
  color: var(--gray-900);
  margin-bottom: 24px;
  line-height: 1.2;
}

.scuole-text {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 32px;
}

.scuole-image {
  flex: 0 0 45%;
}

.scuole-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.scuole-cta {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  text-align: center;
}

.scuole-cta-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 20px;
  background-color: var(--accent);
  color: var(--white);
  border-radius: 24px;
  margin-bottom: 24px;
}

.scuole-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.scuole-cta-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
}
