/* =========================
   Global Styles
   ========================= */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(to bottom, #b2c2a4, #ffffff); /* sage green to white */
  color: #333;
}

/* =========================
   Header
   ========================= */
header {
  background: linear-gradient(
    to bottom,
    #f9c5d1,   /* soft pink top */
    #f6e1f9,   /* lavender middle */
    #b2c2a4    /* sage green bottom */
  );
  padding: 40px 20px;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.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 {
  font-size: 2.8em;
  margin: 0;
  color: #5a3e57;
  font-family: 'Georgia', serif;
}

.header-text p {
  font-size: 1.2em;
  color: #6d4c6f;
  margin-top: 10px;
}

/* =========================
   Section & Services
   ========================= */
section {
  padding: 40px 20px;
  max-width: 900px;
  margin: auto;
  text-align: justify;
}

h2 {
  color: #5a3e57;
  border-bottom: 2px solid #f9c5d1;
  display: inline-block;
  margin-bottom: 20px;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  text-align: left;
  align-items: stretch;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 20px;
  text-align: left;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card h3 {
  color: #a64c79;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.95em;
  color: #555;
}

/* Watermark inside each service card */
.service-card::after {
  content: "";
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 60px;
  height: 60px;
  background: url("/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;
}

/* =========================
   Social Card
   ========================= */
.social-card {
  grid-column: 1 / -1;              /* span full row of grid */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #f9f9f9;
  height: 80px;
}

.social-left img {
  height: 60px;
  width: auto;
}

.social-right {
  flex: 1;
  display: flex;
  justify-content: space-evenly;    /* evenly distribute links */
  align-items: center;
}

.social-links {
  display: flex;
  flex: 1;
  justify-content: space-evenly;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #a64c79;
  font-weight: bold;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #5a3e57;
  text-decoration: underline;
}

.social-icon {
  width: 22px;
  height: 22px;
  margin-right: 10px;
}

/* =========================
   Call-to-Action
   ========================= */
.cta {
  text-align: center;
  margin-top: 40px;
}

.cta a {
  background: #a64c79;
  color: #fff;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.cta a:hover {
  background: #8b3c65;
}

/* =========================
   Logo Banner
   ========================= */
.logo-banner {
  text-align: center;
  margin: 40px 0 20px;
}

.logo-banner img {
  max-width: 120px;
  height: auto;
  opacity: 0.95;
}

/* =========================
   Price Cards
   ========================= */
.price-card {
  background: #f6e1f9;
  border: 2px solid #a64c79;
  text-align: center;
}

.price-card h3 {
  color: #5a3e57;
  margin-bottom: 10px;
}

.price-card p {
  font-size: 1.1em;
  color: #333;
}

/* =========================
   Contact Section
   ========================= */
.contact {
  position: relative;
  background: url("/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: #fff;
  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: #fff;
  position: absolute;
  top: 15px;
  left: 20px;
  z-index: 1;
  text-shadow: 
    0 0 6px #fff,
    0 0 12px #a64c79,
    0 0 18px #a64c79;
}

.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: #fff;
  font-family: 'Georgia', serif;
  margin-bottom: 15px;
}

.contact p {
  margin: 8px 0;
  font-size: 1.05em;
}

.contact a {
  color: #fff;
  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: #5a3e57;
  padding: 15px;
  border-radius: 10px;
  animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Contact form styling */
.contact-form form {
  background: rgba(255, 255, 255, 0.75);
  padding: 20px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1em;
  background: rgba(255, 255, 255, 0.9);
}

.contact-form ::placeholder {
  color: #666;
  font-style: italic;
}

.contact-form button {
  background: #a64c79;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #8b3c65;
}

/* =========================
   Footer
   ========================= */
footer {
  background: #f9c5d1;
  text-align: center;
  padding: 20px;
  color: #5a3e57;
  font-size: 0.9em;
}

footer::before {
  content: "";
  display: block;
  height: 6px;
  width: 100%;
  background: linear-gradient(90deg,
    #00ff66 0%,
    #00cc44 50%,
    #00ff66 100%
  );
  background-size: 200% 100%;
  animation: neon-streak 3s linear infinite;
  position: relative;
  top: -6px;
  box-shadow: 0 0 12px #00ff66;
}

@keyframes neon-streak {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* =========================
   Mobile Adjustments
   ========================= */
@media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .header-logo { max-width: 90px; }
  .header-text h1 { font-size: 2em; }
  .header-text p { font-size: 1em; }
  .service-card { padding: 15px; min-height: 220px; }
  .contact { padding: 25px 15px; }

  .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;
  }
}
