/* HEADER */
.header {
  background: var(--color-bg);
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header__left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header__domain {
  font-size: var(--fs-lg);
  color: var(--color-dark);
  font-weight: bold;
}

.logo-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  border: 2px solid var(--color-green-button);
}

/* Desktop Navigation */
.header__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header__nav-link {
  font-size: var(--fs-base);
  color: var(--color-green-button);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  padding: 0.5rem 0;
  position: relative;
}

.header__nav-link:hover {
  color: var(--color-heading-green);
  font-weight: 600;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-heading-green);
  transition: width 0.3s ease;
}

.header__nav-link:hover::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.header__mobile-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
  gap: 4px;
}

.header__mobile-toggle span {
  width: 25px;
  height: 3px;
  background: var(--color-green-button);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.header__mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.header__mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.header__mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
.header__mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--color-dark-card-bg);
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.header__mobile-nav.active {
  right: 0;
}

.header__mobile-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--color-heading-green);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  margin-bottom: 1rem;
}

.header__mobile-nav-link {
  color: #eee;
  text-decoration: none;
  font-size: var(--fs-md);
  font-weight: 500;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.header__mobile-nav-link:hover {
  color: var(--color-heading-green);
  padding-left: 1rem;
}

/* Mobile Overlay */
.header__mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.header__mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* HERO SECTION */
.hero {
  background: var(--color-bg);
  padding: 3rem 0;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.hero__visual img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-heading-green);
  margin: 0;
}

.hero__text {
  font-size: var(--fs-base);
  color: var(--color-secondary);
  line-height: var(--line-height);
  max-width: 1000px;
}

.hero__intro-text {
  font-size: var(--fs-md);
}

/* Tablet & up – keep layout centered */
@media (min-width: 768px) {
  .hero__inner {
    gap: 3rem;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .header__nav {
    display: none;
  }
  
  .header__mobile-toggle {
    display: flex;
  }
  
  .header__inner {
    gap: 1rem;
  }
  
  .header__domain {
    font-size: var(--fs-base);
  }
  
  .logo-img {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .header__inner {
    padding: 0 1rem;
  }
  
  .header__domain {
    font-size: var(--fs-sm);
  }
  
  .logo-img {
    width: 45px;
    height: 45px;
  }
}