/* ==========================================================================
   FONTS
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Bellota+Text:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/* ==========================================================================
   BASE / RESET
   ========================================================================== */
html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  background-color: #f7f7f7;
  position: relative;
  background-size: cover;
  background-position: center;
  font-family: 'Bellota Text', sans-serif;
}

a {
  text-decoration: none;
}

/* Utility */
.container-fluid {
  max-width: 1400px;
}

.align-center {
  text-align: center;
}

.image-wrapper img {
  max-width: 100%;
  height: auto;
}

.form-control {
  border-radius: 0;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.bttn {
  background-color: #ca6a1b;
  padding: 10px 20px;
  border-radius: 2px;
  color: #ffffff;
  border: none;
  font-weight: bold;
  text-transform: uppercase;
}

.bttn:hover {
  background-color: #6e3c12;
  color: #ffffff;
  border: none;
}

/* ==========================================================================
   COOKIE NOTIFICATION
   ========================================================================== */
.notification {
  font-size: 0.8em;
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #f2f2f2;
  padding: 15px;
  text-align: center;
  z-index: 1000;
  opacity: 0;
  transform: translateY(100%);
  transition:
    transform 0.5s ease,
    opacity 0.5s ease;
}

.notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  background: rgba(58, 58, 58, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  border-bottom: 1px solid #313131;
  font-family: 'Open Sans', sans-serif;
}

.navbar img {
  width: 70px;
  margin-left: 20px;
}

.navbar-logo {
  width: 100px;
}

.navbar a {
  color: #ececec;
}

/* Toggler */
.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url('images/toggler.png');
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon {
  background-image: url('images/toggler2.png');
}

/* Links */
.navbar a.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 10px;
  text-transform: uppercase;
  font-size: 0.9em;
}

.navbar .nav-link {
  position: relative;
  padding-bottom: 2px;
  transition: none;
}

.nav-dropdown,
.navbar-nav {
  align-items: center;
}

.navbar .nav-link.active {
  color: #fff !important;
}

.navbar a.nav-link:hover {
  color: #fff;
}

/* Underline animation (not for social icons) */
.navbar .nav-link:not(.soc2)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.8px;
  background-color: #ca6a1b;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-in-out;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  transform: scaleX(1);
}

/* Social */
.navbar .soc {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 0 20px;
}

.navbar .soc2 i {
  font-size: 1.5em;
}

/* Language buttons (Bootstrap overrides) */
.btn-group .btn {
  margin-right: 5px;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  border-radius: 0;
}

.btn-outline-primary {
  border-color: #ececec;
  color: #ececec;
}

.btn-group .btn:hover {
  border-color: #ececec;
  color: #ececec;
}

.btn-group .btn-check:checked + .btn-outline-primary {
  background-color: #ececec;
  color: #818181;
  border-color: #ececec;
}

/* ==========================================================================
   HERO (background fade)
   ========================================================================== */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 12vh;
  overflow: hidden;
  background: #0b0b0b;

  --hero-before: url('images/bg1.jpg');
  --hero-after: url('images/bg2.jpg');
}

/* Layers */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition:
    opacity 900ms ease-in-out,
    transform 5s ease-in-out;
  will-change: opacity, transform;
}

.hero::before {
  opacity: 1;
  transform: scale(1.02);
  background-image: var(--hero-before);
}

.hero::after {
  opacity: 0;
  transform: scale(1.06);
  background-image: var(--hero-after);
}

/* Fade state */
.hero.hero-fade::after {
  opacity: 1;
  transform: scale(1.02);
}
.hero.hero-fade::before {
  opacity: 0;
  transform: scale(1.06);
}

/* Hero title */
.hero #textContainer {
  position: relative;
  z-index: 2;
  margin-bottom: 0;
  font-size: clamp(2.2rem, 6vw, 4rem);
  color: #ececec;
  letter-spacing: 0.15em;
  opacity: 0.95;
  text-shadow:
    -1px -1px 0 #888,
    1px -1px 0 #888,
    -1px 1px 0 #888,
    1px 1px 0 #888,
    0 6px 20px rgba(0, 0, 0, 0.45);
}

/* ==========================================================================
   SECTIONS: INTRO + CONTACT (layout)
   ========================================================================== */
