/* ==========================================================================
   Goeliga Decoration — Landing Page Styles
   ========================================================================== */

:root {
  --maroon-dark: #45171B;
  --cream: #D8D1C2;
  --wine: #560E1B;
  --cream-soft: #E8E3D8;
  --ink: #2A1315;
  --text-on-cream: #3A2325;
  --text-muted: #5A4A45;

  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Jost', 'Helvetica Neue', Arial, sans-serif;

  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow-soft: 0 8px 24px rgba(69, 23, 27, 0.12);
  --shadow-lift: 0 16px 36px rgba(69, 23, 27, 0.22);

  --section-pad: 6.5rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-on-cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, cite {
  font-family: var(--font-heading);
  color: var(--maroon-dark);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
}

p { margin: 0; }

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: var(--section-pad) 0; }

/* ---------- Section heading ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.section-heading p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 1rem 2.25rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--wine);
  color: var(--cream);
  box-shadow: 0 8px 20px rgba(86, 14, 27, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(86, 14, 27, 0.42);
  background: #6b1220;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 999;
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
  padding: 1.1rem 0;
}

.site-header.scrolled {
  background: rgba(216, 209, 194, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(69, 23, 27, 0.08);
  padding: 0.7rem 0;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  color: #fff;
  transition: color 0.35s ease;
}

.site-header.scrolled .nav-logo { color: var(--maroon-dark); }

.nav-logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a:not(.nav-cta) {
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  position: relative;
  transition: color 0.35s ease;
}

.site-header.scrolled .nav-links a:not(.nav-cta) { color: var(--text-on-cream); }

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.25s ease;
}

.nav-links a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  background: var(--wine);
  color: var(--cream) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(86,14,27,0.35);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 950;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  transition: background 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.site-header.scrolled .nav-toggle span { background: var(--maroon-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(69,23,27,0.72) 0%, rgba(86,14,27,0.68) 55%, rgba(42,19,21,0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--cream);
  padding: 0 1.5rem;
  max-width: 780px;
}

.hero-logo {
  width: 84px;
  height: 84px;
  margin: 0 auto 1.75rem;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.hero h1 {
  color: var(--cream);
  font-size: clamp(2.3rem, 6vw, 4rem);
  margin-bottom: 1.25rem;
  text-wrap: balance;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(216,209,194,0.92);
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, rgba(216,209,194,0.9), transparent);
  z-index: 2;
}

/* ---------- USP ---------- */
.usp { background: var(--cream); padding-top: 5rem; padding-bottom: 5rem; }

.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.usp-item {
  text-align: center;
  padding: 1.5rem 1rem;
}

.usp-icon {
  display: inline-block;
  color: var(--wine);
  font-size: 1.4rem;
  margin-bottom: 0.9rem;
}

