/* =========================================
   TRANG CONTACT - BOUNTIFUL BLOOMS
========================================= */

.contact-page {
  position: relative;
  padding: 4.8rem 0 11rem;
  background:
    radial-gradient(
      circle at 12% 5%,
      rgba(244, 194, 194, 0.22),
      transparent 32%
    ),
    radial-gradient(circle at 88% 75%, rgba(18, 17, 17, 0.16), transparent 52%),
    linear-gradient(
      180deg,
      #f4e5e7 0%,
      #e5c0c5 18%,
      #c48892 42%,
      #a76974 68%,
      #794a55 100%
    );
  min-height: 100vh;
}

/* Hi?u ?ng k�nh m? t?i m�u d?ng b? */
.glass-dark {
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  border-radius: 2rem;
}

/* --- 1. HERO SECTION --- */
.contact-hero {
  padding: 2rem 2.4rem 6rem;
  text-align: center;
}
.breadcrumb {
  font-size: 1.3rem;
  color: #8c6870;
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}
.breadcrumb a {
  color: #5a3840;
  transition: all 0.3s ease;
}
.breadcrumb a:hover,
.breadcrumb .current {
  color: #b84357;
  font-weight: bold;
}

.contact-title {
  font-family: var(--font-heading, "Playfair Display", serif);
  font-size: 6rem;
  color: #2b1419;
  margin-bottom: 2rem;
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.6);
}
.text-pink {
  color: #b84357;
  font-style: italic;
}
.contact-subtitle {
  font-size: 1.8rem;
  color: #5a3840;
  max-width: 650px;
  margin: 0 auto 4rem;
  font-weight: 500;
}

/* Hotline n?i b?t */
.hotline-banner {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 3rem;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.hotline-banner span {
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  color: #2b1419;
  font-weight: bold;
}
.hotline-number {
  font-family: var(--font-heading, "Playfair Display", serif);
  font-size: 2.4rem;
  color: #b84357;
  font-weight: bold;
  text-decoration: none;
  transition: opacity 0.3s ease;
  font-variant-numeric: lining-nums;
}

.hotline-number:hover {
  opacity: 0.8;
}

/* --- 2. LOCATIONS GRID & GOOGLE MAPS --- */
/* =========================================
   TI�U �? CH�NH (LIGHT & ETHEREAL / NH? NH�NG)
========================================= */
.section-heading {
  font-family: var(--font-heading, "Playfair Display", serif);
  font-size: clamp(3.2rem, 4.5vw, 5rem);

  /* M�u h?ng pha n�u tr?m (Rosewood/Dusty Rose) c?c k? nh? nh�ng, kh�ng b? ch�i */
  color: #3d1119;
  font-weight: 500;
  text-align: center;
  margin-bottom: 4.5rem;

  letter-spacing: 0.15rem;
  line-height: 1.3;

  /* X�a s?ch khung vi?n v� n?n, tr? l?i s? tho�ng d�ng tuy?t d?i */
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;

  /* Hi?u ?ng b�ng m? nh? d? ch? n?i b?ng b?nh tr�n n?n gradient */
  text-shadow: 0 2px 15px rgba(255, 255, 255, 0.4);
  
}

.text-center {
  text-align: center;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  margin-bottom: 10rem;
}

/* Th? chi nh�nh */
/* Bi?n to�n b? th? location-card th�nh m?t kh?i li�n k?t mu?t m� */
.location-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  text-decoration: none; /* B? g?ch ch�n m?c d?nh c?a th? a */
  color: inherit; /* Gi? nguy�n m�u ch? */
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.location-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

/* �p ph?n b?n d? nh�ng c� hi?u ?ng click chu?t, 
   d?ng th?i th�m m?t l?p ph? trong su?t m?ng d? khi b?m v�o th? th� n� an lu�n s? ki?n m? map */
.map-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 220px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none; /* Ch?n s? ki?n k�o map b�n trong iframe d? to�n b? th? b?c l�n m? link su?ng hon */
}

/* Chi nh�nh cu?i c�ng tr?i d�i to�n b? chi?u r?ng */
.location-card.full-width {
  grid-column: span 2;
}

