:root {
  --primary: #ecffe7;
  --green-2: #c8e6c9;
  --secondary: #216c34;
  --accent: #7edf6c;
  --text-dark: #1d1d1d;
  --text-light: #ffffff;
  --glass-bg: rgba(200, 230, 201, 0.9);
  --glass-border: rgba(255, 255, 255, 0.5);
  --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

body {
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--primary);
  color: var(--text-dark);
  line-height: 1.6;
}

h1,
h2,
h3 {
  color: var(--secondary);
  font-weight: 700;
}

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

/* Header */
header {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo img {
  height: 120px;
  width: auto;
  vertical-align: middle;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.menu-toggle {
  display: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--secondary);
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent);
}

.btn-nav {
  padding: 8px 15px;
  background-color: var(--secondary);
  color: white !important;
  border-radius: 20px;
  transition: all 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-nav:hover {
  background-color: #1a562a;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
/* Hero Szekció */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6rem 0;
  min-height: 80vh;
}

.hero-content {
  flex: 1;
  padding-right: 2rem;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #555;
}

.hero-benefits {
  list-style: none;
  padding: 0;
  margin-bottom: 2.5rem;
}

.hero-benefits li {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.btn {
  display: inline-block;
  padding: 14px 35px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
  cursor: pointer;
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background: #1a562a;
  box-shadow: 0 5px 15px rgba(33, 108, 52, 0.4);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--secondary);
  color: white;
  transform: translateY(-2px);
}

.btn-light {
  background: white;
  color: var(--secondary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
  background: #f8f8f8;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.2rem;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

/* Szolgáltatások / Modulok */
.features {
  padding: 5rem 0;
  background: var(--primary);
}

.features h2,
.showcase h2,
.contact-info h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 2.5rem;
  background: var(--green-2);
  border-radius: 20px;
  transition: transform 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.feature-card p {
  color: #555;
}

/* Rendszerbemutató (Showcase) */
.showcase {
  padding: 5rem 0;
  text-align: center;
  background: linear-gradient(to bottom, var(--primary), var(--green-2));
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
}

.showcase-item {
  background: linear-gradient(to bottom, var(--green-2), var(--primary));
  padding: 1rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.showcase-item img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.showcase-item:hover img {
  transform: scale(1.02);
}

.showcase-item h3 {
  margin-top: 1.5rem;
  color: var(--secondary);
}

.showcase-item p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  max-width: 90%;
  margin: 0 auto;
}

/* Start Section */
.start-section {
  padding: 5rem 0;
  background: var(--primary);
  display: flex;
  justify-content: center;
}

.start-card {
  background: linear-gradient(135deg, var(--secondary), #2d8a42);
  border-radius: 25px;
  padding: 3rem;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(33, 108, 52, 0.3);
  position: relative;
  overflow: hidden;
}

.start-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" stroke="rgba(255,255,255,0.1)" stroke-width="2" fill="none"/></svg>')
    repeat;
  opacity: 0.5;
}

.start-content {
  flex: 2;
  position: relative;
  z-index: 1;
}

.start-content h2 {
  color: white;
  margin-bottom: 1rem;
  font-size: 2.2rem;
  text-align: left;
}

.start-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  max-width: 90%;
}

.start-action {
  flex: 1;
  text-align: right;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .start-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }

  .start-content,
  .start-action {
    text-align: center;
  }

  .start-content h2 {
    text-align: center;
    font-size: 1.8rem;
  }

  .start-action {
    margin-top: 1.5rem;
  }
}

/* Kapcsolat Szekció */
#contact {
  padding: 5rem 0;
  background: var(--green-2);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
}

.contact-info li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.contact-form {
  background: var(--primary);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.8);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  background: white;
}

/* Lábléc */
footer {
  background: var(--secondary);
  color: white;
  padding: 3rem 0;
  text-align: center;
  margin-top: auto;
}

footer p {
  opacity: 0.8;
}

.feature-list {
  text-align: left;
  margin-top: 15px;
  color: #555;
  padding-left: 1.2rem;
}

.feature-list li {
  margin-bottom: 0.5rem;
}

/* Responsive */
/* Responsive */
@media (max-width: 768px) {
  /* Navbar */
  .logo img {
      height: 60px; /* Reduce size on mobile */
  }
  
  .menu-toggle {
    display: block;
    cursor: pointer;
    padding: 10px;
    width: 45px;
    height: 45px;
    position: relative;
    z-index: 1001;
    background: none;
    border: none;
    outline: none;
    /* Ensure spans stack vertically */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px; /* Manual gap if needed, or rely on margin */
  }

  .menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    /* margin: 5px auto;  Removed in favor of flex gap */
    transition: all 0.3s ease-in-out;
    background-color: var(--secondary);
    border-radius: 2px;
  }

  .nav-links {
    position: fixed;
    left: -100%;
    top: 80px; /* Adjust based on header height */
    flex-direction: column;
    background: var(--primary); /* Solid background */
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem 0;
    gap: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-links.active {
    left: 0;
  }

  /* Hamburger Animation */
  .menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Hero */
  .hero {
    flex-direction: column;
    padding-top: 2rem;
    text-align: center;
  }

  .hero-content {
    padding-right: 0;
    margin-bottom: 3rem;
  }

  .hero h1 {
    font-size: 2.2rem; /* Reduced size */
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }

  .hero-benefits li {
    justify-content: center;
    font-size: 1rem;
    text-align: left; /* Keep icons aligned */
    display: flex;
    align-items: flex-start;
  }

  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-actions .btn {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  /* Container Padding */
  .container {
    padding: 0 1.5rem;
  }

  /* Features & Grid */
  .features-grid,
  .showcase-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-wrapper {
    gap: 2rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  /* Typography Adjustments */
  .features h2,
  .showcase h2,
  .contact-info h2,
  .about h2,
  .process h2,
  .start-content h2 {
    font-size: 2rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  /* Start Section already has a media query block, merging logic here effectively */
}

/* Rólunk Szekció */
.about {
  padding: 5rem 0;
  background: var(--green-2);
}

.about h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: center;
}

.about-card {
  padding: 2rem;
  background: var(--primary);
  border-radius: 20px;
  transition: transform 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.about-card:hover {
  transform: translateY(-5px);
}

.about-card .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.about-card h3 {
  margin-bottom: 1rem;
  color: var(--secondary);
}

.about-card p {
  color: #555;
  font-size: 1rem;
}

/* Folyamat Szekció */
.process {
  padding: 5rem 0;
  background: var(--green-2);
}

.process h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  text-align: center;
}

.step {
  flex: 1;
  min-width: 200px;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--secondary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow);
}

.step h3 {
  margin-bottom: 1rem;
}

.step p {
  color: #555;
  font-size: 0.95rem;
}

/* Responsive Process */
@media (max-width: 768px) {
  .process-steps {
    flex-direction: column;
  }
}



/* Responsive Lightbox */
@media only screen and (max-width: 700px) {
  .lightbox-content {
    width: 95%;
  }
}
