/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(120deg, #ffffff 0%, #e9efea 50%, #c9e0d2 100%);
  color: #1f1f1f;
  overflow-x: hidden;
}

/* Header */
header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 2px solid #00664f;
}

.header-flex {
  display: flex; justify-content: space-between; align-items: center; padding: 1rem 0;
}

.logo {
  display: flex; align-items: center; font-weight: 700; font-size: 1.8rem; color: #00664f; gap: 0.6rem;
}

.logo-img { height: 40px; width: auto; }

nav a {
  margin-left: 1.2rem; color: #1f1f1f; text-decoration: none; font-weight: 500; transition: color 0.3s;
}
nav a:hover { color: #009e7d; }

/* Hero */
#hero { position: relative; overflow: hidden; }
.hero-background img { width: 100%; height: 100vh; object-fit: cover; }
.hero-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0, 0, 0, 0.35);
}
.hero-text-centered {
  position: absolute; top: 40%; width: 100%; text-align: center; color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}
.hero-text-centered h1 { font-size: 2.8rem; margin-bottom: 1rem; }
.hero-text-centered p { font-size: 1.3rem; margin-bottom: 1.5rem; }

.btn {
  display: inline-block; background: #009e7d; color: #fff;
  padding: 0.8rem 1.8rem; border-radius: 2rem; text-decoration: none; transition: background 0.3s;
}
.btn:hover { background: #00c09b; }

/* Sections */
section { margin: 0 0 5rem 0; text-align: center; }
h2 { font-size: 2rem; color: #004d3b; margin-bottom: 3rem; }

/* 🔹 Padel mint sport */
#padel { background: none; }
.padel-card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 3rem;
}
.padel-flex {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 2rem;
}
.padel-img {
  width: 100%; max-width: 300px; border-radius: 1rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.padel-text {
  flex: 1 1 400px; text-align: left; font-size: 1.05rem; color: #333; line-height: 1.6;
}

/* Cards */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem;
}
.card {
  background: #fff; border-radius: 1.5rem; padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card img {
  width: 100%; height: 200px; object-fit: cover;
  border-radius: 1rem; margin-bottom: 1rem;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 6px 25px rgba(0,0,0,0.15); }

/* 🔹 Pályák */
#palyak {
  background: #f9f9f9;
  padding: 5rem 0;
}
#palyak p {
  max-width: 900px;
  margin: 0 auto 3rem auto;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #333;
  text-align: center;
}
#palyak .card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
#palyak .card img {
  height: 100px;
}
.card-btn {
  display: block;
  width: 100%;
  margin-top: 1rem;
  text-align: center;
  border-radius: 1.2rem;
}

/* Dropdown service details */
.extra {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
  text-align: left;
  padding-left: 1rem;
}

.service-card.open .extra {
  max-height: 200px;
  opacity: 1;
  margin-top: 1rem;
}

.extra li {
  list-style-type: disc;
  margin: 0.3rem 0;
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 500px;
  margin: 0 auto;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea,
.contact-form button {
  width: 100%;
  padding: 0.9rem;
  border-radius: 0.7rem;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
footer {
  background: #004d3b; color: #fff; text-align: center; padding: 1.5rem;
}
footer .privacy-link {
  color: #fff; text-decoration: underline; display: inline-block; margin-top: 0.5rem;
}
footer .privacy-link:hover { color: #00c09b; }

