/* ========================================
   PG's Chair - Pretty Girl's Chair
   Detroit, MI
   ======================================== */

/* --- CSS Variables (Color Palette) --- */
:root {
  --cream: #FFF8F0;
  --tan: #E8D5C4;
  --rose: #C4958A;
  --deep: #3D2B1F;
  --gold: #C9A96E;
  --text-light: #8B7355;
  --footer-dark: #1A0F0A;
  --white: #FFFFFF;
  --shadow: rgba(61, 43, 31, 0.08);
  --shadow-hover: rgba(61, 43, 31, 0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--cream);
  color: var(--deep);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.25;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: 1.35rem; }

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 0.5rem;
}

.gold { color: var(--gold); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--deep);
  color: var(--white);
  border-color: var(--deep);
}

.btn-primary:hover {
  background: var(--rose);
  border-color: var(--rose);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--deep);
  border-color: var(--deep);
}

.btn-secondary:hover {
  background: var(--deep);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--deep);
  border-color: var(--gold);
  font-size: 1.05rem;
  padding: 1rem 2.5rem;
}

.btn-gold:hover {
  background: transparent;
  color: var(--gold);
  transform: translateY(-2px);
}

/* --- Photo Placeholder --- */
.photo-placeholder {
  background: linear-gradient(135deg, var(--tan), var(--rose));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
  min-height: 240px;
}

.photo-placeholder span {
  opacity: 0.7;
}

/* ========================================
   NAV
   ======================================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 248, 240, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(232, 213, 196, 0.4);
}

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

.logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--deep);
}

.logo-gold {
  color: var(--gold);
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--deep);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--rose) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}

.nav-cta::after { display: none !important; }

/* --- Hamburger --- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--deep);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   HERO
   ======================================== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(61,43,31,0.5) 100%);
  z-index: 1;
}

.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-text {
  max-width: 600px;
}

.hero-text h1 {
  margin-bottom: 1.25rem;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--cream);
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.8;
  opacity: 0.9;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-ctas .btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--deep);
}

.hero-ctas .btn-primary:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--deep);
}

.hero-ctas .btn-secondary {
  border-color: var(--cream);
  color: var(--cream);
}

.hero-ctas .btn-secondary:hover {
  background: var(--cream);
  color: var(--deep);
}

/* ========================================
   ABOUT
   ======================================== */
#about {
  padding: 6rem 1.5rem;
}

.about-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-photo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-photo .about-img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 16px;
  display: block;
}

.about-text h2 {
  margin-bottom: 1.25rem;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.8;
}

.about-text .btn {
  margin-top: 0.5rem;
}

/* ========================================
   SERVICES
   ======================================== */
#services {
  padding: 6rem 1.5rem;
  background: var(--white);
}

.services-header {
  text-align: center;
  margin-bottom: 3rem;
}

.services-header h2 {
  margin-top: 0.25rem;
}

.services-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 2.5rem 2.5rem 2.75rem;
  transition: var(--transition);
  cursor: default;
  border: 1px solid rgba(232, 213, 196, 0.3);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--shadow-hover);
  border-color: var(--tan);
}

.service-icon {
  font-size: 2.75rem;
  margin-bottom: 0.75rem;
  display: block;
}

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

.service-desc {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 360px;
  margin: 0 auto;
}

.services-footer {
  text-align: center;
  margin-top: 3rem;
}

.services-footer p {
  color: var(--text-light);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.services-footer a:not(.btn) {
  color: var(--gold);
  font-weight: 500;
  text-decoration: underline;
}

/* ========================================
   GALLERY
   ======================================== */
#gallery {
  padding: 6rem 1.5rem;
}

.gallery-header {
  text-align: center;
  margin-bottom: 3rem;
}

.gallery-header h2 {
  margin-top: 0.25rem;
}

.gallery-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  min-height: 200px;
  overflow: hidden;
}

.gallery-item span {
  font-size: 2rem;
}

/* ========================================
   TESTIMONIAL
   ======================================== */
#testimonial {
  padding: 5rem 1.5rem;
  background: var(--tan);
}

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

