/*
Theme Name: LF Renovations
Theme URI:
Author: LF Renovations Ltd
Description: Dark luxury theme for LF Renovations Ltd - full-service renovation company
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: lf-renovations
*/

:root {
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --gold-dark: #9A7A2E;
  --black: #0A0A0A;
  --black-2: #111111;
  --black-3: #1A1A1A;
  --white: #F5F0E8;
  --grey: #888;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed; top: 0; width: 100%; z-index: 1001;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 60px;
}
.nav-logo img {
  height: 52px;
  width: auto;
  display: block;
}
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  color: var(--white); text-decoration: none;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 500; transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: transparent; border: 1px solid var(--gold);
  color: var(--gold); padding: 10px 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer; transition: all 0.3s;
}
.nav-cta:hover { background: var(--gold); color: var(--black); }

/* HERO */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background: var(--black);
}
.hero-bg-image {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.22;
}
.hero-bg-pattern {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(201,168,76,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 0 20px;
}
.hero-tag {
  display: inline-block;
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold);
  font-size: 10px; letter-spacing: 4px; text-transform: uppercase;
  padding: 8px 20px; margin-bottom: 40px;
  animation: fadeUp 0.8s ease forwards;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 8vw, 110px);
  font-weight: 300; line-height: 1.0;
  color: var(--white);
  animation: fadeUp 0.8s ease 0.2s both;
}
.hero-title span { color: var(--gold); font-style: italic; }
.hero-sub {
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--grey); margin: 30px 0 50px;
  animation: fadeUp 0.8s ease 0.4s both;
}
.hero-btns {
  display: flex; gap: 20px; justify-content: center;
  animation: fadeUp 0.8s ease 0.6s both;
}
.btn-gold {
  background: var(--gold); color: var(--black);
  padding: 16px 40px; font-family: 'Montserrat', sans-serif;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 600; border: none; cursor: pointer;
  transition: all 0.3s;
}
.btn-gold:hover { background: var(--gold-light); }
.btn-outline {
  background: transparent; color: var(--white);
  padding: 16px 40px; font-family: 'Montserrat', sans-serif;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 500; border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer; transition: all 0.3s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--grey); font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
  animation: fadeIn 1.5s ease 1s both;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease infinite;
}

/* STATS */
.stats {
  background: var(--black-3);
  border-top: 1px solid rgba(201,168,76,0.15);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 50px 60px;
}
.stat-item {
  text-align: center; padding: 20px;
  border-right: 1px solid rgba(201,168,76,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px; font-weight: 300; color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--grey); margin-top: 8px;
}

/* SERVICES */
.services { padding: 120px 60px; background: var(--black-2); }
.section-header { text-align: center; margin-bottom: 80px; }
.section-tag {
  display: inline-block; color: var(--gold);
  font-size: 10px; letter-spacing: 4px; text-transform: uppercase;
  margin-bottom: 20px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 64px); font-weight: 300;
  color: var(--white); line-height: 1.1;
}
.section-title em { color: var(--gold); font-style: italic; }
.section-line {
  width: 60px; height: 1px; background: var(--gold);
  margin: 24px auto 0;
}
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; max-width: 1200px; margin: 0 auto;
}
.service-card {
  background: var(--black-3);
  padding: 48px 36px;
  border: 1px solid rgba(201,168,76,0.08);
  position: relative; overflow: hidden;
  transition: all 0.4s;
  cursor: pointer;
}
.service-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--gold);
  transition: width 0.4s;
}
.service-card:hover { background: rgba(201,168,76,0.04); transform: translateY(-4px); }
.service-card:hover::before { width: 100%; }
.service-card-img {
  width: calc(100% + 72px);
  margin: -48px -36px 28px -36px;
  height: 160px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-bottom: 1px solid rgba(201,168,76,0.15);
  transition: transform 0.4s;
}
.service-card:hover .service-card-img { transform: scale(1.03); }
.service-icon {
  font-size: 32px; margin-bottom: 20px;
  display: block;
}
.service-num {
  position: absolute; top: 20px; right: 24px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 72px; font-weight: 700;
  color: rgba(201,168,76,0.05); line-height: 1;
  pointer-events: none;
}
.service-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 500;
  color: var(--white); margin-bottom: 12px;
}
.service-desc {
  font-size: 12px; line-height: 1.8;
  color: var(--grey);
}

