/* ============================================
   TANGLES SALON — Texas City, TX
   Palette: #1a1a1a (near-black, body text)
            #faf6f1 (warm ivory, page bg)
            #c65f4a (terracotta, accent)
   Type:    Playfair Display (display)
            DM Sans (body)
   ============================================ */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #1a1a1a;
  background: #faf6f1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a { color: #c65f4a; text-underline-offset: 0.15em; }
a:hover { color: #a84d3a; }
:focus-visible { outline: 2px solid #c65f4a; outline-offset: 2px; }

/* --- TYPOGRAPHY --- */
h1, h2, h3 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  background: #c65f4a;
  margin-top: 0.5rem;
}

/* --- LAYOUT HELPERS --- */
.section-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}
section {
  padding: 4rem 0;
}
@media (min-width: 48rem) {
  section { padding: 6rem 0; }
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.875rem 2rem;
  border-radius: 0.25rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  line-height: 1.2;
  text-align: center;
}
.btn-primary {
  background: #c65f4a;
  color: #fff;
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: #a84d3a;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(198, 95, 74, 0.35);
}
.btn-secondary {
  background: transparent;
  color: #1a1a1a;
  border: 2px solid #1a1a1a;
}
.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: #1a1a1a;
  color: #faf6f1;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 26, 0.75) 0%,
    rgba(26, 26, 26, 0.45) 60%,
    rgba(26, 26, 26, 0.3) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 2rem 1.25rem;
  max-width: 48rem;
}
.hero-label {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  opacity: 0.85;
}
.hero-title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: clamp(3rem, 10vw, 7rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: #fff;
}
.hero-tagline {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  line-height: 1.4;
  margin-bottom: 2rem;
  opacity: 0.9;
}
.hero-actions .btn {
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
}
@media (max-width: 30rem) {
  .hero-title { font-size: 2.75rem; }
  .hero-tagline { font-size: 1rem; }
  .hero-actions .btn {
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
    width: 100%;
  }
}

/* ============================================
   REVIEWS
   ============================================ */
.reviews {
  background: #fff;
}
.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 48rem) {
  .review-grid {
    grid-template-columns: 1fr 1fr;
  }
  .review-card:last-child {
    grid-column: 1 / -1;
    max-width: 36rem;
    justify-self: center;
  }
}
@media (min-width: 64rem) {
  .review-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .review-card:last-child {
    grid-column: auto;
    max-width: none;
  }
}
.review-card {
  background: #faf6f1;
  padding: 1.75rem;
  border-radius: 0.25rem;
  position: relative;
}
.review-card::before {
  content: "\201C";
  font-family: "Playfair Display", Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: #c65f4a;
  opacity: 0.25;
  position: absolute;
  top: 0.5rem;
  left: 1rem;
}
.review-stars {
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  color: #c65f4a;
}
.review-card--mixed .review-stars {
  color: #999;
}
.review-text {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 0.75rem;
  position: relative;
  z-index: 1;
}
.review-author {
  font-size: 0.85rem;
  font-weight: 500;
  color: #666;
}
.review-footnote {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
  max-width: 36rem;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  background: #faf6f1;
}
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 36rem) {
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.service-card {
  padding: 1.5rem;
  border-left: 3px solid #c65f4a;
}
.service-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.service-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
  margin: 0;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
  background: #fff;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 36rem) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 54rem) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.gallery-grid img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  border-radius: 0.25rem;
  transition: transform 0.3s ease;
}
.gallery-grid img:hover {
  transform: scale(1.02);
}
@media (max-width: 30rem) {
  .gallery-grid img {
    height: 12rem;
  }
}

/* ============================================
   HOURS + LOCATION
   ============================================ */
.info {
  background: #faf6f1;
}
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 42rem) {
  .info-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.hours-table th,
.hours-table td {
  padding: 0.5rem 0;
  border-bottom: 1px solid #ddd;
  text-align: left;
}
.hours-table th {
  font-weight: 600;
  width: 40%;
  color: #1a1a1a;
}
.hours-table td {
  color: #444;
}
.salon-address {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 1.5rem;
}
.salon-address strong {
  color: #1a1a1a;
  font-weight: 600;
}
.info-cta {
  margin: 0;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact {
  background: #fff;
}
.contact-intro {
  font-size: 1rem;
  color: #666;
  margin: -0.5rem 0 2rem;
  max-width: 32rem;
}
.contact-form {
  max-width: 32rem;
}
.form-row {
  margin-bottom: 1.25rem;
}
.form-row label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: #1a1a1a;
}
.form-row input,
.form-row textarea {
  width: 100%;
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
  background: #faf6f1;
  color: #1a1a1a;
  transition: border-color 0.2s ease;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: #c65f4a;
  box-shadow: 0 0 0 3px rgba(198, 95, 74, 0.15);
}
.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #444;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #1a1a1a;
  color: #aaa;
  padding: 2rem 1.25rem;
  font-size: 0.85rem;
}
.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}
.footer-address {
  margin: 0;
  line-height: 1.6;
}
.footer-address a {
  color: #c65f4a;
}
.footer-address a:hover {
  color: #e07a64;
}
.attribution {
  margin: 0;
  opacity: 0.6;
  font-size: 0.75rem;
}
.attribution a {
  color: #aaa;
  text-decoration: none;
}
.attribution a:hover {
  color: #fff;
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    transform: none !important;
  }
  html { scroll-behavior: auto; }
}
