/* ============================================================
   GLADIUS SA – Main Stylesheet
   Reference: gladiusmineralsltd.com
   Font: Roboto (Google Fonts)
   Colors: Bordeaux #6B1A2A | Gold #FDBF38 | Dark #1B1B1B
   Header: White background, dark nav links
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,600;0,700;0,900;1,300;1,400;1,700&display=swap');

:root {
  --bordeaux:    #6B1A2A;
  --bordeaux-dk: #4A1020;
  --gold:        #FDBF38;
  --gold-lt:     #FFD166;
  --dark:        #1B1B1B;
  --dark-2:      #1A1A1A;
  --dark-3:      #242424;
  --light:       #F8F6F2;
  --text:        #1B1B1B;
  --text-muted:  #555555;
  --white:       #FFFFFF;
  --radius:      4px;
  --shadow:      0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:   0 8px 48px rgba(0,0,0,0.18);
  --transition:  0.3s ease;
  --font:        'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: 96px 0; }
.text-center { text-align: center; }

.section-eyebrow {
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
  margin-bottom: 24px;
}

.section-intro {
  max-width: 700px;
  margin: 0 auto 56px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 40px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-lt);
  border-color: var(--gold-lt);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(253,191,56,0.4);
}

.btn-full { width: 100%; text-align: center; }

/* ===== NAVBAR ===== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: box-shadow var(--transition);
}

#header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.14);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 32px;
}

/* Logo grande come nel sito di riferimento */
.nav-logo img {
  height: 100px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--bordeaux);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2.5px;
  background: var(--bordeaux);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('hero-bg.jpg') center center / cover no-repeat;
  overflow: hidden;
  /* Offset per l'header fisso */
  padding-top: 124px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(107,26,42,0.85) 0%,
    rgba(13,13,13,0.80) 55%,
    rgba(13,13,13,0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 32px 80px;
}

.hero-eyebrow {
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--gold);
  display: block;
}

.hero-subtitle {
  font-family: var(--font);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin-bottom: 44px;
  font-weight: 300;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll-indicator span {
  display: block;
  width: 2px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ===== ABOUT ===== */
.about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-text .section-title {
  color: var(--gold);
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 400;
}

.about-text p strong { color: var(--bordeaux); font-weight: 700; }
.about-text p em { color: var(--gold); font-style: italic; }

.disclaimer-box {
  margin-top: 28px;
  padding: 20px 24px;
  border-left: 4px solid var(--bordeaux);
  background: rgba(107,26,42,0.04);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.disclaimer-box p {
  font-size: 0.9rem !important;
  color: var(--text-muted) !important;
  margin-bottom: 0 !important;
  line-height: 1.7;
}

.disclaimer-box p strong {
  color: var(--bordeaux) !important;
  font-weight: 700;
}

.about-image { position: relative; }

.about-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.about-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--bordeaux);
  color: var(--white);
  padding: 24px 28px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}

.badge-year {
  display: block;
  font-family: var(--font);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.badge-text {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 4px;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

/* ===== BANNER DIVIDER ===== */
.banner-divider {
  background: var(--bordeaux);
  padding: 44px 0;
  text-align: center;
}

.banner-text {
  font-family: var(--font);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--white);
  font-weight: 400;
}

.banner-text span {
  color: var(--gold);
  font-style: italic;
  font-weight: 700;
}

/* ===== SERVICES ===== */
.services { background: var(--light); }

.services .section-title { color: var(--gold); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(107,26,42,0.10);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(107,26,42,0.18);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 52px; height: 52px;
  color: var(--bordeaux);
  margin-bottom: 24px;
}

.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--bordeaux);
  margin-bottom: 14px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-weight: 400;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  position: relative;
  padding: 100px 0;
  background: url('handshake.jpg') center center / cover no-repeat;
  text-align: center;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,13,13,0.78);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-family: var(--font);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  max-width: 760px;
  margin: 0 auto 36px;
  line-height: 1.3;
}

.cta-content h2 span { color: var(--gold); }

/* ===== GROUP ===== */
.group { background: var(--dark-2); }

