/* =============================================
   MAHA SHIVA NAADI JOTHIDAM — contact.css
   ============================================= */

/* ── HERO ──────────────────────────────────── */
.ct-hero {
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    url('./images/WhatsApp Image 2026-02-19 at 10.46.33 AM.jpeg')
    center / cover no-repeat;
}
.ct-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(90,0,0,0.92), rgba(26,10,0,0.85));
}
.ct-hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 20px 50px;
  animation: ctFadeIn 0.9s ease both;
}
.ct-hero-content h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 700;
  color: #fff;
  letter-spacing: 4px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.5);
  margin-bottom: 16px;
}
.ct-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Cinzel', serif;
  font-size: 13px;
}
.ct-breadcrumb a { color: #fff; text-decoration: none; }
.ct-breadcrumb a:hover { color: var(--gold-light); }
.ct-breadcrumb i { font-size: 10px; color: rgba(255,255,255,0.5); }
.ct-breadcrumb span { color: var(--saffron); font-weight: 600; }

@keyframes ctFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* ── SECTION ───────────────────────────────── */
.ct-section {
  padding: 80px 30px;
  background:
    linear-gradient(135deg,
      #2d0000 0%,
      #5c1a00 25%,
      #7a3000 45%,
      #4a0a0a 70%,
      #1a0000 100%);
  position: relative;
  overflow: hidden;
}

/* decorative glow orbs */
.ct-section::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212,175,55,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.ct-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255,107,0,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.ct-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 70px;
  position: relative;
  z-index: 1;
  align-items: start;
}

/* ── SHARED HEADER ─────────────────────────── */
.ct-label {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 8px;
}
.ct-info-header h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.3;
}
.ct-gold-line {
  width: 55px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--saffron));
  border-radius: 2px;
  margin-bottom: 35px;
}

/* ── CONTACT ITEMS ─────────────────────────── */
.ct-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 28px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.07);
  border-radius: 12px;
  border: 1px solid rgba(212,175,55,0.25);
  box-shadow: 0 3px 15px rgba(0,0,0,0.2);
  backdrop-filter: blur(6px);
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}
.ct-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.3);
  background: rgba(255,255,255,0.12);
}
.ct-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--deep-red), var(--crimson));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(139,0,0,0.3);
}
.ct-icon-wa { background: linear-gradient(135deg, #1a9e52, #25D366); box-shadow: 0 4px 14px rgba(37,211,102,0.3); }
.ct-item-text strong {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--deep-red);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.ct-item-text p {
  font-size: 15px;
  color: #f0d8c0;
  line-height: 1.75;
  margin: 0;
}
.ct-item-text a {
  color: #f0d8c0;
  text-decoration: none;
  transition: color 0.2s;
}
.ct-item-text a:hover { color: var(--gold-light); }

/* ── FORM ──────────────────────────────────── */
.ct-form-wrap {
  background: rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  border: 1px solid rgba(212,175,55,0.25);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}
.ct-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ct-field {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
}
.ct-field label {
  font-size: 12px;
  font-family: 'Cinzel', serif;
  color: var(--gold-light);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.ct-field input,
.ct-field textarea {
  padding: 12px 14px;
  border: 1.5px solid rgba(212,175,55,0.3);
  border-radius: 8px;
  font-family: 'Crimson Text', serif;
  font-size: 16px;
  color: #fff;
  background: rgba(255,255,255,0.08);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  width: 100%;
}
.ct-field input::placeholder,
.ct-field textarea::placeholder { color: rgba(255,255,255,0.4); }
.ct-field input:focus,
.ct-field textarea:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.15);
}
.ct-field textarea { resize: vertical; min-height: 120px; }

.ct-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--deep-red), var(--crimson));
  color: #fff;
  border: none;
  padding: 15px;
  border-radius: 8px;
  font-family: 'Cinzel', serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s;
  margin-top: 5px;
}
.ct-submit:hover {
  background: linear-gradient(135deg, #700000, #a00015);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(139,0,0,0.4);
}

/* success message */
.ct-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
  padding: 14px 18px;
  border-radius: 8px;
  margin-top: 16px;
  font-size: 15px;
  font-family: 'Cinzel', serif;
}
.ct-success i { font-size: 18px; color: #22c55e; }

/* ── MAP ───────────────────────────────────── */
/* Map wrapper with its own bg */
.ct-map-section {
  background:
    linear-gradient(180deg,
      rgba(0,0,0,0) 0%,
      rgba(10,3,0,0.6) 30%,
      rgba(20,6,0,0.9) 100%);
  padding: 50px 0 0;
  position: relative;
  z-index: 1;
}
.ct-map-section::before {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--saffron), var(--gold), transparent);
  margin-bottom: 50px;
  opacity: 0.5;
}

.ct-map {
  max-width: 1100px;
  margin: 0 auto 0;
  padding:  30px 80px;
  position: relative;
  z-index: 1;
}

/* Map title */
.ct-map-title {
  text-align: center;
  margin-bottom: 30px;
}
.ct-map-title h3 {
  font-family: 'Cinzel', serif;
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 8px;
}
.ct-map-title p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  font-style: italic;
}
.ct-map iframe {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 10px 50px rgba(0,0,0,0.5);
  border: 2px solid rgba(212,175,55,0.35);
  display: block;
}

/* ── RESPONSIVE ────────────────────────────── */
@media (max-width: 900px) {
  .ct-wrapper {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .ct-section { padding: 60px 20px; }
}

@media (max-width: 600px) {
  .ct-hero-content h1 { letter-spacing: 2px; }
  .ct-section { padding: 45px 16px; }
  .ct-form-wrap { padding: 26px 18px; }
  .ct-field-row { grid-template-columns: 1fr; gap: 0; }
  .ct-item { padding: 14px 15px; gap: 14px; }
  .ct-icon { width: 40px; height: 40px; font-size: 16px; }
  .ct-map { padding: 0 16px; margin-bottom: 55px; }
  .ct-map iframe { height: 280px; }
  .ct-map-section { padding: 30px 0 0; }
  .ct-submit { font-size: 14px; padding: 13px; }
}

@media (max-width: 380px) {
  .ct-section { padding: 35px 12px; }
  .ct-form-wrap { padding: 20px 14px; }
  .ct-info-header h2 { font-size: 18px; }
  .ct-map { padding: 0 12px; }
  .ct-map iframe { height: 230px; }
}

/* ── FORM STATES ────────────────────────────── */
.ct-error {
  display: none;
  align-items: center;
  gap: 10px;
  background: #fff5f5;
  border: 1px solid #fca5a5;
  color: #991b1b;
  padding: 14px 18px;
  border-radius: 8px;
  margin-top: 16px;
  font-size: 15px;
  font-family: 'Cinzel', serif;
}
.ct-error i { font-size: 18px; color: #ef4444; }

.ct-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}