/* =========================
 *  Root Variables
 *  ========================= */
:root {
  --sage: #b2c2a4;
  --lavender: #f6e1f9;
  --pink: #f9c5d1;
  --accent: #a64c79;
  --deep: #5a3e57;
  --text: #333;
  --light: #fff;
}

/* =========================
 *  Global
 *  ========================= */
* {
  box-sizing: border-box;
}

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);
  padding: 40px 20px;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  text-align: center;
}

.header-logo {
  max-width: 140px;
  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);
}

.header-text h1 {
  color: var(--deep);
  margin: 0 0 8px;
  font-size: 2.4rem;
}

.header-text p {
  margin: 0;
  color: var(--deep);
  font-size: 1.1rem;
}

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;
  animation: shimmerReverse 8s linear infinite, pulseHeader 5s infinite alternate;
}

/* =========================
 *  CTA
 *  ========================= */
.cta {
  text-align: center;
  margin: 35px auto;
}

.cta a {
  background: var(--accent);
  color: var(--light);
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background 0.3s ease, transform 0.2s ease;
}

.cta a:hover {
  background: #8b3c65;
  transform: translateY(-2px);
}

/* =========================
 *  Sections
 *  ========================= */
section {
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
}

h2 {
  color: var(--deep);
  border-bottom: 2px solid var(--pink);
  display: inline-block;
  margin-bottom: 20px;
}

/* =========================
 *  Services
 *  ========================= */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 20px;
  text-align: left;
  align-items: stretch;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--light);
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 22px;
  text-align: left;
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.1);
}

.service-card h3 {
  color: var(--accent);
  margin: 0 0 10px;
}

.service-card p {
  font-size: 0.96em;
  color: #555;
  line-height: 1.55;
  margin: 0 0 8px;
}

.service-card::after {
  content: "";
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 60px;
  height: 60px;
  background: url("/assets/images/watermark.png") no-repeat center/contain;
  opacity: 0.08;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.service-card:hover::after {
  opacity: 0.18;
}

/* =========================
 *  Hourly Pricing Highlights
 *  ========================= */
.service-card.pricing-highlight {
  border: 2px solid var(--pink);
  background: linear-gradient(
    to bottom right,
    rgba(255,255,255,0.98),
                              rgba(246,225,249,0.9)
  );
}

.service-card.pricing-highlight::before {
  content: "Starting Rate";
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: var(--light);
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  z-index: 2;
}

.starting-price {
  display: block;
  margin-top: 14px;
  font-size: 1.28em;
  font-weight: bold;
  color: var(--accent);
  text-shadow: 0 0 8px rgba(166,76,121,0.15);
}

/* =========================
 *  Flyer Card
 *  ========================= */
.flyer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.flyer-content p {
  flex: 1;
}

.flyer-thumb {
  max-height: 210px;
  max-width: 120px;
  object-fit: cover;
  border: 2px solid var(--pink);
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flyer-thumb:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* =========================
 *  Modal
 *  ========================= */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  overflow: auto;
}

.modal-content {
  display: block;
  margin: 30px auto 10px;
  max-width: 92%;
  max-height: 85vh;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: var(--light);
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: var(--pink);
}

.download-btn {
  text-align: center;
  margin: 20px 0 35px;
}

.download-btn a {
  background: var(--accent);
  color: var(--light);
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
}

.download-btn a:hover {
  background: #8b3c65;
}

/* =========================
 *  Social Card
 *  ========================= */
.social-card {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 22px;
  border: 2px solid var(--pink);
  border-radius: 14px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
}

.social-left img {
  height: 64px;
  width: auto;
}

.social-right {
  flex: 1;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 14px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--accent);
  font-weight: bold;
  transition: color 0.3s ease, transform 0.2s ease;
}

.social-links a:hover {
  color: var(--deep);
  transform: translateY(-2px);
}

/* =========================
 *  Contact Section
 *  ========================= */
.contact {
  position: relative;
  max-width: 1000px;
  margin: 50px auto 0;
  background: url("/assets/images/hydrangea.jpg") center/cover no-repeat;
  border-radius: 16px;
  padding: 40px 20px;
  text-align: center;
  box-shadow: 0 8px 22px rgba(0,0,0,0.14);
  color: var(--light);
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(246,225,249,0.85),
                              rgba(90,62,87,0.58)
  );
  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: space-between;
  align-items: flex-start;
}

.contact-info,
.contact-form {
  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
 *  ========================= */
.scripture {
  margin-top: 25px;
  font-style: italic;
  font-size: 0.95em;
  line-height: 1.5em;
  background: rgba(255,255,255,0.75);
  color: var(--deep);
  padding: 15px;
  border-radius: 10px;
  animation: fadeIn 2s ease-in-out;
}

/* =========================
 *  Contact Form
 *  ========================= */
.contact-form form {
  background: rgba(255,255,255,0.78);
  padding: 22px;
  border-radius: 14px;
  text-align: left;
  box-shadow: 0 6px 16px rgba(0,0,0,0.22);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1em;
  background: rgba(255,255,255,0.95);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form ::placeholder {
  color: #666;
  font-style: italic;
}

.contact-form button {
  background: var(--accent);
  color: var(--light);
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.contact-form button:hover {
  background: #8b3c65;
  transform: translateY(-2px);
}

/* =========================
 *  Footer
 *  ========================= */
#footer {
position: relative;
background: var(--pink);
padding: 40px 20px 20px;
text-align: center;
margin-top: 40px;
}

#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;
animation: shimmerReverse 8s linear infinite, pulseFooter 5s infinite alternate;
}

.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;
}

.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);
  }

  to {
    box-shadow: 0 0 14px rgba(166,76,121,0.7);
  }
}

@keyframes pulseFooter {
  from {
    box-shadow: 0 0 6px rgba(166,76,121,0.5);
  }

  to {
    box-shadow: 0 0 14px rgba(90,62,87,0.7);
  }
}

@keyframes flicker {
  from {
    opacity: 0.7;
    text-shadow: 0 0 6px var(--pink);
  }

  to {
    opacity: 1;
    text-shadow: 0 0 12px var(--accent);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
 *  Mobile
 *  ========================= */
@media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
  }

  .contact-info,
  .contact-form {
    width: 100%;
  }

  .social-card {
    flex-direction: column;
    height: auto;
    text-align: center;
  }

  .social-links {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  header {
    padding: 30px 15px;
  }

  .header-logo {
    max-width: 90px;
  }

  .header-text h1 {
    font-size: 2em;
  }

  .header-text p {
    font-size: 1em;
  }

  section {
    padding: 30px 15px;
  }

  .service-card {
    padding: 18px;
  }

  .service-card.pricing-highlight::before {
    position: static;
    display: inline-block;
    margin-bottom: 10px;
  }

  .starting-price {
    font-size: 1.15em;
  }

  .flyer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .flyer-thumb {
    max-width: 100%;
    max-height: 260px;
    margin: 10px auto 0;
  }

  .contact {
    padding: 30px 15px;
    border-radius: 0;
  }

  .cta a {
    width: calc(100% - 30px);
    max-width: 340px;
  }
}