.group .section-eyebrow { color: var(--gold); }
.group .section-title { color: var(--gold); }
.group .section-intro { color: rgba(255,255,255,0.6); }

.group-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.group-card {
  background: var(--dark-3);
  border: 1px solid rgba(253,191,56,0.15);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
}

.group-card:hover {
  border-color: rgba(253,191,56,0.45);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.group-card.featured {
  border-color: rgba(253,191,56,0.35);
  background: linear-gradient(135deg, rgba(107,26,42,0.25), var(--dark-3));
}

.group-card-header { margin-bottom: 16px; }

.group-flag { font-size: 2rem; margin-bottom: 10px; }

.group-card h3 {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}

.group-country {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}

.group-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 18px;
  font-weight: 400;
}

.group-link {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  transition: color var(--transition);
}
.group-link:hover { color: var(--gold-lt); }

/* ===== INVITATION ===== */
.invitation-section {
  background: var(--bordeaux-dk);
  padding: 80px 0;
}

.invitation-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 860px;
  margin: 0 auto;
}

.invitation-icon {
  flex-shrink: 0;
  width: 80px; height: 80px;
  color: var(--gold);
  opacity: 0.9;
}
.invitation-icon svg { width: 100%; height: 100%; }

.invitation-text h2 {
  font-family: var(--font);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.invitation-subtitle {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 700;
}

.invitation-text p {
  color: rgba(255,255,255,0.72);
  font-size: 0.97rem;
  line-height: 1.75;
  font-weight: 400;
}

/* ===== CONTACT ===== */
.contact { background: var(--light); }
.contact .section-title { color: var(--gold); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 72px;
  margin-top: 56px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 32px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.contact-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  color: var(--bordeaux);
  margin-top: 2px;
}
.contact-icon svg { width: 100%; height: 100%; }

.contact-item h4 {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
  font-weight: 700;
}

.contact-item p,
.contact-item a {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 400;
}
.contact-item a:hover { color: var(--bordeaux); }

/* ===== CONTACT MAP ===== */
.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: none;
}

/* ===== FORM ===== */
.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 40px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(107,26,42,0.2);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--bordeaux);
  box-shadow: 0 0 0 3px rgba(107,26,42,0.08);
}

.form-group textarea { resize: vertical; }

/* ===== FOOTER ===== */
.footer {
  background: var(--white);
  padding: 72px 0 0;
  color: var(--text);
  border-top: 1px solid rgba(107,26,42,0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(107,26,42,0.12);
}

.footer-logo {
  height: 80px;
  width: auto;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
  font-weight: 400;
}

.footer-address {
  font-size: 0.88rem !important;
  color: var(--text-muted) !important;
  margin-top: 6px !important;
}

.footer-address a {
  color: var(--bordeaux) !important;
  font-weight: 500;
  transition: color var(--transition);
}

.footer-address a:hover {
  color: var(--gold) !important;
}

.footer-nav h4,
.footer-group h4 {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bordeaux);
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-nav ul li,
.footer-group ul li { margin-bottom: 10px; }

.footer-nav a,
.footer-group a,
.footer-group li {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition);
  font-weight: 400;
}

.footer-nav a:hover,
.footer-group a:hover { color: var(--bordeaux); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* ===== AOS ANIMATIONS ===== */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="500"] { transition-delay: 0.5s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-image { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .group-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    padding: 48px 32px;
    transition: right var(--transition);
    z-index: 999;
    box-shadow: -4px 0 24px rgba(0,0,0,0.12);
  }

  .nav-links.open { right: 0; }
  .nav-links a { color: var(--bordeaux); font-size: 1.1rem; }

  .services-grid { grid-template-columns: 1fr; }
  .group-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .invitation-inner { flex-direction: column; text-align: center; }
  .contact-form-wrapper { padding: 32px 24px; }

  .nav-logo img { height: 72px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.4rem; }
  .section-title { font-size: 1.7rem; }
  .about-badge { display: none; }
  .navbar { padding: 12px 20px; }
  .nav-logo img { height: 60px; }
}
