/* ============================================
   Lorenc IP - Static Site Styles
   Extracted from original WordPress theme
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: #717061;
  line-height: 1.62em;
  letter-spacing: 0.1px;
  background: #f1f5ed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: #88865a;
  transition: color 0.3s ease;
}

a:hover {
  color: #5d5c39;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Raleway", Sans-serif;
  color: #242304;
  font-weight: 400;
  text-transform: uppercase;
}

h1 {
  font-size: 3.167em;
  line-height: 1em;
  letter-spacing: 1.4px;
}

h2 {
  font-size: 2.611em;
  line-height: 1.021em;
}

h3 {
  font-size: 1.944em;
  line-height: 1.086em;
}

h5 {
  font-size: 1.333em;
  line-height: 1.417em;
}

h6 {
  font-size: 1.056em;
  line-height: 1.474em;
}

p {
  margin-bottom: 1.57em;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 30px;
}

/* ============================================
   Scroll Reveal Animations
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal.reveal-left {
  transform: translateX(-40px);
}

.reveal.reveal-left.revealed {
  transform: translateX(0);
}

.reveal.reveal-right {
  transform: translateX(40px);
}

.reveal.reveal-right.revealed {
  transform: translateX(0);
}

/* ============================================
   Header
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #02618A;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.header.scrolled {
  background: #02618A;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-desktop {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 50px;
  gap: 50px;
}

.header-logo img {
  max-height: 53px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
}

.header-nav ul {
  display: flex;
  gap: 28px;
}

.header-nav a {
  font-family: "Raleway", Sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #88865a;
  transition: width 0.3s ease;
}

.header-nav a:hover {
  color: #88865a;
}

.header-nav a:hover::after {
  width: 100%;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switcher a {
  display: flex;
  align-items: center;
  opacity: 0.45;
  transition: opacity 0.3s;
}

.lang-switcher a.active {
  opacity: 1;
}

.lang-switcher a:hover {
  opacity: 1;
}

.lang-switcher img {
  width: 21px;
  height: 15px;
}

/* Mobile Header */
.header-mobile {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
}

.header-mobile .header-logo img {
  max-height: 40px;
}

.mobile-lang-and-burger {
  display: flex;
  align-items: center;
  gap: 15px;
}

.burger-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}

.burger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.mobile-menu-logo {
  margin-bottom: 50px;
}

.mobile-menu-logo img {
  max-height: 50px;
}