/* PORTFOLIO */
.portfolio {
  padding: 120px 60px;
  background: var(--black);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 3px;
  max-width: 1400px;
  margin: 0 auto;
}
.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.portfolio-item.span-2-col { grid-column: span 2; }
.portfolio-item.span-2-row { grid-row: span 2; }
.portfolio-item img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.portfolio-item:hover img { transform: scale(1.06); }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.2) 40%, transparent 70%);
  opacity: 0; transition: opacity 0.4s;
  display: flex; align-items: flex-end; padding: 24px;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 400;
  color: var(--white);
  border-left: 2px solid var(--gold);
  padding-left: 12px; line-height: 1.3;
}
.portfolio-label span {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 9px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 4px;
}
.portfolio-item::after {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid rgba(201,168,76,0);
  transition: border-color 0.4s; pointer-events: none;
}
.portfolio-item:hover::after { border-color: rgba(201,168,76,0.4); }

/* BEFORE & AFTER */
.transformations {
  padding: 120px 60px;
  background: var(--black-3);
}
.transform-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px 80px; max-width: 1200px; margin: 0 auto;
}
.transform-pair-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 400;
  color: var(--white); margin-bottom: 16px;
}
.transform-images {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4px; position: relative;
}
.transform-img-wrap {
  position: relative; overflow: hidden; aspect-ratio: 4/3;
}
.transform-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block; transition: transform 0.5s;
}
.transform-img-wrap.is-before img { filter: grayscale(30%) brightness(0.85); }
.transform-img-wrap:hover img { transform: scale(1.04); }
.transform-label {
  position: absolute; top: 12px; left: 12px;
  font-size: 9px; letter-spacing: 2.5px; text-transform: uppercase;
  font-family: 'Montserrat', sans-serif; font-weight: 600; padding: 5px 10px;
}
.transform-label.label-before {
  background: rgba(10,10,10,0.8); color: var(--grey);
  border: 1px solid rgba(136,136,136,0.4);
}
.transform-label.label-after { background: var(--gold); color: var(--black); }
.transform-images::after {
  content: '';
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  transform: translateX(-50%); z-index: 2; pointer-events: none;
}
.transform-caption {
  font-size: 11px; letter-spacing: 1px; color: var(--grey);
  margin-top: 12px; line-height: 1.6;
}

/* ABOUT */
.about {
  padding: 120px 60px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 100px; align-items: center;
  max-width: 1200px; margin: 0 auto;
}
.about-img-box {
  width: 100%; aspect-ratio: 4/5;
  background: var(--black);
  border: 1px solid rgba(201,168,76,0.2);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.about-img-box::after {
  content: '';
  position: absolute; inset: 10px;
  border: 1px solid rgba(201,168,76,0.1);
}
.about-img-box img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center; display: block;
}
.about-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--gold); color: var(--black);
  width: 120px; height: 120px;
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
}
.about-badge-num { font-size: 36px; font-weight: 700; line-height: 1; }
.about-badge-text { font-size: 10px; letter-spacing: 1px; text-transform: uppercase; text-align: center; }
.about-text .section-tag { display: block; text-align: left; }
.about-text .section-title { text-align: left; }
.about-text .section-line { margin-left: 0; }
.about-body {
  font-size: 14px; line-height: 2;
  color: rgba(245,240,232,0.7);
  margin-top: 28px;
}
.about-list {
  list-style: none; margin-top: 30px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.about-list li {
  font-size: 11px; letter-spacing: 1px;
  color: var(--grey); padding-left: 16px; position: relative;
}
.about-list li::before {
  content: '—'; color: var(--gold);
  position: absolute; left: 0;
}

/* CTA */
.cta {
  margin: 80px 60px;
  background: var(--black-3);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 80px; text-align: center;
  position: relative; overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.05) 0%, transparent 70%);
}
.cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 56px); font-weight: 300;
  color: var(--white); position: relative; z-index: 1;
}
.cta-title span { color: var(--gold); font-style: italic; }
.cta-sub {
  font-size: 12px; letter-spacing: 2px; color: var(--grey);
  margin: 20px 0 40px; position: relative; z-index: 1;
}
.cta-btns { display: flex; gap: 20px; justify-content: center; position: relative; z-index: 1; }

