/* ==========================================
   MALSARA.LK — CONTACT US PAGE
   Ethereal Estate Color System
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  /* === CORE BRAND COLORS === */
  --primary:     #C84B7A;   /* Crimson Rose — CTA / buttons */
  --heading:     #8B1A3A;   /* Deep Burgundy — headings */
  --accent:      #D4607E;   /* Blush Pink — labels / italic */
  --soft:        #E8A0B4;   /* Soft Mauve — badges / hover / glow */

  /* === BACKGROUND SYSTEM === */
  --bg-main:     #FDF7F5;   /* Warm White — hero / main */
  --bg-alt:      #F2EDE8;   /* Linen — alternate sections */
  --white:       #FFFFFF;   /* Pure White — cards / navbar */

  /* === STRUCTURE COLORS === */
  --border:      #E8E3DC;   /* Stone — borders / dividers */
  --border-light:#EEE9E3;   /* Light Stone — inputs */

  /* === TEXT SYSTEM === */
  --text-main:   #1A1A1A;   /* Rich Black — main text */
  --text-muted:  #6B6560;   /* Muted Taupe — secondary text */
  --text-soft:   #A8A29E;   /* Soft Gray — disabled / light */

  /* === SPECIAL UI === */
  --gold:        #F5C800;
  --success-bg:  #EAF6EE;
  --success-fg:  #1E6B3A;
  --error-bg:    #FDEAEA;
  --error-fg:    #9B2B2B;

  /* === RADIUS === */
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-xl:   28px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ==========================================
   HERO
   ========================================== */
.contact-hero {
  background: #b63e6c1a;
  border-bottom: 1px solid var(--border);
  padding: 80px 0 64px;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* Eyebrow */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.eyebrow-line {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

/* Hero title */
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 58px;
  font-weight: 300;
  line-height: 1.1;
  color: #212529;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.hero-title em {
  font-style: italic;
  color: var(--primary);
}

.hero-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.78;
  color: var(--text-muted);
  max-width: 400px;
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.btn-hero-primary,
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-hero-primary {
  background: var(--heading);
  color: #fff;
  border: 1px solid var(--heading);
  box-shadow: 0 4px 12px rgba(139, 26, 58, 0.2);
}

.btn-hero-primary:hover {
  background: #6a142c;
  border-color: #6a142c;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(139, 26, 58, 0.3);
}

.btn-hero-secondary {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--primary);
  box-shadow: 0 4px 12px rgba(200, 75, 122, 0.1);
}

.btn-hero-secondary:hover {
  background: #fffafa;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(200, 75, 122, 0.15);
}

.icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid currentColor;
}

/* Ornament visual */
.hero-visual {
  position: relative;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ornament-ring {
  width: 270px;
  height: 270px;
  border-radius: 50%;
  border: 1px solid var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ornament-inner {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1px dashed var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ornament-center {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FDF7F5, #F2EDE8);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.ornament-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--heading);
  letter-spacing: 0.06em;
  text-align: center;
  line-height: 1.5;
}

/* Floating pills */
.float-pill {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--soft);
  border-radius: 100px;
  padding: 10px 16px 10px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(232, 160, 180, 0.25);
  white-space: nowrap;
}

.float-pill--top    { top: 24px;    right: -16px; }
.float-pill--bottom { bottom: 36px; left: -24px; }

.fp-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #FDF0F4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fp-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.fp-value {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-main);
  margin-top: 1px;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-section {
  background: linear-gradient(to bottom, var(--bg-main), var(--bg-alt));
  padding: 72px 0 96px;
}

.contact-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  align-items: start;
}

/* ==========================================
   FORM CARD
   ========================================== */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.75rem 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.form-card__top-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--soft), var(--primary));
}

.section-eyebrow {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.form-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 400;
  color: var(--heading);
  margin-bottom: 0.4rem;
}

.form-card__subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
}

/* Alerts */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.alert--success {
  background: var(--success-bg);
  color: var(--success-fg);
  border: 1px solid rgba(30, 107, 58, 0.15);
}

.alert--error {
  background: var(--error-bg);
  color: var(--error-fg);
  border: 1px solid rgba(155, 43, 43, 0.15);
}

/* Form layout */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1rem;
}

.form-row .form-group {
  margin-bottom: 0;
}

.form-group label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--heading);
}

.req {
  color: var(--primary);
  font-style: normal;
}

.form-input {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-main);
  background: var(--bg-main);
  outline: none;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder {
  color: var(--text-soft);
  opacity: 0.8;
}

.form-input:hover {
  border-color: var(--soft);
}

.form-input:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(200, 75, 122, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.65;
}

/* === PRIMARY BUTTON === */
.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  margin-top: 0.5rem;
}

.btn-submit:hover {
  background: #B63E6C;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(232, 160, 180, 0.25);
}

.btn-submit:active {
  transform: translateY(0);
  box-shadow: none;
}

/* ==========================================
   INFO SIDEBAR
   ========================================== */
.info-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Brand card */
.info-brand-card {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.brand-deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
}

.brand-deco-ring {
  width: 110px; height: 110px;
  bottom: -35px; right: -35px;
}

.brand-deco-ring--sm {
  width: 70px; height: 70px;
  bottom: 18px; right: 18px;
}

.info-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.info-brand-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

/* Contact detail cards */
.contact-detail-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.contact-detail-card:hover {
  border-color: var(--soft);
  box-shadow: 0 8px 24px rgba(232, 160, 180, 0.25);
}

.cdc-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: #FDF0F4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cdc-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 3px;
}

.cdc-value {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-main);
}

.cdc-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Social card */
.social-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.social-card__label {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.85rem;
}

.social-icons {
  display: flex;
  gap: 10px;
}

/* === GHOST BUTTON STYLE for social icons === */
.soc {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--primary);
  background: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.soc:hover {
  background: #FDF0F4;
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(232, 160, 180, 0.2);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .hero-inner,
  .contact-inner {
    padding: 0 28px;
  }

  .hero-title {
    font-size: 48px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 56px 0 48px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-eyebrow,
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    display: none;
  }

  .hero-title {
    font-size: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 2rem 1.5rem;
  }

  .contact-section {
    padding: 48px 0 64px;
  }

  .contact-inner {
    padding: 0 20px;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 34px;
  }

  .hero-inner {
    padding: 0 20px;
  }

  .form-card {
    padding: 1.5rem 1.25rem;
  }

  .form-card__title {
    font-size: 24px;
  }
}