/*
-----------------------------
WHAT WE DO PAGE STYLES
-----------------------------
*/

.image-hero {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
    z-index: 10; /* Higher than hex-canvas z-index: 2 */
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)), url("../img/other_pages/contact-hero.jpg");
    background-size: cover;
    background-position: center 70%;
    background-repeat: no-repeat;
    z-index: -10;
}

/* Header and overlay styles are global now; remove duplicates to prevent conflicts */
.over-image-section { position: relative; z-index: 10; height: 100%; text-align: center; }

.secondary-menu-navbar {
    display: inline-flex;
    flex-wrap: wrap;
}

.secondary-menu-link-navbar {
    padding: 2px 15px;
}

.secondary-menu-link-navbar a {
    color: var(--first-color);
    font-size: 1.3rem;
    font-weight: 600;
}

.secondary-menu-link-navbar a:hover {
    font-weight: 800;
}

.primary-menu-navbar {
    display: inline-flex;
    flex-wrap: wrap;
}

.primary-menu-link-navbar {
    padding: 5px 15px;
}

.primary-menu-link-navbar a {
    font-size: 1.6rem;
    color: var(--third-color);
    font-weight: 500;
}

.primary-menu-link-navbar a:hover {
    color: var(--first-color);
}

.on-contact a{
    color: var(--first-color);
    font-weight: 900;
}

