/* ===========================
   Niamh Murphy Makeup Artist
   Shared Stylesheet
   =========================== */

:root {
  --cream: #fdf9f6;
  --blush: #f4e3df;
  --blush-dark: #e8c9c2;
  --gold: #c2a878;
  --charcoal: #3b2f2f;
  --grey: #756e6a;
  --white: #ffffff;
  --max-width: 1140px;
}

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

body {
  font-family: 'Raleway', sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

/* ===== Header / Nav ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 249, 246, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--blush);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  font-family: 'Italiana', serif;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.logo span {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-top: 2px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 36px;
  align-items: center;
}

nav a {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
  position: relative;
}

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

nav a.icon-link {
  display: flex;
  align-items: center;
}

nav a.icon-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--charcoal);
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--gold);
  color: var(--white);
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.25s ease, transform 0.25s ease;
  border: none;
  cursor: pointer;
}

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

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--charcoal);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
}

/* ===== Hero ===== */
.hero-photo {
  background: var(--blush);
  text-align: center;
}

.hero-photo img {
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
}

.hero-intro {
  text-align: center;
  padding: 70px 0;
  background: var(--cream);
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  margin-bottom: 16px;
}

.hero-content p {
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 32px;
  font-weight: 300;
  color: var(--grey);
}

.hero-buttons {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Sections ===== */
section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.section-header p {
  max-width: 620px;
  margin: 16px auto 0;
  color: var(--grey);
}

.bg-blush {
  background: var(--blush);
}

/* ===== Intro / Two Column ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split img {
  border-radius: 6px;
}

.split h2 {
  margin-bottom: 18px;
}

.split p {
  color: var(--grey);
  margin-bottom: 18px;
}

/* ===== Feature Grid (Home highlights) ===== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  text-align: center;
}

.feature h3 {
  font-size: 1.3rem;
  margin: 18px 0 10px;
}

.feature p {
  color: var(--grey);
  font-size: 0.95rem;
}

.feature .icon {
  font-size: 2.2rem;
  color: var(--gold);
}

/* ===== Gallery Grid ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-grid .gallery-item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 6px;
  background: var(--blush-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey);
  font-size: 0.85rem;
  text-align: center;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  cursor: pointer;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item.placeholder {
  border: 1px dashed var(--gold);
}

/* ===== Lightbox ===== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(58, 52, 49, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
}

.lightbox-overlay.open {
  display: flex;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(253, 249, 246, 0.15);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(253, 249, 246, 0.3);
}

.lightbox-close {
  top: 20px;
  right: 20px;
}

.lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 600px) {
  .lightbox-close,
  .lightbox-prev,
  .lightbox-next {
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .lightbox-close {
    top: 8px;
    right: 8px;
  }
}

/* ===== Quote / CTA banner ===== */
.cta-banner {
  text-align: center;
  background: var(--charcoal);
  color: var(--white);
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 18px;
}

.cta-banner p {
  color: #cfc7c3;
  max-width: 560px;
  margin: 0 auto 30px;
}

/* ===== Testimonial ===== */
.testimonial {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.testimonial p.quote {
  font-family: 'Italiana', serif;
  font-size: 1.4rem;
  font-style: italic;
  margin-bottom: 18px;
}

.testimonial .author {
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.85rem;
}

/* ===== About Page Specific ===== */
.about-hero {
  padding: 70px 0 0;
  text-align: center;
}

.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.credentials span {
  background: var(--blush);
  color: var(--charcoal);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ===== Contact Form ===== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-info h3 {
  margin-bottom: 14px;
}

.contact-info p {
  color: var(--grey);
  margin-bottom: 10px;
}

.contact-info .info-block {
  margin-bottom: 28px;
}

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

form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
  margin-top: 16px;
}

form input,
form textarea,
form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--blush-dark);
  border-radius: 4px;
  background: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--charcoal);
}

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

form .btn {
  margin-top: 26px;
}

/* ===== Footer ===== */
footer {
  background: var(--blush);
  padding: 50px 0 28px;
  text-align: center;
}

footer .footer-logo {
  font-family: 'Italiana', serif;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

footer p {
  font-family: 'Italiana', serif;
}

footer .social {
  margin: 18px 0;
  display: flex;
  justify-content: center;
  gap: 18px;
  font-size: 1.3rem;
}

footer .social a {
  color: var(--charcoal);
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
}

footer .social a svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

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

footer .copyright {
  font-size: 0.8rem;
  color: var(--grey);
  margin-top: 16px;
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .split,
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .split.reverse .img-col {
    order: -1;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 20px;
    gap: 18px;
    border-bottom: 1px solid var(--blush);
    display: none;
  }

  nav ul.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

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

@media (max-width: 540px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 60px 0;
  }
}
