/* Emerald Shears Hair Studio — Dublin, Ireland */

:root {
  --emerald: #1b5e3a;
  --emerald-light: #2d7a52;
  --emerald-dark: #0f3d26;
  --gold: #c9a227;
  --gold-light: #e8c84a;
  --rose: #e8c4b8;
  --rose-soft: #f5e6e0;
  --cream: #faf7f2;
  --cream-dark: #ede6dc;
  --ink: #1c1c1c;
  --muted: #5a5a5a;
  --white: #ffffff;
  --shadow: 0 8px 30px rgba(27, 94, 58, 0.1);
  --shadow-lg: 0 24px 64px rgba(27, 94, 58, 0.15);
  --radius: 12px;
  --radius-lg: 28px;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Lato", system-ui, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27, 94, 58, 0.07);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(145deg, var(--emerald), var(--emerald-light));
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}

.logo-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--emerald-dark);
  line-height: 1.2;
}

.logo-text span {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-desktop {
  display: flex;
  gap: 2rem;
}

.nav-desktop a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--transition);
}

.nav-desktop a:hover {
  color: var(--emerald);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

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

.btn-primary:hover {
  background: var(--emerald-light);
  border-color: var(--emerald-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(27, 94, 58, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--emerald);
  border-color: var(--emerald);
}

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

.btn-gold {
  background: var(--gold);
  color: var(--emerald-dark);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.header-cta {
  padding: 0.6rem 1.3rem;
  font-size: 0.85rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

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

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem 0 1.5rem;
  border-top: 1px solid rgba(27, 94, 58, 0.08);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-weight: 500;
  color: var(--muted);
  padding: 0.25rem 0;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 100px 0 60px;
  overflow: hidden;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(15, 61, 38, 0.88) 0%,
    rgba(27, 94, 58, 0.65) 45%,
    rgba(27, 94, 58, 0.35) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-badge::before {
  content: "☘";
  font-size: 0.9rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.1rem;
  opacity: 0.92;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-actions .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.hero-actions .btn-outline:hover {
  background: var(--white);
  color: var(--emerald);
  border-color: var(--white);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.trust-item {
  text-align: left;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.2;
}

.trust-item span {
  font-size: 0.82rem;
  opacity: 0.85;
}

/* Section common */
section {
  padding: 5.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3.5rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--emerald-dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
}

/* Services */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.service-card {
  padding: 2rem;
  background: var(--cream);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(27, 94, 58, 0.06);
  transition: all var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 162, 39, 0.3);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-light));
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--emerald-dark);
  margin-bottom: 0.6rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.service-price {
  font-weight: 700;
  color: var(--emerald);
  font-size: 0.95rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-images .main-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.about-images .accent-img {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 45%;
  border-radius: var(--radius);
  border: 4px solid var(--cream);
  box-shadow: var(--shadow);
  aspect-ratio: 1;
  object-fit: cover;
}

.about-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--emerald-dark);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

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

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.about-feature-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--rose-soft);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--emerald);
  font-size: 0.9rem;
}

.about-feature strong {
  display: block;
  font-size: 0.9rem;
  color: var(--emerald-dark);
  margin-bottom: 0.15rem;
}

.about-feature span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Gallery */
.gallery {
  background: var(--cream-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-item:nth-child(1) {
  grid-row: span 2;
}

.gallery-item:nth-child(4) {
  grid-column: span 2;
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 1.25rem;
  background: linear-gradient(transparent, rgba(15, 61, 38, 0.85));
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  transform: translateY(100%);
  transition: transform var(--transition);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* Reviews */
.reviews {
  background: var(--white);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.review-card {
  padding: 2rem;
  background: var(--cream);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--gold);
}

.review-stars {
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.review-card blockquote {
  font-size: 0.98rem;
  color: var(--ink);
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-light));
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
}

.review-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--emerald-dark);
}

.review-author span {
  font-size: 0.78rem;
  color: var(--muted);
}

/* CTA Banner */
.cta-banner {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
}

.cta-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 61, 38, 0.82);
}

.cta-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  max-width: 560px;
  margin: 0 auto;
}

.cta-banner-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-banner-content p {
  opacity: 0.9;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 700;
  color: var(--emerald-dark);
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--muted);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--rose-soft);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail strong {
  display: block;
  font-size: 0.85rem;
  color: var(--emerald-dark);
  margin-bottom: 0.15rem;
}

.contact-detail span,
.contact-detail a {
  font-size: 0.95rem;
  color: var(--muted);
}

.contact-detail a:hover {
  color: var(--emerald);
}

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--emerald-dark);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink);
  transition: border-color var(--transition);
}

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

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

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

.form-success {
  display: none;
  padding: 1rem;
  background: rgba(27, 94, 58, 0.1);
  border-radius: var(--radius);
  color: var(--emerald);
  font-weight: 600;
  text-align: center;
  margin-top: 1rem;
}

.form-success.show {
  display: block;
}

/* Footer */
.site-footer {
  background: var(--emerald-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo-text strong {
  color: var(--white);
}

.footer-brand .logo-text span {
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col a {
  font-size: 0.88rem;
  transition: color var(--transition);
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
}

.footer-hours {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* Responsive */
@media (max-width: 900px) {
  .nav-desktop,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-images .accent-img {
    right: 0;
    bottom: -1.5rem;
    width: 40%;
  }

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

  .gallery-item:nth-child(1) {
    grid-row: span 1;
  }

  .gallery-item:nth-child(4) {
    grid-column: span 1;
  }

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

@media (max-width: 600px) {
  section {
    padding: 4rem 0;
  }

  .hero-trust {
    gap: 1.25rem;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
