/* LE-ONE Official Website Stylesheet
 * Brand Colors:
 * Dark Base: #0a0a0a / #121212 / #1a1a1a
 * Gold LE-ONE: #b89742
 * Orange '1': #d9531e
 * Green Accent: #9acd32
 * Light Text / Gray: #f0f0f0, #a0a0a0, #222222
 */

:root {
  --bg-dark: #0a0a0a;
  --bg-card: #141414;
  --bg-card-hover: #1f1f1f;
  --gold-primary: #b89742;
  --gold-light: #d4af37;
  --orange-accent: #d9531e;
  --green-accent: #88c025;
  --text-main: #f5f5f5;
  --text-muted: #aaaaaa;
  --border-color: #262626;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-container img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 25px;
  align-items: center;
}

.nav-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  position: relative;
  padding: 5px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--gold-primary);
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--gold-primary);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.mobile-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-align: center;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-primary), #8c6e26);
  color: #fff;
  box-shadow: 0 4px 15px rgba(184, 151, 66, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #d4af37, var(--gold-primary));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 151, 66, 0.4);
}

.btn-outline {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--gold-primary);
  color: #000;
  transform: translateY(-2px);
}

.btn-orange {
  background-color: var(--orange-accent);
  color: #fff;
}

.btn-orange:hover {
  background-color: #b83f12;
  transform: translateY(-2px);
}

/* Video Hero Banner (Homepage) */
.hero-video-section {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 550px;
  margin-top: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10,10,10,0.65) 0%, rgba(10,10,10,0.85) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.hero-subtitle {
  color: var(--gold-primary);
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #ffffff, #dddddd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Page Header (Internal Pages) */
.page-header {
  margin-top: 74px;
  padding: 70px 0 50px;
  background: linear-gradient(180deg, #181818 0%, var(--bg-dark) 100%);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  color: var(--text-main);
  margin-bottom: 15px;
}

.page-header p {
  color: var(--gold-primary);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Sections */
.section {
  padding: 80px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.2rem;
  color: var(--text-main);
  margin-bottom: 10px;
}

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

.section-title p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 650px;
  margin: 0 auto;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Cards & Components */
.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 30px;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-primary);
  background-color: var(--bg-card-hover);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--gold-primary);
  margin-bottom: 15px;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text-main);
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}


/* map container */
.map-container {
  width: 100%;
  max-width: 800px; /* Imposta la larghezza massima desiderata */
  margin: 20px auto; /* Centra la mappa nella pagina */
}

/* Stile dell'iframe */
.map-container iframe {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Aggiunge un'ombra sfumata */
  display: block; /* Elimina spazi vuoti indesiderati sotto l'iframe */
}

/* Stile per il testo sotto la mappa */
.map-container small {
  display: block;
  margin-top: 8px;
  text-align: right;
  font-size: 14px;
}

.map-container small a {
  color: #0066cc;
  text-decoration: none;
  font-weight: 500;
}

.map-container small a:hover {
  text-decoration: underline;
}

/* Image Containers & Placeholders */
.img-wrapper {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  position: relative;
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.img-wrapper:hover img {
  transform: scale(1.03);
}

.placeholder-box {
  background: linear-gradient(135deg, #1f1f1f, #121212);
  border: 2px dashed var(--border-color);
  border-radius: 8px;
  padding: 40px 20px;
  text-align: center;
  color: var(--text-muted);
  margin-top: 15px;
}

.placeholder-box i {
  font-size: 2rem;
  color: var(--gold-primary);
  margin-bottom: 10px;
  display: block;
}

/* Features List */
.feature-list {
  list-style: none;
  margin: 20px 0;
}

.feature-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--text-main);
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-accent);
  font-weight: bold;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  background-color: #1a1a1a;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: #fff;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-primary);
  background-color: #222;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
footer {
  background-color: #050505;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.footer-about img {
  height: 45px;
  margin-bottom: 15px;
}

.footer-links h4, .footer-contact h4 {
  color: var(--text-main);
  margin-bottom: 15px;
  font-size: 1.05rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }
  .hero-video-section {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #0f0f0f;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
  }
  .nav-menu.show {
    display: flex;
  }
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
