/*
Theme Name: Luxe Renovation London
Theme URI: https://luxerenovation.co.uk
Author: Luxe Renovation London
Author URI: https://luxerenovation.co.uk
Description: A luxury renovation company theme for Luxe Renovation London. Designed for high-end full-home renovation services across London. SEO-optimised with local landing pages.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: luxe-renovation
Tags: renovation, construction, london, luxury, local-seo
*/

/* =========================================
   CSS VARIABLES
   ========================================= */
:root {
  --cream: #F9F7F3;
  --warm-white: #FDFCFA;
  --stone: #9C9488;
  --dark: #1A1915;
  --accent: #B8956A;
  --accent-light: #E8DDD0;
  --border: rgba(26,25,21,0.1);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Outfit', system-ui, sans-serif;
  --max-width: 1280px;
  --section-pad: 7rem 4rem;
}

/* =========================================
   RESET & BASE
   ========================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--warm-white);
  color: var(--dark);
  font-weight: 300;
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.1;
}
h1 { font-size: clamp(2.8rem, 5vw, 5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); }
h4 { font-size: 1.2rem; }
p { line-height: 1.75; }

em { font-style: italic; color: var(--accent); }

/* =========================================
   LAYOUT UTILITIES
   ========================================= */
.container { max-width: var(--max-width); margin: 0 auto; }
.section-pad { padding: var(--section-pad); }

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
  display: block;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4rem;
  gap: 2rem;
}

.section-desc {
  max-width: 340px;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--stone);
}

/* =========================================
   BUTTONS
   ========================================= */
.btn-primary {
  display: inline-block;
  background: var(--dark);
  color: var(--warm-white);
  padding: 1rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.3s;
}
.btn-primary:hover { background: var(--accent); color: var(--warm-white); }

.btn-ghost {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  border-bottom: 0.5px solid var(--stone);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}
.btn-ghost:hover { color: var(--accent); border-color: var(--accent); }

/* =========================================
   NAVIGATION
   ========================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(253,252,250,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 4rem;
}

.site-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dark);
}
.site-logo span { color: var(--accent); }

.nav-menu { display: flex; gap: 2.5rem; align-items: center; }

.nav-menu a {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  transition: color 0.3s;
}
.nav-menu a:hover { color: var(--dark); }

.nav-menu .nav-cta {
  background: var(--dark);
  color: var(--warm-white) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 2px;
  transition: background 0.3s;
}
.nav-cta:hover { background: var(--accent) !important; }

/* Hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 1px; background: var(--dark); transition: all 0.3s; }

/* =========================================
   HERO
   ========================================= */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 80px;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 4rem;
}

.hero-title { margin-bottom: 1.8rem; }

.hero-sub {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--stone);
  max-width: 400px;
  margin-bottom: 3rem;
}

.hero-actions { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }

.hero-right {
  background: var(--accent-light);
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-stat-strip {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  background: var(--warm-white);
  padding: 1.2rem 1.8rem;
  display: flex;
  gap: 2.5rem;
  border-radius: 2px;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 4px;
  display: block;
}

/* =========================================
   SERVICES
   ========================================= */
.services-section { padding: var(--section-pad); background: var(--cream); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
}

.service-card {
  background: var(--warm-white);
  padding: 2.5rem;
  transition: background 0.3s;
}
.service-card:hover { background: var(--dark); }

.service-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 1.5rem;
  color: var(--accent);
  transition: color 0.3s;
}
.service-card:hover .service-icon { color: var(--accent-light); }

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: var(--dark);
  transition: color 0.3s;
}
.service-card:hover h3 { color: var(--warm-white); }

.service-card p {
  font-size: 0.83rem;
  line-height: 1.75;
  color: var(--stone);
  transition: color 0.3s;
}
.service-card:hover p { color: rgba(253,252,250,0.6); }

/* =========================================
   PROCESS
   ========================================= */
.process-section { padding: var(--section-pad); background: var(--warm-white); }

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

.step { border-top: 1px solid var(--accent-light); padding-top: 1.5rem; }

.step-num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 1rem;
}
.step h3 {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 0.6rem;
}
.step p { font-size: 0.83rem; color: var(--stone); }

/* =========================================
   PROJECTS / PORTFOLIO
   ========================================= */
.projects-section { padding: var(--section-pad); background: var(--cream); }

