/* ============================================
   AFFDECO THEME — Main CSS
   ============================================ */

:root {
  --cream: #F5F0E8;
  --dark: #1A1610;
  --gold: #C8A96E;
  --gold-light: #E2C99A;
  --charcoal: #2E2A24;
  --muted: #7A7268;
  --white: #FDFAF5;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
  cursor: none;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }

/* ── Custom Cursor ─────────────────────────── */
.cursor {
  width: 8px; height: 8px; background: var(--gold);
  border-radius: 50%; position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transition: transform 0.15s; transform: translate(-50%,-50%);
}
.cursor-ring {
  width: 36px; height: 36px; border: 1px solid var(--gold);
  border-radius: 50%; position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998; opacity: 0.6;
  transition: transform 0.35s ease, width 0.3s, height 0.3s;
  transform: translate(-50%,-50%);
}

/* ── Navigation ────────────────────────────── */
#affdeco-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 24px 60px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.4s, padding 0.4s;
}
#affdeco-nav.scrolled {
  background: rgba(26,22,16,0.96);
  padding: 16px 60px;
  backdrop-filter: blur(10px);
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 44px; width: auto; filter: brightness(10); }
.nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 300; letter-spacing: 6px; color: var(--white);
}
.nav-logo-text span { color: var(--gold); }

.nav-links { display: flex; gap: 44px; list-style: none; }
.nav-links a {
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,0.7); transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }
/* Remove default WP menu wrappers if used */
.nav-links .menu-item a { color: rgba(255,255,255,0.7); }
.nav-links .menu-item a:hover { color: var(--gold); }

.nav-cta {
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--gold);
  padding: 10px 22px; font-weight: 500;
  transition: background 0.3s, color 0.3s;
}
.nav-cta:hover { background: var(--gold); color: var(--dark); }

/* Hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--white); transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px,4px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px,-4px); }

/* Mobile menu */
.mobile-menu {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--dark); z-index: 99; display: none;
  align-items: center; justify-content: center; flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu ul { list-style: none; text-align: center; }
.mobile-menu li { margin: 20px 0; }
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px; font-weight: 300; color: var(--white);
  letter-spacing: 3px; transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--gold); }

/* ── Hero ──────────────────────────────────── */
.hero {
  height: 100vh; position: relative;
  display: flex; align-items: flex-end; overflow: hidden; background: var(--dark);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.5s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,22,16,0.78) 0%, rgba(26,22,16,0.28) 60%, rgba(200,169,110,0.08) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 80px 90px; max-width: 780px;
  animation: fadeUp 1.4s 0.3s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
  font-size: 10px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px; font-weight: 500;
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(50px,7vw,88px); font-weight: 300;
  color: var(--white); line-height: 1.06; margin-bottom: 24px;
}
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero > .hero-content p {
  font-size: 13px; line-height: 2; color: rgba(255,255,255,0.62);
  max-width: 460px; margin-bottom: 42px; letter-spacing: 0.4px;
}
.hero-actions { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute; bottom: 38px; right: 60px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  color: rgba(255,255,255,0.4); font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
}
.scroll-line {
  width: 55px; height: 1px;
  background: linear-gradient(to right,transparent,var(--gold));
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:0.4} 50%{opacity:1} }

.slide-dots { position: absolute; bottom: 46px; left: 80px; z-index: 2; display: flex; gap: 10px; }
.dot { width: 24px; height: 2px; background: rgba(255,255,255,0.3); cursor: pointer; transition: background 0.3s, width 0.3s; }
.dot.active { background: var(--gold); width: 44px; }

/* ── Buttons ───────────────────────────────── */
.btn-primary {
  background: var(--gold); color: var(--dark);
  padding: 15px 42px; font-size: 10px; letter-spacing: 3px;
  text-transform: uppercase; font-weight: 600;
  transition: background 0.3s, transform 0.2s; display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); color: var(--dark); }
.btn-ghost {
  color: var(--white); font-size: 10px; letter-spacing: 3px;
  text-transform: uppercase; border-bottom: 1px solid rgba(200,169,110,0.5);
  padding-bottom: 3px; transition: color 0.3s, border-color 0.3s;
}
.btn-ghost:hover { color: var(--gold); border-color: var(--gold); }
.btn-outline {
  color: var(--dark); font-size: 10px; letter-spacing: 3px;
  text-transform: uppercase; border: 1px solid rgba(26,22,16,0.3);
  padding: 14px 36px; font-weight: 500;
  transition: background 0.3s, color 0.3s; display: inline-block;
}
.btn-outline:hover { background: var(--dark); color: var(--white); }

