/* GreenTeSys site styles, on top of Bootstrap 5.3. Brand colors come from logo/GreenTeSys_minimal_vector.svg. */

@font-face { font-family: Montserrat; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/montserrat-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/montserrat-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../fonts/montserrat-latin-ext-600-normal.woff2) format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../fonts/montserrat-latin-600-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/montserrat-latin-ext-700-normal.woff2) format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/montserrat-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --gts-green: #086447;
  --gts-green-dark: #064a35;
  --gts-green-darker: #053d2c;
  --gts-green-light: #e8f2ee;
  --gts-grey: #303b40;

  --bs-body-font-family: Montserrat, "Segoe UI", Arial, sans-serif;
  --bs-body-color: var(--gts-grey);
  --bs-primary: var(--gts-green);
  --bs-primary-rgb: 8, 100, 71;
  --bs-link-color: var(--gts-green);
  --bs-link-color-rgb: 8, 100, 71;
  --bs-link-hover-color: var(--gts-green-dark);
  --bs-link-hover-color-rgb: 6, 74, 53;
}

body { display: flex; flex-direction: column; min-height: 100vh; }
h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5 { font-weight: 700; color: var(--gts-grey); }

.btn-primary {
  --bs-btn-bg: var(--gts-green); --bs-btn-border-color: var(--gts-green);
  --bs-btn-hover-bg: var(--gts-green-dark); --bs-btn-hover-border-color: var(--gts-green-dark);
  --bs-btn-active-bg: var(--gts-green-darker); --bs-btn-active-border-color: var(--gts-green-darker);
  --bs-btn-disabled-bg: var(--gts-green); --bs-btn-disabled-border-color: var(--gts-green);
  --bs-btn-focus-shadow-rgb: 8, 100, 71;
}
.btn-outline-primary {
  --bs-btn-color: var(--gts-green); --bs-btn-border-color: var(--gts-green);
  --bs-btn-hover-bg: var(--gts-green); --bs-btn-hover-border-color: var(--gts-green);
  --bs-btn-active-bg: var(--gts-green-dark); --bs-btn-active-border-color: var(--gts-green-dark);
  --bs-btn-focus-shadow-rgb: 8, 100, 71;
}
.btn { font-weight: 600; }

/* Logo: symbol + wordmark */
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand-text { font-weight: 700; font-size: 1.6rem; letter-spacing: -.04em; color: var(--gts-grey); line-height: 1; }
.brand-green { color: var(--gts-green); }
.brand-light .brand-text, .brand-light .brand-green { color: #fff; }

/* Navbar */
.navbar .nav-link { font-weight: 600; font-size: .9rem; text-transform: uppercase; color: var(--gts-grey); }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--gts-green); }
.dropdown-item { font-size: .9rem; padding-top: .5rem; padding-bottom: .5rem; }
.dropdown-item.active, .dropdown-item:active { background-color: var(--gts-green); }

/* Dropdown menu item (includes/header.php): a button that only opens its list */
.nav-dropdown > .nav-link { border: 0; background: none; text-align: left; }
.nav-dropdown > .dropdown-toggle::after { vertical-align: middle; transition: transform .2s; }
.nav-dropdown > .dropdown-toggle[aria-expanded="true"]::after { transform: rotate(180deg); }

@media (min-width: 1200px) {
  .navbar .nav-link { padding-left: .75rem; padding-right: .75rem; }
  /* open on hover / keyboard focus as well; top: 100% so the mouse can move into the menu */
  .nav-dropdown:hover > .dropdown-menu, .nav-dropdown:focus-within > .dropdown-menu { display: block; }
  .nav-dropdown > .dropdown-menu { top: 100%; left: 0; margin-top: 0; }
}

/* Mobile menu (hamburger) */
@media (max-width: 1199.98px) {
  .navbar-collapse { border-top: 1px solid var(--bs-border-color); margin-top: .5rem; }
  .navbar-nav > .nav-item { border-bottom: 1px solid var(--bs-border-color); }
  .navbar-nav > .nav-item:last-child { border-bottom: 0; }
  .navbar .nav-link { padding: .85rem 0; font-size: 1rem; }
  .nav-dropdown > .nav-link { width: 100%; display: flex; justify-content: space-between; align-items: center; }
  .nav-dropdown > .dropdown-menu {
    position: static; border: 0; box-shadow: none; padding: 0 0 .5rem 1rem; margin: 0; background: transparent;
  }
  .nav-dropdown .dropdown-item { padding: .6rem .75rem; border-radius: .375rem; font-size: .95rem; }
  .nav-cta { padding: 1rem 0 .5rem; }
  .nav-cta .btn { width: 100%; }
}

/* Hero */
.hero {
  position: relative; color: #fff; padding: 7rem 0;
  background: linear-gradient(rgba(5, 61, 44, .72), rgba(5, 61, 44, .72)), url(../img/hero-okosotthon.jpg) center / cover;
}
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.hero .lead { font-size: clamp(1.15rem, 2.5vw, 1.6rem); }

.section { padding: 4.5rem 0; }
.section-alt { background: var(--gts-green-light); }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gts-green); }

.check-list { list-style: none; padding-left: 0; }
.check-list li { position: relative; padding-left: 1.8rem; margin-bottom: .5rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--gts-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E") center / 80% no-repeat;
}

.card-service { border: 0; border-top: 4px solid var(--gts-green); box-shadow: 0 .25rem 1rem rgba(48, 59, 64, .08); }

.partners img { max-height: 60px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: .2s; }
.partners img:hover { filter: none; opacity: 1; }
.partners img.partner-square { max-height: 100px; } /* square logos with much white space */

.page-header { background: var(--gts-green-light); padding: 3rem 0; }
.page-header .lead { max-width: 52rem; }
.content { max-width: 52rem; }

/* Galleries (includes/gallery.php) */
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .5rem; transition: .2s; }
.gallery a:hover img { opacity: .85; }
.gallery-contain img { object-fit: contain; background: #fff; border: 1px solid var(--bs-border-color); padding: .5rem; }
#lightbox img { max-height: 85vh; }

/* Team */
.team-photo { width: 140px; height: 140px; object-fit: cover; border-radius: 50%; }

/* Numbered steps (Ajánlatkérés) */
.step-number {
  display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem;
  border-radius: 50%; background: var(--gts-green); color: #fff; font-weight: 700;
}
.cta-box { background: var(--gts-green); color: #fff; border-radius: .75rem; }
.cta-box h2 { color: #fff; }

/* Footer */
.site-footer { background: var(--gts-grey); color: rgba(255, 255, 255, .8); }
.site-footer h2 { color: #fff; }
.site-footer a:not(.brand) { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-footer a:not(.brand):hover { color: #fff; text-decoration: underline; }
.site-footer hr { border-color: rgba(255, 255, 255, .25); }
