@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");
/* --- Reset & Variables --- */
:root {
  --bg-megamenu: rgba(23, 30, 33, 0.9);
  --text-main: #ffffff;
  --text-muted: #cbd5e1;
  --accent-color: #83b7a5;
  --accent-hover:  #bee1d6;
  --border-color: rgba(255, 255, 255, 0.1);
  --header-height: 80px;
}

/* --- Fixed Transparent Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  /*background: linear-gradient(180deg, rgba(2, 6, 23, 0.8) 0%, rgba(2, 6, 23, 0) 100%);
  border-bottom: 1px solid var(--border-color);*/
  background-color: var(--bg-megamenu);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  backdrop-filter: blur(8px);
}
.nav-container a {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}
.nav-container {
  max-width: 1806px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --- 1. Logo (Left) --- */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  z-index: 1001;
}

.logo-icon {
  width: 32px;
  height: 32px;
  color: var(--accent-color);
}

.logo-text {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 1.5px;
}

/* --- 2. Navigation (Center - Desktop) --- */
.main-nav {
  height: 100%;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  height: 100%;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.0rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
  height: 100%;
  text-transform: uppercase;
}

.nav-link:hover {
  color: var(--text-main);
}

.chevron-icon {
  transition: transform 0.25s ease;
}

.has-megamenu:hover .chevron-icon,
.yes-dropdown:hover .chevron-icon {
  transform: rotate(180deg);
}

/* --- Standard Submenu Dropdown --- */
.dropdown-submenu {
  position: absolute;
  top: var(--header-height);
  left: 0;
  min-width: 230px;
  background-color: var(--bg-megamenu);
  border: 1px solid var(--border-color);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  list-style: none;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease-in-out;
  pointer-events: none;
}

.yes-dropdown:hover .dropdown-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-item {
  display: block;
  padding: 10px 20px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1.0rem;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease;
  text-transform: uppercase;
}

.dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--accent-color);
}

/* --- Mega Menu Dropdown --- */
.has-megamenu {
  position: static;
}

.megamenu {
  position: absolute;
  top: var(--header-height);
  left: 0;
  right:0;
  margin:0 auto;
  width: 1000px;
  /*background-color: var(--bg-megamenu);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);*/
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease-in-out;
  pointer-events: none;
  backdrop-filter: blur(12px);
}

.has-megamenu:hover .megamenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.megamenu-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 24px;
  background-color: var(--bg-megamenu);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.5);
  border-radius: 0 0 10px 10px;
}

.models-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.model-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 450px;
  transition: transform 0.3s ease;
}

.model-name {
  color: var(--text-main);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

.model-image-wrapper {
  width: 100%;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.model-image-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.6));
}

.model-item:hover .model-image-wrapper img {
  transform: scale(1.05);
}

.model-item:hover .model-name {
  color: var(--accent-color);
}

.model-links {
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
}

.model-action-link {
  border: 1px solid var(--brand-light);
  background-color: var(--transparent);
  color: var(--brand-light);
  text-align: center;
  text-transform: uppercase;
  justify-content: center;
  align-items: center;
  height: 40px;
  padding: 10px 20px 8px;
  line-height: 120%;
  text-decoration: none;
  transition: opacity 0.2s;
  display: flex;
  font-size: 1.0rem;
  font-weight: 500;
  transition: color 0.2s ease;
  border-radius: 5px;
}


.model-action-link:hover {
  color: var(--accent-color);
}

.link-divider {
  color: var(--border-color);
  font-size: 0.85rem;
}

/* --- 3. Header Actions (Right) --- */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 1001;
}

.btn-primary {
  background-color: var(--accent-color);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* --- Hero Section --- */
.home-hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.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: rgba(2, 6, 23, 0.45);
  z-index: 2;
}
/*
.hero-mhero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
  margin-top: 40px;
}*/
.hero-mhero-content {
    z-index: 2;
    text-align: center;
    flex-flow: column;
    display: flex;
    position: absolute;
    top: 50%;
    left: 50%;
  transform: translate(-50%, -50%);
}
.hero-subtitle {
  color: var(--accent-color);
  font-size: 1.30rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 16px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.btn-hero-primary {
  background-color: var(--accent-color);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.btn-hero-primary:hover {
  background-color: var(--brand-teal-light);
}

.btn-hero-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  backdrop-filter: blur(4px);
  transition: background-color 0.2s ease;
}

.btn-hero-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* --- Responsive (Mobile & Tablet) --- */
@media (max-width: 1200px) {
  .hamburger {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: #171e21;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    padding: 24px;
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    gap: 0;
    padding-left:0;
    padding-right:0;
  }
  
  .nav-item {
    width: 100%;
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-link {
    width: 100%;
    padding: 18px 0;
    justify-content: space-between;
    font-size: 1.1rem;
  }

  /* Mobile Accordion Logic for Mega Menu & Dropdown */
  .megamenu,
  .dropdown-submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background-color: transparent;
    border: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    pointer-events: auto;
    backdrop-filter: none;
    padding: 0;
    width: 100%;
  }

  .has-megamenu.mobile-open .megamenu,
  .yes-dropdown.mobile-open .dropdown-submenu {
    max-height: 800px;
  }

  .has-megamenu.mobile-open .chevron-icon,
  .yes-dropdown.mobile-open .chevron-icon {
    transform: rotate(180deg);
  }

  .dropdown-item {
    padding: 12px 16px;
    font-size: 1rem;
  }

  .megamenu-inner {
    padding: 10px 0 24px;
  }

  .models-grid {
    flex-direction: column;
    gap: 36px;
  }

  .model-item {
    width: 100%;
  }
  .model-image-wrapper {
    height: 200px;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .btn-primary {
    font-size: 0.8rem;
    padding: 8px 12px;
  }
}
@media screen and (max-width: 1250px) {
  .logo-mobile {
    display: block;
  }
  .logo-desktop {
    display: none;
  }
}
