/* ═══════════════════════════════════════════════════
   MYOBITUARYAPP — contact.css
   Page-specific styles for contact.blade.php
   Design: Dark Mode Premium — Gold Accents
   (matches all feature pages)
═══════════════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
  --dark-bg:           #0f1117;
  --dark-bg-secondary: #161b22;
  --dark-card:         #1c2128;
  --dark-border:       #30363d;
  --gold:              #d4aa4a;
  --gold-light:        #e8c76e;
  --gold-pale:         #f0dfa8;
  --text-primary:      #e6edf3;
  --text-secondary:    #8b949e;
  --text-muted:        #6e7681;
  --r:                 14px;
  --r-lg:              22px;
  --r-xl:              32px;
  --ease:              cubic-bezier(0.25,0.46,0.45,0.94);
  --shadow-soft:       0 8px 40px rgba(0,0,0,0.4);
  --shadow-deep:       0 20px 60px rgba(0,0,0,0.6);
}

/* ── Base Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--dark-bg);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ══════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════ */
.btn-gold {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--gold); color: #000;
  padding: 14px 30px; border-radius: 50px;
  font-family: 'Inter', sans-serif; font-size: 0.88rem; font-weight: 600;
  border: none; cursor: pointer;
  transition: all 0.3s var(--ease); text-decoration: none;
}
.btn-gold:hover {
  background: var(--gold-light); color: #000;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(212,170,74,0.35);
}

.btn-ghost-light {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text-primary);
  padding: 13px 26px; border-radius: 50px;
  font-family: 'Inter', sans-serif; font-size: 0.88rem; font-weight: 500;
  border: 1.5px solid var(--dark-border); cursor: pointer;
  transition: all 0.3s var(--ease); text-decoration: none;
}
.btn-ghost-light:hover {
  background: var(--dark-card); border-color: var(--gold); color: var(--gold);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════
   SECTION LABELS & TITLES
══════════════════════════════════════════════════ */
.section-label {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.section-label::before { content: ''; width: 24px; height: 1px; background: var(--gold); }

.section-title {
  font-family: 'Lora', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700; line-height: 1.2;
  color: var(--text-primary); margin-bottom: 12px;
}
.section-title em { font-style: italic; color: var(--gold-pale); }

/* ══════════════════════════════════════════════════
   HERO SECTION — LEFT / RIGHT LAYOUT
══════════════════════════════════════════════════ */
.ct-hero-new {
  position: relative;
  min-height: 70vh;
  display: flex; align-items: stretch;
  background: var(--dark-bg);
  overflow: hidden; padding-top: 80px;
}

.ct-hero-left {
  flex: 0 0 50%;
  display: flex; align-items: center; justify-content: center;
  padding: 60px 40px; z-index: 2;
}

.ct-hero-content { max-width: 560px; width: 100%; }

.ct-hero-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold-light); margin-bottom: 22px;
}
.ct-hero-label::before { content: ''; width: 28px; height: 1px; background: var(--gold-light); }

.ct-hero-title {
  font-family: 'Lora', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.01em;
  color: #fff; margin-bottom: 16px;
}
.ct-hero-title em { font-style: italic; color: var(--gold-pale); }

.ct-hero-subtitle {
  font-size: 0.95rem; line-height: 1.75;
  color: var(--text-secondary); margin-bottom: 0;
}

.ct-hero-right {
  flex: 0 0 50%; position: relative; overflow: hidden;
}
.ct-hero-right::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,14,20,0.55) 0%, rgba(22,27,34,0.25) 50%, transparent 100%);
  z-index: 1;
}
.ct-hero-right img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center; display: block;
}

/* ══════════════════════════════════════════════════
   CONTACT MAIN SECTION
══════════════════════════════════════════════════ */
.ct-main-section {
  padding: 100px 0; background: var(--dark-bg-secondary);
  border-top: 1px solid var(--dark-border);
}

.ct-main-grid {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: flex-start;
}

/* ── Info Column ── */
.ct-info-col h3 {
  font-family: 'Lora', serif; font-size: 1.5rem; font-weight: 700;
  color: var(--text-primary); margin-bottom: 16px;
}
.ct-info-col h3 em { font-style: italic; color: var(--gold-pale); }

.ct-info-col > p {
  font-size: 0.9rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 40px;
}

.ct-info-item {
  display: flex; gap: 18px; margin-bottom: 28px; align-items: flex-start;
  padding: 20px; background: var(--dark-card);
  border: 1px solid var(--dark-border); border-radius: var(--r-lg);
  transition: all 0.3s var(--ease);
}
.ct-info-item:hover { border-color: var(--gold); transform: translateX(5px); }

