/* ===============================
   CONTACT PAGE — Blacklion Style
   =============================== */

/* ===== HERO SECTION ===== */
.contact-hero {
  position: relative;
  height: 500px;
  background: url('/static/images/contact-banner.jpg') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
}
.contact-hero .hero-text h1 {
  font-size: 70px;
  font-weight: 900;
  color: #fabe23;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.contact-hero .hero-text p {
  font-size: 20px;
  font-weight: 600;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.contact-hero .container {
  position: relative;
  z-index: 2;
}
.contact-title {
  font-size: 64px;
  font-weight: 900;
  margin-bottom: 12px;
}
.contact-subtitle {
  font-size: 20px;
  font-weight: 500;
  opacity: 0.9;
}

/* ===== CONTACT GRID ===== */
.contact-main {
  padding: 80px 0;
  background: #fff;
}
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  align-items: flex-start;
  justify-content: center;
}
.contact-info, .contact-form {
  flex: 1 1 45%;
  background: #f8f8f8;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}
.section-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 25px;
  color: #000;
}

/* ===== CONTACT INFO ===== */
.contact-info .info-line {
  font-size: 16px;
  margin-bottom: 12px;
}
.map-frame {
  margin-top: 25px;
  border-radius: 12px;
  overflow: hidden;
}

/* ===== FORM ===== */
.contact-form .form-group {
  margin-bottom: 20px;
}
.form-control {
  width: 100%;
  border: 1.5px solid #ccc;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
}
.form-control:focus {
  border-color: #fabe23;
  box-shadow: 0 0 0 3px rgba(250,190,35,0.3);
}
textarea.form-control {
  resize: vertical;
}
.btn-submit {
  display: inline-block;
  background: #fabe23;
  color: #000;
  font-weight: 800;
  border: none;
  border-radius: 25px;
  padding: 12px 28px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-submit:hover {
  background: #000;
  color: #fff;
}
.error {
  color: red;
  font-size: 13px;
  margin-top: 4px;
}

/* ===== BUTTON - ALL BRANCHES LINK ===== */
.btn-contact-locations {
  display: inline-block;
  margin-top: 20px;
  background: #fabe23;
  color: #000;
  font-weight: 800;
  border: none;
  border-radius: 25px;
  padding: 12px 28px;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-contact-locations:hover {
  background: #000;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ===============================
   LOCATIONS PAGE STYLES
   =============================== */

/* ===== LOCATIONS HERO ===== */
.locations-hero {
  background: url('/static/images/locations-banner.jpg') center/cover no-repeat;
}

/* ===== LOCATIONS MAIN SECTION ===== */
.locations-main {
  padding: 80px 0;
  background: #fff;
}

/* ===== MAIN HEADQUARTERS CARD ===== */
.main-location-card {
  background: linear-gradient(135deg, #fabe23 0%, #f5a623 100%);
  border-radius: 20px;
  padding: 50px;
  margin-bottom: 60px;
  box-shadow: 0 12px 40px rgba(250, 190, 35, 0.3);
  color: #000;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.main-location-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.main-location-title {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: rgba(0,0,0,0.7);
  position: relative;
  z-index: 1;
}

.main-location-name {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 12px;
  color: #000;
  position: relative;
  z-index: 1;
}

.main-location-region {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: rgba(0,0,0,0.85);
  position: relative;
  z-index: 1;
}

.main-location-address {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 15px;
  color: rgba(0,0,0,0.75);
  position: relative;
  z-index: 1;
}

.main-location-phone {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 25px;
  color: #000;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
}

.main-location-map-link {
  display: inline-block;
  background: #000;
  color: #fabe23;
  font-weight: 800;
  border-radius: 25px;
  padding: 14px 32px;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  position: relative;
  z-index: 1;
}

.main-location-map-link:hover {
  background: #fff;
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* ===== LOCATIONS GRID TITLE ===== */
.locations-grid-title {
  font-size: 36px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 50px;
  color: #000;
  position: relative;
  padding-bottom: 15px;
}

.locations-grid-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: #fabe23;
  border-radius: 2px;
}

/* ===== LOCATIONS GRID ===== */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* ===== INDIVIDUAL LOCATION CARDS ===== */
.location-card {
  background: #f8f8f8;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  position: relative;
}

.location-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

/* Special styling for main location in grid */
.location-card-main {
  background: #f8f8f8;
  border: none;
}

/* ===== LOCATION CARD TITLE (matches contact page section-title) ===== */
.location-card-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 25px;
  color: #000;
}

/* ===== LOCATION INFO LINES (matches contact page info-line) ===== */
.location-info-line {
  font-size: 16px;
  margin-bottom: 12px;
  color: #000;
  line-height: 1.6;
}

.location-info-line strong {
  font-weight: 700;
}

/* ===== LOCATION MAP FRAME (matches contact page map-frame) ===== */
.location-map-frame {
  margin-top: 25px;
  margin-bottom: 15px;
  border-radius: 12px;
  overflow: hidden;
}

/* ===== VIEW ON MAP BUTTON (matches btn-contact-locations) ===== */
.location-view-map-btn {
  display: inline-block;
  background: #fabe23;
  color: #000;
  font-weight: 800;
  border: none;
  border-radius: 25px;
  padding: 12px 28px;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.location-view-map-btn:hover {
  background: #000;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ===== NO LOCATIONS MESSAGE ===== */
.no-locations-text {
  text-align: center;
  font-size: 18px;
  color: #666;
  padding: 60px 20px;
  font-style: italic;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .contact-grid {
    flex-direction: column;
    gap: 40px;
  }
  .contact-info, .contact-form {
    flex: 1 1 100%;
  }
  .contact-title {
    font-size: 48px;
  }
  
  /* Locations page responsive */
  .locations-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
  }
  
  .main-location-card {
    padding: 40px 30px;
  }
  
  .main-location-name {
    font-size: 36px;
  }
  
  .locations-grid-title {
    font-size: 30px;
  }
}

@media (max-width: 600px) {
  .contact-title {
    font-size: 36px;
  }
  .contact-subtitle {
    font-size: 16px;
  }
  .contact-main {
    padding: 60px 20px;
  }
  
  /* Locations page mobile */
  .locations-main {
    padding: 60px 20px;
  }
  
  .locations-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .main-location-card {
    padding: 30px 20px;
  }
  
  .main-location-name {
    font-size: 28px;
  }
  
  .main-location-phone {
    font-size: 20px;
  }
  
  .locations-grid-title {
    font-size: 24px;
  }
  
  .location-name {
    font-size: 20px;
  }
  
  .contact-hero .hero-text h1,
  .locations-hero .hero-text h1 {
    font-size: 36px;
  }
}
