/* Változók */
:root {
  --primary-color: #0078d7;
  --secondary-color: #f4f4f4;
  --text-color: #333;
  --font-family: "Arial", sans-serif;
  --header-height: 70px;
  --footer-bg: #222;
  --footer-text: #fff;
  --menu-bg: rgba(255, 255, 255, 0.1);
  --menu-hover-bg: rgba(255, 255, 255, 0.2);
  --logo-size: 50px;
}

/* Alap stílusok */
body {
  margin: 0;
  font-family: var(--font-family);
  color: var(--text-color);
  line-height: 1.6;
}

* {
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: auto;
}

h3 {
  margin-bottom: 2rem;
}

header {
  line-height: 1.75;
  height: 100%;
  background-color: #111;
  color: #f8f8f8;
}

.container {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 1.5;
  margin: 0 auto;
  padding: 5%;
}

/* Series of <span>'s with colors that fade out */
span {
  height: 18px;
  width: 100%;
}

span:nth-of-type(1) {
  background-color: #f87171;
  box-shadow: 0 0 12px 2px #f87171; /* adds blur to smooth color transitions */
  margin-top: -2px; /* layers it on top of the previous <span> */
}

span:nth-of-type(2) {
  opacity: 0.8;
  background-color: #fecaca;
  box-shadow: 0 0 12px 2px #fecaca;
  margin-top: -2px;
}

span:nth-of-type(3) {
  opacity: 0.6;
  background-color: #fef2f2;
  box-shadow: inset 0 0 12px 2px #fef2f2;
  margin-top: -2px;
}

section {
  overflow: hidden;
  height: 100%;
}

/* A kép reszponzívvá tétele */
.container img {
  max-width: 100%; /* Kép nem lesz nagyobb a szülő konténernél */
  height: auto; /* Megőrzi a képarányokat */
  display: inline-block; /* Biztosítja, hogy ne legyen blokkoló elem */
}

#section1 {
  background-color: #f1f5f8; /* Háttérszín beállítása */
  display: flex;
  align-items: center;
  justify-content: center;
}

#section2 {
  background-color: #f59e0b;
  padding: 5%;
  transform: skew(0, -2deg); /* makes the section slanted/skewed */
}

#section3 {
  background-color: #1f2937;
  height: 100%;
  color: #f2f2f2;
  margin-top: -5%;
  padding-top: 8%;
  padding-bottom: 8%;
  overflow: hidden;
}

svg {
  overflow: hidden;
  margin-top: -4rem;
  margin-left: -1rem;
  z-index: 1000;
}

#section4 {
  background-color: #f9fafb;
  margin-top: -10%;
  padding-top: 10%;
  padding-bottom: 12%;
}

