/* ============================================================
   NEW IMAGE PAINTING & WALLCOVERING LLC — Shared Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ── Variables ── */
:root {
  --primary:    #1a1a1a;
  --white:      #ffffff;
  --gold:       #c9a84c;
  --gold-dark:  #a8852e;
  --light:      #f5f5f3;
  --gray:       #888888;
  --mid:        #555555;
  --border:     #dedede;
  --shadow:     0 4px 24px rgba(0,0,0,0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', Arial, sans-serif;
  color: var(--primary);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--primary);
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo {
  height: 46px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.nav-brand-text { display: flex; flex-direction: column; line-height: 1.2; }

.nav-brand-name {
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-brand-sub {
  color: var(--gold);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Links */
.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 1.8rem;
}

.nav-links a {
  color: #cccccc;
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}

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

.nav-ig { display: flex; align-items: center; }
.nav-ig svg { width: 19px; height: 19px; fill: #cccccc; transition: fill 0.2s; }
.nav-ig:hover svg { fill: var(--gold); }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #111111;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-top: 1px solid #333;
    padding-bottom: 1rem;
  }

  .nav-links.open { display: flex; }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 0.85rem 1.5rem;
    font-size: 0.85rem;
    border-bottom: 1px solid #222;
  }

  .nav-links .nav-ig { padding: 0.85rem 1.5rem; }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 2.5rem 1.5rem 1.5rem;
  margin-top: 5rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #333;
}

.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.footer-tagline {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  color: #aaaaaa;
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}

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

.footer-copy {
  max-width: 1100px;
  margin: 1rem auto 0;
  font-size: 0.72rem;
  color: #555;
  text-align: center;
}

@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */
.section { padding: 5rem 1.5rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section-divider {
  width: 50px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 3rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 2.2rem;
  transition: all 0.22s;
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
}

.btn-gold {
  background: var(--gold);
  color: var(--primary);
}
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--primary); }

.btn-dark {
  background: var(--primary);
  color: var(--white);
}
.btn-dark:hover { background: #333; }

/* ============================================================
   HOME — SPOTLIGHT
   ============================================================ */
.spotlight {
  position: relative;
  width: 100%;
  height: 88vh;
  min-height: 480px;
  overflow: hidden;
  background: #111;
}

.spotlight-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.spotlight-img.visible { opacity: 1; }

.spotlight-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.65) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.spotlight-label {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
}

.spotlight-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 6vw, 5rem);
  color: var(--white);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: 0.6rem;
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
}

.spotlight-sub {
  color: rgba(255,255,255,0.8);
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.spotlight-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* Spotlight loading state */
.spotlight-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spotlight-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 600px) {
  .spotlight { height: 70vh; }
}

/* ============================================================
   HOME — SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--light);
  padding: 2.5rem 2rem;
  text-align: center;
  border-bottom: 3px solid transparent;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.service-icon { font-size: 2.2rem; margin-bottom: 1rem; }

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.service-card p { color: var(--gray); font-size: 0.88rem; line-height: 1.7; }

/* ============================================================
   HOME — ABOUT BAND
   ============================================================ */
.about-band {
  background: var(--primary);
  padding: 5rem 1.5rem;
}

.about-band-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.about-band .section-title { color: var(--white); }
.about-band .section-divider { background: var(--gold); }

.about-band p {
  color: #b0b0b0;
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 2rem;
}

/* ============================================================
   PROJECTS PAGE
   ============================================================ */
.projects-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
}

.projects-header { text-align: center; margin-bottom: 2.5rem; }

/* Main image */
.gallery-main-wrap {
  position: relative;
  width: 100%;
  background: #0d0d0d;
  overflow: hidden;
  margin-bottom: 0.75rem;
  /* 4:3 ratio */
  aspect-ratio: 4/3;
}

@supports not (aspect-ratio: 4/3) {
  .gallery-main-wrap { padding-top: 75%; height: 0; }
  .gallery-main-wrap img { position: absolute; inset: 0; }
}

.gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.3s;
  position: absolute;
  inset: 0;
}

.gallery-main-img.visible { opacity: 1; }

/* Info bar */
.gallery-info-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  color: var(--gray);
}

.gallery-date { font-style: italic; }
.gallery-counter { font-weight: 500; }

/* Thumbnails row */
.gallery-thumb-row {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}

.gallery-arrow {
  flex-shrink: 0;
  width: 38px;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background 0.2s;
  padding: 0;
}

.gallery-arrow:hover { background: var(--gold); color: var(--primary); }
.gallery-arrow:disabled { background: #ccc; cursor: default; opacity: 0.4; }

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  flex: 1;
}

.gallery-thumb {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  cursor: pointer;
  opacity: 0.5;
  outline: 3px solid transparent;
  outline-offset: -3px;
  transition: opacity 0.2s, outline-color 0.2s;
}

.gallery-thumb:hover { opacity: 0.85; }
.gallery-thumb.active { opacity: 1; outline-color: var(--gold); }

/* Mobile: show 3 thumbs */
@media (max-width: 640px) {
  .gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
  .gallery-thumb.hide-mobile { display: none; }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-wrap {
  max-width: 1050px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.contact-info-sub {
  color: var(--gray);
  font-size: 0.88rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.ci-icon {
  width: 40px;
  height: 40px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.ci-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.ci-value { font-size: 0.92rem; }
.ci-value a { text-decoration: none; transition: color 0.2s; }
.ci-value a:hover { color: var(--gold); }

.contact-ig-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  color: var(--mid);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.contact-ig-link:hover { color: var(--gold); }
.contact-ig-link svg { width: 18px; height: 18px; fill: currentColor; }

/* Form */
.contact-form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group { margin-bottom: 1.1rem; }

.form-group label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
  background: var(--white);
  color: var(--primary);
  border-radius: 0;
  appearance: none;
}

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

.form-group textarea { height: 130px; resize: vertical; }

.form-note {
  font-size: 0.75rem;
  color: var(--gray);
  margin-top: 0.75rem;
}

@media (max-width: 768px) {
  .contact-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   CERTIFICATION PAGE
   ============================================================ */
.cert-hero {
  background: var(--primary);
  padding: 4rem 1.5rem;
  text-align: center;
}

.cert-hero .section-title { color: var(--white); margin-bottom: 0.75rem; }
.cert-hero .section-divider { background: var(--gold); }
.cert-hero p { color: #aaa; max-width: 600px; margin: 0 auto; font-size: 0.95rem; }

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.cert-card {
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  transition: box-shadow 0.25s;
}

.cert-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
}

.cert-card:hover { box-shadow: var(--shadow); }

.cert-icon { font-size: 2.8rem; margin-bottom: 1rem; }

.cert-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.cert-card p { color: var(--gray); font-size: 0.88rem; line-height: 1.7; }

.roc-badge {
  background: var(--primary);
  color: var(--white);
  padding: 3rem 2rem;
  text-align: center;
  margin: 3rem 0;
}

.roc-badge-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.roc-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
}

.roc-sub {
  font-size: 0.78rem;
  color: #888;
  margin-top: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.services-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.services-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.2rem;
  background: var(--light);
  font-size: 0.9rem;
}

.services-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gold);
  flex-shrink: 0;
}
