/* ================================================
   CONTACT PAGE - PREMIUM STYLING
   Dilshad Enterprises
================================================ */

/* === HERO SECTION === */
.contact-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 50%, #0d1b2a 100%);
  overflow: hidden;
}

.contact-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(177, 15, 60, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(177, 15, 60, 0.15) 0%, transparent 40%);
  pointer-events: none;
}

.contact-hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.contact-hero .container {
  position: relative;
  z-index: 2;
}

.contact-hero-content {
  padding: 60px 0;
}

.hero-badge {
  display: inline-block;
  background: rgba(177, 15, 60, 0.2);
  border: 1px solid rgba(177, 15, 60, 0.4);
  color: #b10f3c;
  font-family: var(--title-fonts);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease-out;
}

.hero-title {
  font-family: var(--display-fonts);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-subtitle {
  font-family: var(--body-fonts);
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  max-width: 500px;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll-indicator span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  position: relative;
}

.hero-scroll-indicator span::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: #b10f3c;
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollIndicator 2s infinite;
}

@keyframes scrollIndicator {
  0% { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 20px; }
}

/* === CONTACT CARDS SECTION === */
.contact-cards-section {
  padding: 0;
  margin-top: -80px;
  position: relative;
  z-index: 10;
}

.contact-card {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #b10f3c, #d4365c);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.contact-card:hover::before {
  transform: scaleX(1);
}

