/* =========================================================
   Westbury Luxe Co. — style.css
   Luxury Modern Light Wallpaper Installation Website
   ========================================================= */

/* ---------- CSS Custom Properties ---------- */
:root {
  --clr-bg:        #fdfbf9; /* Ivory/Beige base */
  --clr-white:     #ffffff;
  --clr-beige-lt:  #f7f3ee;
  --clr-beige-mid: #efe9e0;
  --clr-gold:      #c5a059; /* Soft Gold */
  --clr-gold-lt:   #dfc58e;
  --clr-charcoal:  #333333; /* Deep Charcoal Typography */
  --clr-text:      #555555;
  --clr-muted:     #999999;
  --font-heading:  'Playfair Display', serif;
  --font-body:     'Montserrat', sans-serif;
  --radius:        4px;
  --shadow-sm:     0 4px 12px rgba(0,0,0,.05);
  --shadow-md:     0 8px 30px rgba(0,0,0,.08);
  --transition:    0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--clr-text);
  background: var(--clr-bg);
  line-height: 1.8;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--clr-charcoal);
  font-weight: 700;
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

section { padding: 100px 0; }

.text-center { text-align: center; }

/* ---------- Components ---------- */
.section-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--clr-gold);
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}

.gold-line {
  width: 50px;
  height: 2px;
  background: var(--clr-gold);
  margin: 1.5rem 0;
}
.text-center .gold-line { margin: 1.5rem auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--clr-gold);
  color: var(--clr-white);
}
.btn-primary:hover {
  background: var(--clr-gold-lt);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2);
}

.btn-outline {
  background: transparent;
  border-color: var(--clr-gold);
  color: var(--clr-gold);
}
.btn-outline:hover {
  background: var(--clr-gold);
  color: var(--clr-white);
  transform: translateY(-3px);
}

/* =========================================================
   NAVIGATION
   ========================================================= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 25px 0;
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  padding: 15px 0;
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--clr-charcoal);
}

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

.nav-links a {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-charcoal);
}

.nav-links a:hover { color: var(--clr-gold); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}
.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--clr-charcoal);
}

/* =========================================================
   HERO
   ========================================================= */
#hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  background: url('images/hero.jpg') center center / cover no-repeat;
  color: var(--clr-white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-content h1 {
  color: var(--clr-white);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-phone {
  display: block;
  margin-top: 2rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-gold-lt);
}

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-img {
  position: relative;
  padding: 20px;
}

.about-img::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 70%; height: 70%;
  border: 2px solid var(--clr-gold);
  z-index: -1;
}

.about-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.about-text p { margin-bottom: 1.5rem; }

/* =========================================================
   SERVICES
   ========================================================= */
#services { background: var(--clr-beige-lt); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.service-card {
  background: var(--clr-white);
  padding: 3rem 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--clr-gold);
  margin-bottom: 1.5rem;
}

.service-card h3 { font-size: 1.4rem; margin-bottom: 1rem; }

/* =========================================================
   WHY CHOOSE US
   ========================================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.why-item { text-align: center; }
.why-item h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.why-item p { font-size: 0.9rem; color: var(--clr-muted); }

/* =========================================================
   PROCESS
   ========================================================= */
#process { background: var(--clr-charcoal); color: var(--clr-white); }
#process h2 { color: var(--clr-white); }

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

.process-step {
  text-align: center;
  position: relative;
}

.step-num {
  width: 60px;
  height: 60px;
  background: var(--clr-gold);
  color: var(--clr-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.process-step h3 { color: var(--clr-white); font-size: 1.2rem; margin-bottom: 1rem; }
.process-step p { font-size: 0.9rem; color: rgba(255,255,255,0.7); }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img { transform: scale(1.1); }

/* =========================================================
   CONTACT
   ========================================================= */
#contact { background: var(--clr-beige-lt); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
}

.contact-info h3 { margin-bottom: 2rem; }
.contact-item { display: flex; gap: 1.5rem; margin-bottom: 2rem; }
.contact-icon { color: var(--clr-gold); font-size: 1.2rem; }

.map-container {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  height: 300px;
  box-shadow: var(--shadow-sm);
}

.contact-form {
  background: var(--clr-white);
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--clr-charcoal);
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--clr-beige-mid);
  border-radius: var(--radius);
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--clr-gold);
}

#form-success {
  display: none;
  padding: 2rem;
  background: #f0f9f0;
  border: 1px solid #c2e0c2;
  color: #2d5a2d;
  text-align: center;
  border-radius: var(--radius);
}

/* =========================================================
   FOOTER
   ========================================================= */
#footer {
  background: var(--clr-white);
  padding: 80px 0 40px;
  border-top: 1px solid var(--clr-beige-mid);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo { margin-bottom: 1.5rem; }
.footer-col h4 { margin-bottom: 1.5rem; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; }
.footer-col ul li { margin-bottom: 0.8rem; font-size: 0.9rem; }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--clr-beige-mid);
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--clr-muted);
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
}
