/* =========================
   Root Variables
   ========================= */
:root {
  --sage: #b2c2a4;
  --lavender: #f6e1f9;
  --pink: #f9c5d1;
  --accent: #a64c79;
  --deep: #5a3e57;
  --text: #333;
  --light: #fff;
}

/* =========================
   Global Background
   ========================= */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(to bottom, var(--sage), var(--pink));
  color: var(--text);
}

/* =========================
   Header
   ========================= */
header {
  position: relative;
  background: var(--sage); /* solid sage */
  padding: 40px 20px; /* remove extra bottom padding */
}

/* Keep logo + text side by side */
.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Control logo size */
.header-logo {
  max-width: 140px; /* keep it small */
  height: auto;
  filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.25));
  transition: filter 0.4s ease, transform 0.3s ease;
}
.header-logo:hover {
  filter: drop-shadow(0 0 12px rgba(255,255,255,0.6));
  transform: scale(1.05);
}

/* Animated border line at bottom of header */
header::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--sage) 0%,
    var(--lavender) 40%,
    var(--pink) 60%,
    var(--accent) 100%
  );
  background-size: 200% auto;
  background-repeat: no-repeat;
  background-position: 0 0;
  animation: shimmerReverse 8s linear infinite, pulseHeader 5s infinite alternate;
}

/* =========================
   Footer
   ========================= */
#footer {
  position: relative;
  background: var(--pink); /* solid pink */
  padding: 40px 20px 20px;
  text-align: center;
  margin-top: 40px;
}

/* Animated border line at top of footer */
#footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    to left,
    var(--sage) 0%,
    var(--lavender) 40%,
    var(--pink) 60%,
    var(--accent) 100%
  );
  background-size: 200% auto;
  background-repeat: no-repeat;
  background-position: 0 0;
  animation: shimmerReverse 8s linear infinite, pulseFooter 5s infinite alternate;
}

/* =========================
   Footer content
   ========================= */
.footer-bottom {
  color: var(--text);
  font-size: 0.95em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.footer-bottom .separator { margin: 0 8px; color: var(--accent); }
.neon-icon { font-size: 1.2em; color: var(--accent); text-shadow: 0 0 6px rgba(166,76,121,0.6); }
.flame-flicker { animation: flicker 2s infinite alternate; }
.brand-link { color: var(--accent); font-weight: bold; text-decoration: none; transition: color 0.3s ease; }
.brand-link:hover { color: var(--deep); text-decoration: underline; }
.neon-tm { font-size: 0.8em; vertical-align: super; color: var(--accent); }

/* =========================
   Animations
   ========================= */
@keyframes shimmerReverse {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@keyframes pulseHeader {
  from { box-shadow: 0 0 6px rgba(178,194,164,0.5); } /* sage glow */
  to   { box-shadow: 0 0 14px rgba(166,76,121,0.7); } /* floral accent glow */
}
@keyframes pulseFooter {
  from { box-shadow: 0 0 6px rgba(166,76,121,0.5); } /* pink glow */
  to   { box-shadow: 0 0 14px rgba(90,62,87,0.7); }  /* deep accent glow */
}
@keyframes flicker {
  from { opacity: 0.7; text-shadow: 0 0 6px var(--pink); }
  to   { opacity: 1; text-shadow: 0 0 12px var(--accent); }
}

/* =========================
   Section
   ========================= */
section {
  padding: 40px 20px;
  max-width: 900px;
  margin: auto;
}
h2 {
  color: var(--deep);
  border-bottom: 2px solid var(--pink);
  display: inline-block;
  margin-bottom: 20px;
}

/* =========================
   Toggle Buttons
   ========================= */
.view-toggle {
  text-align: center;
  margin-bottom: 20px;
}
.view-toggle button {
  background: var(--accent);
  color: var(--light);
  padding: 10px 20px;
  margin: 0 5px;
  border: none;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}
.view-toggle button:hover {
  background: #8b3c65;
  transform: scale(1.05);
}
.view-toggle button.active {
  background: var(--deep);
  box-shadow: 0 0 8px rgba(90,62,87,0.6);
}

/* =========================
   Pricing Table
   ========================= */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  border-radius: 10px;
  overflow: hidden;
  animation: fadeIn 0.5s ease-in-out;
}
.pricing-table th {
  background: var(--pink);
  color: var(--deep);
  font-weight: bold;
  padding: 12px;
  text-align: center;
}
.pricing-table td {
  background: var(--light);
  padding: 12px;
  text-align: center;
  border-bottom: 1px solid #eee;
}
.pricing-table tr:hover td { background: var(--lavender); }

/* =========================
   Pricing Cards
   ========================= */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
  animation: fadeIn 0.5s ease-in-out;
}
.pricing-card {
  background: var(--light);
  border: 2px solid var(--pink);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}