/* Wavy background for footer */
.footer-bg {
  background-color: #130101;
  position: relative;
  margin-top: -18%;
  overflow: hidden;
  z-index: 100;
  height: 300px;
  clip-path: polygon(
    0% 65%,
    1% 64.95%,
    2% 64.8%,
    3% 64.6%,
    4% 64.3%,
    5% 63.9%,
    6% 63.45%,
    7% 62.9%,
    8% 62.25%,
    9% 61.55%,
    10% 60.8%,
    11% 59.95%,
    12% 59.05%,
    13% 58.1%,
    14% 57.1%,
    15% 56.05%,
    16% 55%,
    17% 53.9%,
    18% 52.8%,
    19% 51.65%,
    20% 50.5%,
    21% 49.35%,
    22% 48.2%,
    23% 47.05%,
    24% 45.9%,
    25% 44.8%,
    26% 43.75%,
    27% 42.75%,
    28% 41.75%,
    29% 40.8%,
    30% 39.9%,
    31% 39.1%,
    32% 38.35%,
    33% 37.65%,
    34% 37.05%,
    35% 36.5%,
    36% 36.05%,
    37% 35.65%,
    38% 35.35%,
    39% 35.15%,
    40% 35.05%,
    41% 35%,
    42% 35.05%,
    43% 35.2%,
    44% 35.45%,
    45% 35.75%,
    46% 36.15%,
    47% 36.65%,
    48% 37.2%,
    49% 37.85%,
    50% 38.55%,
    51% 39.35%,
    52% 40.2%,
    53% 41.1%,
    54% 42.05%,
    55% 43.05%,
    56% 44.1%,
    57% 45.15%,
    58% 46.3%,
    59% 47.4%,
    60% 48.55%,
    61% 49.7%,
    62% 50.85%,
    63% 52%,
    64% 53.15%,
    65% 54.25%,
    66% 55.35%,
    67% 56.4%,
    68% 57.45%,
    69% 58.4%,
    70% 59.35%,
    71% 60.2%,
    72% 61.05%,
    73% 61.8%,
    74% 62.45%,
    75% 63.05%,
    76% 63.6%,
    77% 64.05%,
    78% 64.4%,
    79% 64.7%,
    80% 64.85%,
    81% 65%,
    82% 65%,
    83% 64.9%,
    84% 64.75%,
    85% 64.5%,
    86% 64.2%,
    87% 63.75%,
    88% 63.25%,
    89% 62.7%,
    90% 62.05%,
    91% 61.3%,
    92% 60.5%,
    93% 59.65%,
    94% 58.75%,
    95% 57.8%,
    96% 56.8%,
    97% 55.75%,
    98% 54.65%,
    99% 53.55%,
    100% 52.4%,
    100% 100%,
    0% 100%
  );
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 1.5;
  height: 100px;
  margin-top: -5px;
  background-color: #0a0101;
  color: #fff;
}

@media screen and (max-width: 1024px) {
  .container {
    width: 90vw;
    padding: 5% 5px;
  }

  header,
  section {
    height: 100%;
  }

  header .container {
    float: none;
    text-align: center;
    padding: 5% 5px;
  }

  #section2 {
    padding: 0 5px;
  }

  #section3 {
    margin-top: -8%;
    padding-bottom: 20%;
  }

  #section4 {
    padding-bottom: 20%;
  }

  .footer-bg {
    height: 200px;
    margin-top: -30%;
  }
}

@media screen and (max-width: 400px) {
  .footer-bg {
    margin-top: -35%;
  }
}

ul {
  list-style: none;
  padding-left: 5%;
}
.top-ul {
  margin: 10% 0 70%;
}

li {
  color: rgb(0, 0, 0);
  margin: 0 0 10px 0;

  font-size: 1.4em;
}

.nav-list {
  color: #fff;
}

.nav-menu {
  position: fixed;
  z-index: 2222;
  width: 320px;
  height: 100%;
  background: #111;
  border-right: solid orange 1px;

  left: -322px;

  transition: all 0.2s ease-out;
}

.show {
  left: 0px;
}

/* Burger Menu */
.burger-menu-container {
  display: flex;
  justify-content: flex-end;
}

.nav-menu-btn {
  display: block;
  cursor: pointer;

  padding: 20px;
}

.bar1,
.bar2,
.bar3 {
  width: 35px;
  height: 5px;
  background: #fff;
  margin: 0px 10px 6px;

  transition: 0.4s;
}

.change .bar1 {
  -webkit-transform: rotate(-45deg) translate(-9px, 6px);
  transform: rotate(-45deg) translate(-9px, 6px);
  background: orange;
}

.change .bar2 {
  opacity: 0;
}

.change .bar3 {
  -webkit-transform: rotate(45deg) translate(-8px, -8px);
  transform: rotate(45deg) translate(-8px, -8px);
  background: orange;
}

/* fitting screen */
.main-content {
  height: 100vh;
  width: auto;
}

