/* Google Fonts import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fafafa;
}

/* Headings */
h1, h2, h3, h4, h5 {
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

/* Hero section */
.hero-container {
  overflow: hidden; /* prevent weird scroll effect during animation */
}

.hero {
  width: 100%;
  max-height: 55vh;
  object-fit: cover;
  position: relative;
}

.overlay {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
  background: rgba(0,0,0,0.5);
  color: #fff;
}

.hero h1 { 
  font-size: 3rem; 
  text-shadow: 0px 2px 6px rgba(0,0,0,0.7); 
}

.hero p.lead { 
  font-size: 1.25rem; 
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .hero p.lead { font-size: 1rem; }
}

/* Hero zoom / parallax effect */
.zoom-hero {
  transition: transform 10s ease-out;
  animation: zoomIn 15s ease-out forwards;
}

.hero-container:hover .zoom-hero {
  transform: scale(1.05); /* minor zooming in when hover */
}

@keyframes zoomIn {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

/* Section spacing */
section { 
  padding-top: 3rem; 
  padding-bottom: 3rem; 
}

section h2 { 
  margin-bottom: 2rem; 
  font-size: 2rem; 
  color: #222; 
}

/* Services grid */
section.bg-light h5 {
  background: #fff;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: all 0.3s ease, transform 0.3s ease;
}

section.bg-light h5:hover {
  background: #007bff;
  color: #fff;
  transform: translateY(-3px);
}

/* Mini gallery */
section.container.py-5 img {
  width: 100%;
  height: 200px;
  object-fit: cover; /* arányosan kitölti a teret, nem torzít */
}

/* Contact section */
a { 
  color: #007bff; 
  text-decoration: none; 
}

a:hover { 
  text-decoration: underline; 
}

/* Uber-uns page */
.uberuns-img {
  width: 100%;
  max-width: 600px; /* ne legyen túl széles */
  height: auto; /* megtartja az arányokat */
  object-fit: contain;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  border-radius: 0.5rem;
}

section.container.py-5 img.uberuns-img {
  height: auto;
}

/* Footer */
footer { 
  font-size: 0.9rem; 
  letter-spacing: 0.5px; 
}
.footer-link {
  font-size: 0.85rem;
  color: #ccc;
  text-decoration: none;
}

.footer-link:hover {
  color: #fff;
  text-decoration: underline;
}
