/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: #f9f8f6;
  color: #333;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }

/* ===== Header ===== */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e0ddd6;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.logo-link { display: flex; align-items: center; gap: 0.75rem; }

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #4a7c9e;
  letter-spacing: 0.5px;
}

.logo-sub {
  font-size: 0.75rem;
  color: #888;
  letter-spacing: 0.3px;
}

/* ===== Navigation ===== */
.main-nav > ul {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.main-nav ul li a {
  display: block;
  padding: 0.5rem 0.9rem;
  font-family: 'Arial', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #444;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.main-nav ul li a:hover {
  background: #eef4f9;
  color: #4a7c9e;
}

/* Dropdown */
.has-dropdown { position: relative; }

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  min-width: 220px;
  flex-direction: column;
  gap: 0;
  z-index: 200;
}

.has-dropdown.active .dropdown { display: flex; }

.dropdown li a {
  padding: 0.65rem 1.1rem;
  font-size: 0.875rem;
  border-radius: 0;
  color: #444;
}

.dropdown li:first-child a { border-radius: 6px 6px 0 0; }
.dropdown li:last-child a  { border-radius: 0 0 6px 6px; }

.dropdown li a:hover { background: #eef4f9; color: #4a7c9e; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #4a7c9e;
  padding: 0.25rem;
}