.text-container {
  height: 100%;

  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

h1 {
  padding: 0;
  margin: 0;

  font-size: 3em;
}
h1,
h3 {
  color: #fff;
  letter-spacing: 2px;
  text-align: center;
}
span {
  color: orange;
}

/* Általános stílusok */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #f9f9f9;
}

/* Szöveges elemek */
h2 {
  color: #0066cc;
  margin-bottom: 20px;
}

h3 {
  color: #004080;
  margin-top: 30px;
  margin-bottom: 15px;
}

p {
  margin-bottom: 15px;
}

ul,
ol {
  margin-left: 20px;
  padding-left: 20px;
}

ul li,
ol li {
  margin-bottom: 10px;
}

/* Karbantartási szekció */
#karbantartas {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
  padding: 30px;
}

/* Listák és elemek */
#karbantartas ul li:before {
  content: "✓";
  color: #00cc66;
  font-weight: bold;
  margin-right: 10px;
}

#karbantartas ol li:before {
  counter-increment: item;
  color: #0066cc;
  font-weight: bold;
  margin-right: 5px;
}

/* Call-to-action kiemelés */
#karbantartas p strong {
  color: #cc3300;
}

/* Tip box */
#karbantartas .tip {
  background: #e6f7ff;
  border-left: 4px solid #0099cc;
  padding: 15px;
  margin: 20px 0;
  font-style: italic;
}

/* Mobilbarát stílusok */
@media (max-width: 768px) {
  #karbantartas {
    padding: 20px;
  }

  h2 {
    font-size: 1.5em;
  }

  h3 {
    font-size: 1.2em;
  }
}

/* Karbantartási szekció */
#beepites {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
  padding: 30px;
}

/* Listák és elemek */
#beepites ul li:before {
  content: "✓";
  color: #00cc66;
  font-weight: bold;
  margin-right: 10px;
}

#beepites ol li:before {
  counter-increment: item;
  color: #0066cc;
  font-weight: bold;
  margin-right: 5px;
}

/* Call-to-action kiemelés */
#beepites p strong {
  color: #cc3300;
}

/* Tip box */
#beepites .tip {
  background: #e6f7ff;
  border-left: 4px solid #0099cc;
  padding: 15px;
  margin: 20px 0;
  font-style: italic;
}

/* Mobilbarát stílusok */
@media (max-width: 768px) {
  #beepites {
    padding: 20px;
  }

  h2 {
    font-size: 1.5em;
  }

  h3 {
    font-size: 1.2em;
  }
}

/* Karbantartási szekció */
#ajanlott-gepek {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
  padding: 30px;
}

/* Listák és elemek */
#ajanlott-gepek ul li:before {
  content: "✓";
  color: #00cc66;
  font-weight: bold;
  margin-right: 10px;
}

#ajanlott-gepek ol li:before {
  counter-increment: item;
  color: #0066cc;
  font-weight: bold;
  margin-right: 5px;
}

/* Call-to-action kiemelés */
#ajanlott-gepek p strong {
  color: #cc3300;
}

/* Tip box */
#ajanlott-gepek .tip {
  background: #e6f7ff;
  border-left: 4px solid #0099cc;
  padding: 15px;
  margin: 20px 0;
  font-style: italic;
}

/* Mobilbarát stílusok */
@media (max-width: 768px) {
  #ajanlott-gepek {
    padding: 20px;
  }

  h2 {
    font-size: 1.5em;
  }

  h3 {
    font-size: 1.2em;
  }
}

/* Animáció alapértelmezett állapota */
.scroll-hidden {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Animáció aktivált állapota */
.scroll-visible {
  opacity: 1;
  transform: translateY(0);
}

#ajanlott-gepek,
#beepites,
#karbantartas,
#klimaszereles-tippek,
#kapcsolat {
  width: 95%;
}

.why-choose-us {
  text-align: center;
  padding: 50px 20px;
  background-color: #0082b3;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #ffffff !important;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.feature-item {
  background: #00aeef;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 300px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item img {
  width: 100px;
  height: 100px;
  margin-bottom: 15px;
}

