/* -----------------------------------------------------------------------
   Style by Sarah — Stylesheet
   ----------------------------------------------------------------------- */

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

/* --- Reset & Base ---------------------------------------------------- */

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

:root {
  --color-bg:        #faf9f7;
  --color-section:   #f0ebe3;
  --color-accent:    #c4947a;
  --color-accent-dk: #a67660;
  --color-text:      #2c2c2c;
  --color-muted:     #7a7a7a;
  --color-border:    #e0d8ce;
  --color-img-ph:    #e8e0d8;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Lato', Helvetica, Arial, sans-serif;

  --max-width: 1100px;
  --section-pad: 5rem 1.5rem;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  font-size: 1rem;
}

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

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

/* --- Typography ------------------------------------------------------- */

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.25;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-lead {
  color: var(--color-muted);
  max-width: 560px;
  margin: 0 auto 3rem;
  text-align: center;
}

/* --- Layout ---------------------------------------------------------- */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: var(--section-pad);
}

.text-center { text-align: center; }

/* --- Navigation ------------------------------------------------------ */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 249, 247, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

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

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.nav-logo span {
  color: var(--color-accent);
}

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

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  transition: color 0.2s;
}

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

/* --- Hero ------------------------------------------------------------ */

#hero {
  padding-top: 160px;
  padding-bottom: 6rem;
  text-align: center;
  background: var(--color-bg);
}

.hero-img-wrap {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 2rem;
  border: 4px solid var(--color-border);
}

.img-placeholder-circle {
  width: 100%;
  height: 100%;
  background: var(--color-img-ph);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 0.75rem;
  text-align: center;
  padding: 1rem;
}

.hero-tagline {
  color: var(--color-muted);
  font-size: 1.15rem;
  max-width: 520px;
  margin: 1.25rem auto 2.5rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2.25rem;
  border-radius: 2px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-accent-dk);
}

.btn-outline {
  border: 1.5px solid var(--color-text);
  color: var(--color-text);
}

.btn-outline:hover {
  background: var(--color-text);
  color: #fff;
}

/* --- About ----------------------------------------------------------- */

#about {
  background: var(--color-section);
}

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

.about-img {
  aspect-ratio: 3 / 4;
  background: var(--color-img-ph);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 0.85rem;
}

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

.about-text p {
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.about-text p:last-of-type {
  margin-bottom: 2rem;
}

/* --- Services -------------------------------------------------------- */

#services {
  background: var(--color-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  padding: 2rem;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 20px rgba(196, 148, 122, 0.12);
}

.service-card h3 {
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.service-card .price {
  margin-top: 1rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-accent);
}

/* --- Portfolio ------------------------------------------------------- */

#portfolio {
  background: var(--color-section);
}

.portfolio-grid {
  columns: 3;
  column-gap: 1rem;
  margin-top: 3rem;
}

.portfolio-item {
  break-inside: avoid;
  overflow: hidden;
  background: var(--color-img-ph);
  cursor: pointer;
  margin-bottom: 1rem;
  transition: opacity 0.3s;
}

.portfolio-item:hover {
  opacity: 0.88;
}

.portfolio-item img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .portfolio-grid {
    columns: 2;
  }
}

@media (max-width: 500px) {
  .portfolio-grid {
    columns: 1;
  }
}

.portfolio-item .ph-label {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1rem;
  color: var(--color-muted);
}

/* --- Testimonials ---------------------------------------------------- */

#testimonials {
  background: var(--color-bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial {
  padding: 2rem;
  background: var(--color-section);
  border-left: 3px solid var(--color-accent);
}

.testimonial p {
  font-style: italic;
  color: var(--color-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.testimonial cite {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-style: normal;
  color: var(--color-text);
}

/* --- Contact --------------------------------------------------------- */

#contact {
  background: var(--color-section);
  text-align: center;
}

#contact .section-lead {
  margin-bottom: 2.5rem;
}

.contact-details {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.contact-detail .label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.contact-detail .value {
  font-size: 0.95rem;
  color: var(--color-text);
}

.contact-detail a:hover {
  text-decoration: underline;
}

/* --- Footer ---------------------------------------------------------- */

footer {
  background: var(--color-text);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.8rem;
}

footer a {
  color: rgba(255,255,255,0.7);
}

footer a:hover {
  color: #fff;
}

/* --- Responsive ------------------------------------------------------ */

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-img {
    aspect-ratio: 16 / 9;
  }

  section {
    padding: 3.5rem 1.25rem;
  }

  .contact-details {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }
}