.ct-info-icon {
  width: 48px; height: 48px; min-width: 48px; border-radius: 12px;
  background: rgba(212,170,74,0.12); border: 1px solid rgba(212,170,74,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.1rem;
  transition: all 0.3s var(--ease); flex-shrink: 0;
}
.ct-info-item:hover .ct-info-icon { background: var(--gold); color: #000; }

.ct-info-text h4 {
  font-size: 0.85rem; font-weight: 700; color: var(--text-primary);
  margin-bottom: 4px; letter-spacing: 0.03em;
}
.ct-info-text p {
  font-size: 0.82rem; color: var(--text-secondary); margin: 0; line-height: 1.5;
}
.ct-info-text a {
  color: var(--gold); font-weight: 500; transition: color 0.3s var(--ease);
}
.ct-info-text a:hover { color: var(--gold-light); }

/* Social Links */
.ct-social-row {
  display: flex; gap: 10px; margin-top: 32px;
}
.ct-social-btn {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--dark-card); border: 1px solid var(--dark-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); font-size: 1rem;
  transition: all 0.3s var(--ease);
}
.ct-social-btn:hover { background: var(--gold); color: #000; border-color: var(--gold); }

/* ── Form Column ── */
.ct-form-col h3 {
  font-family: 'Lora', serif; font-size: 1.5rem; font-weight: 700;
  color: var(--text-primary); margin-bottom: 32px;
}
.ct-form-col h3 em { font-style: italic; color: var(--gold-pale); }

.ct-form {
  background: var(--dark-card); border: 1px solid var(--dark-border);
  border-radius: var(--r-lg); padding: 40px;
}

.ct-form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}

.ct-form-group { margin-bottom: 20px; }

.ct-form-group label {
  display: block; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-secondary); margin-bottom: 8px;
}

.ct-form-group input,
.ct-form-group textarea,
.ct-form-group select {
  width: 100%; padding: 13px 16px;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid var(--dark-border);
  border-radius: var(--r); color: var(--text-primary);
  font-family: 'Inter', sans-serif; font-size: 0.9rem;
  transition: all 0.3s var(--ease);
  appearance: none;
}
.ct-form-group input::placeholder,
.ct-form-group textarea::placeholder { color: var(--text-muted); }

.ct-form-group input:focus,
.ct-form-group textarea:focus,
.ct-form-group select:focus {
  outline: none; border-color: var(--gold);
  background: rgba(212,170,74,0.04);
  box-shadow: 0 0 0 3px rgba(212,170,74,0.1);
}

.ct-form-group textarea { resize: vertical; min-height: 130px; }

/* Success state */
.ct-form-group input.is-valid { border-color: #2ea043; }
.ct-form-group input.is-invalid { border-color: #f85149; }

.ct-form-submit {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px; margin-top: 28px;
}
.ct-form-note {
  font-size: 0.75rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 6px;
}
.ct-form-note i { color: var(--gold); font-size: 0.7rem; }

/* ══════════════════════════════════════════════════
   MAP SECTION
══════════════════════════════════════════════════ */
.ct-map-section {
  padding: 0; background: var(--dark-bg);
  border-top: 1px solid var(--dark-border);
}

.ct-map-wrapper {
  width: 100%; height: 360px; overflow: hidden;
  filter: grayscale(1) invert(0.9) brightness(0.35) sepia(0.3);
  transition: filter 0.5s var(--ease);
}
.ct-map-wrapper:hover { filter: grayscale(0.6) brightness(0.5); }
.ct-map-wrapper iframe { width: 100%; height: 100%; border: none; display: block; }

/* ══════════════════════════════════════════════════
   FINAL CTA SECTION
══════════════════════════════════════════════════ */
.ct-cta-section {
  position: relative; padding: 100px 0; overflow: hidden;
  background: linear-gradient(135deg, #0a0e14 0%, #161b22 50%, #1c2128 100%);
  border-top: 1px solid var(--dark-border);
}

.ct-cta-bg { position: absolute; inset: 0; z-index: 0; }
.ct-cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.ct-cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,14,20,0.65) 0%, rgba(22,27,34,0.6) 100%);
}

.ct-cta-inner { position: relative; z-index: 2; text-align: center; color: #fff; }

.ct-cta-title {
  font-family: 'Lora', serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 700;
  color: #fff; margin-bottom: 16px; line-height: 1.15;
}
.ct-cta-title em { font-style: italic; color: var(--gold-pale); }

.ct-cta-sub {
  font-size: 0.92rem; color: var(--text-secondary);
  max-width: 460px; margin: 16px auto 40px; line-height: 1.7;
}

.ct-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════════ */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to   { opacity: 1; transform: translateX(0); }
}

.ct-hero-label    { animation: slideInLeft  0.7s var(--ease) 0.05s both; }
.ct-hero-title    { animation: slideInLeft  0.7s var(--ease) 0.15s both; }
.ct-hero-subtitle { animation: slideInLeft  0.7s var(--ease) 0.25s both; }
.ct-hero-right    { animation: slideInRight 0.8s var(--ease) 0.20s both; }

/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 991px) {
  .ct-hero-new   { min-height: auto; flex-direction: column; }
  .ct-hero-left  { flex: 1; padding: 60px 28px; }
  .ct-hero-right { flex: 1; min-height: 300px; flex: 0 0 300px; }
  .ct-main-grid  { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .ct-main-section { padding: 70px 0; }
  .ct-form         { padding: 28px 20px; }
  .ct-form-row     { grid-template-columns: 1fr; gap: 0; }
  .ct-map-wrapper  { height: 260px; }
  .ct-cta-section  { padding: 70px 0; }
}

@media (max-width: 480px) {
  .ct-hero-title   { font-size: 2rem; }
  .ct-cta-actions  { flex-direction: column; align-items: center; }
  .ct-cta-actions a { width: 100%; justify-content: center; }
}