/* ═══════════════════════════════════════════════════
   DETAIL DÉCO DESIGN — Main Stylesheet
   ═══════════════════════════════════════════════════ */

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

:root {
  --sand:       #f0e8d8;
  --cream:      #faf6ef;
  --clay:       #c4956a;
  --bark:       #7a5c3f;
  --sage:       #8a9e85;
  --charcoal:   #2e2a24;
  --warm-white: #fdf9f3;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--warm-white);
  color: var(--charcoal);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999; opacity: 0.4;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }

/* ─── NAV ─── */
#site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 4rem;
  background: rgba(253, 249, 243, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196,149,106,0.15);
  transition: box-shadow .3s;
}
#site-nav.scrolled { box-shadow: 0 2px 30px rgba(0,0,0,0.08); }

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 300; letter-spacing: 0.12em;
  color: var(--bark);
}
.nav-logo img { height: 40px; width: auto; }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: 0.78rem; font-weight: 400; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--charcoal);
  opacity: 0.7; position: relative;
  transition: opacity .3s, color .3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1px; background: var(--clay);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.nav-links a:hover { opacity: 1; color: var(--clay); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--warm-white);
  background: var(--clay); border: none;
  padding: 0.7rem 1.8rem; cursor: pointer;
  transition: background .3s;
}
.nav-cta:hover { background: var(--bark); }

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

/* ─── BUTTONS ─── */
.btn-primary {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--warm-white);
  background: var(--bark); border: none;
  padding: 1rem 2.5rem; cursor: pointer;
  display: inline-block;
  transition: background .3s, transform .2s;
}
.btn-primary:hover { background: var(--charcoal); transform: translateY(-1px); color: var(--warm-white); }

.btn-ghost {
  font-size: 0.78rem; font-weight: 400; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--bark);
  display: inline-flex; align-items: center; gap: 0.6rem;
  transition: gap .3s, color .3s;
}
.btn-ghost:hover { gap: 1rem; color: var(--clay); }
.btn-ghost svg { width: 18px; }

/* ─── SECTION COMMON ─── */
.section-tag {
  font-size: 0.7rem; font-weight: 400; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--clay);
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem;
}
.section-tag::before { content: ''; width: 28px; height: 1px; background: var(--clay); }

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 300;
  line-height: 1.15; color: var(--charcoal);
}
.section-title em { font-style: italic; color: var(--clay); }

/* ─── HERO ─── */
#hero {
  min-height: 100vh; display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 80px;
  background: var(--sand);
  position: relative; overflow: hidden;
}
.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem 4rem 6rem 6rem;
  position: relative; z-index: 2;
}
.hero-tag {
  font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--clay); margin-bottom: 2rem;
  display: flex; align-items: center; gap: 1rem;
}
.hero-tag::before { content: ''; width: 32px; height: 1px; background: var(--clay); }
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.2rem, 6vw, 5.5rem);
  font-weight: 300; line-height: 1.05;
  color: var(--charcoal); margin-bottom: 2rem;
}
.hero-title em { font-style: italic; color: var(--clay); }
.hero-desc {
  font-size: 1rem; font-weight: 300; line-height: 1.8;
  color: var(--charcoal); opacity: 0.75;
  max-width: 420px; margin-bottom: 3rem;
}
.hero-actions { display: flex; align-items: center; gap: 2rem; }
.hero-right { position: relative; overflow: hidden; }
.hero-img-wrap { width: 100%; height: 100%; position: relative; overflow: hidden; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; }

