@charset "UTF-8";
/* Nagy Éva Építész - egyedi stílusok (Bootstrap 5.2.3 CDN-re épül) */

:root {
  --bs-primary: #64a19d;
  --bs-secondary: #7464a1;
  --bs-success: #67c29c;
  --bs-info: #1cabc4;
  --bs-warning: #e4c662;
  --bs-danger: #a16468;
  --bs-primary-rgb: 100, 161, 157;
  --bs-secondary-rgb: 116, 100, 161;
  --bs-link-color: #64a19d;
  --bs-link-hover-color: #50817e;
  --bs-body-font-family: Nunito, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--bs-link-color); }
a:hover { color: var(--bs-link-hover-color); }

.btn-primary {
  --bs-btn-bg: #64a19d;
  --bs-btn-border-color: #64a19d;
  --bs-btn-hover-bg: #558985;
  --bs-btn-hover-border-color: #50817e;
  --bs-btn-active-bg: #50817e;
  --bs-btn-active-border-color: #4b7976;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(4.5rem - 1px);
}

body {
  letter-spacing: 0.0625em;
}

/* Navigation */
#mainNav {
  min-height: 3.5rem;
  background-color: #fff;
  box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.08);
}
#mainNav .navbar-toggler {
  font-size: 80%;
  padding: 0.75rem;
  color: #64a19d;
  border: 1px solid #64a19d;
}
#mainNav .navbar-toggler:focus { outline: none; }
#mainNav .navbar-brand {
  color: #000;
  font-weight: 700;
  padding: 0.9rem 0;
  font-family: "Varela Round", sans-serif;
  letter-spacing: 0.1rem;
}
#mainNav .nav-link {
  color: #000;
  padding: 1.5rem 1.5rem 1.25rem;
  border-bottom: 0.25rem solid transparent;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1rem;
  font-family: "Varela Round", sans-serif;
}
#mainNav .nav-link:hover { color: #64a19d; }
#mainNav .nav-link.active {
  color: #64a19d;
  border-bottom: 0.25rem solid #64a19d;
}
#mainNav .dropdown-menu { font-family: Nunito, sans-serif; }
#mainNav .dropdown-item:active,
#mainNav .dropdown-item.active { background-color: #64a19d; }

/* Buttons general */
.btn {
  box-shadow: 0 0.1875rem 0.1875rem 0 rgba(0, 0, 0, 0.1) !important;
  padding: 1.1rem 1.75rem;
  font-family: "Varela Round", sans-serif;
  font-size: 80%;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  border: 0;
}

/* Masthead (hero) */
.masthead {
  position: relative;
  width: 100%;
  min-height: 28rem;
  padding: 9rem 0 4rem;
  margin-top: 3.5rem;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.75) 85%, #000 100%),
              url("https://lh3.googleusercontent.com/d/1WOzPCldAexVlGix0_25U58PaN4ZHLAOd?authuser=0");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.masthead h1 {
  font-family: "Varela Round", sans-serif;
  font-size: 2.5rem;
  line-height: 2.5rem;
  letter-spacing: 0.5rem;
  color: #fff;
}
.masthead h2 {
  max-width: 20rem;
  font-size: 1rem;
}
.masthead.masthead-small { min-height: 16rem; padding: 8rem 0 3rem; }
@media (min-width: 768px) {
  .masthead h1 { font-size: 3.25rem; line-height: 3.25rem; }
}
@media (min-width: 992px) {
  .masthead { min-height: 40rem; padding: 5rem 0; }
  .masthead h1 { font-size: 5rem; line-height: 5rem; letter-spacing: 0.6rem; }
  .masthead h2 { max-width: 30rem; font-size: 1.25rem; }
  .masthead.masthead-small { min-height: 20rem; padding: 8rem 0 3rem; }
}

/* Rólam / dark section */
.rolam-section {
  padding: 6rem 0;
  background: #000;
}
.rolam-section p { margin-bottom: 2rem; }

/* Activities / project text section */
.projekt-section {
  padding: 5rem 0;
}
.projekt-section h1 {
  font-size: 1.5rem;
  color: #467370;
  margin-top: 2.5rem;
}
.projekt-section h1:first-child { margin-top: 0; }
.projekt-section ul { padding-left: 1.5rem; }

/* Projektek grid (listing page) */
.projekt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.75rem;
  padding: 3rem 0 5rem;
}
.projekt-card {
  position: relative;
  display: block;
  border-radius: 0.5rem;
  overflow: hidden;
  text-decoration: none;
  aspect-ratio: 4 / 3;
  background-color: #111;
}
.projekt-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.projekt-card:hover img { transform: scale(1.06); }
.projekt-card .projekt-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0) 60%);
}
.projekt-card .projekt-card-title {
  color: #fff;
  font-family: "Varela Round", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  font-size: 0.95rem;
  margin: 0;
}

/* Single project page */
.projekt-single-header {
  padding: 7rem 0 2rem;
  text-align: center;
}
.projekt-single-header h1 {
  font-family: "Varela Round", sans-serif;
  letter-spacing: 0.15rem;
  color: #467370;
}
.projekt-hero-img {
  width: 100%;
  max-height: 34rem;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 2.5rem;
}
.projekt-text {
  max-width: 48rem;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
}
.projekt-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 4rem;
}
.projekt-gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 0.375rem;
}
.projekt-nav-links {
  padding-bottom: 4rem;
  text-align: center;
}

/* Contact */
.kapcsolat-section {
  padding: 6rem 0;
}
.contact-section { padding-top: 4rem; }
.contact-section .card {
  border: 0;
  border-bottom: 0.25rem solid #64a19d;
}
.contact-section .card h4 {
  font-size: 0.8rem;
  font-family: "Varela Round", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
}
.contact-section .card hr {
  opacity: 1;
  border-color: #64a19d;
  border-width: 0.25rem;
  width: 3rem;
}
.contact-section .social { margin-top: 3rem; }
.contact-section .social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  width: 3rem;
  background: rgba(255,255,255,0.1);
  border-radius: 100%;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}
.contact-section .social a:hover { color: #fff; }

.footer {
  padding: 2.5rem 0;
  background: #000;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  text-align: center;
}
