/*
Theme Name: Orlai Landing Page
Author: Szilárd Orlai
Version: 1.0
*/

/* === Alap === */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  overflow-x: hidden;
  background: #f5f7fa;
  position: relative;
}

/* Háttér logó */
.background-layer {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 80em;
  height: 80em;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  opacity: 0.05;
  perspective: 800px;
}

.background-layer img {
  width: 100%;
  height: 100%;
  display: block;
  will-change: transform;
  transform-style: preserve-3d;
}

@media (max-width: 768px) {
  .background-layer { width: 50em; height: 50em; }
}
@media (max-width: 480px) {
  .background-layer { width: 40em; height: 40em; }
}

/* HERO */
.hero {
  background: linear-gradient(135deg, #1976d2, #42a5f5);
  color: #fff;
  padding: 120px 20px;
}

.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.hero-text {
  flex: 1 1 500px;
}

.hero-text h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin: 0 0 20px;
}

.hero-text p {
  font-size: 1.2rem;
  margin: 0 0 30px;
}

.hero-img {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
}

.hero-img img {
  max-width: 500px;
  width: 100%;
  border-radius: 50%;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.btn {
  display: inline-block;
  background: #fff;
  color: #1976d2;
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #e3f2fd;
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
  }
  .hero-img { margin-bottom: 40px; }
  .hero-text h1 { font-size: 2.5rem; }
}

/* Nyelvi sáv */
.language-bar {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 12px;
  z-index: 10;
}

.language-bar img {
  width: 32px;
  border-radius: 4px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.language-bar img:hover {
  transform: scale(1.1);
}

/* Szolgáltatás GRID */
.services-icons h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  text-align: center;
  color: #1565c0;
}

.services-icons .icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 30px;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.services-icons .icon-box {
  background: #fff;
  padding: 30px 20px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 180px;
  max-width: 200px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.services-icons .icon-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.services-icons .icon-box img {
  width: 48px;
  margin-bottom: 15px;
}

.services-icons .icon-box p {
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
  margin: 0;
  word-break: break-word;
}

/* Kontakt form */
.contact-section {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  position: relative;
}

.contact-section h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #003366;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  margin-bottom: 1rem;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #1976d2;
  outline: none;
  box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.2);
}

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

.contact-form .btn {
  background: #007BFF;
  color: #fff;
  border: none;
  padding: 0.75rem;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form .btn:hover {
  background: #0056b3;
}

.form-toast {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: #28a745;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s ease;
  z-index: 999;
}

.form-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.form-toast.error {
  background: #dc3545;
}