.intro,
.contact {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.introtext {
  font-size: 1.2em;
  padding: 35px 10px;
}

.intro img {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact {
  margin: 100px 0;
}

.contact textarea {
  min-height: 150px;
}

.contact h6 {
  font-size: 12px;
}

.emailform {
  padding-bottom: 20px;
}

/* Shared section titles */
.intro h1,
.contact h1,
.projektek h1,
.services h1 {
  color: #353535;
  text-align: center;
  font-size: 4em;
  margin-bottom: 35px;
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services {
  background-color: #f7f7f7;
  padding: 120px 0;
}

.services h1 {
  font-size: 4em;
  margin-bottom: 60px;
}

.services-row {
  row-gap: 40px;
}

.service-item {
  text-align: center;
  padding: 20px 25px;
}

.service-icon {
  font-size: 3.2em;
  color: #ca6a1b;
  margin-bottom: 25px;
}

.service-item h3 {
  font-size: 1.6em;
  margin-bottom: 20px;
  color: #353535;
  font-family: 'Open Sans', sans-serif;
}

.service-item p {
  font-size: 1em;
  line-height: 1.6;
  color: #555;
}

/* ==========================================================================
   PROJECTS (gallery)
   ========================================================================== */
.projektek img {
  width: 100%;
  height: auto;
  display: block;
}

.projektek h1 {
  font-size: 4em;
  padding-top: 20px;
  padding-bottom: 20px;
}

.projektek .row > [class*='col-'] {
  padding: 0;
}

.image-container {
  position: relative;
  display: block;
}

.image-container img {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 0.5s ease;
}

.image-container .overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  background-color: rgba(255, 94, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container .text {
  color: white;
  font-size: 1.5em;
  font-family: 'Open Sans', sans-serif;
}

.image-container:hover .overlay {
  opacity: 1;
}

/* Lightbox tweak */
.lb-outerContainer {
  background-color: #0b0b0b;
}

/* ==========================================================================
   CONTACT BLOCK + BILLING (unified list styles)
   ========================================================================== */
.contact-block {
  padding: 120px 0;
}

.contact-text {
  padding: 20px;
}

.contact-lead {
  font-size: 1.15em;
  line-height: 1.7;
  color: #444;
  margin-bottom: 30px;
}

/* Lists base */
.contact-list,
.billing-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Unified li style */
.contact-list li,
.billing-list li {
  display: flex;
  align-items: center; /* fix: was invalid "left" */
  gap: 15px;
  margin-bottom: 18px;
  font-size: 1.2em;
  color: #444;
  flex-wrap: nowrap;
}

/* Unified icon */
.contact-list i,
.billing-list i {
  color: #ca6a1b;
  font-size: 1.5em;
  min-width: 22px;
}

/* Link + text wrapping */
.contact-list a,
.billing-list span {
  flex: 1 1 auto;
  min-width: 0;

  white-space: normal;
  overflow-wrap: break-word; /* ✅ ne "anywhere", az túl agresszív */
  word-break: normal;
}

.contact-list a {
  color: #353535;
  transition: color 0.2s ease;
}

.contact-list a:hover {
  color: #ca6a1b;
}

/* Contact image */
.contact-image img {
  max-width: 100%;
  height: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Billing */
.billing-block {
  padding: 25px 0 0;
}

.billinginn {
  padding: 0 0 0 35px;
}

.billing-title {
  font-size: 1.2em;
  margin: 10px 0 30px;
  color: #353535;
  font-family: 'Open Sans', sans-serif;
}

/* Divider line in billing */
.billing-block .col-12 {
  border-top: 1px solid #e8e8e8;
  padding-top: 20px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: #474747;
}

.footer .nav-link,
.footer p {
  color: #ffffff;
}

.footer .nav-link:hover {
  color: #b3b3b3;
}

.border-bottom {
  border-bottom: var(--bs-border-width) var(--bs-border-style) #ca6a1b !important;
}

.my-4 {
  margin-bottom: 0 !important;
}

.webea {
  color: #b3b3b3;
}

.webea:hover {
  color: #ffffff;
}

/* ==========================================================================
   SCROLL TO TOP
   ========================================================================== */
.scroll-to-top {
  width: 30px;
  height: 30px;
  background-color: #ca6a1b;
  color: #fff;
  border-radius: 10%;
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  cursor: pointer;
  text-align: center;
  line-height: 30px;
  font-size: 16px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.scroll-to-top:hover {
  background-color: #6e3c12;
}

/* Privacy */
.privacy {
  padding: 120px 0;
}

.privacy h1 {
  text-align: center;
  font-size: 3em;
  color: #353535;
  margin-bottom: 40px;
}

.privacy-box {
  background: #fff;
  border: 1px solid #e8e8e8;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  line-height: 1.7;
  color: #444;
  font-family: 'Open Sans', sans-serif;
}

.privacy-box h2 {
  font-size: 1.4em;
  margin: 22px 0 10px;
  color: #353535;
}

.privacy-box h3 {
  font-size: 1.15em;
  margin: 18px 0 8px;
  color: #353535;
}

.privacy-box ul {
  padding-left: 18px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1200px) {
}

@media (max-width: 990px) {
  .nav-item {
    padding: 5px 0;
  }
  .intro {
    margin-top: 100px;
  }

  .intro h1 {
    text-align: center;
    margin-top: 20px;
  }

  .hero div {
    font-size: 3em;
  }

  .services {
    padding: 80px 0;
  }

  .services h1 {
    margin-bottom: 40px;
  }

  .service-icon {
    font-size: 2.6em;
  }
}

@media (max-width: 767px) {
  .hero {
    padding-bottom: 26vh;
  }

  .contact-block {
    padding: 80px 0;
  }

  .services h1,
  .intro h1,
  .projektek h1,
  .contact h1 {
    font-size: 2.6em;
  }

  .privacy {
    padding: 80px 0;
  }

  .privacy h1 {
    font-size: 2.2em;
  }

  .privacy-box {
    padding: 18px;
  }
}
