/* ===============================================
   Contact Us Page Styles - Savvy Ecommerce Theme
   =============================================== */

/* Page Title Section - Matching About Us Page */

.page-title-wrapper {
  position: relative;
  z-index: 2;
}

.page-title {
  font-family: var(--font-primary);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  margin: 0 0 1rem;
  line-height: 1.1;
  animation: titleZoomIn 1.5s cubic-bezier(0.17, 0.67, 0.83, 0.67) forwards;
  opacity: 0;
  transform-origin: center;
}

/* Headquarters Section */
.headquarters-section {
  margin: 0;
  padding: 60px 0;
  background-color: var(--color-background-light);
}

.headquarters-map {
  height: 100%;
  min-height: 500px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.headquarters-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 500px;
  border: none;
}

.headquarters-info {
  background-color: #fff;
  padding: 40px 30px;
  height: 100%;
  min-height: 500px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: left;
}

.headquarters-title {
  font-family: var(--font-primary);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 15px;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.headquarters-divider {
  height: 3px;
  width: 100%;
  background-color: var(--color-primary);
  margin: 0 auto 25px;
}

.headquarters-location {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 30px;
  text-align: left;
  font-family: 'Be Vietnam', sans-serif;
}

.headquarters-details {
  margin-bottom: 30px;
}

.headquarters-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.icon-container {
  margin-right: 15px;
  min-width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-container i {
  color: var(--color-primary);
  font-size: 1.2rem;
}

.headquarters-item p {
  margin: 0;
  color: var(--color-primary);
  line-height: 1.5;
  font-size: 1rem;
  font-family: var(--font-secondary);
}

.headquarters-item a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500;
}

.headquarters-item a:hover {
  color: var(--color-primary-hover);
}

.headquarters-social {
  display: flex;
  justify-content: left;
  gap: 15px;
  margin-top: 0px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: #002674;
  border-radius: 50%;
  transition: all 0.3s;
  font-size: 0.9rem;
}

.social-link:hover {
  background-color: #002674;
  color: #fff;
}

/* Estilos para iconos Bootstrap Icons */
.social-link i {
  font-size: 2rem;
  line-height: 1;
}

/* Estilos específicos para cada red social */
.social-link[href*="facebook"]:hover {
  background-color: #1877f2;
}

.social-link[href*="instagram"]:hover {
  background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.social-link[href*="google"]:hover {
  background-color: #4285f4;
}

/* Sales Offices Section */
.sales-offices-section {
  padding: 60px 0;
  background-image: url('https://thesupersignguy.com/wp-content/uploads/2025/03/online-store-1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
}

.offices-title {
  font-family: var(--font-primary);
  font-size: 3.8rem;
  font-weight: 700;
  color: #fff;
  margin-top: 20px;
  margin-bottom: 15px;
  text-align: center;
  text-transform: uppercase;
}

.offices-divider {
  height: 3px;
  width: 80px;
  background-color: #fff;
  margin: 0 auto 40px;
}

.office-card {
  border-radius: 8px;
  border-color: #fff;
  overflow: hidden;
  margin-bottom: 30px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  transition: var(--transition-base);
  padding: 20px;
  border: 1px solid white !important;
}

.office-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}

.office-location {
  font-size: 1.8rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  text-align: left;
  font-family: var(--font-secondary);
}

.office-divider {
  height: 2px;
  width: 190px;
  background-color: #fff;
  margin: 0px 0px 20px 0px;
  text-align: left;
}

.office-details {
  color: #fff;
}

.office-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.office-item i {
  color: #fff;
  font-size: 1.2rem;
  margin-right: 15px;
  min-width: 20px;
}

.office-item p {
  margin: 0;
  color: #fff;
  line-height: 1.5;
  font-size: 0.95rem;
  font-family: var(--font-secondary);
}

.office-item a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
  font-weight: 500;
}

.office-item a:hover {
  opacity: 0.8;
}

.office-map {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.office-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Contact Form Section */
.contact-form-section {
  margin: 0;
  padding: 60px 0;
  background-color: var(--color-gray-100);
}

.contact-form-container {
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--color-white);
  padding: 0px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition-base);
}

.contact-form-title {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 700;
  color: #002674;
  margin-bottom: 30px;
  text-align: center;
  text-transform: uppercase;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #002674;
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #002674;
  outline: none;
}

.btn-send:hover {
  background-color: #001a4d;
}

/* Animation Classes */
.animate-fade-in {
  animation: fadeIn 1s ease forwards;
  opacity: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes titleZoomIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.animate-zoom-in {
  opacity: 0;
  animation: titleZoomIn 1.5s cubic-bezier(0.17, 0.67, 0.83, 0.67) forwards;
}

.animate-fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .headquarters-info {
    margin-top: 30px;
    min-height: auto;
    margin-top: 3rem;
  }
}

@media (max-width: 768px) {
  .page-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .contact-section {
    padding: 3rem 0;
  }
  
  .map-section {
    padding: 2rem 0 3rem;
  }
}

@media (max-width: 576px) {
  .page-title {
    font-size: 2rem;
  }
  
  .contact-form-wrapper {
    padding: 1.5rem;
  }
}
