/* Contact page styles */
#contact {
  padding-top: 0 !important;
}

.page-contact .contact-wrapper {
  display: flex;
  gap: clamp(30px, 5vw, 100px);
  row-gap: 20px;
}

.page-contact .contact-form-section {
  flex: 1 1 50%;
  min-width: 0;
}

.page-contact .contact-info-section {
  flex: 1 1 50%;
  min-width: 0;
}

/* Page header */
.page-contact .contact-header {
  margin-bottom: 48px;
  max-width: calc(50% + 50px);
}

.page-contact .contact-header h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 120%;
  color: #2A1A46;
  margin-bottom: 20px;
}

.page-contact .contact-header .subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 140%;
  color: #7C6D96;
}

/* Form styles */
.page-contact .contact-form .form-group {
  margin-bottom: 16px;
  position: relative;
}

.page-contact .contact-form .form-group.form-group-textarea .form-control {
  min-height: 200px;
  resize: vertical;
}

.page-contact .contact-form .char-counter {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(17, 35, 55, 0.65);
  margin-top: 6px;
}

.page-contact .contact-form .form-control,
.page-contact .contact-form .form-select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #686e77;
  border-radius: 3px;
  background-color: white;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: #112337;
  transition: border-color 0.3s ease;
}

.page-contact .contact-form .form-control:focus,
.page-contact .contact-form .form-select:focus {
  outline: none;
  border-color: #686e77;
  box-shadow: none;
}

.page-contact .contact-form .form-control::placeholder {
  color: rgba(17, 35, 55, 0.65);
}

.page-contact .contact-form .form-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #9aa8ae;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 0;
  position: absolute;
  top: 16px;
  left: 16px;
  background: white;
  padding: 0 4px;
  pointer-events: none;
  z-index: 1;
}

.page-contact .contact-form .form-label .required {
  color: #e83892;
  font-weight: 700;
}

.page-contact .contact-form .optional-label {
  position: absolute;
  top: 16px;
  right: 16px;
  color: #9aa8ae;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
}

.page-contact .contact-form .form-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.83333 8.33333L10 12.5L14.1667 8.33333' stroke='%239AA8AE' stroke-width='1.66667' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 48px;
}

/* Privacy policy checkbox */
.page-contact .privacy-policy {
  margin-bottom: 8px;
}