/* ===== Hero Banner ===== */
.hero {
  background: linear-gradient(135deg, #d6eaf8 0%, #eaf4fb 50%, #f0f7ee 100%);
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  border-bottom: 1px solid #dce8f0;
}

.hero-dove {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: block;
}

.hero h1 {
  font-size: 2.8rem;
  color: #2c5f7a;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.hero p {
  font-size: 1.15rem;
  color: #5a7a8a;
  max-width: 620px;
  margin: 0 auto 2rem;
}

.btn {
  display: inline-block;
  background: #4a7c9e;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-family: 'Arial', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.3px;
}

.btn:hover { background: #2c5f7a; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border: 2px solid #4a7c9e;
  color: #4a7c9e;
  margin-left: 0.75rem;
}

.btn-outline:hover { background: #4a7c9e; color: #fff; }

/* ===== Sections ===== */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-center { text-align: center; }

.section h2 {
  font-size: 2rem;
  color: #2c5f7a;
  margin-bottom: 1rem;
}

.section h3 {
  font-size: 1.3rem;
  color: #4a7c9e;
  margin-bottom: 0.5rem;
}

.section p { margin-bottom: 1rem; color: #555; }

.divider {
  border: none;
  border-top: 2px solid #dce8f0;
  margin: 0;
}

/* ===== Service Cards ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.card {
  background: #fff;
  border: 1px solid #dce8f0;
  border-radius: 10px;
  padding: 2rem 1.75rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.card-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }

.card h3 { color: #2c5f7a; margin-bottom: 0.5rem; font-size: 1.25rem; }

.card p { font-size: 0.95rem; color: #666; margin-bottom: 1.25rem; }

.card a { color: #4a7c9e; font-weight: 600; font-family: 'Arial', sans-serif; font-size: 0.9rem; }
.card a:hover { text-decoration: underline; }

/* ===== Pricing Banner ===== */
.pricing-banner {
  background: linear-gradient(135deg, #2c5f7a 0%, #4a7c9e 100%);
  color: #fff;
  text-align: center;
  padding: 3.5rem 1.5rem;
}

.pricing-banner h2 { font-size: 2.2rem; margin-bottom: 0.5rem; }
.pricing-banner p  { font-size: 1.1rem; opacity: 0.9; margin-bottom: 1.5rem; }

.pricing-banner .btn {
  background: #fff;
  color: #2c5f7a;
}

.pricing-banner .btn:hover { background: #eef4f9; }

/* ===== Page Hero (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, #d6eaf8 0%, #eaf4fb 100%);
  padding: 3.5rem 1.5rem 2.5rem;
  text-align: center;
  border-bottom: 1px solid #dce8f0;
}

.page-hero h1 {
  font-size: 2.4rem;
  color: #2c5f7a;
  margin-bottom: 0.5rem;
}

.page-hero p {
  font-size: 1.05rem;
  color: #5a7a8a;
  max-width: 560px;
  margin: 0 auto;
}

/* ===== Content Block ===== */
.content-block {
  background: #fff;
  border: 1px solid #dce8f0;
  border-radius: 10px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.content-block h2 {
  font-size: 1.6rem;
  color: #2c5f7a;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #dce8f0;
}

.content-block h3 {
  font-size: 1.2rem;
  color: #4a7c9e;
  margin: 1.25rem 0 0.4rem;
}

.content-block p { color: #555; margin-bottom: 0.9rem; }

/* ===== Quote / Callout ===== */
.callout {
  background: #eef7f0;
  border-left: 4px solid #7bbf8e;
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #3a5a44;
}

/* ===== Contact Info ===== */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-card {
  flex: 1;
  min-width: 220px;
  background: #fff;
  border: 1px solid #dce8f0;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.contact-card .icon { font-size: 2rem; margin-bottom: 0.75rem; display: block; }
.contact-card h3 { color: #2c5f7a; margin-bottom: 0.4rem; }
.contact-card p, .contact-card a { color: #555; font-size: 1.05rem; }
.contact-card a { color: #4a7c9e; font-weight: 600; }
.contact-card a:hover { text-decoration: underline; }

/* ===== Package List ===== */
.package-list {
  list-style: none;
  margin: 1rem 0;
}

.package-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid #eee;
  color: #555;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.package-list li::before {
  content: "🕊";
  flex-shrink: 0;
}

/* ===== Footer ===== */
.site-footer {
  background: #2c3e50;
  color: #ccc;
  text-align: center;
  padding: 2rem 1.5rem;
  margin-top: 0;
}

.footer-inner p { margin-bottom: 0.4rem; font-size: 0.9rem; }

.footer-phone a { color: #7bbff0; font-weight: 600; }
.footer-phone a:hover { color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #ddd;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .main-nav.open { display: block; }

  .main-nav > ul {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .main-nav ul li a { padding: 0.75rem 1rem; }

  .dropdown {
    position: static;
    border: none;
    box-shadow: none;
    background: #f0f4f8;
    border-radius: 4px;
    margin-top: 0.25rem;
  }

  /* mobile active rule inherited from base */

  .hero h1 { font-size: 2rem; }

  .btn-outline { margin-left: 0; margin-top: 0.75rem; }

  .contact-info { flex-direction: column; }
}

/* ===== Photo Gallery ===== */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.75rem 0;
}

.photo-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: transform 0.2s, box-shadow 0.2s;
}

.photo-gallery img:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

/* Wedding page has 6 images — 3 col × 2 rows looks best */
.photo-gallery--wide {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 640px) {
  .photo-gallery,
  .photo-gallery--wide {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== Flash Messages ===== */
.flash-container {
  max-width: 1100px;
  margin: 0.75rem auto;
  padding: 0 1.5rem;
}

.flash {
  padding: 0.9rem 1.25rem;
  border-radius: 6px;
  font-family: 'Arial', sans-serif;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.flash-success {
  background: #eaf7ee;
  border: 1px solid #7bbf8e;
  color: #2e6b40;
}

.flash-error {
  background: #fdf0f0;
  border: 1px solid #d9888a;
  color: #8b2020;
}

/* ===== Contact Form ===== */
.contact-form {
  margin-top: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-row .form-group {
  margin-bottom: 0;
}

.form-group label {
  font-family: 'Arial', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #444;
}

.required {
  color: #c0392b;
  margin-left: 2px;
}

.optional {
  font-weight: 400;
  color: #999;
  font-size: 0.82rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="date"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 0.95rem;
  color: #333;
  background: #fff;
  border: 1px solid #c8d8e4;
  border-radius: 6px;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.contact-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a7c9e' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #4a7c9e;
  box-shadow: 0 0 0 3px rgba(74, 124, 158, 0.15);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.form-submit {
  margin-top: 0.5rem;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