.hero-section-wrap {
    margin-top: 12vh;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero-section-content {
    text-align: center;
    width: 60%;
    max-width: 600px;
    min-width: 280px;
    padding: 4vw 4vw 4vw 4vw;
    background: none;
    float: none;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid linear-gradient(
        transparent,
        var(--first-color),
        transparent
    );
    box-shadow: 0 0 10px var(--first-color) inset;
    border-radius: 30px;
}

.hero-section-text {
    width: 100%;
    max-width: 600px;
}

.hero-section-text h1{
    color: var(--first-color);
    margin-bottom: 18px;
    line-height: 1.1;
}

.hero-section-text p{
    color: #ffffff;
    font-size: 2.6rem;
    font-weight: 600;
    line-height: 1.5;
}

.hero-section-buttons .btn-black {
    margin-right: 16px;
}

@media (max-width: 1023px) {
  .hero-section-wrap {
    margin-top: 7vh;
    min-height: 50vh;
    justify-content: center;
    padding-top: 4vh;
  }
  .hero-section-content {
    width: 90%;
    max-width: 95vw;
    padding: 4vw 0;
  }
  .hero-section-text {
    max-width: 100vw;
  }
  .hero-section-text h1 {
    font-size: 2.1rem;
  }
  .hero-section-text p {
    font-size: 1rem;
  }
}
@media (max-width: 767px) {
  /* Prevent horizontal scrolling */
  body {
    overflow-x: hidden;
    width: 100%;
  }
  
  .image-hero {
    height: 30vh;
  }
  
  .hero-section-wrap {
    margin-top: 2vh;
    min-height: 60vh;
    padding-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .hero-section-content {
    width: 100%;
    max-width: 100vw;
    padding: 6vw 0 2vw 0;
  }
  
  .hero-section-text h1 {
    font-size: 3rem;
  }
  
  .hero-section-text p {
    font-size: var(--font-size-xs);
  }
  
  /* Mobile nav visibility */
  .navbar-wrap { display: none; }
  .btn-menu-hamburger { display: block; cursor: pointer; z-index: 1001; position: relative; }
  .open-button-hamburger, .close-button-hamburger { width: 30px; height: 30px; transition: opacity 0.3s ease; }
  .close-button-hamburger { display: none; }
  .btn-menu-hamburger.active .open-button-hamburger { display: none; }
  .btn-menu-hamburger.active .close-button-hamburger { display: block; }
  
  /* Fix horizontal scrolling on mobile */
  .contact-form .container {
    flex-direction: column;
    gap: 30px;
    padding: 4vh 4vw;
    margin: 0 4vw;
    width: calc(100% - 8vw);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }
  
  .contact-form .container .info-column {
    order: 1;
  }
  
  .contact-form .container .form-column {
    order: 2;
  }
  
  .form-column {
    width: 100%;
  }
  
  .info-column h2 {
    font-size: 2.5rem;
    text-align: center;
  }
  
  .employer-info {
    text-align: center;
  }
  
  .employer-info p, 
  .employer-info a {
    font-size: var(--font-size-xs);
  }
}

/* Mobile Fullscreen Menu: inherited from global stylesheet */
.logo-header-navbar img {
    width: 180px !important;
    max-width: 40vw;
    height: auto;
    display: block;
}

@media (max-width: 1023px) {
  .logo-header-navbar img {
    width: 140px !important;
  }
  .hero-section-content {
    padding-left: 16px;
  }
}

@media (max-width: 767px) {
  .logo-header-navbar img {
    width: 150px !important;
  }
  .hero-section-content {
    padding-left: 8px;
  }
  
  /* Fix horizontal scrolling on mobile */
  .contact-form .container {
    flex-direction: column;
    gap: 30px;
    padding: 4vh 4vw;
    margin: 0 4vw;
    width: calc(100% - 8vw);
  }

  .contact-form .container .info-column {
    order: 1;
  }

  .contact-form .container .form-column {
    order: 2;
  }
  
  .form-column {
    width: 100%;
  }
  
  .info-column h2 {
    font-family: var(--font-family);
    font-size: 3rem;
    text-align: center;
  }
  
  .employer-info {
    text-align: center;
  }
  
  .employer-info p, 
  .employer-info a {
    font-size: var(--font-size-s);
  }
}

/*
-----------------------------
CONTACT FORM
-----------------------------
*/
.contact-form {
  background: var(--second-color);
  padding: 8vh 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(
    circle at top right,
    rgba(255, 165, 0, 0.4) 0%,
    rgba(255, 165, 0, 0.3) 10%,
    rgba(255, 165, 0, 0.2) 15%,
    rgba(255, 165, 0, 0.15) 22%,
    rgba(255, 165, 0, 0.1) 25%,
    rgba(255, 165, 0, 0.05) 35%,
    transparent 40%
  ),
  var(--second-color);
  /* font-family: sans-serif; */
}

.contact-form .container {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8vh;
    justify-content: center;
    align-items: center;
    /* border: 1px solid var(--text-color); */
    border-radius: 30px;
    background: linear-gradient(to right, rgba(20, 20, 20, 0.5), rgba(150, 150, 150, 0.1));
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 9;
}

.form-column {
  flex: 1;
}

.form-column form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-column input,
.form-column textarea {
  font-family: var(--font-family);
  padding: 15px;
  border: none;
  border: 1px solid var(--text-color);
  border-radius: 10px;
  /* background-color: #bfbfbf; */
  color: white;
  font-size: 14px;
  resize: none;
}

.form-column textarea {
  height: 150px;
}

.form-column button {
  background-color: var(--first-color); /* Yellow button */
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  color: black;
  transition: background-color 0.3s ease;
}

.form-column button:hover {
  background-color: #e0a800;
}

.info-column {
    text-align: left;
  flex: 1;
}

.info-column h2 {
  color: #ffc400;
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.employer-info {
  margin-bottom: 30px;
}

.employer-info .label {
  color: #fff;
  font-size: var(--font-size-m);
  margin-bottom: 10px;
  font-weight: 600;
}

.employer-info p, 
.employer-info a {
  margin: 5px 0;
  color: #fff;
  font-size: 1.5rem;
}

.employer-info i {
  margin-right: 8px;
  color: #fff;
}

.icon-email {
    vertical-align: middle;
    content: url(../img/other_pages/Mail.svg);
}

.icon-phone {
  vertical-align: middle;
  content: url(../img/other_pages/Phone.svg);
}

.icon-address {
  vertical-align: middle;
  content: url(../img/other_pages/address-3.svg);
}

.icon-linkedin {
  vertical-align: middle;
  display: inline-block;
  width: 24px;
  height: 22px;
  content: url(../img/other_pages/linkedin-logo.svg);
}

@media (max-width: 767px) {
  /* Fix horizontal scrolling on mobile */
  .contact-form .container {
    flex-direction: column;
    gap: 30px;
    padding: 4vh 4vw;
    margin: 0 4vw;
    width: calc(100% - 8vw);
  }

  .contact-form .container .info-column {
    order: 1;
  }

  .contact-form .container .form-column {
    order: 2;
  }
  
  .form-column {
    width: 100%;
  }
  
  .info-column h2 {
    font-family: var(--font-family);
    font-size: 3rem;
    text-align: center;
  }
  
  .employer-info {
    text-align: start;
    /* margin-left: 25%; */
  }
  
  .employer-info p, 
  .employer-info a {
    font-size: var(--font-size-xs);
  }
}

/*
-----------------------------
GOOGLE MAPS
-----------------------------
*/

.map-section {
  display: flex;
  justify-content: center;
  height: 60vh;
}

.map-container {
  position: relative; /* Needed for pseudo-element positioning */
  width: 100%;
  border: none;
  overflow: hidden;
  z-index: 5;
}

.map-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3); /* Dark overlay */
  z-index: 1;
  pointer-events: none;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  position: relative;
  z-index: 0; /* Ensures iframe is behind overlay */
}


