/**
 * Polybeton Bert — modern polish layer (2026)
 * Keeps brand blues; refreshes spacing, type, buttons, mobile.
 */

:root {
  --pb-blue: #0a6a8f;
  --pb-blue-deep: #075c80;
  --pb-blue-mid: #3d7a90;
  --pb-blue-soft: #92c4d8;
  --pb-ink: #1a1f24;
  --pb-muted: #5a6570;
  --pb-surface: #f4f6f7;
  --pb-white: #ffffff;
  --pb-radius: 4px;
  --pb-shadow: 0 8px 28px rgba(7, 92, 128, 0.12);
  --pb-font: 'Open Sans', 'Lato', Helvetica, Arial, sans-serif;
  --pb-display: 'Raleway', 'Open Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--pb-surface) !important;
  color: var(--pb-ink);
  font-family: var(--pb-font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

/* ---- Header ---- */
.header {
  background: var(--pb-white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 6px 18px rgba(0, 0, 0, 0.04);
  position: relative;
  z-index: 40;
}

.header .logo img {
  max-height: 88px;
  width: auto;
  transition: opacity 0.2s ease;
}

.header .logo a:hover img {
  opacity: 0.88;
}

.header-phone .phone-number,
.header-mail a {
  transition: color 0.2s ease;
}

.header-phone .phone-number:hover,
.header-mail a:hover {
  color: var(--pb-blue-deep);
}

.top-bar-section ul li > a {
  letter-spacing: 0.04em;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* ---- Hero / slider ---- */
.slider-info {
  background: linear-gradient(145deg, rgba(7, 92, 128, 0.94) 0%, rgba(61, 122, 144, 0.9) 100%) !important;
  border-radius: var(--pb-radius);
  box-shadow: var(--pb-shadow);
  backdrop-filter: blur(2px);
  padding-top: 36px !important;
  padding-bottom: 56px !important;
}

.slider-info h1,
.slider-info h5 {
  font-family: var(--pb-display);
  letter-spacing: 0.02em;
}

.slider-info p {
  font-size: 14px !important;
  line-height: 1.55 !important;
  opacity: 0.95;
}

#home-slider .slick-slide {
  background-size: cover;
  background-position: center;
}

/* ---- Buttons ---- */
.home-button,
a.home-button,
.gform_button,
input[type="submit"].gform_button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  float: none !important;
  width: auto !important;
  min-width: 148px;
  height: auto !important;
  min-height: 48px;
  padding: 12px 22px !important;
  border: 0;
  border-radius: var(--pb-radius);
  background-color: var(--pb-blue-soft) !important;
  color: var(--pb-white) !important;
  font-family: var(--pb-display) !important;
  font-size: 13px !important;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none !important;
  box-shadow: 0 2px 0 rgba(7, 92, 128, 0.15);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.home-button:hover,
a.home-button:hover,
.gform_button:hover,
input[type="submit"].gform_button:hover {
  background-color: var(--pb-white) !important;
  color: var(--pb-blue-deep) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(7, 92, 128, 0.18);
}

.slider-info .home-button {
  position: absolute;
  bottom: 22px;
  right: 40px;
  margin: 0;
}

/* ---- Sections ---- */
.about-us {
  background: var(--pb-white);
  padding-top: 48px;
  padding-bottom: 24px;
}

.about-us h1,
.about-us h5,
.more-info h2 {
  font-family: var(--pb-display);
  color: var(--pb-blue-deep);
}

.about-us p,
.more-info p {
  color: var(--pb-muted);
  font-size: 15px;
  line-height: 1.65;
}

.portfolio-item-cont {
  overflow: hidden;
  border-radius: var(--pb-radius);
}

.portfolio-link {
  transition: transform 0.35s ease, filter 0.35s ease;
  display: block;
  min-height: 160px;
  background-size: cover;
  background-position: center;
}

.portfolio-item-cont:hover .portfolio-link {
  transform: scale(1.04);
  filter: brightness(1.05);
}

.more-info {
  background: linear-gradient(135deg, var(--pb-blue-deep) 0%, var(--pb-blue-mid) 100%);
  color: var(--pb-white);
  padding: 48px 0;
}

.more-info h2,
.more-info p {
  color: var(--pb-white) !important;
}

.more-info .home-button {
  background-color: rgba(255, 255, 255, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: none;
}

.more-info .home-button:hover {
  background-color: var(--pb-white) !important;
  color: var(--pb-blue-deep) !important;
}

/* ---- Footer ---- */
.footer {
  background: #e8ecee;
  padding-top: 40px;
  padding-bottom: 28px;
}

.footer a {
  transition: color 0.2s ease;
}

.footer .copy {
  color: var(--pb-muted);
  font-size: 13px;
}

.footer .nomurphy a {
  color: var(--pb-blue-deep);
  font-weight: 600;
}

/* ---- Forms ---- */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="search"],
textarea,
select {
  height: 44px !important;
  line-height: 1.4 !important;
  padding: 10px 14px !important;
  border: 1px solid #cfd6db !important;
  border-radius: var(--pb-radius) !important;
  background: var(--pb-white) !important;
  box-shadow: none !important;
  font-size: 15px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea,
textarea[rows] {
  height: auto !important;
  min-height: 140px !important;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--pb-blue-soft) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(146, 196, 216, 0.35) !important;
}

.gform_wrapper .gfield_label {
  font-weight: 600;
  color: var(--pb-ink);
}

/* ---- Contact / pages ---- */
.page .entry-content,
.single .entry-content {
  font-size: 15px;
  line-height: 1.65;
}

/* ---- Mobile ---- */
@media only screen and (max-width: 640px) {
  .header .logo img {
    max-height: 64px;
    margin: 8px auto;
  }

  .slider-info {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    max-width: none !important;
    margin: 0 12px 16px !important;
    width: calc(100% - 24px);
  }

  .slider-info .home-button {
    position: static !important;
    margin: 16px auto 0 !important;
    display: inline-flex !important;
  }

  #home-slider .slick-slide {
    height: 280px !important;
  }

  .top-bar {
    border-radius: 0;
  }

  .top-bar .toggle-topbar.menu-icon a {
    padding: 12px 16px;
  }

  .home-button,
  a.home-button {
    width: 100% !important;
    max-width: 280px;
  }

  .about-us,
  .more-info {
    padding-left: 8px;
    padding-right: 8px;
  }

  .more-info .columns {
    text-align: center;
  }

  .more-info .home-button {
    margin: 16px auto 0 !important;
  }
}

@media only screen and (min-width: 641px) and (max-width: 1024px) {
  .slider-info {
    right: 4% !important;
    max-width: 400px !important;
  }

  #home-slider .slick-slide {
    height: 420px !important;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
