/* ============================================================
   Pill & Puff – Wallpaper Installation Services
   style.css
   ============================================================ */

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

:root {
  --navy:    #0d1f3c;
  --blue:    #1a3a6b;
  --accent:  #c8a96e;
  --light:   #f5f5f0;
  --white:   #ffffff;
  --text:    #2c2c2c;
  --muted:   #6b7280;
  --radius:  8px;
  --shadow:  0 4px 24px rgba(0,0,0,.12);
  --trans:   .3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

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

/* ---------- Utility ---------- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 640px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--trans);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: var(--navy);
}
.btn-primary:hover { background: #b8944f; }
.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,.15); }

/* ---------- Navbar ---------- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background var(--trans), box-shadow var(--trans);
}
#navbar.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
  padding: 12px 0;
}
#navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 700;
}
.nav-brand span { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  transition: color var(--trans);
}
.nav-links a:hover { color: var(--accent); }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.nav-phone-btn {
  background: var(--accent);
  color: var(--navy);
  padding: 9px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .85rem;
  transition: var(--trans);
}
.nav-phone-btn:hover { background: #b8944f; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--trans);
}

/* ---------- Hero ---------- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero.jpg') center/cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,31,60,.82) 0%, rgba(13,31,60,.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,169,110,.2);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 40px;
  margin-bottom: 24px;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-title em { color: var(--accent); font-style: normal; }
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 36px;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--accent);
  font-weight: 700;
}
.hero-stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ---------- Services ---------- */
#services {
  padding: 100px 0;
  background: var(--light);
}
.services-header {
  text-align: center;
  margin-bottom: 60px;
}
.services-header .section-sub { margin: 0 auto; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--trans), box-shadow var(--trans);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,.16);
}
.service-img {
  height: 220px;
  overflow: hidden;
}
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.service-card:hover .service-img img { transform: scale(1.06); }
.service-body { padding: 28px; }
.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(200,169,110,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.3rem;
}
.service-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-body p {
  font-size: .93rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.service-link {
  font-size: .88rem;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--trans);
}
.service-link:hover { gap: 10px; }

/* ---------- About ---------- */
#about {
  padding: 100px 0;
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.about-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--navy);
  color: var(--white);
  padding: 24px 28px;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow);
}
.about-badge-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--accent);
  font-weight: 700;
  display: block;
}
.about-badge-text { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.about-text .section-sub { margin-bottom: 28px; }
.about-features { list-style: none; margin-bottom: 32px; }
.about-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: .95rem;
}
.about-features li::before {
  content: '✓';
  background: var(--accent);
  color: var(--navy);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- Map ---------- */
#map-section {
  padding: 100px 0;
  background: var(--light);
}
.map-header {
  text-align: center;
  margin-bottom: 48px;
}
.map-header .section-sub { margin: 0 auto; }
.map-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 450px;
}
.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Contact ---------- */
#contact {
  padding: 100px 0;
  background: var(--navy);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: 16px;
}
.contact-info p {
  color: rgba(255,255,255,.7);
  margin-bottom: 36px;
}
.contact-details { list-style: none; }
.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
  color: rgba(255,255,255,.85);
  font-size: .95rem;
}
.contact-details li .icon {
  width: 42px;
  height: 42px;
  background: rgba(200,169,110,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-details li a { color: var(--accent); }
.contact-details li a:hover { text-decoration: underline; }
.contact-form-wrap {
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-form-wrap h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: .03em;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: inherit;
  color: var(--text);
  transition: border-color var(--trans);
  background: #fafafa;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; justify-content: center; font-size: 1rem; padding: 15px; }
#form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 20px;
  background: #d4edda;
  color: #155724;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
}

/* ---------- Footer ---------- */
footer {
  background: #080f1e;
  color: rgba(255,255,255,.6);
  text-align: center;
  padding: 28px 24px;
  font-size: .85rem;
}
footer a { color: var(--accent); }
footer a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-badge { right: 0; bottom: -16px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--navy);
    padding: 20px 24px;
    gap: 16px;
  }
  .nav-cta.open { display: flex; padding: 0 24px 20px; background: var(--navy); }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }
  .hero-stats { gap: 24px; }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
}
