header { background: #0077cc; color: white; padding: 2rem; position: relative; text-align: center; }
header h1 { margin: 1rem 0 1rem; }
header p { font-size: 1.2rem; }
.cta-buttons a { display: inline-block; margin: 1rem 0.5rem; padding: 1rem 2rem; background: white; color: #0077cc; border-radius: 8px; text-decoration: none; font-weight: bold; }
.cta-buttons a.primary { background: #00aa88; color: white; }

.texts { padding: 2rem; max-width: 900px; margin: auto; }
.texts h2 { color: #0077cc; margin-top: 0; }
.texts ul { padding-left: 1.2rem; }
.texts blockquote { font-style: italic; color: #555; border-left: 4px solid #ccc; padding-left: 1rem; margin: 1rem 0; }

footer {
    text-align: center;
    font-size: 0.9rem;
    padding: 20px;
    background-color: #f1f1f1;
}
footer a {
    color: #006d77;
    margin: 0 10px;
}
    
.with-image {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.with-image .text-content {
  flex: 2 1 60%;
  min-width: 280px;
}

.with-image .image-content {
  flex: 1 1 30%;
  min-width: 200px;
  max-width: 300px;
}

.with-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.left-image .image-content { order: 0; }
.left-image .text-content { order: 1; }
.right-image .text-content { order: 0; }
.right-image .image-content { order: 1; }

@media (max-width: 768px) {
  .with-image {
    flex-direction: column;
  }
  .with-image .image-content, .with-image .text-content {
    order: 0 !important;
    flex: 1 1 100%;
  }
}

.site-logo {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 10;
}

.site-logo img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 16px; /* vagy 1rem, ha az jobban illik */
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

/* Mobil nézet finomítás */
@media (max-width: 768px) {
    .title-block {
        margin-top: 80px;
    }  
    
  .site-logo {
    top: 0.5rem;
    left: 0.5rem;
  }

  .site-logo img {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 768px) {
  .with-image {
    flex-direction: column !important;
  }

  .with-image.left-image .text-content,
  .with-image.right-image .text-content {
    order: 1 !important;
  }

  .with-image.left-image .image-content,
  .with-image.right-image .image-content {
    order: 2 !important;
  }

  .with-image .text-content,
  .with-image .image-content {
    flex: 1 1 100%;
    max-width: 300px;
  }
}

.regist { 
  max-width: 500px; 
  margin: 5rem auto; 
  background: #fff; 
  padding: 2rem; 
  border-radius: 8px; 
  box-shadow: 0 0 20px rgba(0,0,0,0.05); 
}

.regist h1 { 
  text-align: center; 
  color: #0077cc; 
}
.regist form { 
  display: flex; 
  flex-direction: 
  column; 
}
.regist label { 
  margin-top: 1rem; 
  font-weight: bold; 
}
.regist input {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}
.regist input[type="text"],
.regist input[type="email"],
.regist input[type="password"] {
     width: 100%;
     padding: 10px;
     margin-top: 5px;
     border: 1px solid #ccc;
     border-radius: 4px;
   }
.regist .checkbox {
      display: flex;
      align-items: center;
      margin-top: 15px;
    }
.regist .checkbox input {
      margin-right: 10px;
    }
.regist .checkbox label {
      font-weight: normal;
    }
.regist .legal-links {
      margin-top: 10px;
      font-size: 0.9rem;
      text-align: center;
    }
.regist .legal-links a {
      color: #006d77;
      text-decoration: underline;
      margin: 0 5px;
    }    
.regist button {
  margin-top: 2rem;
  background: #00aa88;
  color: white;
  padding: 0.8rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
}

.hero-success { background:#e8fff4; border:1px solid #c6f2dc; border-radius:12px; padding:1.5rem; margin:2rem auto; max-width:980px; }
.hero-success h1 { color:#0077cc; margin:0 0 .5rem; }
.hero-success p { margin:.25rem 0; }

.packages { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; padding: 2rem; background: #fff; }
.package { position:relative; background: #f0f0f0; padding: 1.5rem; border-radius: 12px; width: 300px; box-shadow: 0 0 10px rgba(0,0,0,0.05); }
.package h3 { margin-top: 0; }
.package ul { padding-left: 1.2rem; }
.package .price { font-size: 1.4rem; font-weight: bold; margin: 1rem 0; }
.package a { display: inline-block; margin-top: 1rem; background: #0077cc; color: white; padding: 0.8rem 1.2rem; text-decoration: none; border-radius: 6px; }
.package.free { background: #e6f7ec; }
.package.basic { background: #e6f0fa; }
.package.premium { background: #f6e6fa; }
.package .sub { font-size:.9rem; color:#555; margin-top:-.25rem; }
.package .ribbon { position:absolute; top:-10px; right:-10px; background:#ffb703; color:#1f2937; font-weight:700; padding:.35rem .6rem; border-radius:8px; }

.package-btn {
  display: inline-block;
  margin-top: 1rem;
  background: #0077cc;
  color: white;
  padding: 0.8rem 1.2rem;
  text-decoration: none;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font: inherit; /* A szöveg ugyanúgy nézzen ki, mint máshol */
}

.package-btn:hover {
  background: #005fa3; /* kicsit sötétebb hoverre */
}

.modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); justify-content: center; align-items: center; }
.modal-content { background: #fff; padding: 20px; max-width: 800px; width: 90%; border-radius: 12px; overflow-y: auto; max-height: 90vh; }
.modal-content .container{ 
    max-width: 800px;
    margin: 0;
    padding: 1rem;
}
.modal-content .container h1 { 
  text-align: center; 
  color: #0077cc; 
}