/* ── Marquee ───────────────────────────────── */
.marquee-wrap { background: var(--gold); overflow: hidden; padding: 13px 0; }
.marquee-track { display: flex; animation: marquee 30s linear infinite; white-space: nowrap; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.marquee-item { font-size:10px; letter-spacing:4px; text-transform:uppercase; font-weight:600; color:var(--dark); padding:0 48px; flex-shrink:0; }
.marquee-dot { opacity:0.4; padding:0 8px 0 0; }

/* ── Section Base ──────────────────────────── */
.section { padding: 120px 80px; }
.label {
  font-size: 9px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 26px;
  display: flex; align-items: center; gap: 14px;
}
.label::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
.label-center { justify-content: center; }
.label-center::before, .label-center::after { content: ''; width: 28px; height: 1px; background: var(--gold); }

/* ── About / Intro ─────────────────────────── */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.intro-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px,4vw,54px); font-weight: 300; line-height: 1.2;
  color: var(--dark); margin-bottom: 26px;
}
.intro-text h2 em { font-style: italic; color: var(--muted); }
.intro-text p { font-size: 13px; line-height: 2; color: var(--muted); margin-bottom: 16px; }
.intro-image { position: relative; }
.intro-image img { width: 100%; height: 580px; object-fit: cover; }
.intro-image::before {
  content: ''; position: absolute;
  top: -18px; left: -18px; right: 18px; bottom: 18px;
  border: 1px solid var(--gold); z-index: -1; opacity: 0.35;
}
.stat-row { display: flex; gap: 44px; margin-top: 42px; border-top: 1px solid rgba(122,114,104,0.2); padding-top: 38px; }
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px; font-weight: 300; color: var(--dark); line-height: 1; margin-bottom: 6px;
}
.stat-number span { color: var(--gold); }
.stat-label { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); font-weight: 500; }

/* ── Services ──────────────────────────────── */
.services { background: var(--dark); }
.services-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 64px; }
.services-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px,4vw,54px); font-weight: 300;
  color: var(--white); line-height: 1.2; max-width: 380px;
}
.services-header p { font-size: 12px; line-height: 2; color: var(--muted); max-width: 320px; }
.gold-italic { font-style: italic; color: var(--gold-light); }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.service-card {
  background: var(--charcoal); padding: 48px 40px;
  position: relative; overflow: hidden; transition: background 0.4s; cursor: pointer;
}
.service-card::before {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--gold); transition: width 0.5s;
}
.service-card:hover { background: #35302A; }
.service-card:hover::before { width: 100%; }
.service-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 60px; font-weight: 300; color: rgba(200,169,110,0.1);
  line-height: 1; margin-bottom: 22px; transition: color 0.4s;
}
.service-card:hover .service-number { color: rgba(200,169,110,0.22); }
.service-title { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 400; color: var(--white); margin-bottom: 14px; }
.service-desc { font-size: 12px; line-height: 2; color: var(--muted); }
.service-link {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-top: 28px; font-weight: 500; transition: gap 0.3s;
}
.service-link:hover { gap: 16px; color: var(--gold); }
.service-link::after { content: '→'; font-size: 13px; }

/* ── Portfolio ─────────────────────────────── */
.portfolio { background: var(--white); }
.portfolio-header { text-align: center; margin-bottom: 64px; }
.portfolio-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px,4vw,54px); font-weight: 300;
  color: var(--dark); margin-bottom: 14px;
}
.portfolio-header p { font-size: 12px; color: var(--muted); }
.portfolio-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}
.portfolio-item { overflow: hidden; position: relative; cursor: pointer; }
.portfolio-item:first-child { grid-row: span 2; }
.portfolio-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.8s cubic-bezier(0.25,0.46,0.45,0.94); min-height: 260px;
}
.portfolio-item:first-child img { min-height: 540px; }
.portfolio-item:hover img { transform: scale(1.06); }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,rgba(26,22,16,0.88) 0%,transparent 55%);
  opacity: 0; transition: opacity 0.4s;
  display: flex; align-items: flex-end; padding: 28px;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 400; color: var(--white); margin-bottom: 5px;
}
.portfolio-info p { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.view-all-wrap { text-align: center; margin-top: 52px; }

/* ── About Photo Split ─────────────────────── */
.about-photo-section {
  background: var(--dark); display: grid;
  grid-template-columns: 1fr 1fr; min-height: 500px;
}
.about-photo-img { overflow: hidden; }
.about-photo-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.82; }
.about-photo-content {
  padding: 90px 80px;
  display: flex; flex-direction: column; justify-content: center;
}
.about-photo-content .label { color: var(--gold); }
.about-photo-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px,3.5vw,48px); font-weight: 300;
  color: var(--white); line-height: 1.25; margin-bottom: 24px;
}
.about-photo-content p { font-size: 13px; line-height: 2; color: var(--muted); margin-bottom: 14px; }
.about-photo-content .btn-primary { margin-top: 24px; align-self: flex-start; }

