/* ==========================================================================
   Contact Page Styles - Pixel Perfect from Figma Design
   ========================================================================== */

/* Color Variables */
:root {
  --text-dark: #090703;
  --text-medium: #6a6a6a;
  --text-light: #a1a1a1;
  --stroke-light: #e5e5e5;
  --bg-light: #f5f5f5;
  --bg-white: #ffffff;
  --primary-black: #171717;
  --gradient-dark: linear-gradient(135deg, #171717 0%, #404040 100%);
}

/* Page Container */
.contact-page {
  background-color: var(--bg-light);
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
  overflow: hidden;
  min-height: 100vh;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding-top: 180px;
  padding-bottom: 0;
}

/* Hero Content (Title Area) */
.hero-content {
  text-align: center;
  max-width: 1015px;
  margin: 0 auto;
  padding: 0 20px;
  margin-bottom: 60px;
}

.decorative-icon {
  margin: 0 auto 23px;
  width: 17px;
  height: 17px;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.2;
  color: var(--text-medium);
  letter-spacing: 0.18px;
  margin-bottom: 12px;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 72px;
  line-height: 1.2;
  color: var(--text-dark);
  letter-spacing: 0.72px;
  margin: 0;
}

/* Hero Image - Full Width Below Title */
.hero-image-wrapper {
  width: 100%;
  margin: 0;
  padding: 0;
}

.hero-image {
  position: relative;
  height: 622px;
  width: 100%;
  overflow: hidden;
}

  .hero-image img {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 120%;
    object-fit: cover;
    transform-origin: center;
    animation: kenburns 30s linear infinite;
  }

@keyframes kenburns {
  0% {
    transform: scale(1) translate(0, 0);
  }

  50% {
    transform: scale(1.06) translate(1.5%, -1%);
  }

  100% {
    transform: scale(1) translate(0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image img {
    animation: none !important;
    transform: none !important;
  }
}

/* Contact Main Section */
.contact-main-section {
  padding: 78px 0 80px;
}

.get-in-touch-header {
  margin-bottom: 32px;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #0a0a0a;
  margin-bottom: 16px;
}

.section-description {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
  color: #525252;
  max-width: 418px;
  margin: 0;
}

.contact-content-row {
  margin-top: 32px;
  --bs-gutter-x: 48px;
}

/* Contact Info Cards */
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-info-card {
  background: white;
  border: 1px solid #f5f5f5;
  border-radius: 16px;
  padding: 21px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

  .contact-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(-135deg, #171717 0%, #404040 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

  .card-icon svg {
    width: 20px;
    height: 20px;
  }

.card-content {
  flex: 1;
}

  .card-content h3 {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #0a0a0a;
    margin: 0 0 8px 0;
  }

  .card-content p,
  .card-content a {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    color: #525252;
    margin: 0;
    text-decoration: none;
  }

  .card-content a {
    text-decoration: underline;
    transition: color 0.3s ease;
  }

    .card-content a:hover {
      color: var(--text-dark);
    }

/* Social Media Card */
.social-media-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
}

.social-header h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #0a0a0a;
  margin: 0 0 8px 0;
}

.social-header p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
  color: #525252;
  margin: 0 0 20px 0;
}

.social-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #262626;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

  .social-icon:hover {
    transform: scale(1.1);
    background: var(--primary-black);
  }

  .social-icon svg {
    width: 20px;
    height: 20px;
  }

/* Contact Form Wrapper */
.contact-form-wrapper {
  background: white;
  border-radius: 16px;
  padding: 32px 41px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.form-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 24px;
  line-height: 24px;
  color: #0a0a0a;
  margin: 0 0 32px 0;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

  .form-group:has(textarea) {
    flex: 1;
  }

  .form-group label {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #0a0a0a;
    margin: 0;
  }

.form-control {
  height: 54px;
  border: 1px solid var(--stroke-light);
  border-radius: 14px;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: normal;
  color: #0a0a0a;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

  .form-control::placeholder {
    color: var(--text-light);
  }

  .form-control:focus {
    outline: none;
    border-color: var(--primary-black);
    box-shadow: 0 0 0 3px rgba(23, 23, 23, 0.1);
  }

  .form-control[type="textarea"],
  textarea.form-control {
    height: 100%;
    resize: vertical;
    min-height: 108px;
    padding-top: 14px;
    line-height: 24px;
  }

/* Submit Button */
.btn-submit {
  height: 56px;
  background: var(--primary-black);
  border: none;
  border-radius: 14px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

  .btn-submit:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  }

  .btn-submit:active {
    transform: translateY(0);
  }

  .btn-submit svg {
    width: 16px;
    height: 16px;
  }

/* Map Section */
.map-section {
  padding: 0 0 80px;
}

.map-header {
  margin-bottom: 48px;
}

  .map-header h2 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 24px;
    line-height: 24px;
    color: #0a0a0a;
    margin: 0 0 16px 0;
  }

  .map-header p {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    color: #525252;
    margin: 0;
  }

.map-wrapper {
  position: relative;
  height: 596px;
  border: 1px solid var(--stroke-light);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.map-location-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: white;
  padding: 16px 24px;
  border-radius: 14px;
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -4px rgba(0, 0, 0, 0.1);
  z-index: 10000;
}

  .map-location-badge h4 {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #0a0a0a;
    margin: 0 0 4px 0;
  }

  .map-location-badge p {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    color: #525252;
    margin: 0;
  }

.google-map {
  width: 100%;
  height: 100%;
}

/* Leaflet Map Styles */
.leaflet-container {
  width: 100%;
  height: 100%;
  border-radius: 24px;
}

.custom-map-marker {
  background: none;
  border: none;
}

/* Marker drop animation */
@keyframes markerDrop {
  0% {
    transform: translateY(-100px);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Leaflet popup custom styles */
.leaflet-popup-content-wrapper {
  border-radius: 14px;
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.leaflet-popup-content {
  margin: 0;
  font-family: var(--font-body);
}

/* FAQ Section */
.faq-section {
  padding: 0 0 80px;
}

.faq-section .row {
  --bs-gutter-x: 48px;
}

.faq-image {
  margin-bottom: 24px;
  border-top-right-radius: 11px;
  border-top-left-radius: 11px;
  overflow: hidden;
  height: 552px;
}

  .faq-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

.faq-header {
  margin-bottom: 40px;
}

  .faq-header h2 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 48px;
    line-height: 57.6px;
    color: #0a0a0a;
    margin: 0 0 16px 0;
  }

  .faq-header p {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    color: #0a0a0a;
    margin: 0;
  }

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  padding: 24px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: var(--text-dark);
  text-align: right;
  transition: background 0.3s ease;
}

  .faq-question:hover {
    background: rgba(0, 0, 0, 0.02);
  }

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--text-dark);
}

.faq-item.active .faq-icon {
  transform: rotate(-180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 24px 24px 24px;
}

.faq-answer p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  line-height: 20px;
  color: var(--text-medium);
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 56px;
  }

  .contact-info-cards,
  .contact-form-wrapper {
    margin-bottom: 40px;
  }
}

@media (max-width: 992px) {
  .hero-section {
    padding-top: 100px;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-image {
    height: 500px;
  }

  .contact-main-section {
    padding: 60px 0;
  }

  .map-section {
    padding: 0 0 60px;
  }

  .faq-section {
    padding: 60px 0 80px;
  }

  .faq-header h2 {
    font-size: 36px;
  }

  .faq-image {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 140px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-content {
    margin-bottom: 40px;
  }

  .hero-image {
    height: 400px;
  }

  .contact-main-section {
    padding: 40px 0;
  }

  .contact-info-card {
    padding: 16px 24px;
  }

  .contact-form-wrapper {
    padding: 24px;
  }

  .map-section {
    padding: 0 0 40px;
  }

  .map-wrapper {
    height: 400px;
  }

  .faq-section {
    padding: 40px 0 60px;
  }

  .faq-header h2 {
    font-size: 28px;
    line-height: 1.3;
  }

  .faq-image {
    height: 300px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-image {
    height: 300px;
  }

  .social-icons {
    gap: 8px;
  }

  .social-icon {
    width: 36px;
    height: 36px;
  }

  .map-location-badge {
    right: 16px;
    top: 16px;
    padding: 12px 16px;
  }
}

/* Leaflet Zoom Control — styled to match site design */
.leaflet-control-zoom {
  border: none !important;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10) !important;
}

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
  width: 36px !important;
  height: 36px !important;
  line-height: 36px !important;
  background: #ffffff !important;
  color: #0a0a0a !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  border: none !important;
  border-bottom: 1px solid #e5e5e5 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.2s ease !important;
}

.leaflet-control-zoom-out {
  border-bottom: none !important;
}

.leaflet-control-zoom-in:hover,
.leaflet-control-zoom-out:hover {
  background: #f5f5f5 !important;
  color: #0a0a0a !important;
}

/* GSAP Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(30px);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(-30px);
}

.scale-in {
  opacity: 0;
  transform: scale(0.95);
}