/* CONTACT FORM */
.contact-form-section {
  background: var(--black-2);
  padding: 60px;
  text-align: center;
}
.contact-form-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px; font-weight: 300;
  color: var(--white); margin-bottom: 40px;
}
.contact-form-section form {
  max-width: 500px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 20px;
}
.contact-form-section input,
.contact-form-section textarea {
  background: var(--black-3);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--white);
  padding: 15px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
}
.contact-form-section input:focus,
.contact-form-section textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.contact-form-section textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-form-section button {
  background: var(--gold);
  color: var(--black);
  border: none;
  padding: 15px 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}
.contact-form-section button:hover {
  background: var(--gold-light);
}

/* ============================================
   HAMBURGER BUTTON
   ============================================ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1002;
}
.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--gold);
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================
   MOBILE — 768px and below
   ============================================ */
@media (max-width: 768px) {

  /* NAV */
  nav { padding: 16px 20px; }
  .nav-hamburger { display: flex; }
  .nav-cta { display: none; }
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(10,10,10,0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 44px;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a {
    font-size: 16px;
    letter-spacing: 4px;
  }

  /* HERO */
  .hero-btns {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .btn-gold, .btn-outline {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
  .hero-scroll { display: none; }

  /* STATS */
  .stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 40px 20px;
  }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) {
    border-right: 1px solid rgba(201,168,76,0.1);
    border-top: 1px solid rgba(201,168,76,0.1);
  }
  .stat-item:nth-child(4) { border-top: 1px solid rgba(201,168,76,0.1); }
  .stat-num { font-size: 44px; }

  /* SERVICES */
  .services { padding: 70px 20px; }
  .services-grid { grid-template-columns: 1fr; }

  /* PORTFOLIO */
  .portfolio { padding: 70px 20px; }
  .portfolio-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
    gap: 4px;
  }
  .portfolio-item.span-2-col { grid-column: auto; }
  .portfolio-item.span-2-row { grid-row: auto; }
  .portfolio-overlay { opacity: 1; }

  /* TRANSFORMATIONS */
  .transformations { padding: 70px 20px; }
  .transform-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  /* ABOUT */
  #about { padding: 0; }
  .about {
    padding: 70px 20px;
    grid-template-columns: 1fr;
    gap: 50px;
    max-width: 100%;
  }
  .about-img-box { aspect-ratio: 3/2; }
  .about-badge {
    width: 100px;
    height: 100px;
    bottom: -14px;
    right: -10px;
  }
  .about-badge-num { font-size: 28px; }
  .about-list { grid-template-columns: 1fr 1fr; }

  /* CTA */
  .cta {
    margin: 40px 20px;
    padding: 50px 24px;
  }
  .cta-btns {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .cta-btns .btn-gold,
  .cta-btns .btn-outline {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  /* CONTACT FORM */
  .contact-form-section { padding: 50px 20px; }
  .contact-form-section h2 { font-size: 28px; margin-bottom: 30px; }
  .contact-form-section input,
  .contact-form-section textarea,
  .contact-form-section button {
    font-size: 16px; /* prevents iOS auto-zoom */
    padding: 14px;
  }

  /* FOOTER */
  footer {
    grid-template-columns: 1fr 1fr;
    padding: 50px 20px;
    gap: 40px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom {
    padding: 20px;
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}

/* ============================================
   SMALL PHONES — 480px and below
   ============================================ */
@media (max-width: 480px) {
  footer { grid-template-columns: 1fr; }
  .about-list { grid-template-columns: 1fr; }
  .transform-images { gap: 2px; }
  .section-title { font-size: 32px; }
  .stat-num { font-size: 36px; }
}

/* FOOTER */
footer {
  background: var(--black);
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 60px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
}
.footer-logo img {
  height: 80px;
  width: auto;
  display: block;
  margin-bottom: 16px;
}
.footer-tagline {
  font-size: 12px; color: var(--grey);
  line-height: 1.8; max-width: 240px;
}
.footer-col h4 {
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.footer-col a {
  display: block; color: var(--grey);
  text-decoration: none; font-size: 12px;
  margin-bottom: 10px; transition: color 0.3s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(201,168,76,0.1);
  padding: 24px 60px;
  display: flex; justify-content: space-between; align-items: center;
  background: var(--black);
}
.footer-copy { font-size: 11px; color: var(--grey); }
.footer-copy span { color: var(--gold); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; } 50% { opacity: 1; }
}