.projects-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5px;
  background: var(--border);
  margin-top: 4rem;
}

.project-card {
  background: var(--accent-light);
  position: relative;
  overflow: hidden;
  min-height: 260px;
  cursor: pointer;
}
.project-card:first-child { grid-row: 1 / 3; min-height: 520px; }

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover img { transform: scale(1.04); }

.project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  background: linear-gradient(to top, rgba(26,25,21,0.7) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.4s;
}
.project-card:hover .project-overlay { opacity: 1; }

.project-location {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(253,252,250,0.65);
  margin-bottom: 0.4rem;
}
.project-title-overlay {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--warm-white);
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonial-section { padding: var(--section-pad); background: var(--dark); }

.testimonial-inner { max-width: 760px; margin: 0 auto; text-align: center; }

.quote-mark {
  font-family: var(--font-serif);
  font-size: 6rem;
  color: var(--accent);
  line-height: 0.5;
  margin-bottom: 2rem;
  display: block;
}
.quote-text {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  line-height: 1.5;
  margin-bottom: 2.5rem;
}
.quote-author {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}
.quote-author span { color: var(--accent); }

/* Testimonial slider dots */
.testimonial-dots { display: flex; justify-content: center; gap: 8px; margin-top: 2.5rem; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--stone); cursor: pointer; transition: background 0.3s; }
.dot.active { background: var(--accent); }

/* =========================================
   WHY CHOOSE US
   ========================================= */
.why-section { padding: var(--section-pad); background: var(--warm-white); }

.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }

.why-image { aspect-ratio: 4/5; background: var(--accent-light); overflow: hidden; }
.why-image img { width: 100%; height: 100%; object-fit: cover; }

.why-points { display: flex; flex-direction: column; gap: 2rem; margin-top: 2.5rem; }
.why-point { display: flex; gap: 1.5rem; }
.why-num {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--accent-light);
  line-height: 1;
  flex-shrink: 0;
  width: 2rem;
}
.why-point h4 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.why-point p { font-size: 0.85rem; color: var(--stone); }

/* =========================================
   LOCATIONS SECTION (Homepage)
   ========================================= */
.locations-section { padding: var(--section-pad); background: var(--cream); }

.locations-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--border); margin-top: 3rem; }

.location-tile {
  background: var(--warm-white);
  padding: 1.5rem 1.2rem;
  text-align: center;
  transition: background 0.3s;
  border: none;
}
.location-tile:hover { background: var(--dark); }

.location-tile a {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  transition: color 0.3s;
  display: block;
}
.location-tile:hover a { color: var(--accent); }

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-section { padding: var(--section-pad); background: var(--warm-white); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }

.contact-info { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }

.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  width: 70px;
  flex-shrink: 0;
  padding-top: 2px;
}
.contact-value { font-size: 0.88rem; color: var(--dark); line-height: 1.6; }

.wpcf7-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 300;
  background: var(--cream);
  border: 0.5px solid var(--border);
  border-radius: 2px;
  padding: 0.75rem 1rem;
  color: var(--dark);
  outline: none;
  transition: border-color 0.25s;
  width: 100%;
  appearance: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
textarea { resize: vertical; min-height: 120px; }

input[type="submit"], .wpcf7-submit {
  background: var(--dark);
  color: var(--warm-white);
  padding: 1rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.3s;
  align-self: flex-start;
}
input[type="submit"]:hover, .wpcf7-submit:hover { background: var(--accent); }

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: var(--dark);
  padding: 5rem 4rem 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
}
.footer-logo span { color: var(--accent); }

.footer-tagline { font-size: 0.83rem; color: var(--stone); margin-top: 1rem; line-height: 1.7; max-width: 240px; }

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a {
  font-size: 0.83rem;
  color: var(--stone);
  transition: color 0.3s;
}
.footer-col ul a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
}
.footer-copy { font-size: 0.72rem; color: var(--stone); letter-spacing: 0.06em; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.72rem; color: var(--stone); transition: color 0.3s; }
.footer-legal a:hover { color: var(--accent); }

/* =========================================
   LOCATION PAGE SPECIFIC
   ========================================= */
.location-hero {
  min-height: 55vh;
  background: var(--dark);
  display: flex;
  align-items: flex-end;
  padding: 5rem 4rem;
  padding-top: 120px;
  position: relative;
  overflow: hidden;
}

.location-hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}

