/*
Theme Name: Greno Landing
Theme URI: https://greno.hu
Author: ChatGPT
Description: Egyszerű bemutatkozó landing oldal Greno számára (takarítás, zöldterület kezelés, rakodás)
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: greno-landing
*/
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #ffffff;
    color: #333;
}
header {
    background: #2e7d32;
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}
header h1 {
    font-size: 48px;
    margin: 0;
}
header p {
    font-size: 20px;
    margin: 10px 0 0;
}
section {
    padding: 60px 20px;
    text-align: center;
}
section h2 {
    color: #2e7d32;
    font-size: 32px;
    margin-bottom: 20px;
}
footer {
    background: #2e7d32;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}
.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.service-box {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
    width: 280px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
<!DOCTYPE html>
<html lang="hu">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Greno - Főoldal</title>
  <style>
    body {
      font-family: Arial, sans-serif;
      margin: 0;
      padding: 0;
    }

    header {
      background-color: #4CAF50;
      color: white;
      padding: 20px;
      text-align: center;
    }

    main {
      padding: 20px;
    }

    /* Cookie popup stílus */
    #cookieConsent {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      background: rgba(0,0,0,0.8);
      color: #fff;
      z-index: 1000;
      display: none;
    }

    .cookie-container {
      max-width: 1000px;
      margin: 0 auto;
      padding: 15px;
      text-align: center;
    }

    .cookie-container a {
      color: #4CAF50;
      text-decoration: underline;
    }

    .cookie-container button {
      margin-left: 15px;
      padding: 8px 15px;
      background-color: #4CAF50;
      border: none;
      color: #fff;
      cursor: pointer;
      border-radius: 4px;
    }
  </style>
</head>
<body>

  <header>
    <h1>Üdvözlünk a Greno.hu oldalon!</h1>
  </header>

  <main>
    <h2>Szolgáltatásaink</h2>
    <p>Takarítás, zöldterület-kezelés, rakodás… mindezt profi módon kínáljuk ügyfeleinknek.</p>
    <p>Fedezd fel szolgáltatásainkat, és vedd fel velünk a kapcsolatot!</p>
  </main>

  <!-- Adatkezelési felugró ablak -->
  <div id="cookieConsent">
    <div class="cookie-container">
      <p>Ez a weboldal sütiket és adatkezelést használ az élmény javítása érdekében. 
         <a href="/adatkezeles.html" target="_blank">További információ</a>
      </p>
      <button id="acceptCookie">Elfogadom</button>
    </div>
  </div>

  <script>
    document.addEventListener("DOMContentLoaded", function() {
        // Ellenőrizzük, hogy a látogató már elfogadta-e
        if(!localStorage.getItem("cookieAccepted")) {
            document.getElementById("cookieConsent").style.display = "block";
        }

        // Elfogadás gomb
        document.getElementById("acceptCookie").addEventListener("click", function() {
            localStorage.setItem("cookieAccepted", "true");
            document.getElementById("cookieConsent").style.display = "none";
        });
    });
  </script>
<!-- Adatkezelési felugró ablak -->
<div id="cookieConsent">
  <div class="cookie-container">
    <p>Ez a weboldal sütiket és adatkezelést használ az élmény javítása érdekében. 
       <a href="/adatkezeles.html" target="_blank">További információ</a>
    </p>
    <button id="acceptCookie">Elfogadom</button>
  </div>
</div>

<style>
#cookieConsent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.8);
  color: #fff;
  z-index: 1000;
  display: none;
}
.cookie-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 15px;
  text-align: center;
}
.cookie-container a { color: #4CAF50; text-decoration: underline; }
.cookie-container button {
  margin-left: 15px;
  padding: 8px 15px;
  background-color: #4CAF50;
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
}
</style>

<script>
document.addEventListener("DOMContentLoaded", function() {
    if(!localStorage.getItem("cookieAccepted")) {
        document.getElementById("cookieConsent").style.display = "block";
    }
    document.getElementById("acceptCookie").addEventListener("click", function() {
        localStorage.setItem("cookieAccepted", "true");
        document.getElementById("cookieConsent").style.display = "none";
    });
});
</script>
</body>
</html>