.room-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 60% 80%, #d4a97a55 0%, transparent 70%),
              linear-gradient(180deg, #e8d5b7 0%, #c9a97e 60%, #7a5c3f 100%);
}
.room-floor {
  position: absolute; bottom: 0; left: 0; right: 0; height: 35%;
  background: linear-gradient(180deg, #b8915d 0%, #8a6840 100%);
  clip-path: polygon(0 25%, 100% 0%, 100% 100%, 0% 100%);
}
.room-wall-art {
  position: absolute; top: 18%; left: 15%; width: 30%; height: 25%;
  border: 3px solid rgba(255,255,255,0.25);
  background: linear-gradient(135deg, #e8d0b0, #c4a070);
}
.room-plant { position: absolute; bottom: 28%; right: 12%; width: 80px; display: flex; flex-direction: column; align-items: center; }
.plant-stem { width: 4px; height: 60px; background: #5a4030; }
.plant-leaf { position: absolute; width: 55px; height: 30px; background: #7a9e75; border-radius: 50% 0 50% 0; top: 5px; }
.plant-leaf.r { transform: scaleX(-1); top: 20px; right: 0; }
.plant-pot { width: 45px; height: 38px; margin-top: -2px; background: linear-gradient(180deg,#c4956a,#8a5a30); clip-path: polygon(10% 0%,90% 0%,100% 100%,0% 100%); }

.hero-stats {
  position: absolute; bottom: 2.5rem; left: 2.5rem;
  background: rgba(253,249,243,0.92); backdrop-filter: blur(8px);
  padding: 1.5rem 2rem;
  display: flex; gap: 2.5rem;
}
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 300; color: var(--bark); display: block; }
.stat-label { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--charcoal); opacity: 0.6; }
.hero-blob {
  position: absolute; top: -80px; right: -60px;
  width: 260px; height: 260px;
  background: rgba(196,149,106,0.18);
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  animation: blobFloat 8s ease-in-out infinite alternate;
}
@keyframes blobFloat {
  from { border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%; transform: rotate(0deg); }
  to   { border-radius: 40% 60% 30% 70% / 60% 40% 60% 40%; transform: rotate(8deg); }
}

/* ─── SERVICES ─── */
#services { background: var(--cream); padding: 7rem 6rem; }
.services-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 4rem; }
.services-intro { max-width: 320px; font-size: 0.9rem; font-weight: 300; line-height: 1.8; opacity: 0.65; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.service-card {
  background: var(--warm-white); padding: 3rem 2.5rem;
  border-top: 2px solid transparent;
  transition: border-color .3s, transform .3s;
}
.service-card:hover { border-color: var(--clay); transform: translateY(-4px); }
.service-num { font-family: 'Cormorant Garamond', serif; font-size: 3.5rem; font-weight: 300; color: var(--sand); line-height: 1; margin-bottom: 1.5rem; display: block; }
.service-icon { width: 44px; height: 44px; margin-bottom: 1.5rem; background: var(--sand); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.service-name { font-family: 'Cormorant Garamond', serif; font-size: 1.55rem; font-weight: 400; margin-bottom: 1rem; color: var(--bark); }
.service-desc { font-size: 0.9rem; font-weight: 300; line-height: 1.8; color: var(--charcoal); opacity: 0.7; }
.service-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--clay); margin-top: 1.5rem; transition: gap .3s; }
.service-link:hover { gap: 0.9rem; }

/* ─── ABOUT ─── */
#about { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; background: var(--sand); padding: 7rem 6rem; }
.about-visual { position: relative; height: 560px; }
.about-photo { position: absolute; inset: 0; background: linear-gradient(160deg,#d9c4a8 0%,#a07a50 50%,#6b4a28 100%); overflow: hidden; }
.about-portrait { width: 100%; height: 100%; object-fit: cover; }
.portrait-shape { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 65%; height: 85%; background: linear-gradient(180deg,#c8a882,#8a6040); border-radius: 48% 52% 0 0 / 55% 55% 0 0; }
.about-badge { position: absolute; bottom: -1.5rem; right: -2rem; width: 130px; height: 130px; background: var(--clay); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--warm-white); }
.badge-num { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; font-weight: 300; line-height: 1; }
.badge-text { font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase; text-align: center; opacity: 0.85; line-height: 1.3; }
.about-quote { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-style: italic; font-weight: 300; line-height: 1.5; color: var(--bark); margin: 2rem 0; padding-left: 1.5rem; border-left: 2px solid var(--clay); }
.about-text { font-size: 0.95rem; font-weight: 300; line-height: 1.9; color: var(--charcoal); opacity: 0.75; margin-bottom: 1.5rem; }

/* ─── PORTFOLIO ─── */
#portfolio { background: var(--warm-white); padding: 7rem 6rem; }
.portfolio-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3rem; }
.portfolio-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: 280px 280px; gap: 12px; }
.proj { overflow: hidden; position: relative; cursor: pointer; }
.proj:nth-child(1) { grid-column: 1 / 7; grid-row: 1; }
.proj:nth-child(2) { grid-column: 7 / 10; grid-row: 1; }
.proj:nth-child(3) { grid-column: 10 / 13; grid-row: 1 / 3; }
.proj:nth-child(4) { grid-column: 1 / 5; grid-row: 2; }
.proj:nth-child(5) { grid-column: 5 / 10; grid-row: 2; }
.proj-bg { width: 100%; height: 100%; transition: transform .6s ease; background-size: cover; background-position: center; }
.proj-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(46,42,36,0.55) 0%, transparent 60%); }
.proj:hover .proj-bg { transform: scale(1.06); }
.proj-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem; z-index: 2; }
.proj-cat { font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--clay); margin-bottom: 0.3rem; }
.proj-name { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 300; color: white; }
.proj-hover { position: absolute; inset: 0; z-index: 3; background: rgba(196,149,106,0.88); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .4s; }
.proj:hover .proj-hover { opacity: 1; }
.proj-hover span { font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase; color: white; border-bottom: 1px solid rgba(255,255,255,0.5); padding-bottom: 3px; }

/* ─── PROCESS ─── */
#process { background: var(--charcoal); padding: 7rem 6rem; }
#process .section-tag { color: var(--clay); }
#process .section-tag::before { background: var(--clay); }
#process .section-title { color: var(--sand); }
#process .section-title em { color: var(--clay); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 4rem; }
.step { padding: 3rem 2.5rem; border-top: 1px solid rgba(240,232,216,0.15); position: relative; }
.step::after { content: '→'; position: absolute; right: -0.5rem; top: 3rem; color: var(--clay); font-size: 1.4rem; opacity: 0.5; }
.step:last-child::after { display: none; }
.step-num { font-family: 'Cormorant Garamond', serif; font-size: 4rem; font-weight: 300; color: rgba(240,232,216,0.1); line-height: 1; margin-bottom: 1rem; display: block; }
.step-title { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; color: var(--sand); margin-bottom: 0.8rem; }
.step-desc { font-size: 0.85rem; font-weight: 300; line-height: 1.8; color: rgba(240,232,216,0.5); }

