/* GLOBAL STYLES & HEAVENLY BACKGROUND */
:root {
  /* A soft, warm deep twilight */
  --space-midnight: #1A1829; 
  /* A dusty, muted plum for cards to blend gently with the background */
  --deep-nebula: #2D2743;    
  /* A soft amethyst */
  --cosmic-purple: #785A9E;  
  /* A warm, creamy off-white */
  --stardust-silver: #E2DEE8;
  /* An elegant champagne/rose-gold */
  --lunar-gold: #E8D09E;     
  /* A subtle, warm border tint matching the champagne/rose gold */
  --glass-border: rgba(232, 208, 158, 0.12); 
  /* Dynamic transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pulse-gold-glow {
  0%, 100% { 
    filter: drop-shadow(0 0 5px rgba(232, 208, 158, 0.4));
  }
  50% { 
    filter: drop-shadow(0 0 15px rgba(232, 208, 158, 0.8));
  }
}

@font-face {
  font-family: 'Playfair';
  src: url('../assets/fonts/Playfair.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
}

@font-face {
  font-family: 'Playfair';
  src: url('../assets/fonts/Playfair-Italic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/Montserrat.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/Montserrat-Italic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  position: relative;
  font-family: 'Montserrat', sans-serif;
  color: var(--stardust-silver);
  line-height: 1.6;
  background-color: var(--space-midnight);
  overflow-x: hidden;
}

body::before {
  content: "";               
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/pawprintsmemorialbg.png');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  opacity: 0.18;
  z-index: -1;
}

/* CONTAINER & LAYOUT */
.contact-container {
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 100vh;
  width: 100%;
}

.glass-card {
  max-width: 800px;
  width: 100%;
  background: transparent;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border); 
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.glass-card h1 {
  color: var(--lunar-gold);
  text-align: center;
  font-family: 'Playfair', serif;
  font-size: 2.5rem;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
  animation: pulse-gold-glow 4s infinite ease-in-out;
}

.contact-intro {
  text-align: center;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 40px auto;
  opacity: 0.9;
}

.contact-content p {
  color: var(--stardust-silver);
  line-height: 1.6;
  margin-bottom: 15px;
}

.support {
  color: var(--lunar-gold);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px dashed rgba(232, 208, 158, 0.4);
  transition: var(--transition-smooth);
}

.support:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

/* FAQ SECTION */
.faq-section {
  margin: 40px 0;
  padding: 25px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  border: 1px solid var(--glass-border);
}

.faq-section h2 {
  font-family: 'Playfair', serif;
  font-size: 1.5rem;
  color: var(--lunar-gold);
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 12px;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.faq-section details {
  margin-bottom: 15px;
  background: rgba(11, 15, 25, 0.3);
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid rgba(232, 208, 158, 0.05);
  transition: var(--transition-smooth);
}

.faq-section details[open] {
  border-color: rgba(232, 208, 158, 0.2);
  background: rgba(11, 15, 25, 0.5);
}

.faq-section summary {
  font-weight: 600;
  color: var(--lunar-gold);
  cursor: pointer;
  outline: none;
  user-select: none;
}

.faq-section details p {
  padding-left: 15px;
  margin-top: 12px;
  font-size: 0.95rem;
  border-left: 2px solid var(--cosmic-purple);
}

/* SUPPORT HOURS */
.support-hours {
  background: rgba(11, 15, 25, 0.4);
  border: 1px dashed rgba(232, 208, 158, 0.25);
  padding: 24px;
  border-radius: 16px;
  text-align: center;
  margin: 40px 0;
}

.support-hours h3 {
  color: var(--lunar-gold);
  font-family: 'Playfair', serif;
  font-size: 1.3rem;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.hours-list {
  color: var(--stardust-silver);
  font-size: 0.95rem;
  line-height: 1.8;
}

.response-time {
  display: block;
  margin-top: 12px;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--lunar-gold);
  opacity: 0.8;
}

/* COMPACT PREMIUM FORM CSS */
.form-card {
  border: 1px solid var(--glass-border);
  background: rgba(11, 15, 25, 0.3);
  border-radius: 20px;
  padding: 30px;
  margin-top: 40px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

label {  
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--lunar-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.85;
}

.form-control, textarea {
  width: 100% !important;
  box-sizing: border-box;
  background-color: rgba(11, 15, 25, 0.6) !important;
  border: 1px solid rgba(232, 208, 158, 0.2) !important;
  border-radius: 10px !important;
  padding: 14px 16px !important;
  font-size: 1rem !important;
  color: #ffffff !important;
  font-family: 'Montserrat', sans-serif;
  transition: var(--transition-smooth);
  outline: none;
}    

.form-control:focus, textarea:focus {
  border-color: var(--lunar-gold) !important; 
  box-shadow: 0 0 15px rgba(232, 208, 158, 0.15) !important;
  background-color: rgba(30, 27, 75, 0.6) !important;
}

textarea {
  resize: vertical;
}

/* BUTTONS */
.button-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
}

.btn-submit, .btn-reset {
  font-family: 'Montserrat', sans-serif;
  border-radius: 10px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  width: 50%;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-submit {
  background-color: var(--lunar-gold);
  color: var(--space-midnight);
  border: 1px solid var(--lunar-gold);
}

.btn-submit:hover {
  background-color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 208, 158, 0.25);
}

.btn-reset {
  background-color: transparent;
  color: var(--stardust-silver);
  border: 1px solid rgba(232, 208, 158, 0.3);
}

.btn-reset:hover {
  background-color: rgba(232, 208, 158, 0.08);
  border-color: var(--lunar-gold);
  color: var(--lunar-gold);
  transform: translateY(-2px);
}

.btn-submit:active, .btn-reset:active {
  transform: translateY(0);
}
                
/* ==========================================================================
   SITE FOOTER STYLES
   ========================================================================== */
.zen-footer {
  padding: 60px 20px 20px 20px;
  margin-top: 80px;
  border-top: 1px solid var(--glass-border);
  font-family: 'Montserrat', sans-serif;
  transition: background 2s ease, color 1s ease;
}

.zen-footer-content {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.zen-brand-block a {
  font-family: 'Playfair', serif;
  text-decoration: none;
  color: var(--lunar-gold);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  transition: all 0.3s ease;
  margin: 0;
}

.zen-subtitle {
  margin: 6px 0 0 0;
  font-size: 0.9rem;
  opacity: 0.85;
}

.zen-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 24px;
}

.zen-links a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: all 0.3s ease;
}

.zen-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 0.6rem;
  opacity: 0.5;
  border-top: 1px solid rgba(232, 208, 158, 0.05);
  padding-top: 20px;
}