.mobile-menu-nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.mobile-menu-nav a {
  font-family: "Raleway", Sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

.mobile-menu-nav a:hover {
  color: #88865a;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../images/hero-bg.jpg') center center / cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 50px;
  gap: 40px;
}

.hero-btn {
  display: inline-block;
  background: #f1f5ed;
  color: #41413F;
  font-family: "Lato", Sans-serif;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 20px 117px 20px 31px;
  clip-path: polygon(0% 100%, 0% 0%, 82% 0%, 100% 100%);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  /* Animation */
  opacity: 0;
  transform: translateX(-40px);
  transition: background 0.3s, color 0.3s, opacity 0.8s ease, transform 0.8s ease;
}

.hero-btn.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.hero-btn:hover {
  background: #5d5c39;
  color: #f2f2e2;
}

.hero-text {
  font-family: "Raleway", Sans-serif;
  font-size: 18px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.55;
  max-width: 732px;
  /* Animation */
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-text.animate-in {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   Spacer
   ============================================ */
.section-spacer {
  height: 80px;
  background: #f1f5ed;
}

/* ============================================
   About Section
   ============================================ */
.about {
  padding: 80px 0 60px;
  background: #f1f5ed;
}

.about .container {
  display: flex;
  align-items: stretch;
  gap: 60px;
}

.about-image-wrap {
  flex: 0 0 44.264%;
  position: relative;
  min-width: 0;
}

.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-image-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #88865a;
  color: #fff;
  padding: 35px 45px;
  min-width: 60%;
  text-align: center;
}

.about-image-overlay h3 {
  font-family: "Raleway", Sans-serif;
  font-size: 1.944em;
  font-weight: 400;
  color: #fff;
  margin: 0;
  line-height: 1.086em;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.about-content {
  flex: 1;
  min-width: 0;
  padding-top: 10px;
}

.about-subtitle {
  font-family: "Roboto Slab", serif;
  font-size: 1.15rem;
  font-weight: 400;
  font-style: italic;
  color: #88865a;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 0.5em;
  display: block;
}

.about-content h2 {
  font-family: "Raleway", Sans-serif;
  font-size: 2.611em;
  font-weight: 400;
  color: #242304;
  margin-bottom: 0.67em;
  line-height: 1.021em;
  text-transform: uppercase;
}

.about-content .text-block {
  margin-bottom: 30px;
  font-size: 1rem;
  line-height: 1.62em;
  color: #717061;
}

.services-list {
  margin-top: 35px;
}

.service-item {
  padding: 27px 0;
  border-bottom: 1px solid #DEDECE;
}

.service-item:first-child {
  border-top: 1px solid #DEDECE;
}

.service-item:last-child {
  border-bottom: none;
}

.service-item h5 {
  font-family: "Raleway", Sans-serif;
  font-size: 23px;
  font-weight: 400;
  color: #242304;
  margin: 0;
  text-transform: uppercase;
}

.service-item h5 .num {
  font-weight: 400;
  color: #B9B9AB;
  margin-right: 7px;
}

/* ============================================
   Principles Section
   ============================================ */
.principles {
  padding: 80px 0 90px;
  background: #f1f5ed;
}

.principles .container {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.principles-heading {
  flex: 0 0 38%;
}

.principles-heading h1 {
  font-family: "Raleway", Sans-serif;
  font-size: 3.167em;
  font-weight: 400;
  color: #242304;
  line-height: 1em;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.principles-accordion {
  flex: 1;
}

.accordion-item {
  border-bottom: 1px solid #d5dbd0;
}

.accordion-item:first-child {
  border-top: 1px solid #d5dbd0;
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 29px 0;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.accordion-header h5 {
  font-family: "Raleway", Sans-serif;
  font-size: 23px;
  font-weight: 700;
  color: #242304;
  margin: 0;
  text-transform: uppercase;
  transition: color 0.3s;
  line-height: 1;
}

.accordion-header:hover h5 {
  color: #88865a;
}

.accordion-icon {
  font-size: 16px;
  color: #242304;
  flex-shrink: 0;
  margin-left: 20px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-content-inner {
  padding: 7px 0 41px 0;
  font-size: 1rem;
  line-height: 1.62em;
  color: #717061;
}

.accordion-item.active .accordion-icon .icon-plus {
  display: none;
}

.accordion-item .accordion-icon .icon-minus {
  display: none;
}

.accordion-item.active .accordion-icon .icon-minus {
  display: inline;
}

/* ============================================
   Case Studies Section
   ============================================ */
.case-studies {
  padding: 80px 0 100px;
  background-color: #F9F9F9;
  background-image: url('../images/contact-bg.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  position: relative;
}

.case-studies-header {
  display: flex;
  gap: 60px;
  margin-bottom: 60px;
}

.case-studies-header-left {
  flex: 1;
}

.case-studies-header .subtitle {
  font-family: "Roboto Slab", serif;
  font-size: 1.15rem;
  font-weight: 400;
  font-style: italic;
  color: #fff;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 0.5em;
  display: block;
}

.case-studies-header h2 {
  font-family: "Raleway", Sans-serif;
  font-size: 2.611em;
  font-weight: 400;
  color: #fff;
  line-height: 1.021em;
  text-transform: uppercase;
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.case-card {
  padding: 5em 3em;
}

.case-card:nth-child(1) {
  background: #88865A;
  color: #fff;
}

.case-card:nth-child(2) {
  background: #000000;
  color: #fff;
}

.case-card:nth-child(3) {
  background: #FFFFFF;
  color: #717061;
}

.case-card:nth-child(3) h5 {
  color: #242304;
}

.case-card-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 25px;
}

.case-card-icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.case-card h5 {
  font-family: "Raleway", Sans-serif;
  font-size: 23px;
  font-weight: 400;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-align: center;
  line-height: 1.3em;
}

.case-card p {
  font-size: 1rem;
  line-height: 1.62em;
}

/* ============================================
   Team Section
   ============================================ */
.team {
  padding: 80px 0 80px;
  background: #f1f5ed;
}

.team-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 60px;
  gap: 30px;
}

.team-header-left {
  flex: 0 0 34.1%;
}

.team-header-left .subtitle {
  font-family: "Roboto Slab", serif;
  font-size: 1.15rem;
  font-weight: 400;
  font-style: italic;
  color: #88865a;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 0.5em;
  display: block;
}

.team-header-left h2 {
  font-family: "Raleway", Sans-serif;
  font-size: 2.611em;
  font-weight: 400;
  color: #242304;
  line-height: 1.021em;
  text-transform: uppercase;
}

.team-header-center {
  flex: 0 0 40.9%;
  font-size: 1rem;
  line-height: 1.62em;
  padding-top: 37px;
  color: #717061;
}

.team-header-right {
  padding-top: 39px;
}

.team-header-right a {
  font-family: "Lato", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #242304;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  position: relative;
  padding-right: 1.8em;
}

.team-header-right a::after {
  content: '\2192';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: right 0.3s;
}

.team-header-right a:hover {
  color: #5d5c39;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.team-member {
  text-align: left;
}

.team-member img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 18px;
  transition: opacity 0.3s;
}

.team-member:hover img {
  opacity: 0.85;
}

.team-member h3 {
  font-family: "Raleway", Sans-serif;
  font-size: 1.944em;
  font-weight: 400;
  color: #242304;
  text-transform: uppercase;
  line-height: 1.086em;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
  padding: 150px 0 100px;
  background-color: #ffffff;
  background-image: url('../images/contact-bg.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.75);
}

.contact .container {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 60px;
}

.contact-info {
  flex: 0 0 50%;
  padding-right: 13%;
}

.contact-info .subtitle {
  font-family: "Roboto Slab", serif;
  font-size: 1.15rem;
  font-weight: 400;
  font-style: italic;
  color: #88865a;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 0.5em;
  display: block;
}

.contact-info h3 {
  font-family: "Raleway", Sans-serif;
  font-size: 1.944em;
  font-weight: 400;
  color: #242304;
  margin-bottom: 1em;
  text-transform: uppercase;
  line-height: 1.086em;
}

.contact-info .desc {
  margin-bottom: 30px;
  font-size: 1rem;
  line-height: 1.62em;
  color: #717061;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1rem;
  color: #717061;
}

.contact-detail .icon {
  color: #88865a;
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.contact-detail a {
  color: #717061;
}

.contact-detail a:hover {
  color: #88865a;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background-color: #373737;
  background-image: url('../images/footer-bg.jpg');
  background-position: bottom left;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  color: #b9b9b4;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer-main {
  display: flex;
  align-items: flex-start;
  padding: 80px 0 50px;
  gap: 60px;
}

.footer-logo-col {
  flex: 0 0 45%;
}

.footer-logo-col img {
  max-width: 200px;
  margin-bottom: 22px;
}

.footer-company-name {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  line-height: 1.6;
}

.footer-col {
  flex: 1;
}

.footer-col h6 {
  font-family: "Raleway", Sans-serif;
  font-size: 1.056em;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 18px;
}

.footer-col p,
.footer-col a {
  font-size: 17px;
  font-weight: 300;
  color: #b9b9b4;
  line-height: 1.62em;
}

.footer-col a:hover {
  color: #fff;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(150, 150, 140, 0.19);
  margin: 0;
}

.footer-bottom {
  text-align: center;
  padding: 28px 0 45px;
  font-size: 15px;
  color: #b9b9b4;
}

.footer-bottom strong {
  color: #fff;
  font-weight: 700;
}

/* ============================================
   Responsive - Tablet (max 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .header-desktop {
    display: none;
  }

  .header-mobile {
    display: flex;
  }

  .hero-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 30px;
    padding-left: 70px;
    gap: 20px;
  }

  .hero-text {
    font-size: 14px;
    max-width: 327px;
  }

  .hero-btn {
    font-size: 11px;
    padding: 15px 70px 15px 21px;
  }

  .about .container {
    flex-direction: column;
    gap: 40px;
  }

  .about-image-wrap {
    flex: none;
  }

  .about-content h2 {
    font-size: 2em;
  }

  .principles .container {
    flex-direction: column;
    gap: 30px;
  }

  .principles-heading {
    flex: none;
  }

  .principles-heading h1 {
    font-size: 2.5em;
  }

  .case-studies-header {
    flex-direction: column;
    gap: 20px;
  }

  .case-studies-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .case-card {
    padding: 3em 2em;
  }

  .team-header {
    flex-direction: column;
    gap: 15px;
  }

  .team-header-left {
    flex: none;
  }

  .team-header-center {
    padding-top: 0;
    flex: none;
  }

  .team-header-right {
    padding-top: 0;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .contact {
    padding: 80px 0;
  }

  .contact .container {
    flex-direction: column;
  }

  .contact-info {
    flex: none;
    padding-right: 0;
  }

  .footer-main {
    flex-direction: column;
    gap: 35px;
  }

  .footer-logo-col {
    flex: none;
  }
}

/* ============================================
   Responsive - Mobile (max 767px)
   ============================================ */
@media (max-width: 767px) {
  .container {
    padding: 0 20px;
  }

  .hero {
    min-height: 480px;
  }

  .hero-content {
    padding: 80px 20px 0;
    padding-left: 43px;
  }

  .hero-btn {
    font-size: 10px;
    padding: 12px 50px 12px 17px;
    letter-spacing: 0;
  }

  .hero-text {
    font-size: 12px;
    letter-spacing: 0;
    line-height: 1.7;
    max-width: 248px;
    text-align: left;
  }

  .section-spacer {
    height: 40px;
  }

  .about {
    padding: 50px 0;
  }

  .about .container {
    gap: 30px;
  }

  .about-content h2 {
    font-size: 1.8em;
  }

  .about-image-overlay {
    padding: 20px 25px;
    min-width: 70%;
  }

  .about-image-overlay h3 {
    font-size: 1.2em;
  }

  .principles {
    padding: 50px 0;
  }

  .principles-heading h1 {
    font-size: 2em;
  }

  .accordion-header {
    padding: 22px 0;
  }

  .accordion-header h5 {
    font-size: 18px;
  }

  .accordion-content-inner {
    padding: 5px 0 30px;
  }

  .case-studies {
    padding: 50px 0 60px;
  }

  .case-studies-header h2 {
    font-size: 1.6em;
  }

  .case-card {
    padding: 2.5em 2em;
  }

  .team {
    padding: 60px 0;
  }

  .team-header-left h2 {
    font-size: 1.6em;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .team-member h3 {
    font-size: 1.4em;
  }

  .contact {
    padding: 60px 0;
  }

  .contact-info h3 {
    font-size: 1.4em;
  }

  .footer-main {
    padding: 50px 0 30px;
    gap: 30px;
  }

  .service-item {
    padding: 20px 0;
  }

  .service-item h5 {
    font-size: 18px;
  }
}