.loc-info {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.loc-badge {
  display: inline-block;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  color: #f4c2c2;
  font-weight: bold;
  margin-bottom: 1rem;
}

.loc-name {
  font-family: var(--font-heading, "Playfair Display", serif);
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 0.8rem;
}

.loc-address {
  font-size: 1.4rem;
  color: #f4e5e7;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.loc-call {
  font-size: 1.4rem;
  color: #f4c2c2;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}
.loc-call:hover {
  color: #fff;
}

/* Khung ch?a Google Map */
.map-wrap {
  width: 100%;
  height: 100%;
  min-height: 220px;
  filter: contrast(110%) brightness(90%); /* Tinh ch?nh m�u map cho d?ng b? v?i tone t?i */
}

/* --- 3. CONTACT FORM THU?NG LUU --- */
.form-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 5rem 6rem;
}

.form-title {
  font-family: var(--font-heading, "Playfair Display", serif);
  font-size: 3.5rem;
  color: #fff;
  text-align: center;
  margin-bottom: 1rem;
}

.form-desc {
  font-size: 1.5rem;
  color: #f4e5e7;
  text-align: center;
  margin-bottom: 4rem;
  line-height: 1.6;
}

.luxury-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  color: #fff;
  font-size: 1.4rem;
  outline: none;
  transition: all 0.3s ease;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-input:focus {
  border-color: #f4c2c2;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 10px rgba(244, 194, 194, 0.3);
}

.select-box option {
  background: #2b1419;
  color: #fff;
}

.textarea-box {
  resize: vertical;
}

.submit-btn {
  background: #f4c2c2;
  color: #2b1419;
  border: none;
  padding: 1.6rem;
  border-radius: 3rem;
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.submit-btn:hover {
  background: #fff;
  box-shadow: 0 5px 20px rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* --- RESPONSIVE --- */
@media (max-width: 991px) {
  .contact-title {
    font-size: 4.5rem;
  }
  .locations-grid,
  .location-card,
  .location-card.full-width {
    grid-template-columns: 1fr;
  }
  .form-group {
    grid-template-columns: 1fr;
  }
  .form-wrapper {
    padding: 3rem 2rem;
  }
}

/* =========================================
   HI?U ?NG DECOR & ANIMATION CHO CONTACT
========================================= */

/* --- 1. Watermark ch? ch�m (Tone n?n t?i) --- */
.bg-watermark {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading, "Playfair Display", serif);
  font-size: 22vw;
  font-weight: bold;
  font-style: italic;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  user-select: none;

  /* Gradient c?t ch? m? ?o d? kh�ng l�m r?i n?n t?i */
  background: linear-gradient(
    180deg,
    rgba(43, 20, 25, 0.08) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* K�o n?i dung n?i l�n tr�n Watermark */
.contact-hero,
.locations-section,
.contact-form-section {
  position: relative;
  z-index: 2;
}

/* --- 2. Floating Sparkles --- */
.contact-hero {
  position: relative;
}

.sparkle {
  position: absolute;
  color: #f4c2c2;
  opacity: 0.8;
  text-shadow: 0 0 10px rgba(244, 194, 194, 0.8);
  animation:
    twinkle 3s infinite alternate,
    spin 10s linear infinite;
}

/* Can ch?nh v? tr� sao cho c?m ti�u d? n?m g?n ? gi?a */
.sp-1 {
  top: -20px;
  left: 30%;
  font-size: 2.5rem;
  animation-delay: 0s;
}
.sp-2 {
  top: 40px;
  right: 25%;
  font-size: 1.5rem;
  animation-delay: 1s;
}
.sp-3 {
  bottom: 80px;
  left: 35%;
  font-size: 1.8rem;
  animation-delay: 2s;
}

@keyframes twinkle {
  0% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1.2);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* --- 3. Ornate Divider (Can gi?a) --- */
.ornate-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 1.5rem 0 3rem;
}

.ornate-divider .line {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #8c6870, transparent);
}

.ornate-divider .diamond {
  color: #b84357;
  font-size: 1.8rem;
  animation: pulse 2s infinite;
}

/* --- 4. HI?U ?NG XU?T HI?N TH�C �? (CASCADING) --- */
.contact-hero {
  animation: fadeInDown 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.location-card {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* L?n lu?t bay l�n t?ng th? chi nh�nh m?t */
.location-card:nth-child(1) {
  animation-delay: 0.1s;
}
.location-card:nth-child(2) {
  animation-delay: 0.2s;
}
.location-card:nth-child(3) {
  animation-delay: 0.3s;
}
.location-card:nth-child(4) {
  animation-delay: 0.4s;
}
.location-card:nth-child(5) {
  animation-delay: 0.5s;
}
.location-card:nth-child(6) {
  animation-delay: 0.6s;
}
.location-card:nth-child(7) {
  animation-delay: 0.7s;
}

/* Kh?i Form Li�n h? s? load cu?i c�ng */
.form-wrapper {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.8s;
}

/* --- Keyframes chung --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
