/*
Theme Name: Reflective Light Media
Theme URI: https://reflectivelightmedia.com
Author: Reflective Light Media
Description: Custom photography theme for Reflective Light Media — warm, earthy tones with Dirty Blush and Golden Yellow palette.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: reflective-light-media
*/

@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&display=swap');

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

:root {
  --blush-light:   #F2E4DF;
  --blush:         #D9AFA8;
  --blush-mid:     #C4897F;
  --blush-deep:    #A0574E;
  --blush-dark:    #6B3530;
  --gold-light:    #FBF0D0;
  --gold:          #E8C05A;
  --gold-mid:      #D4A030;
  --sage-light:    #D6DFD2;
  --sage:          #8B9E82;
  --sage-mid:      #6A8560;
  --sage-dark:     #4A6642;
  --cream:         #FBF7F4;
  --warm-white:    #FFFCFA;
  --text:          #3A2F2C;
  --text-light:    #7A6560;
  --font-sans:     'Raleway', sans-serif;
  --font-serif:    'Cormorant Garamond', Georgia, serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden;
}

/* ── CURSOR ── */
.cursor-dot {
  width: 8px; height: 8px; background: var(--blush-mid);
  border-radius: 50%; position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 99999;
  transform: translate(-50%, -50%);
  transition: background 0.3s;
}
.cursor-ring {
  width: 36px; height: 36px; border: 1.5px solid var(--blush-mid);
  border-radius: 50%; position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s;
  opacity: 0.6;
}
.cursor-trail {
  position: fixed; pointer-events: none; z-index: 99997;
  border-radius: 50%; transform: translate(-50%, -50%);
  background: var(--gold); opacity: 0;
  animation: trailFade 0.6s forwards;
}
@keyframes trailFade {
  0%   { opacity: 0.35; transform: translate(-50%,-50%) scale(1); }
  100% { opacity: 0;    transform: translate(-50%,-50%) scale(0.2); }
}

/* ── NAV ── */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(251,247,244,0.93);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(196,137,127,0.12);
  transition: all 0.4s ease;
}
#site-header.scrolled { box-shadow: 0 2px 30px rgba(107,53,48,0.08); }
.nav-inner {
  max-width: 1300px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 50px;
}
.site-logo { text-decoration: none; display: inline-flex; align-items: center; flex-shrink: 0; line-height: 0; }
.logo-img {
  height: 48px;
  width: auto;
  max-width: 210px;
  display: block;
  object-fit: contain;
  filter: none;
}
.logo-img--footer {
  height: 76px;
  max-width: 260px;
}
.main-nav { display: flex; gap: 40px; list-style: none; align-items: center; }
.main-nav a {
  text-decoration: none; color: var(--text);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  position: relative; transition: color 0.3s; padding-bottom: 4px;
}
.main-nav a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: linear-gradient(90deg, var(--blush-mid), var(--gold));
  transition: width 0.35s ease;
}
.main-nav a:hover, .main-nav a.current { color: var(--blush-deep); }
.main-nav a:hover::after, .main-nav a.current::after { width: 100%; }
.nav-cta {
  background: var(--blush-mid) !important; color: #fff !important;
  padding: 10px 26px; letter-spacing: 2px; white-space: nowrap;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--blush-dark) !important; color: #fff !important; }

/* ── IMAGE HOVER ON NAV ── */
#nav-img-preview {
  position: fixed; width: 200px; height: 270px; pointer-events: none; z-index: 9995;
  border-radius: 4px; overflow: hidden; opacity: 0;
  transform: rotate(-4deg) scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 16px 48px rgba(107,53,48,0.25);
}
#nav-img-preview img { width: 100%; height: 100%; object-fit: cover; }