.pricing-card h3 { color: var(--accent); margin-bottom: 10px; }
.pricing-card p { font-size: 0.95em; color: #555; margin: 6px 0; }
.pricing-card strong { color: var(--deep); }

/* =========================
   Lists
   ========================= */
ul { margin: 15px 0; padding-left: 20px; }
ul li { margin-bottom: 8px; color: #555; }

/* Info Box */
.info-box {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  background: var(--light);
  border: 2px solid var(--pink);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}
.info-box::after {
  content: "";
  position: absolute;
  bottom: 15px; right: 15px;
  width: 100px; height: 100px;
  background: url("/assets/images/watermark.png") no-repeat center/contain;
  opacity: 0.08;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.info-box:hover::after { opacity: 0.18; }
.info-left, .info-right { flex: 1; }
.info-left h2, .info-right h2 {
  color: var(--deep);
  border-bottom: 2px solid var(--pink);
  display: inline-block;
  margin-bottom: 15px;
}
.info-box ul { margin: 10px 0; padding-left: 20px; }
.info-box li { margin-bottom: 8px; color: #555; }

/* =========================
   Scripture Box
   ========================= */
.scripture {
  margin-top: 25px;
  font-style: italic;
  font-size: 0.95em;
  line-height: 1.5em;
  background: rgba(255,255,255,0.7);
  color: var(--deep);
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  animation: fadeIn 2s ease-in-out;
}

/* =========================
   CTA Button
   ========================= */
.cta { text-align: center; margin-top: 30px; }
.cta a {
  background: var(--accent);
  color: var(--light);
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}
.cta a:hover { background: #8b3c65; }

/* =========================
   Contact Section
   ========================= */
.contact {
  position: relative;
  background: url("/assets/images/hydrangea.jpg") center/cover no-repeat;
  border-radius: 12px;
  padding: 40px 20px;
  margin-top: 50px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  color: var(--light);
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute; top:0; left:0; right:0; bottom:0;
  background: linear-gradient(rgba(246,225,249,0.85), rgba(90,62,87,0.55));
  border-radius: 12px;
  z-index: 0;
}
.contact::after {
  content: "✝";
  font-size: 2em;
  color: var(--light);
  position: absolute;
  top: 15px; left: 20px;
  z-index: 1;
  text-shadow: 0 0 6px var(--light), 0 0 12px var(--accent), 0 0 18px var(--accent);
}
.contact-content {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: flex-start;
}
.contact-info { 
  flex: 1; 
}

.contact h2 {
  border: none;
  color: var(--light);
  font-family: 'Georgia', serif;
  margin-bottom: 15px;
}

.contact p {
  margin: 8px 0;
  font-size: 1.05em;
}

.contact a {
  color: var(--light);
  text-decoration: none;
  font-weight: bold;
}
.contact a:hover { text-decoration: underline; }

/* Scripture box */
.scripture {
  margin-top: 25px;
  font-style: italic;
  font-size: 0.95em;
  line-height: 1.5em;
  background: rgba(255,255,255,0.7);
  color: var(--deep);
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  animation: fadeIn 2s ease-in-out;
}

/* =========================
   Animations
   ========================= */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================
   Mobile Adjustments
   ========================= */
@media (max-width: 768px) {
  /* Pricing table */
  .pricing-table th,
  .pricing-table td {
    font-size: 0.9em;
    padding: 10px;
  }

  /* Contact layout */
  .contact-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  /* Header */
  .header-logo { max-width: 90px; }
  .header-text h1 { font-size: 2em; }
  .header-text p { font-size: 1em; }

  /* Pricing cards */
  .pricing-card { padding: 15px; min-height: 220px; }

  /* Contact */
  .contact { padding: 25px 15px; }

  /* CTA button */
  .cta a {
    display: inline-block;
    margin-top: 15px;
    width: 100%;
    text-align: center;
  }

  /* Service cards */
  .service-card { padding: 15px; min-height: 220px; }

  /* Social card */
  .social-card {
    flex-direction: column;
    height: auto;
    text-align: center;
    padding: 15px;
  }
  .social-right {
    width: 100%;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
  }
  .social-links {
    flex-direction: column;
    gap: 12px;
  }
  .social-links a { justify-content: center; }
}
