/* ===== 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;
  overflow-x: hidden;
}

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: flex-start;
  gap: 32px;
  padding: 14px 0;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary);
}
.logo img { height: 48px; width: 48px; object-fit: contain; }
.logo span {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--color-primary);
}

.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; margin-left: auto; }
.nav-cta .btn { white-space: nowrap; }

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

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(46, 28, 18, 0.5), rgba(46, 28, 18, 0.62)),
    url("../assets/images/hero-placeholder.jpg") center/cover no-repeat;
  color: var(--color-white);
  padding: 120px 0;
  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;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
  animation: fadeUp 0.8s ease both;
}
.hero p { color: #f3e6d8; max-width: 640px; margin: 0 auto 30px; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5); 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); }
.about-grid { grid-template-columns: 1.1fr 1fr; align-items: center; }
.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%; }
/* ===== Big hero slider (one at a time, arrows + dots) ===== */
.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.slider-track { display: flex; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.slider-slide {
  position: relative;
  flex: 0 0 100%;
  height: 560px;
}
.slider-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slider-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 48px 6%;
  color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
}
.slider-cap h3 { color: #fff; font-size: 1.5rem; margin: 0 0 6px; }
.slider-cap span { display: block; font-size: 0.9rem; opacity: 0.92; margin-bottom: 14px; }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px; border-radius: 50%;
  border: none; cursor: pointer;
  background: rgba(255,255,255,0.85); color: var(--color-primary-dark, #2e1e16);
  font-size: 2rem; line-height: 1; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25); z-index: 3; transition: background 0.2s ease;
}
.slider-arrow:hover { background: #fff; }
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }
.slider-dots {
  position: absolute; left: 0; right: 0; bottom: 18px;
  display: flex; justify-content: center; gap: 10px; z-index: 3;
}
.slider-dots button {
  width: 12px; height: 12px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,0.5); padding: 0; transition: background 0.2s ease, transform 0.2s ease;
}
.slider-dots button.active { background: #fff; transform: scale(1.25); }
@media (max-width: 768px) {
  .slider-slide { height: 340px; }
  .slider-cap { padding: 28px 24px; }
  .slider-cap h3 { font-size: 1.2rem; }
  .slider-arrow { width: 42px; height: 42px; font-size: 1.5rem; }
}

/* ===== Hero slider (full-width auto slideshow) ===== */
.hero-slider { border-radius: 0; box-shadow: none; }
.hero-slide { height: 600px; }
.hero-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.72), rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.15));
}
.hero-slide-content {
  position: relative; z-index: 2;
  height: 100%; display: flex; flex-direction: column; justify-content: center;
  color: #fff; max-width: 1180px; margin: 0 auto; padding: 0 6%;
}
.hero-slide-content .eyebrow { color: var(--color-accent-light, #e8c88a); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 12px; }
.hero-slide-content h1 { color: #fff; font-size: 3rem; line-height: 1.1; margin: 0 0 16px; max-width: 640px; }
.hero-slide-content p { font-size: 1.15rem; max-width: 560px; margin-bottom: 26px; opacity: 0.95; }
.hero-slide-content .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-slider .slider-dots { bottom: 22px; }
@media (max-width: 768px) {
  .hero-slide { height: 480px; }
  .hero-slide-content h1 { font-size: 1.9rem; }
  .hero-slide-content p { font-size: 1rem; }
}

.cat-card { cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg, 0 12px 28px rgba(0,0,0,0.15)); }
.cat-link { display: inline-block; margin-top: 12px; color: var(--color-primary); font-weight: 600; font-size: 0.9rem; }
.cat-card:hover .cat-link { text-decoration: underline; }

.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; }
.footer-logo {
  width: 72px; height: 72px;
  object-fit: contain;
  margin-bottom: 16px;
}
.social-icons { display: flex; gap: 12px; margin-top: 18px; }
.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;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.social-icons a svg { width: 17px; height: 17px; fill: currentColor; display: block; }
.social-icons a:hover {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}
.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;
  color: var(--color-white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float svg { width: 30px; height: 30px; fill: currentColor; display: block; }
.whatsapp-float:hover { transform: scale(1.06); box-shadow: 0 8px 22px rgba(0,0,0,0.3); }

/* ===== Book an Event side tab ===== */
.book-float {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  rotate: 180deg;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 20px 12px;
  border-radius: 10px 0 0 10px;
  box-shadow: -4px 0 16px rgba(0,0,0,0.18);
  z-index: 1200;
  transition: padding-right 0.2s ease, background 0.2s ease;
}
.book-float:hover {
  padding-right: 18px;
  background: var(--color-accent-light);
}

/* ===== 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; }
}