/* --- THEME VARIATIONS --- */

/* 1. Morning State (Soft Amber Sunrise) */
.zen-morning {
  background: linear-gradient(to top, rgba(232, 208, 158, 0.25), rgba(26, 24, 41, 0.95));
  color: var(--stardust-silver);
}
.zen-morning h4 { color: var(--lunar-gold); }
.zen-morning .zen-links a { color: var(--stardust-silver); }
.zen-morning .zen-links a:hover { color: var(--lunar-gold); text-shadow: 0 0 5px rgba(232,208,158,0.3); }

/* 2. Twilight State (Your Deep Muted Plum Theme) */
.zen-twilight {
  background: linear-gradient(to top, var(--space-midnight), var(--deep-nebula));
  color: var(--stardust-silver);
}
.zen-twilight h4 { color: var(--lunar-gold); }
.zen-twilight .zen-links a { color: var(--stardust-silver); }
.zen-twilight .zen-links a:hover { color: var(--lunar-gold); }

/* 3. Night State (Deep Celestial Midnight & Glowing Text Aura) */
.zen-night {
  background: linear-gradient(to top, #0b0f19, var(--space-midnight));
  color: #a8a29e;
}
.zen-night h4 { 
  color: var(--lunar-gold); 
  text-shadow: 0 0 12px rgba(232, 208, 158, 0.6); 
}
.zen-night .zen-links a { color: var(--stardust-silver); }
.zen-night .zen-links a:hover { 
  color: var(--lunar-gold); 
  text-shadow: 0 0 8px var(--lunar-gold); 
}

.zen-time-alert {
    margin-top: 8px;
    font-size: 0.85rem;
    font-style: italic;
    opacity: 0.9;
}

/* --- FULLY RESPONSIVE MEDIA QUERIES --- */

@media screen and (max-width: 768px) {
  .contact-container {
    padding: 40px 15px;
  }

  .glass-card {
    padding: 30px 20px;
  }

  .glass-card h1 {
    font-size: 2.1rem;
  }

  .button-group {
    flex-direction: column;
    gap: 12px;
  }

  .btn-submit, .btn-reset {
    width: 100%;
  }

  .zen-footer-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .zen-links {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}