/* ── BUTTONS ── */
.btn {
  display: inline-block; padding: 14px 40px;
  font-family: var(--font-sans); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 3.5px; text-transform: uppercase;
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.35s ease;
}
.btn-primary { background: var(--blush-mid); color: #fff; }
.btn-primary:hover { background: var(--blush-dark); transform: translateY(-2px); color: #fff; }
.btn-gold { background: var(--gold); color: var(--blush-dark); }
.btn-gold:hover { background: var(--gold-mid); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--blush-dark); border: 1.5px solid var(--blush-mid); }
.btn-outline:hover { background: var(--blush-mid); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

/* ── SECTIONS ── */
section { padding: 110px 50px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 5px;
  text-transform: uppercase; color: var(--gold-mid); margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300; color: var(--blush-dark);
  line-height: 1.15; margin-bottom: 18px;
}
.section-subtitle {
  font-size: 0.95rem; font-weight: 300;
  color: var(--text-light); max-width: 580px; line-height: 1.9;
}

/* ── FOOTER ── */
#site-footer {
  background: var(--blush-dark); color: rgba(255,255,255,0.65);
  padding: 60px 50px 36px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand .site-logo { display: inline-flex; }
.footer-brand p { font-size: 0.85rem; margin-top: 14px; line-height: 1.8; color: rgba(255,255,255,0.5); }
.footer-col h5 { font-size: 0.65rem; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.85rem; transition: color 0.3s; }
.footer-col ul a:hover { color: var(--gold); }
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-links a {
  width: 38px; height: 38px; border: 1px solid rgba(255,255,255,0.15); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45); text-decoration: none; font-size: 0.75rem; font-weight: 600;
  transition: all 0.3s;
}
.social-links a:hover { border-color: var(--gold); color: var(--gold); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem;
}

/* ── CHATBOT ── */
.chat-toggle {
  position: fixed; bottom: 28px; right: 28px; width: 58px; height: 58px;
  background: linear-gradient(135deg, var(--blush-mid), var(--blush-dark));
  color: #fff; border: none; border-radius: 50%; font-size: 1.4rem;
  box-shadow: 0 6px 24px rgba(107,53,48,0.3); z-index: 9999;
  transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.chat-toggle:hover { transform: scale(1.1); }
.chat-toggle .close-icon { display: none; }
.chat-toggle.open .chat-icon { display: none; }
.chat-toggle.open .close-icon { display: block; }
@keyframes chatBounceIn {
  0% { opacity: 0; transform: scale(0.3) translateY(20px); }
  50% { opacity: 1; transform: scale(1.08) translateY(-4px); }
  70% { transform: scale(0.95) translateY(2px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.chatbot {
  position: fixed; bottom: 100px; right: 28px; width: 380px; max-height: 560px;
  background: var(--warm-white); border: 1px solid var(--blush-light);
  border-radius: 16px; box-shadow: 0 24px 70px rgba(107,53,48,0.16);
  z-index: 9998; display: none; flex-direction: column; overflow: hidden;
  animation: chatSlideUp 0.35s ease;
}
.chatbot.open { display: flex; }
@keyframes chatSlideUp {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.chat-header { background: linear-gradient(135deg, var(--blush-dark), var(--blush-mid)); color: #fff; padding: 20px 24px; }
.chat-header h4 { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 400; }
.chat-header p { font-size: 0.72rem; opacity: 0.75; margin-top: 2px; }
.chat-status { display: inline-flex; align-items: center; gap: 6px; font-size: 0.67rem; margin-top: 6px; color: rgba(255,255,255,0.7); }
.chat-status::before { content:''; width:7px; height:7px; background:#7FD9A0; border-radius:50%; }
.chat-messages { flex:1; overflow-y:auto; padding:18px; display:flex; flex-direction:column; gap:14px; max-height:320px; scroll-behavior:smooth; }
.chat-messages::-webkit-scrollbar { width:4px; }
.chat-messages::-webkit-scrollbar-thumb { background:var(--blush-light); border-radius:4px; }
.message { max-width:85%; padding:12px 16px; font-size:0.85rem; line-height:1.6; border-radius:14px; animation:msgFade 0.3s ease; }
@keyframes msgFade { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }
.message.bot { background:var(--blush-light); color:var(--text); align-self:flex-start; border-bottom-left-radius:4px; }
.message.user { background:var(--blush-mid); color:#fff; align-self:flex-end; border-bottom-right-radius:4px; }
.typing-dots { display:flex; gap:5px; padding:4px 0; }
.typing-dots span { width:7px; height:7px; background:var(--blush-mid); opacity:0.4; border-radius:50%; animation:typingBounce 1.2s infinite; }
.typing-dots span:nth-child(2){animation-delay:0.2s}
.typing-dots span:nth-child(3){animation-delay:0.4s}
@keyframes typingBounce { 0%,80%,100%{transform:translateY(0)} 40%{transform:translateY(-6px)} }
.quick-replies { display:flex; flex-wrap:wrap; gap:6px; padding:0 18px 12px; }
.quick-reply { padding:6px 14px; font-family:var(--font-sans); font-size:0.7rem; font-weight:600; background:transparent; border:1.5px solid var(--blush); color:var(--blush-deep); border-radius:20px; transition:all 0.3s; cursor:pointer; }
.quick-reply:hover { background:var(--blush-mid); color:#fff; border-color:var(--blush-mid); }
.chat-input-area { display:flex; gap:8px; padding:12px 18px; border-top:1px solid var(--blush-light); background:#fff; }
.chat-input-area input { flex:1; padding:10px 14px; font-family:var(--font-sans); font-size:0.85rem; background:var(--cream); border:1px solid var(--blush-light); border-radius:20px; outline:none; transition:border-color 0.3s; color:var(--text); }
.chat-input-area input:focus { border-color:var(--blush-mid); }
.chat-send { width:38px; height:38px; background:var(--blush-mid); color:#fff; border:none; border-radius:50%; font-size:1rem; transition:background 0.3s; display:flex; align-items:center; justify-content:center; cursor:pointer; }
.chat-send:hover { background:var(--blush-dark); }

/* ── PAGE HERO ── */
.page-hero {
  padding: 140px 40px 90px; min-height: 320px;
  text-align: center;
}
.page-hero .section-title { font-size: clamp(2.5rem, 5vw, 4rem); }
.page-hero p { max-width: 560px; margin: 0 auto; color: var(--text-light); font-size: 1rem; }

/* ── HAMBURGER ── */
.hamburger { display: none; flex-direction: column; gap: 6px; background: none; border: none; padding: 4px; cursor: pointer; }
.hamburger span { width: 26px; height: 1.5px; background: var(--blush-dark); transition: all 0.3s; }

@media(max-width:900px){
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .main-nav.mobile-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); padding: 28px 40px; gap: 20px; border-bottom: 1px solid var(--blush-light); }
  section { padding: 70px 24px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .chatbot { width: calc(100vw - 32px); right: 16px; bottom: 96px; }
}
@media(max-width:600px){
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}


/* Service page photography showcase */
.service-image-showcase{padding:70px 50px;background:var(--warm-white)}
.service-image-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.service-photo-card{min-height:320px;border-radius:20px;overflow:hidden;background:linear-gradient(135deg,var(--blush-light),var(--gold-light));border:1px solid rgba(0,0,0,.06);box-shadow:0 14px 40px rgba(0,0,0,.06);margin:0}
.service-photo-hero{grid-column:span 3;min-height:500px}
.service-photo-card img{width:100%;height:100%;min-height:inherit;object-fit:cover;object-position:top center;display:block}
.service-photo-hero img{object-position:center center}
.service-photo-placeholder{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:28px;color:var(--blush-dark)}
.service-photo-placeholder span{font-family:var(--font-serif);font-size:1.35rem;margin-bottom:10px}
.service-photo-placeholder small{color:var(--text-light);font-size:.78rem}
.client-review-block{background:var(--blush-dark);color:#fff;padding:44px;margin-left:-50px;margin-right:-50px}
.client-review-block h2{color:var(--blush-light);margin-bottom:28px}
.client-review-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:22px}
.client-review-card blockquote{font-family:var(--font-serif);font-size:1.15rem;font-style:italic;line-height:1.7;margin:0 0 14px}
.client-review-card p{margin:0;font-size:.85rem;color:var(--gold)}
.client-review-card span{color:rgba(255,255,255,.72)}
@media (max-width:900px){.service-image-grid{grid-template-columns:repeat(2,1fr)}.service-photo-hero{grid-column:span 2;min-height:380px}}
@media (max-width:760px){.service-image-showcase{padding:45px 22px}.service-image-grid{grid-template-columns:1fr}.service-photo-hero{grid-column:span 1;min-height:330px}.service-photo-card{min-height:260px}.client-review-block{margin-left:-22px;margin-right:-22px;padding:32px 22px}}

/* ── QUALITY OF LIFE UPDATES ── */
.sticky-booking-cta{
  position:fixed;left:22px;bottom:22px;z-index:9997;background:var(--blush-mid);color:#fff;
  padding:13px 18px;border-radius:999px;text-decoration:none;font-size:.72rem;font-weight:700;
  letter-spacing:2.2px;text-transform:uppercase;box-shadow:0 14px 36px rgba(107,53,48,.24);
}
.sticky-booking-cta:hover{background:var(--blush-dark);color:#fff;transform:translateY(-2px)}
.service-anchor-nav{position:sticky;top:72px;z-index:15;display:flex;gap:10px;justify-content:center;flex-wrap:wrap;padding:16px 24px;background:rgba(255,251,247,.94);border-bottom:1px solid var(--blush-light);backdrop-filter:blur(10px)}
.service-anchor-nav a{color:var(--blush-dark);text-decoration:none;font-size:.68rem;font-weight:700;letter-spacing:2.3px;text-transform:uppercase;padding:8px 10px;border-radius:999px}
.service-anchor-nav a:hover{background:var(--blush-light)}
.inline-review{max-width:900px;margin:34px auto;padding:28px 34px;background:var(--warm-white);border-left:4px solid var(--gold);box-shadow:0 12px 32px rgba(107,53,48,.08)}
.inline-review blockquote{font-family:var(--font-serif);font-size:1.35rem;line-height:1.65;color:var(--blush-dark);margin:0 0 12px;font-style:italic}
.inline-review p{margin:0;color:var(--gold-mid);font-size:.86rem;font-weight:600}.inline-review span{color:var(--text-light);font-weight:400}
.expect-section{background:var(--warm-white);padding:36px;border:1px solid var(--blush-light)}
.expect-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:22px}.expect-grid article{background:var(--cream);padding:24px}.expect-grid h3{font-family:var(--font-serif);font-size:1.25rem;color:var(--blush-dark);margin-bottom:8px}.expect-grid p{font-size:.9rem;line-height:1.75;color:var(--text-light)}
.service-seo-line{font-size:.82rem;color:var(--text-light);text-align:center;margin:34px auto 10px;max-width:760px;line-height:1.8}.signature-line{font-family:var(--font-serif);font-size:1.25rem;color:var(--blush-dark);text-align:center;margin:14px auto 28px}.footer-signature{color:var(--gold);margin:0}
@media(max-width:900px){.expect-grid{grid-template-columns:1fr}.service-anchor-nav{top:64px}.sticky-booking-cta{left:18px;right:18px;text-align:center;bottom:16px}.chat-toggle{bottom:78px}.inline-review{margin:24px 22px;padding:24px}.inline-review blockquote{font-size:1.15rem}}

/* ── PERFORMANCE HELPERS ── */
img { max-width: 100%; height: auto; }
section { content-visibility: auto; contain-intrinsic-size: 1px 900px; }
.hero, .service-hero, #site-header, #site-footer { content-visibility: visible; contain-intrinsic-size: auto; }
.cursor-dot, .cursor-ring { left: 0; top: 0; will-change: transform; pointer-events: none; }
html:not(.has-custom-cursor) .cursor-dot,
html:not(.has-custom-cursor) .cursor-ring { display: none; }
html.has-custom-cursor,
html.has-custom-cursor * { cursor: none !important; }
html.cursor-hover .cursor-ring { width: 60px; height: 60px; border-color: var(--gold); }
html.cursor-hover .cursor-dot { background: var(--gold); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.001ms !important; }
}
@media (pointer: coarse) {
  .cursor-dot, .cursor-ring, .cursor-trail { display: none !important; }
}

@media (max-width: 768px) {
  .logo-img { height: 40px; max-width: 170px; }
  .logo-img--footer { height: 64px; max-width: 220px; }
}

/* Investment section anchor offset */
#investment {
  scroll-margin-top: 110px;
}

/* Services page refinement */
.service-badge { display: none !important; }
.services-glimpse-section {
  background: var(--blush-dark);
  padding: 82px 0;
  overflow: hidden;
}
.services-glimpse-shell {
  position: relative;
  width: min(1320px, calc(100% - 80px));
  margin: 0 auto;
}
.services-glimpse-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 0 12px;
}
.services-glimpse-track::-webkit-scrollbar { display: none; }
.services-glimpse-slide {
  flex: 0 0 min(360px, 78vw);
  height: 480px;
  margin: 0;
  scroll-snap-align: center;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
}
.services-glimpse-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.glimpse-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(251,247,244,0.92);
  color: var(--blush-dark);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}
.glimpse-arrow:hover { transform: translateY(-50%) scale(1.04); background: #fff; }
.glimpse-prev { left: -24px; }
.glimpse-next { right: -24px; }
@media(max-width:760px){
  .services-glimpse-section { padding: 58px 0; }
  .services-glimpse-shell { width: calc(100% - 36px); }
  .services-glimpse-slide { flex-basis: 82vw; height: 390px; }
  .glimpse-arrow { width: 42px; height: 42px; }
  .glimpse-prev { left: 8px; }
  .glimpse-next { right: 8px; }
}

/* Services glimpse carousel hardening */
.services-glimpse-section { position: relative; }
.services-glimpse-track { -webkit-overflow-scrolling: touch; }
.services-glimpse-slide { flex-shrink: 0; }
.services-glimpse-slide img { pointer-events: none; }
.glimpse-arrow { display: grid; place-items: center; }
