/* === ALAP STÍLUS – Balassa Éva Mária portfólióhoz === */
/* Közös színek, elrendezés, logó, galéria és lightbox beállítások */

/* Alap beállítások */
body {
  font-family: "Segoe UI", Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f5f9fa;
  color: #003b4a;
}

img {
  max-width: 100%;
  border-radius: 10px;
}

/* Logó */
.site-logo {
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.7);
  padding: 6px 10px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.site-logo img {
  width: 150px;
  height: auto;
  display: block;
  opacity: 0.95;
  transition: opacity 0.3s ease;
}
.site-logo img:hover {
  opacity: 1;
}

/* Fejléc */
.top {
  text-align: center;
  margin-top: 70px;
  margin-bottom: 30px;
  background: linear-gradient(to right, #e0f7fa, #ffffff);
  border: 1px solid #cce7ec;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}
.top h1 {
  margin: 0;
  font-size: 1.5rem;
  color: #003b4a;
  font-weight: 600;
}
.top p {
  margin: 6px 0 0;
  color: #005b6f;
  font-size: 1rem;
}

/* Galéria */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-auto-rows: 1fr;
  gap: 15px;
  max-width: 1000px;
  margin: 0 auto 40px auto;
  padding: 0 15px;
  align-items: stretch;
}
.thumb img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.thumb img:hover {
  transform: scale(1.03);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 2000;
}
.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}
.lightbox .caption {
  color: #fff;
  font-size: 1rem;
  margin-top: 15px;
  max-width: 80%;
  text-align: center;
}
.close-btn,
.nav-btn {
  position: absolute;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px;
}
.close-btn {
  top: 20px;
  right: 30px;
}
.nav-btn.prev {
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
}
.nav-btn.next {
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
}

/* Kártyák – információs és kapcsolat */
.details-card,
.contact-card {
  max-width: 800px;
  margin: 0 auto 24px auto;
  background: #ffffff;
  border-radius: 16px;
  padding: 20px 24px;
  border: 1px solid rgba(0,91,111,0.15);
  box-shadow: 0 10px 28px rgba(0,0,0,0.07);
  color: #003b4a;
  line-height: 1.5;
}
.details-card h2,
.contact-card h2 {
  margin-top: 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: #003b4a;
}
.details-card ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.6;
  font-size: 1rem;
}
.details-card li {
  margin-bottom: 6px;
}
.contact-card a {
  color: #006680;
  text-decoration: none;
  font-weight: 600;
}
.contact-card a:hover {
  text-decoration: underline;
}
.note {
  font-size: 0.95rem;
  color: #555;
  font-style: italic;
  margin-top: 10px;
}
.footer-note {
  display: block;
  text-align: right;
  color: #777;
  font-size: 0.85rem;
  margin-top: 15px;
}