.feature-item h3 {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 10px;
  border-bottom: 1px solid #fff;
}

.feature-item p {
  font-size: 1rem;
  color: #ffffff;
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.category a {
  text-decoration: none !important;
}

.content a {
  text-decoration: none !important;
}

.blog-section {
  padding: 50px 20px;
  background-color: #0082b3;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #333;
}

.blog-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.blog-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 300px;
  text-align: center;
  transition: transform 0.3s ease;
}

.blog-item:hover {
  transform: translateY(-10px);
}

.post-image img {
  width: 100%;
  height: auto;
}

.category {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #007bff;
}

.content {
  padding: 20px;
}

.title {
  font-size: 1.2rem;
  margin: 15px 0;
  color: #222;
}

.desc {
  font-size: 0.9rem;
  color: #555;
}

.btn-main {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-main:hover {
  background-color: #0056b3;
}

/* Karbantartási szekció */
#klimaszereles-tippek {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
  padding: 30px;
}

/* Listák és elemek */
#klimaszereles-tippek ul li:before {
  content: "✓";
  color: #00cc66;
  font-weight: bold;
  margin-right: 10px;
}

#klimaszereles-tippek ol li:before {
  counter-increment: item;
  color: #0066cc;
  font-weight: bold;
  margin-right: 5px;
}

/* Call-to-action kiemelés */
#klimaszereles-tippek p strong {
  color: #cc3300;
}

/* Tip box */
#klimaszereles-tippek .tip {
  background: #e6f7ff;
  border-left: 4px solid #0099cc;
  padding: 15px;
  margin: 20px 0;
  font-style: italic;
}

/* Mobilbarát stílusok */
@media (max-width: 768px) {
  #klimaszereles-tippek {
    padding: 20px;
  }

  h2 {
    font-size: 1.5em;
  }

  h3 {
    font-size: 1.2em;
  }
}

/* Karbantartási szekció */
#kapcsolat {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
  padding: 30px;
}

/* Listák és elemek */
#kapcsolat ul li:before {
  content: "✓";
  color: #00cc66;
  font-weight: bold;
  margin-right: 10px;
}

#kapcsolat ol li:before {
  counter-increment: item;
  color: #0066cc;
  font-weight: bold;
  margin-right: 5px;
}

/* Call-to-action kiemelés */
#kapcsolat p strong {
  color: #cc3300;
}

/* Tip box */
#kapcsolat .tip {
  background: #e6f7ff;
  border-left: 4px solid #0099cc;
  padding: 15px;
  margin: 20px 0;
  font-style: italic;
}

/* Mobilbarát stílusok */
@media (max-width: 768px) {
  #kapcsolat {
    padding: 20px;
  }

  h2 {
    font-size: 1.5em;
  }

  h3 {
    font-size: 1.2em;
  }
}

/* Kapcsolati szekció */
#kapcsolat form {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

#kapcsolat label {
  font-size: 1.1em;
  color: #34495e;
}

#kapcsolat button {
  align-self: flex-start;
}

/* Formázás a kapcsolatfelvételi űrlaphoz */
form {
  display: flex;
  flex-direction: column;
}

label {
  margin: 10px 0 5px;
  font-weight: bold;
}

input[type="text"],
input[type="email"],
textarea {
  padding: 10px;
  margin: 5px 0 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
}

textarea {
  resize: vertical;
  min-height: 150px;
}

button {
  padding: 12px 20px;
  background-color: #000000;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #2ecc71;
}

/* Formáló stílusok az üzenet dobozhoz */
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: #27ae60;
  outline: none;
}

a {
  text-decoration: none !important;
}

@media (max-width: 768px) {
  #ajanlott-gepek,
  #beepites,
  #karbantartas,
  #klimaszereles-tippek,
  #kapcsolat {
    width: 85%;
  }
}
