/* ===== ROY Events — Base Styles =====
   Warm blush / cream / gold palette, matched to wedding-decor hero photo. */

:root {
  --color-primary: #8b5e4c;      /* warm terracotta-brown */
  --color-primary-dark: #6e4a3c;
  --color-accent: #d4a656;       /* gold */
  --color-accent-light: #e8cf9c;
  --color-bg: #fdf8f2;           /* ivory/cream */
  --color-bg-alt: #f6ece1;       /* blush-cream */
  --color-text: #3a2a22;
  --color-text-muted: #7a655c;
  --color-white: #ffffff;
  --color-border: #ecdfd0;

  --font-heading: "Georgia", "Times New Roman", serif;
  --font-body: "Segoe UI", Arial, sans-serif;

  --radius: 10px;
  --shadow: 0 4px 16px rgba(90, 58, 40, 0.14);
  --container-width: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

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

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.25;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.3rem; }

p { color: var(--color-text-muted); }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 70px 0; }

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title span {
  display: inline-block;
  color: var(--color-accent);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.section-title h2 {
  position: relative;
  padding-bottom: 18px;
}
.section-title h2::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 54px; height: 3px;
  background: var(--color-accent);
  border-radius: 3px;
}

.section-title p {
  max-width: 640px;
  margin: 12px auto 0;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 6px 16px rgba(90, 58, 40, 0.28);
}
.btn-primary:hover { background: var(--color-primary-dark); box-shadow: 0 10px 22px rgba(90, 58, 40, 0.35); }

.btn-outline {
  border-color: var(--color-white);
  color: var(--color-white);
}
.btn-outline:hover { background: var(--color-white); color: var(--color-primary); }

.btn-accent {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  box-shadow: 0 6px 16px rgba(212, 166, 86, 0.35);
}
.btn-accent:hover { background: var(--color-accent-light); box-shadow: 0 10px 22px rgba(212, 166, 86, 0.4); }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: none;
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
}
.logo img { height: 44px; width: auto; }

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  position: relative;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text);
  padding-bottom: 4px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.25s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--color-primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta { display: flex; gap: 12px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--color-primary);
  cursor: pointer;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(58, 34, 22, 0.72), rgba(58, 34, 22, 0.72)),
    url("../assets/images/hero-placeholder.jpg") center/cover no-repeat;
  color: var(--color-white);
  padding: 150px 0 130px;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%; left: 50%;
  width: 900px; height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(212, 166, 86, 0.25) 0%, rgba(212, 166, 86, 0) 65%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero span.eyebrow {
  display: inline-block;
  color: var(--color-accent-light);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.85rem;
  padding-bottom: 14px;
  position: relative;
}
.hero span.eyebrow::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 46px; height: 2px;
  background: var(--color-accent);
}
.hero h1 {
  color: var(--color-white);
  margin: 14px 0 18px;
  animation: fadeUp 0.8s ease both;
}
.hero p { color: #f3e6d8; max-width: 640px; margin: 0 auto 30px; animation: fadeUp 0.8s ease 0.1s both; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; animation: fadeUp 0.8s ease 0.2s both; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-hero {
  background: linear-gradient(rgba(58, 34, 22, 0.78), rgba(58, 34, 22, 0.78)),
    url("../assets/images/hero-placeholder.jpg") center/cover no-repeat;
  color: var(--color-white);
  padding: 90px 0;
  text-align: center;
}
.page-hero h1 { color: var(--color-white); animation: fadeUp 0.6s ease both; }
.page-hero .breadcrumb { color: var(--color-accent-light); margin-top: 10px; font-size: 0.9rem; animation: fadeUp 0.6s ease 0.1s both; }

/* ===== Cards (services / packages / categories / gallery / blog) ===== */
.grid {
  display: grid;
  gap: 28px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(90, 58, 40, 0.20);
}

.card-body { padding: 22px; }
.card-icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 14px;
  transition: background 0.25s ease, color 0.25s ease;
}
.card:hover .card-icon {
  background: var(--color-primary);
  color: var(--color-accent-light);
}
.card img { height: 200px; object-fit: cover; width: 100%; }

.card-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.tag {
  background: var(--color-bg-alt);
  color: var(--color-primary-dark);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* ===== Package card ===== */
.package-card {
  text-align: center;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  padding: 34px 24px;
  background: var(--color-white);
  position: relative;
}
.package-card.featured {
  border-color: var(--color-accent);
  box-shadow: var(--shadow);
  transform: scale(1.04);
}
.package-card .badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--color-accent); color: var(--color-primary-dark);
  padding: 4px 16px; border-radius: 50px; font-size: 0.78rem; font-weight: 700;
}
.package-card ul { text-align: left; margin: 20px 0; }
.package-card ul li { padding: 6px 0; color: var(--color-text-muted); border-bottom: 1px dashed var(--color-border); }
.package-card ul li::before { content: "\2713  "; color: var(--color-primary); font-weight: 700; }

/* ===== Testimonials ===== */
.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.testimonial-card .stars { color: var(--color-accent); margin-bottom: 10px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.testimonial-author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }

/* ===== Forms ===== */
.form-box {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label { font-weight: 600; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.82rem; color: var(--color-text-muted); margin-top: 8px; }

/* ===== FAQ Accordion ===== */
.accordion-item {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 14px;
  overflow: hidden;
}
.accordion-question {
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; font-weight: 600; color: var(--color-primary);
}
.accordion-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 24px;
}
.accordion-item.open .accordion-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}
.accordion-question .icon { transition: transform 0.25s ease; }
.accordion-item.open .accordion-question .icon { transform: rotate(45deg); }

/* ===== CTA Banner ===== */
.cta-banner {
  background: var(--color-primary);
  color: var(--color-white);
  text-align: center;
  padding: 60px 0;
}
.cta-banner h2 { color: var(--color-white); }
.cta-banner p { color: #f3e6d8; margin-bottom: 24px; }

/* ===== Footer ===== */
.site-footer {
  background: #2e1e16;
  color: #f0e2d4;
  padding: 60px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}
.footer-grid h4 {
  color: var(--color-accent-light);
  margin-bottom: 18px;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul li a:hover { color: var(--color-accent-light); }
.footer-grid p { color: #d3bfae; max-width: 320px; }
.social-icons { display: flex; gap: 12px; margin-top: 14px; }
.social-icons a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.social-icons a:hover { background: var(--color-accent); color: var(--color-primary-dark); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #b39d8c;
}
.footer-bottom a:hover { color: var(--color-accent-light); }

/* ===== WhatsApp float button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 58px; height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  z-index: 1200;
  font-size: 1.6rem;
  color: var(--color-white);
}

/* ===== Utility ===== */
.text-center { text-align: center; }
.bg-alt { background: var(--color-bg-alt); }
.mt-40 { margin-top: 40px; }

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
