@import url('https://fonts.cdnfonts.com/css/myriad-pro');

body, html {
  font-family: 'Myriad Pro', sans-serif !important;
}

b{
  font-weight: 600;
}

.contact-section-wrapper {
  background: linear-gradient(90deg, #f7f9fb 60%, #bf966922 100%);
  padding: 7rem 1.5rem;
}

.contact-section {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
    color: #bf9669;
    font-weight: 600;
    font-size: 2rem;
    letter-spacing: -1px;
    border-bottom: 2px solid #2e3d33;
    padding-bottom: 0.2em;
    margin-bottom: 2.5rem;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.contact-container {
  display: flex;
  gap: 3rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* Tekstni dio u lijevom stupcu */
.contact-info {
  flex: 1 1 380px;
  max-width: 440px;
}
.contact-info h3 {
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 1rem;
  font-weight: 600;
}
.contact-info p {
  font-size: 1.17rem;
  line-height: 1.5;
  color: #555;
}

/* CTA tekst dodatni stilovi */
.cta-text {
  display: flex;
  flex-direction: column;
}

.cta-title {
  font-size: 1.85rem;
  font-weight: 600;
  color: #bf9669;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-title .cta-sub {
  font-weight: 600;
  color: #2c3e50;
  font-size: 1.17rem;
  display: block;
  margin-top: 0.3rem;
}

.cta-lead p {
  font-weight: 300;
  font-size: 1.17rem;
  color: #555;
  margin-bottom: 0.7rem;
  line-height: 1.5;
}

.cta-list {
  list-style: none;
  margin: 0.5rem 0 2rem 0;
  color: #555;
  font-size: 1.17rem;
  font-weight: 300;
  padding-left: 1.5em;
  position: relative;
}

.cta-list li {
  position: relative;
  margin-bottom: 0.8rem;
  padding-left: 1em;
}

.cta-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #bf9669;
  font-size: 1.3em;
  line-height: 1;
  font-weight: bold;
}


.cta-box {
  font-weight: 300;
  background-color: #f9f9f9;
  padding: 1.4rem 1.8rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  color: #2c3e50;
  font-size: 1.17rem;
  line-height: 1.5;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.cta-btn {
  display: inline-block;
  background-color: #bf9669;
  color: white;
  font-weight: 600;
  padding: 1rem 2.5rem;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  cursor: pointer;
  user-select: none;
}

/* Forma s desne strane */
.contact-form {
  flex: 1 1 420px;
  background-color: #f9f9f9;
  padding: 2.5rem 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  box-sizing: border-box;
}

/* Form elementi */
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 300;
  color: #2c3e50;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 1.17rem;
  font-weight: 300;
}
.gdpr-consent {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}
.gdpr-consent a {
  color: #bf9669;       /* boja koja se uklapa s tvojim web dizajnom */
  text-decoration: underline; /* možeš staviti ili ukloniti ovisno o želji */
  transition: color 0.3s ease;
}

.gdpr-consent a:hover,
.gdpr-consent a:focus {
  color: #2e3d33;       /* tamnija boja na hover/fokus za akcentski efekt */
  outline: none;
  text-decoration: underline; /* možeš promijeniti ako želiš */
}


.gdpr-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.submit-button {
  display: block;
  margin: 1.5rem auto 0;
  background-color: #bf9669;
  color: white;
  padding: 1rem 2rem;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border: none;
  font-size: 1.17rem;
}
.submit-button:hover {
  background-color: #2e3d33;
}

/* Custom file upload */
.custom-file-upload {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 0.8rem 1rem;
  font-size: 1.17rem;
  font-weight: 300;
  color: #555;
  cursor: pointer;
}

.custom-file-upload input[type="file"] {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
}

.upload-button {
  background-color: #bf9669;
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 40px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 1;
  position: relative;
}

.upload-button:hover {
  background-color: #2e3d33;
}

#file-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 1;
  position: relative;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder{
  font-family: 'Myriad Pro' !important;
  font-weight: 300 !important;
  opacity: 1;
}

.swal2-title,
.swal2-html-container {
  font-family: 'Myriad Pro', sans-serif !important;
  font-weight: 300;
}

.custom-confirm-button {
  background-color: #bf9669 !important;
  color: white !important;
  padding: 10px 20px;
  font-weight: 600;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-family: 'Myriad Pro';
}
.custom-confirm-button:hover {
  background-color: #2e3d33 !important; /* tamnija nijansa za hover */
}

/* Responsivnost */
@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
  }
  .contact-info,
  .contact-form {
    max-width: 100%;
    flex: 1 1 100%;
  }
}

  @media (max-width: 700px) {
    html, body {
      margin: 0;
      padding: 0;
      overflow-x: hidden; /* onemogućava horizontalni scroll */
      box-sizing: border-box;
      width: 100vw;
      max-width: 100vw;
    }
    
    .container {
      width: 100%;
      max-width: 100vw;
      padding-left: 1rem;
      padding-right: 1rem;
      margin-left: auto;
      margin-right: auto;
      box-sizing: border-box;
    }

    .contact-section-wrapper,
    .contact-section {
      width: 100%;
      padding-left: 1rem;
      padding-right: 1rem;
      margin: 0;
      box-sizing: border-box;
    }
    .section-title{
      font-size: 1.6rem;
    }
  
    .contact-container {
      display: block;
      max-width: 100%;
      width: 100%;
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
  
    /* Lijevi dio s tekstom i CTA */
    .contact-info,
    .cta-text {
      max-width: calc(100vw - 2rem);
      margin: 0 auto 2rem auto;
      padding-left: 1rem;
      padding-right: 1rem;
      box-sizing: border-box;
      color: #2e3d33;
    }
  
    .cta-title {
      font-size: 1.8rem;
      font-weight: 600;
      margin-bottom: 1rem;
      padding-left: 0.5rem;
      padding-right: 0.5rem;
      text-align: center;
    }
  
    .cta-sub {
      font-weight: 300;
      font-size: 1.2rem;
      display: block;
      margin-bottom: 0.5rem;
    }
  
    .cta-lead p {
      font-size: 1.1rem;
      line-height: 1.6;
      margin-bottom: 1.2rem;
      padding-left: 0.5rem;
      padding-right: 0.5rem;
    }
  
    .cta-list {
      list-style: none;
      padding-left: 1.1rem;
      margin-bottom: 1.8rem;
    }
    .cta-list li {
      margin-bottom: 0.8rem;
      font-size: 1.1rem;
      font-weight: 300;
      position: relative;
      padding-left: 1.3em;
      color: #2e3d33;
    }
    .cta-list li::before {
      content: "•";
      position: absolute;
      left: 0;
      color: #bf9669;
      font-size: 1.2em;
      font-weight: bold;
      opacity: 0.9;
    }
  
    .cta-box {
      font-size: 1.1rem;
      line-height: 1.5;
      background: #f9f9f9;
      padding: 1rem 1rem;
      border-radius: 12px;
      box-shadow: 0 3px 10px rgba(46, 61, 51, 0.1);
      margin-left: 0.5rem;
      margin-right: 0.5rem;
      color: #2e3d33;
    }
  
    /* Desni dio - forma */
    .contact-form {
      max-width: calc(100vw - 2rem);
      width: 100%;
      margin: 0 auto 2rem auto;
      padding: 2.5rem 2rem;
      box-sizing: border-box;
      background-color: #fff;
      border-radius: 12px;
      box-shadow: 0 4px 15px rgba(46, 61, 51, 0.15);
    }
  
    .form-group label {
      font-size: 1rem;
      font-weight: 300;
      margin-bottom: 0.4rem;
      display: block;
      color: #2c3e50;
    }
  
    .form-group input,
    .form-group textarea {
      font-size: 1rem;
      padding: 0.7rem 1rem;
      width: 100%;
      border: 1px solid #e0e0e0;
      border-radius: 4px;
      box-sizing: border-box;
    }
  
    .custom-file-upload {
      display: flex;
      align-items: center;
      gap: 0.8rem;
      margin-bottom: 1.5rem;
    }
    .custom-file-upload input[type="file"] {
      display: none;
    }
    .upload-button {
      background-color: #bf9669;
      color: white;
      border: none;
      padding: 0.7rem 1.5rem;
      border-radius: 36px;
      cursor: pointer;
      font-weight: 600;
      font-size: 0.7rem;
      transition: background-color 0.3s ease;
    }
    .upload-button:hover {
      background-color: #2e3d33;
    }
    #file-name {
      font-size: 0.9rem;
      color: #555;
    }
  
    .gdpr-consent {
      display: flex;
      align-items: center;
      gap: 0.7rem;
      margin-bottom: 1rem;
      font-size: 1rem;
      color: #2e3d33;
    }
  
    .gdpr-consent a {
      color: #bf9669;
      text-decoration: underline;
    }
    .gdpr-consent a:hover,
    .gdpr-consent a:focus {
      color: #2e3d33;
      outline: none;
    }
  
    .gdpr-consent input[type="checkbox"] {
      width: 18px;
      height: 18px;
      cursor: pointer;
    }
  
    .submit-button {
      font-size: 1.1rem;
      padding: 0.85rem 2.5rem;
      border-radius: 30px;
      max-width: 100%;
      width: 100%;
      background-color: #bf9669;
      color: white;
      border: none;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }
    .submit-button:hover {
      background-color: #2e3d33;
    }
  }  