/* ── Gallery Strip ─────────────────────────── */
.gallery-strip { background: var(--cream); padding: 80px; }
.gallery-strip h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px; font-weight: 300; color: var(--dark);
  margin-bottom: 36px; text-align: center;
}
.gallery-row { display: grid; grid-template-columns: repeat(5,1fr); gap: 10px; }
.gallery-thumb { overflow: hidden; aspect-ratio: 1; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.gallery-thumb:hover img { transform: scale(1.08); }

/* ── CTA Section ───────────────────────────── */
.cta-section {
  background: var(--cream); padding: 130px 80px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: 'AFFDECO'; font-family: 'Cormorant Garamond', serif;
  font-size: 180px; font-weight: 300; color: var(--dark); opacity: 0.03;
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%); white-space: nowrap; letter-spacing: 18px;
}
.cta-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px,5vw,68px); font-weight: 300;
  color: var(--dark); margin-bottom: 18px; line-height: 1.2;
}
.cta-section h2 em { font-style: italic; color: var(--muted); }
.cta-section > p {
  font-size: 13px; color: var(--muted); margin-bottom: 48px;
  line-height: 2; max-width: 460px; margin-left: auto; margin-right: auto;
}
.cta-btns { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ────────────────────────────────── */
#affdeco-footer { background: var(--dark); padding: 80px 80px 40px; }
.footer-top {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr;
  gap: 60px; padding-bottom: 60px;
  border-bottom: 1px solid rgba(200,169,110,0.12);
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 300; letter-spacing: 5px;
  color: var(--white); margin-bottom: 18px; display: block;
}
.footer-logo span { color: var(--gold); }
.footer-brand p { font-size: 12px; line-height: 2; color: var(--muted); margin-bottom: 8px; }
.footer-col h4 { font-size: 9px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 26px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: 12px; color: var(--muted); transition: color 0.3s; }
.footer-col a:hover { color: var(--white); }
.footer-col p { font-size: 12px; color: var(--muted); line-height: 1.8; margin-bottom: 10px; }
.fb-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; color: var(--gold);
  border: 1px solid rgba(200,169,110,0.25); padding: 10px 20px;
  margin-top: 18px; transition: background 0.3s; font-weight: 500; letter-spacing: 1px;
}
.fb-btn:hover { background: rgba(200,169,110,0.08); color: var(--gold); }
.footer-bottom {
  padding-top: 34px; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: 10px; color: rgba(122,114,104,0.55); letter-spacing: 0.4px; }
.footer-legal { display: flex; gap: 28px; }
.footer-legal a { font-size: 10px; color: rgba(122,114,104,0.55); transition: color 0.3s; }
.footer-legal a:hover { color: var(--gold); }

/* ── Scroll Reveal ─────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Responsive ────────────────────────────── */
@media (max-width: 1024px) {
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-item:first-child { grid-column: span 2; }
}
@media (max-width: 900px) {
  #affdeco-nav { padding: 18px 20px; }
  #affdeco-nav.scrolled { padding: 12px 20px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .section, .gallery-strip { padding: 72px 22px; }
  .intro { grid-template-columns: 1fr; gap: 40px; }
  .intro-image { order: -1; }
  .intro-image img { height: 320px; }
  .services-grid { grid-template-columns: 1fr; }
  .services-header { flex-direction: column; align-items: flex-start; gap: 18px; }
  .about-photo-section { grid-template-columns: 1fr; }
  .about-photo-img { height: 300px; }
  .about-photo-content { padding: 60px 22px; }
  .gallery-row { grid-template-columns: repeat(3,1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .cta-section { padding: 80px 22px; }
  .hero-content { padding: 0 22px 80px; }
  .slide-dots { left: 22px; }
  #affdeco-footer { padding: 60px 22px 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stat-row { gap: 24px; }
}
@media (max-width: 600px) {
  .gallery-row { grid-template-columns: repeat(2,1fr); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item:first-child { grid-row: auto; grid-column: auto; }
}