.testimonial-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  color: var(--deep);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
}

/* ========================================
   CONTACT
   ======================================== */
#contact {
  padding: 6rem 1.5rem;
  background: var(--deep);
  color: var(--cream);
}

.contact-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info > p {
  color: rgba(255, 248, 240, 0.7);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.contact-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-list a {
  color: var(--gold);
  transition: var(--transition);
}

.contact-list a:hover {
  color: var(--cream);
  text-decoration: underline;
}

.contact-hours h3 {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table tr {
  border-bottom: 1px solid rgba(232, 213, 196, 0.15);
}

.hours-table td {
  padding: 1rem 0;
  font-size: 0.95rem;
}

.hours-table td:first-child {
  font-weight: 500;
}

.hours-time {
  text-align: right;
  color: rgba(255, 248, 240, 0.7);
}

.hours-table tr:last-child {
  border-bottom: none;
}

.section-label.light {
  color: var(--gold);
}

/* ========================================
   FOOTER
   ======================================== */
footer {
  background: var(--footer-dark);
  color: var(--cream);
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* --- SMS Opt-In --- */
.footer-sms {
  max-width: 560px;
  margin: 0 auto 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 248, 240, 0.1);
}

.footer-sms-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.footer-sms-sub {
  font-size: 0.9rem;
  color: rgba(255, 248, 240, 0.6);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.sms-form {
  text-align: left;
}

.sms-form-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.sms-form-row input[type="tel"] {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  border: 1px solid rgba(255, 248, 240, 0.2);
  border-radius: 8px;
  background: rgba(255, 248, 240, 0.08);
  color: var(--cream);
  outline: none;
  transition: var(--transition);
}

.sms-form-row input[type="tel"]::placeholder {
  color: rgba(255, 248, 240, 0.35);
}

.sms-form-row input[type="tel"]:focus {
  border-color: var(--gold);
  background: rgba(255, 248, 240, 0.12);
}

.sms-form-row .btn-gold {
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.sms-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
  cursor: pointer;
}

.sms-consent input[type="checkbox"] {
  margin-top: 3px;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  accent-color: var(--gold);
}

.sms-consent span {
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(255, 248, 240, 0.65);
}

.sms-consent a {
  color: var(--gold);
  text-decoration: underline;
}

.sms-consent a:hover {
  color: var(--cream);
}

.sms-disclaimer {
  font-size: 0.7rem;
  color: rgba(255, 248, 240, 0.4);
  margin-bottom: 0;
}

/* --- Footer Bottom --- */
.footer-bottom {
  padding-top: 0.5rem;
}

.footer-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.footer-links {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 248, 240, 0.6);
  text-decoration: none;
}

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

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255, 248, 240, 0.5);
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* Tablet & Below (≤768px) */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 6rem 2rem 2rem;
    box-shadow: -4px 0 24px rgba(0,0,0,0.08);
    transition: right var(--transition);
    border-left: 1px solid var(--tan);
  }

  .nav-links.open {
    right: 0;
  }

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

  .nav-links a {
    display: block;
    padding: 1rem 0;
    font-size: 1.15rem;
    border-bottom: 1px solid rgba(232, 213, 196, 0.3);
  }

  .nav-links a::after { display: none; }

  .nav-cta {
    margin-top: 1rem;
    text-align: center;
    width: 100%;
    padding: 0.85rem !important;
  }

  .hamburger {
    display: flex;
  }

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-text {
    text-align: center;
    margin: 0 auto;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .about-grid .about-photo {
    order: -1;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #about, #services, #gallery, #testimonial, #contact {
    padding: 4rem 1.5rem;
  }

  #hero {
    padding: 6rem 1.5rem 3rem;
    min-height: auto;
  }

  .contact-grid .contact-hours {
    order: -1;
  }
}

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

  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-text h1 {
    font-size: 2.25rem;
  }



  #about, #services, #gallery, #testimonial, #contact {
    padding: 3rem 1rem;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 320px;
  }

  .sms-form-row {
    flex-direction: column;
  }

  .sms-form-row .btn-gold {
    width: 100%;
  }
}