/* ─── TESTIMONIALS ─── */
#testimonials { background: var(--cream); padding: 7rem 6rem; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 4rem; }
.testi-card { background: var(--warm-white); padding: 2.5rem; border-bottom: 2px solid var(--sand); transition: border-color .3s; }
.testi-card:hover { border-color: var(--clay); }
.testi-stars { color: var(--clay); font-size: 0.8rem; margin-bottom: 1.2rem; letter-spacing: 3px; }
.testi-text { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-style: italic; font-weight: 300; line-height: 1.7; color: var(--charcoal); margin-bottom: 2rem; }
.testi-author { display: flex; align-items: center; gap: 1rem; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: var(--warm-white); }
.av1 { background: var(--clay); } .av2 { background: var(--sage); } .av3 { background: var(--bark); }
.testi-name { font-size: 0.9rem; font-weight: 400; color: var(--bark); }
.testi-role { font-size: 0.75rem; color: var(--charcoal); opacity: 0.5; }

/* ─── CONTACT ─── */
#contact { background: var(--sand); display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; padding: 7rem 6rem; }
.contact-intro { font-size: 0.9rem; font-weight: 300; line-height: 1.8; opacity: 0.7; margin: 2rem 0; }
.contact-detail { display: flex; align-items: flex-start; gap: 1.2rem; margin-bottom: 2rem; }
.contact-icon { width: 40px; height: 40px; background: var(--clay); display: flex; align-items: center; justify-content: center; color: white; font-size: 1rem; flex-shrink: 0; }
.contact-label { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--clay); margin-bottom: 0.3rem; }
.contact-value { font-size: 0.95rem; font-weight: 300; color: var(--charcoal); }
.contact-social { display: flex; gap: 1rem; margin-top: 3rem; }
.soc-btn { width: 42px; height: 42px; border: 1px solid rgba(122,92,63,0.3); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; color: var(--bark); cursor: pointer; transition: background .3s, color .3s; }
.soc-btn:hover { background: var(--bark); color: white; }

.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-label { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bark); opacity: 0.8; }
.form-input, .form-textarea, .form-select {
  background: var(--warm-white); border: 1px solid rgba(122,92,63,0.2);
  padding: 0.85rem 1rem;
  font-family: 'Jost', sans-serif; font-size: 0.9rem; font-weight: 300;
  color: var(--charcoal); outline: none;
  transition: border-color .3s; width: 100%;
}
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--clay); }
.form-textarea { height: 130px; resize: none; }
.form-submit {
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--warm-white);
  background: var(--bark); border: none;
  padding: 1.1rem 2.5rem; cursor: pointer; align-self: flex-start;
  transition: background .3s;
}
.form-submit:hover { background: var(--charcoal); }

/* ─── FOOTER ─── */
#site-footer {
  background: var(--charcoal); padding: 3rem 6rem;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 300; letter-spacing: 0.12em; color: var(--sand); }
.footer-copy { font-size: 0.75rem; color: rgba(240,232,216,0.35); letter-spacing: 0.1em; }
.footer-nav { display: flex; gap: 2rem; list-style: none; }
.footer-nav a { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(240,232,216,0.45); transition: color .3s; }
.footer-nav a:hover { color: var(--clay); }

/* ─── SCROLL REVEAL ─── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── ELEMENTOR OVERRIDES ─── */
.elementor-section { padding: 0 !important; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  #site-nav { padding: 1.2rem 2rem; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  body.menu-open .nav-links {
    display: flex; flex-direction: column;
    position: fixed; top: 65px; left: 0; right: 0;
    background: var(--warm-white); padding: 2rem;
    border-bottom: 1px solid var(--sand);
    gap: 1.5rem; z-index: 99;
  }
  #services, #portfolio, #process, #testimonials, #contact, #about { padding: 4rem 2rem; }
  #hero { grid-template-columns: 1fr; }
  .hero-left { padding: 4rem 2rem 3rem; }
  .hero-right { height: 400px; }
  .services-grid, .process-steps, .testi-grid { grid-template-columns: 1fr; }
  .services-header, .portfolio-header { flex-direction: column; gap: 1.5rem; align-items: flex-start; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .proj { grid-column: auto !important; grid-row: auto !important; height: 220px; }
  #about, #contact { grid-template-columns: 1fr; }
  .about-visual { height: 340px; margin-bottom: 4rem; }
  #site-footer { flex-direction: column; gap: 1.5rem; text-align: center; padding: 2.5rem 2rem; }
  .footer-nav { flex-wrap: wrap; justify-content: center; }
}