.page-contact .privacy-policy .form-check {
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-contact .privacy-policy .form-check-input {
  width: 18px;
  height: 18px;
  border: 1px solid #686e77;
  border-radius: 3px;
  background-color: white;
  margin: 0;
  flex-shrink: 0;
}

.page-contact .privacy-policy .form-check-input:checked {
  background-color: #22c55e;
  border-color: #22c55e;
}

.page-contact .privacy-policy .form-check-input:focus {
  box-shadow: none;
}

.page-contact .privacy-policy .form-check-label {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #112337;
  margin: 0;
}

.page-contact .privacy-policy .form-check-label a {
  color: #22c55e;
  font-weight: 400;
  text-decoration: none;
}

.page-contact .privacy-policy .form-check-label a:hover {
  text-decoration: underline;
}

.page-contact .required-notice {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(17, 35, 55, 0.65);
  margin-bottom: 24px;
}

/* Submit button */
.page-contact .form-submit {
  padding: 16px 0;
}

.page-contact .form-submit .btn-submit {
  background-color: #22c55e;
  color: white;
  border: none;
  border-radius: 58px;
  padding: 16px 40px;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-contact .form-submit .btn-submit:hover {
  background-color: #16a34a;
  transform: translateY(-2px);
}

.page-contact .form-submit .btn-submit:active {
  transform: translateY(0);
}

/* Contact info sidebar */
.page-contact .contact-info-columns {
  display: flex;
  gap: clamp(20px, 4vw, 100px);
}

.page-contact .contact-info-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-contact .contact-info-section {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.page-contact .info-block h2 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.4;
  color: #00181c;
  margin-bottom: 7px;
}

.page-contact .info-block .info-item {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}

.page-contact .info-block .info-item .icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.page-contact .info-block .info-item i {
    color: #29b4d6;
}

.page-contact .info-block .info-item .icon svg {
  width: 100%;
  height: 100%;
}

.page-contact .info-block .info-item .text {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  color: #00181c;
}

.page-contact .info-block .info-item.or-text .text {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
}

.page-contact .info-block .social-links {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.page-contact .info-block .social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #29b4d6;
  border-radius: 50%;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-contact .info-block .social-link:hover {
  transform: scale(1.1);
  background-color: #22a0c0;
}

.page-contact .info-block .social-link svg,
.page-contact .info-block .social-link img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

/* Info block headings */
.page-contact .info-block {
  margin-bottom: 0;
}

/* h4 section titles: Vânzări echipamente, Marketing, Vânzări piese = #2A1A46 */
.page-contact .info-block h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 130%;
  color: #2A1A46;
  margin-bottom: 4px;
  margin-top: 0;
}

/* h4 Showroom, Magazin de piese = #E83892 */
.page-contact .info-block h4.highlight,
.page-contact .contact-info-col:last-child .info-block:nth-child(n+2) h4 {
  color: #E83892;
}

/* h5 person names = #625182 */
.page-contact .info-block h5 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 140%;
  color: #625182;
  margin-bottom: 2px;
  margin-top: 10px;
}

.page-contact .info-block h5:first-of-type {
  margin-top: 0;
}

/* Language flags */
.page-contact .contact-flags {
  display: flex;
  gap: 4px;
  margin-bottom: 6px;
  align-items: center;
}

.page-contact .contact-flags svg {
  border-radius: 2px;
}

/* Contact detail rows */
.page-contact .contact-detail {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.page-contact .contact-detail svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Phone & email links = #29B4D6 bold */
.page-contact .contact-detail a {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 140%;
  color: #29B4D6;
  text-decoration: none;
  font-weight: 700;
}

.page-contact .contact-detail a:hover {
  color: #2A1A46;
}

/* Address text = #3B2563 bold */
.page-contact .contact-detail span {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 140%;
  color: #3B2563;
  font-weight: 700;
}

/* Schedule text = #625182 normal */
.page-contact .contact-detail.schedule span {
  color: #625182;
  font-weight: 400;
}

/* Responsive design */
@media (max-width: 1199px) {
  .page-contact .contact-wrapper {
    flex-direction: column;
  }

  .page-contact .contact-form-section {
    max-width: 100%;
  }

  .page-contact .contact-header {
    max-width: 100%;
  }

  .page-contact .contact-info-section {
    width: 100%;
    max-width: 100%;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .page-contact .contact-wrapper{
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .page-contact .contact-wrapper .contact-form-section{
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 575px) {
  .page-contact .contact-header h1 {
    font-size: 30px;
  }

  .page-contact .contact-header .subtitle {
    font-size: 16px;
  }

  .page-contact .contact-info-columns {
    gap: 40px;
  }

  .page-contact .info-block h2 {
    font-size: 20px;
  }

  .page-contact .contact-wrapper {
    gap: 24px;
  }

  .page-contact .contact-info-columns {
    flex-direction: column;
    gap: 32px;
  }
}

/* Showroom Section */
.showroom-section {
  background-color: #29b4d6;
  /*width: calc(100vw - var(--bs-gutter-x) * .3);*/
  /*position: relative;*/
  /*left: 50%;*/
  /*right: 50%;*/
  /*margin-left: -50vw;*/
  /*margin-right: -50vw;*/
  padding: 42px 0;
  /*margin-top: 48px;*/
}

.showroom-section .showroom-content {
  max-width: 1168px;
  margin: 0 auto;
  padding: 0 15px;
}

.showroom-section .showroom-header {
  text-align: center;
  margin-bottom: 48px;
}

.showroom-section .showroom-header h2 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 16px;
}

.showroom-section .showroom-header p {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  color: #ffffff;
  max-width: 800px;
  margin: 0 auto;
}

.showroom-section .showroom-blocks {
  display: flex;
  gap: 50px;
  align-items: stretch;
}

.showroom-section .map-container,
.showroom-section .video-container {
  flex: 1;
  height: 366px;
  border-radius: 16px;
  overflow: hidden;
}

.showroom-section .map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.showroom-section .video-container {
  position: relative;
}

.showroom-section .video-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
              url('https://picsum.photos/600/366') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
}

.showroom-section .play-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.3s ease;
}

.showroom-section .play-button:hover {
  transform: scale(1.1);
}

.showroom-section .play-button svg {
  width: 92px;
  height: 92px;
}

/* Responsive design for showroom section */
@media (max-width: 991px) {
  .showroom-section .showroom-blocks {
    flex-direction: column;
    gap: 30px;
  }
  
  .showroom-section .map-container,
  .showroom-section .video-container {
    width: 100%;
  }
}

@media (max-width: 575px) {
  .showroom-section {
    padding: 30px 0;
    margin-top: 30px;
  }
  
  .showroom-section .showroom-header h2 {
    font-size: 24px;
  }
  
  .showroom-section .showroom-header {
    margin-bottom: 30px;
  }
  
  .showroom-section .map-container,
  .showroom-section .video-container {
    height: 250px;
  }
}