/* ============================================================
   Charlie's Painting Inc. — style.css
   Color scheme: Forest Green + Warm Gold + Ivory
   Fonts: Playfair Display (headings) · Inter (body)
   ============================================================ */

:root {
  --green-dark:   #1B3A2F;
  --green-mid:    #2D5A47;
  --green-light:  #4A7C63;
  --gold:         #C4954A;
  --gold-light:   #E8C47E;
  --cream:        #F7F2E8;
  --cream-dark:   #EDE5D5;
  --white:        #FFFFFF;
  --text-dark:    #1A1A1A;
  --text-mid:     #4D4D4D;
  --text-light:   #888;
  --radius:       10px;
}

/* ---- Reset & Base ---------------------------------------- */
html  { scroll-behavior: smooth; }
body  {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 { font-family: 'Playfair Display', serif; }
img   { max-width: 100%; height: auto; }

/* ---- Shared layout --------------------------------------- */
.section-pad { padding: 100px 0; }

/* ---- Shared typography ----------------------------------- */
.section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.label-gold   { color: var(--gold-light) !important; }

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.title-white  { color: #fff !important; }

.section-sub  {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ---- Color utilities ------------------------------------- */
.bg-cream       { background-color: var(--cream); }
.bg-white       { background-color: var(--white); }
.text-gold      { color: var(--gold)       !important; }
.text-gold-light{ color: var(--gold-light) !important; }

/* ---- Buttons --------------------------------------------- */
.btn-gold {
  background-color: var(--gold);
  border-color:     var(--gold);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.btn-gold:hover {
  background-color: #a87d3c;
  border-color:     #a87d3c;
  color: #fff;
  transform: translateY(-1px);
}
.btn-outline-hero {
  border: 2px solid rgba(255,255,255,0.65);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: transparent;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.btn-outline-hero:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  color: #fff;
  transform: translateY(-1px);
}

/* ============================================================
   NAVBAR
   ============================================================ */
#mainNav {
  background-color: rgba(27, 58, 47, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1rem 0;
  transition: padding 0.3s, box-shadow 0.3s;
}
#mainNav.scrolled {
  padding: 0.55rem 0;
  box-shadow: 0 2px 24px rgba(0,0,0,0.25);
  background-color: var(--green-dark);
}
.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff !important;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}
.brand-icon { color: var(--gold); font-size: 1rem; }

.navbar-nav .nav-link {
  color: rgba(255,255,255,0.8) !important;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  transition: color 0.2s;
}
.navbar-nav .nav-link:hover { color: var(--gold-light) !important; }

.nav-phone {
  font-size: 0.85rem;
  padding: 0.45rem 1rem;
  border-radius: 50px;
}
.navbar-toggler { border-color: rgba(255,255,255,0.3); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2C255%2C255%2C0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  background-image: url('img/hero.jpg');
  background-size: cover;
  background-position: center 40%;
  display: flex;
  align-items: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(27, 58, 47, 0.75) 0%,
    rgba(27, 58, 47, 0.45) 55%,
    rgba(0, 0, 0, 0.1) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 90px;
}
.hero-badge {
  display: inline-block;
  background: rgba(196, 149, 74, 0.18);
  border: 1px solid rgba(196, 149, 74, 0.55);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(3rem, 6.5vw, 5.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 1.1rem;
}
.hero-title em { font-style: italic; }
.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 300;
  margin-bottom: 2.5rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-ctas .btn { padding: 0.75rem 2rem; font-size: 1rem; }

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 1.5rem;
  z-index: 2;
  animation: bounce 1.8s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background-color: var(--green-mid);
  padding: 1.4rem 0;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.trust-item:last-child { border-right: none; }
.trust-icon  {
  font-size: 1.35rem;
  color: var(--gold-light);
}
.trust-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* ============================================================
   SERVICES
   ============================================================ */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  height: 100%;
  border: 1px solid var(--cream-dark);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 36px rgba(27, 58, 47, 0.1);
  border-color: var(--gold);
}
.service-icon {
  font-size: 2rem;
  color: var(--green-mid);
  display: block;
  margin-bottom: 1rem;
  transition: color 0.2s;
}
.service-card:hover .service-icon { color: var(--gold); }
.service-card h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}
.service-card p {
  font-size: 0.86rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-card {
  border-radius: var(--radius);
  min-height: 270px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: default;
}
.gallery-card:hover {
  transform: scale(1.025);
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}
.gallery-card-body {
  position: relative;
  z-index: 1;
  padding: 1.5rem 1.5rem 1.5rem;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.05) 100%);
}
.gallery-tag {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.18rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}
.gallery-card h4 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.3rem;
}
.gallery-card p {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.82);
  margin: 0;
  line-height: 1.55;
}

/* Real photo backgrounds */
.gallery-card {
  background-size: cover;
  background-position: center;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-section {
  background-color: var(--green-dark);
}
.about-image-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
}
.about-img {
  border-radius: var(--radius);
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
}
.about-since-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 80px;
  height: 80px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  color: #fff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.about-since-badge strong { font-size: 1.3rem; line-height: 1.1; }

.about-text {
  color: rgba(255,255,255,0.8);
  font-size: 0.97rem;
  line-height: 1.82;
  margin-bottom: 1rem;
}
.credential-item {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  padding: 0.65rem 1rem;
  color: rgba(255,255,255,0.88);
  font-size: 0.87rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  border: 1px solid var(--cream-dark);
}
.contact-block-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.04em;
}
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}
.contact-row:last-child { margin-bottom: 0; }
.contact-row-icon {
  font-size: 1.1rem;
  color: var(--gold);
  margin-top: 0.1rem;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}
.contact-row-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.1rem;
}
.contact-row-value {
  display: block;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.94rem;
  line-height: 1.5;
  transition: color 0.2s;
}
a.contact-row-value:hover { color: var(--green-mid); }

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 0.9rem;
  color: var(--text-mid);
}
.hours-row.last { border-bottom: none; }
.hours-row strong { color: var(--green-dark); font-weight: 600; }

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  border: 1.5px solid var(--green-mid);
  color: var(--green-mid);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.social-pill:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #fff;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 28px rgba(0,0,0,0.1);
  height: 100%;
  min-height: 440px;
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 440px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: #111;
  padding: 2.75rem 0;
  color: rgba(255,255,255,0.6);
}
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}
.footer-tagline {
  font-size: 0.83rem;
  margin: 0;
  color: rgba(255,255,255,0.45);
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.3rem;
  justify-content: center;
}
.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.87rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-powered {
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}
.footer-powered a {
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.footer-powered a:hover { color: var(--gold); }
.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  margin: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .section-pad { padding: 75px 0; }
  .navbar-collapse {
    background: var(--green-dark);
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-top: 0.5rem;
  }
  .trust-item { border-right: none; }
}

@media (max-width: 767px) {
  .about-since-badge { width: 68px; height: 68px; bottom: -0.75rem; right: -0.5rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  .map-wrap, .map-wrap iframe { min-height: 320px; }
}

@media (max-width: 575px) {
  .section-pad { padding: 60px 0; }
  .hero-title  { font-size: 2.6rem; }
  .section-title { font-size: 1.85rem; }
  .contact-block { padding: 1.5rem; }
  .footer-links { justify-content: flex-start; }
}