.contact-card.featured {
  background: linear-gradient(135deg, #b10f3c 0%, #8a0c2f 100%);
}

.contact-card.featured::before {
  background: rgba(255, 255, 255, 0.3);
  transform: scaleX(1);
}

.contact-card.featured .contact-card-icon {
  background: rgba(255, 255, 255, 0.15);
}

.contact-card.featured .contact-card-icon i {
  color: #ffffff;
}

.contact-card.featured h4,
.contact-card.featured p,
.contact-card.featured a {
  color: #ffffff;
}

.contact-card.featured .availability {
  color: rgba(255, 255, 255, 0.8);
}

.contact-card.featured .contact-card-link {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.contact-card.featured .contact-card-link:hover {
  background: #ffffff;
  color: #b10f3c;
}

.contact-card-icon {
  width: 70px;
  height: 70px;
  background: rgba(177, 15, 60, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.contact-card:hover .contact-card-icon {
  transform: scale(1.1) rotate(-5deg);
}

.contact-card-icon i {
  font-size: 2rem;
  color: #b10f3c;
}

.contact-card-content {
  flex-grow: 1;
}

.contact-card-content h4 {
  font-family: var(--title-fonts);
  font-size: 1.35rem;
  font-weight: 700;
  color: #0d1b2a;
  margin-bottom: 0.75rem;
}

.contact-card-content p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.contact-card-content .phone-numbers {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-card-content .phone-numbers a {
  font-family: var(--title-fonts);
  font-size: 1.1rem;
  font-weight: 600;
  color: #0d1b2a;
  transition: color 0.3s ease;
}

.contact-card-content .phone-numbers a:hover {
  color: #b10f3c;
}

.contact-card-content .availability,
.contact-card-content .response-time {
  display: block;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 0.5rem;
}

.contact-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--title-fonts);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #b10f3c;
  padding: 0.75rem 1.25rem;
  border: 2px solid rgba(177, 15, 60, 0.2);
  border-radius: 8px;
  margin-top: 1.5rem;
  transition: all 0.3s ease;
}

.contact-card-link:hover {
  background: #b10f3c;
  border-color: #b10f3c;
  color: #ffffff;
}

.contact-card-link i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.contact-card-link:hover i {
  transform: translateX(4px);
}

/* === MAIN CONTACT SECTION === */
.contact-main-section {
  padding: 100px 0;
  background: #f8fafc;
}

.contact-main-section .container {
  max-width: 1200px;
}

.contact-main-section .row {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.08);
}

/* Info Panel */
.contact-info-panel {
  background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%);
  padding: 3.5rem;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.contact-info-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(177, 15, 60, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

.contact-info-content {
  position: relative;
  z-index: 1;
}

.section-badge {
  display: inline-block;
  background: rgba(177, 15, 60, 0.2);
  border: 1px solid rgba(177, 15, 60, 0.4);
  color: #b10f3c;
  font-family: var(--body-fonts);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.contact-info-content h2 {
  font-family: var(--display-fonts);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.contact-info-content > p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* Info Features */
.info-features {
  margin-bottom: 2rem;
}

.info-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-feature:last-child {
  border-bottom: none;
}

.info-feature .feature-icon {
  width: 28px;
  height: 28px;
  background: #b10f3c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-feature .feature-icon i {
  font-size: 0.75rem;
  color: #ffffff;
}

.info-feature .feature-text h5 {
  font-family: var(--title-fonts);
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.info-feature .feature-text p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.5;
}

/* Business Info */
.business-info {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.25rem;
  margin-top: 1.5rem;
}

.business-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}

.business-info-item:first-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.business-info-item .label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.business-info-item .value {
  font-family: var(--title-fonts);
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
}

/* Form Panel */
.contact-form-panel {
  padding: 3.5rem;
  background: #ffffff;
}

.form-header {
  margin-bottom: 2rem;
}

.form-header h3 {
  font-family: var(--display-fonts);
  font-size: 2rem;
  color: #0d1b2a;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.form-header p {
  font-size: 1rem;
  color: #64748b;
}

/* Form Styling */
.contact-form .form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.contact-form label {
  display: block;
  font-family: var(--title-fonts);
  font-size: 0.85rem;
  font-weight: 600;
  color: #0d1b2a;
  margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  padding-right: 3rem;
  font-family: var(--body-fonts);
  font-size: 1rem;
  color: #0d1b2a;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  transition: all 0.3s ease;
  outline: none;
}

.contact-form textarea {
  padding-right: 1.25rem;
  resize: vertical;
  min-height: 140px;
}

.contact-form select {
  appearance: none;
  cursor: pointer;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #b10f3c;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(177, 15, 60, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #94a3b8;
}

.contact-form .input-icon {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(25%);
  color: #cbd5e1;
  pointer-events: none;
  transition: color 0.3s ease;
}

.contact-form .form-group:focus-within .input-icon {
  color: #b10f3c;
}

/* Submit Button */
.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1.25rem 2rem;
  font-family: var(--title-fonts);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  background: linear-gradient(135deg, #b10f3c 0%, #8a0c2f 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(177, 15, 60, 0.35);
}

.submit-btn:hover::before {
  transform: translateX(0);
}

.submit-btn .btn-text,
.submit-btn .btn-icon {
  position: relative;
  z-index: 1;
}

.submit-btn .btn-icon i {
  transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon i {
  transform: translateX(4px) rotate(-15deg);
}

/* === MAP SECTION === */
.map-section {
  position: relative;
  background: #0d1b2a;
}

.map-overlay-info {
  position: absolute;
  top: 50%;
  left: 80px;
  transform: translateY(-50%);
  z-index: 10;
}

.map-info-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 320px;
}

.map-info-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #b10f3c 0%, #d4365c 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.map-info-icon i {
  font-size: 1.25rem;
  color: #ffffff;
}

.map-info-card h4 {
  font-family: var(--title-fonts);
  font-size: 1.25rem;
  font-weight: 700;
  color: #0d1b2a;
  margin-bottom: 0.5rem;
}

.map-info-card p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.directions-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--title-fonts);
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  background: #b10f3c;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.directions-btn:hover {
  background: #0d1b2a;
  color: #ffffff;
  transform: translateY(-2px);
}

.map-container {
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 500px;
  filter: grayscale(20%) contrast(1.1);
  display: block;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-card {
  animation: fadeInUp 0.6s ease-out both;
}

.contact-card:nth-child(1) { animation-delay: 0.1s; }
.contact-card:nth-child(2) { animation-delay: 0.2s; }
.contact-card:nth-child(3) { animation-delay: 0.3s; }

/* === RESPONSIVE === */
@media (max-width: 1199px) {
  .map-overlay-info {
    left: 40px;
  }
}

@media (max-width: 991px) {
  .contact-hero {
    min-height: 60vh;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .contact-cards-section {
    margin-top: -60px;
  }

  .contact-main-section {
    padding: 60px 0;
  }

  .contact-info-panel,
  .contact-form-panel {
    padding: 2.5rem;
  }

  .contact-info-panel {
    border-radius: 24px 24px 0 0;
  }

  .map-overlay-info {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    padding: 2rem;
    background: #0d1b2a;
  }

  .map-info-card {
    max-width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .contact-hero {
    min-height: 50vh;
  }

  .contact-hero-content {
    padding: 40px 0;
    text-align: center;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    margin: 0 auto;
  }

  .hero-scroll-indicator {
    display: none;
  }

  .contact-cards-section {
    margin-top: -40px;
  }

  .contact-card {
    padding: 2rem;
  }

  .contact-main-section {
    padding: 40px 0;
  }

  .contact-main-section .row {
    border-radius: 16px;
  }

  .contact-info-panel,
  .contact-form-panel {
    padding: 2rem;
  }

  .contact-info-panel {
    border-radius: 16px 16px 0 0;
  }

  .form-header h3 {
    font-size: 1.5rem;
  }

  .submit-btn {
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
  }

  .map-container iframe {
    height: 350px;
  }
}

@media (max-width: 575px) {
  .contact-card-content h4 {
    font-size: 1.15rem;
  }

  .contact-info-content h2 {
    font-size: 1.5rem;
  }

  .info-feature {
    flex-direction: column;
    gap: 0.75rem;
  }

  .business-info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}