.location-hero-content { position: relative; z-index: 2; max-width: var(--max-width); width: 100%; margin: 0 auto; }

.location-hero-content .section-eyebrow { color: var(--accent); }

.location-hero-content h1 { color: var(--cream); margin-bottom: 1rem; }

.location-hero-content p { font-size: 1rem; color: rgba(249,247,243,0.7); max-width: 500px; }

.location-content { padding: var(--section-pad); background: var(--warm-white); }

.location-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 5rem; }

.location-body h2 { margin-bottom: 1rem; }
.location-body h3 { font-size: 1.4rem; margin: 2rem 0 0.8rem; }
.location-body p { color: var(--stone); margin-bottom: 1.2rem; font-size: 0.9rem; }
.location-body ul { margin-bottom: 1.2rem; }
.location-body ul li { font-size: 0.9rem; color: var(--stone); padding: 0.3rem 0 0.3rem 1.2rem; position: relative; }
.location-body ul li::before { content: '—'; position: absolute; left: 0; color: var(--accent); }

.location-sidebar { position: sticky; top: 120px; }

.sidebar-card {
  background: var(--cream);
  padding: 2rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}
.sidebar-card h4 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 500;
}
.sidebar-card p { font-size: 0.85rem; color: var(--stone); }
.sidebar-card a { color: var(--accent); font-size: 0.85rem; display: block; margin-top: 0.5rem; }

.nearby-locations { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.8rem; }
.nearby-locations a {
  font-size: 0.8rem;
  color: var(--stone);
  padding: 0.4rem 0;
  border-bottom: 0.5px solid var(--border);
  transition: color 0.3s;
  letter-spacing: 0.06em;
}
.nearby-locations a:hover { color: var(--accent); }

/* Local schema breadcrumb */
.breadcrumb { padding: 1rem 4rem; font-size: 0.75rem; color: var(--stone); max-width: var(--max-width); margin: 0 auto; }
.breadcrumb a { color: var(--stone); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 0.5rem; }

/* =========================================
   FAQ SECTION (for Location Pages)
   ========================================= */
.faq-section { padding: var(--section-pad); background: var(--cream); }
.faq-inner { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 0.5px solid var(--border); padding: 1.5rem 0; cursor: pointer; }
.faq-question { display: flex; justify-content: space-between; align-items: center; }
.faq-question h4 { font-family: var(--font-sans); font-size: 0.92rem; font-weight: 400; color: var(--dark); }
.faq-icon { font-size: 1.2rem; color: var(--accent); transition: transform 0.3s; font-family: var(--font-sans); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { font-size: 0.85rem; color: var(--stone); line-height: 1.75; margin-top: 1rem; display: none; }
.faq-item.open .faq-answer { display: block; }

/* =========================================
   TRUST BADGES / AWARDS
   ========================================= */
.trust-section { padding: 3rem 4rem; background: var(--warm-white); border-top: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border); }
.trust-inner { max-width: var(--max-width); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.trust-label { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); }
.trust-logos { display: flex; gap: 3rem; align-items: center; flex-wrap: wrap; }
.trust-logo { font-family: var(--font-serif); font-size: 1.1rem; color: var(--stone); opacity: 0.6; }

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

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { min-height: 400px; }
  .hero-left { padding: 5rem 2.5rem; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card:first-child { grid-row: auto; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .locations-grid { grid-template-columns: repeat(3, 1fr); }

  .why-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .location-grid { grid-template-columns: 1fr; }
  .location-sidebar { position: static; }
}

@media (max-width: 768px) {
  :root { --section-pad: 4rem 1.5rem; }

  .nav-inner { padding: 1.2rem 1.5rem; }
  .nav-menu { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--warm-white); padding: 2rem 1.5rem; gap: 1.5rem; border-bottom: 0.5px solid var(--border); }
  .nav-menu.open { display: flex; }
  .nav-toggle { display: flex; }

  .hero-stat-strip { position: static; margin: 2rem; gap: 1.5rem; flex-wrap: wrap; }

  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: repeat(2, 1fr); }

  .section-header { flex-direction: column; align-items: flex-start; }
  .section-desc { max-width: 100%; }

  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }

  .form-row { grid-template-columns: 1fr; }
  .trust-inner { flex-direction: column; gap: 1.5rem; }
  .trust-logos { justify-content: center; }
}