.usp-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.usp-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- Services ---------- */
.services { background: var(--cream-soft); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  padding-bottom: 1.75rem;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

.service-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img img { transform: scale(1.06); }

.service-card h3 {
  font-size: 1.4rem;
  margin: 1.5rem 1.75rem 0.6rem;
}

.service-card p {
  margin: 0 1.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- Portfolio ---------- */
.portfolio { background: var(--cream); }

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: transparent;
  border: 1px solid rgba(69,23,27,0.25);
  color: var(--text-on-cream);
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: var(--wine);
  color: var(--wine);
}

.filter-btn.active {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--cream);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.portfolio-item {
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.portfolio-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lift);
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-item.filtered-out,
.portfolio-item.hidden-initial {
  display: none;
}

.portfolio-load-more {
  display: flex;
  justify-content: center;
  margin-top: 2.75rem;
}

.portfolio-load-more.is-hidden { display: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(42,19,21,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 2rem;
}

.lightbox.is-open { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------- Trusted By ---------- */
.trusted { background: var(--cream-soft); }

.trusted-logos {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  max-width: 900px;
  margin: 0 auto;
}

/* ---------- Pricing ---------- */
.pricing { background: var(--cream); }

.pricing-card {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  background: linear-gradient(160deg, var(--maroon-dark), var(--wine));
  color: var(--cream);
  padding: 4rem 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}

.pricing-card .eyebrow { color: var(--cream); opacity: 0.75; }

.pricing-card h2 {
  color: var(--cream);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-bottom: 1rem;
}

.pricing-card p {
  color: rgba(216,209,194,0.88);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.pricing-card .btn-primary {
  background: var(--cream);
  color: var(--wine);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.pricing-card .btn-primary:hover {
  background: #fff;
  color: var(--wine);
}

/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--maroon-dark);
  color: var(--cream);
}

.testimonials .section-heading h2 { color: var(--cream); }
.testimonials .eyebrow { color: rgba(216,209,194,0.75); }
.testimonials .section-heading p { color: rgba(216,209,194,0.7); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  max-width: 920px;
  margin: 0 auto;
}

.testimonial-card {
  background: rgba(216,209,194,0.06);
  border: 1px solid rgba(216,209,194,0.15);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem 2rem;
  margin: 0;
  position: relative;
}

.quote-mark {
  display: block;
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--wine-accent, #c98a94);
  opacity: 0.6;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.testimonial-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(216,209,194,0.95);
  margin-bottom: 1.5rem;
}

.testimonial-card cite {
  color: var(--cream);
  font-style: normal;
  font-size: 1.05rem;
  font-weight: 600;
  display: block;
}

.testimonial-proof {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 0.5rem 0.75rem 0.5rem 0.5rem;
  background: rgba(216,209,194,0.06);
  border: 1px solid rgba(216,209,194,0.18);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
  font-family: var(--font-body);
  width: 100%;
  text-align: left;
}

.testimonial-proof:hover {
  background: rgba(216,209,194,0.12);
  border-color: rgba(216,209,194,0.32);
}

.testimonial-proof img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-proof span {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(216,209,194,0.85);
}

/* ---------- FAQ ---------- */
.faq { background: var(--cream-soft); }

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-soft);
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--maroon-dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--wine);
  transition: transform 0.25s ease;
  margin-left: 1rem;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  margin-top: 0.9rem;
  color: var(--text-muted);
}

/* Flags an unanswered FAQ placeholder — remove this class once real copy is added */
.faq-item p.placeholder {
  font-style: italic;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--maroon-dark);
  color: var(--cream);
  padding-top: 4rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(216,209,194,0.15);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 320px;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.footer-brand p {
  color: rgba(216,209,194,0.75);
  font-size: 0.95rem;
}

.footer-contact h4 {
  color: var(--cream);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.footer-contact a {
  display: block;
  color: var(--cream);
  font-weight: 600;
  margin-bottom: 0.4rem;
  transition: color 0.25s ease;
}

.footer-contact a:hover { color: #d9a3ac; }

.footer-contact p {
  color: rgba(216,209,194,0.7);
  font-size: 0.9rem;
}

.footer-bottom {
  padding: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  color: rgba(216,209,194,0.55);
  font-size: 0.85rem;
}

/* ==========================================================================
   Responsive breakpoints
   ========================================================================== */

/* Tablet */
@media (max-width: 1024px) {
  :root { --section-pad: 5rem; }

  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 640px) {
  :root { --section-pad: 3.75rem; }

  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.75rem;
    padding: 2rem 2.5rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,0.15);
  }

  .nav-links.is-open { transform: translateX(0); }

  .nav-links a:not(.nav-cta) { color: var(--text-on-cream) !important; font-size: 1.05rem; }
  .nav-links .nav-cta { width: 100%; text-align: center; }

  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .usp-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }

  .pricing-card { padding: 2.75rem 1.75rem; }

  .footer-inner { flex-direction: column; }

  .hero-content { padding: 0 1.25rem; }
}
