/* ===== Saint Honoré — Design System ===== */

:root {
  /* Palette — pulled from the logo */
  --cream: #faf7f2;
  --cream-dark: #f0ebe3;
  --taupe: #c4b5a6;
  --taupe-light: #d9cfc4;
  --taupe-dark: #a89888;
  --charcoal: #2c2c2c;
  --charcoal-soft: #4a4a4a;
  --gold: #b8976a;
  --gold-light: #d4b88c;
  --white: #ffffff;

  /* Typography */
  --font-script: 'Cormorant Garamond', serif;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Outfit', sans-serif;

  /* Spacing */
  --section-pad: clamp(4rem, 10vw, 8rem);
  --content-max: 1200px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== Reset & Base ===== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ===== Navigation ===== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.4s var(--ease-out), padding 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.nav.scrolled {
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 2rem;
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.nav__logo span {
  font-family: var(--font-script);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 1.2em;
}

.nav__links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav__links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  position: relative;
  transition: color 0.3s;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out);
}

.nav__links a:hover {
  color: var(--charcoal);
}

.nav__links a:hover::after {
  width: 100%;
}

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--charcoal);
  transition: all 0.3s;
}

/* ===== Hero Section ===== */

.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(0.8);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(44, 44, 44, 0.2) 0%,
    rgba(44, 44, 44, 0.5) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  animation: fadeUp 1.2s var(--ease-out) 0.3s both;
}

.hero__circle {
  width: 320px;
  height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  animation: scaleIn 1.4s var(--ease-out) 0.1s both;
}

.hero__script {
  font-family: var(--font-script);
  font-style: italic;
  font-size: 2.8rem;
  font-weight: 400;
  margin-bottom: -0.5rem;
  letter-spacing: 0.02em;
}

.hero__name {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.hero__tagline {
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 300;
  margin-top: 0.3rem;
  opacity: 0.85;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  opacity: 0.9;
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero__cta {
  display: inline-block;
  padding: 1rem 3rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.hero__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out);
  z-index: -1;
}

.hero__cta:hover {
  color: var(--charcoal);
}

.hero__cta:hover::before {
  transform: translateY(0);
}

/* ===== Section Utilities ===== */

.section {
  padding: var(--section-pad) 2rem;
}

.section__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.section__label {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  margin-bottom: 1rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}

.section__divider {
  width: 60px;
  height: 1px;
  background: var(--taupe);
  margin-bottom: 2rem;
}

/* ===== About Section ===== */

.about {
  background: var(--white);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__image {
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.about__image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.about__image:hover img {
  transform: scale(1.03);
}

.about__image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--taupe-light);
  pointer-events: none;
  margin: 1rem;
}

.about__text p {
  font-size: 1.05rem;
  color: var(--charcoal-soft);
  margin-bottom: 1.5rem;
  line-height: 1.9;
}

/* ===== Specialties Section ===== */

.specialties {
  background: var(--cream);
  text-align: center;
}

.specialties__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.specialty-card {
  background: var(--white);
  padding: 3rem 2rem;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.specialty-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  transform: scaleX(0);
  transition: transform 0.5s var(--ease-out);
}

.specialty-card:hover::before {
  transform: scaleX(1);
}

.specialty-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.specialty-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.specialty-card__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: var(--charcoal);
}

.specialty-card__desc {
  font-size: 0.95rem;
  color: var(--charcoal-soft);
  line-height: 1.8;
}

/* ===== Gallery Section ===== */

.gallery {
  background: var(--white);
  text-align: center;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), filter 0.6s;
}

.gallery__item:hover img {
  transform: scale(1.05);
  filter: brightness(0.8);
}

.gallery__item__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 2;
}

.gallery__item:hover .gallery__item__overlay {
  opacity: 1;
}

.gallery__item__overlay span {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  color: var(--white);
  text-transform: uppercase;
}

/* ===== Hours & Location ===== */

.info {
  background: var(--charcoal);
  color: var(--cream);
}

.info__grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 4rem;
  text-align: center;
}

.info__divider-v {
  background: rgba(250, 247, 242, 0.15);
}

.info .section__label {
  color: var(--taupe);
}

.info .section__title {
  color: var(--cream);
}

.info__hours-list {
  list-style: none;
  margin-top: 2rem;
}

.info__hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(250, 247, 242, 0.08);
  font-size: 0.95rem;
  color: var(--cream-dark);
}

.info__hours-list li span:first-child {
  font-weight: 400;
}

.info__hours-list li span:last-child {
  opacity: 0.7;
}

.info__address {
  margin-top: 2rem;
  font-size: 1.05rem;
  line-height: 2;
  color: var(--cream-dark);
}

.info__address a {
  color: var(--gold-light);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.info__address a:hover {
  border-bottom-color: var(--gold-light);
}

/* ===== Footer ===== */

.footer {
  background: var(--charcoal);
  border-top: 1px solid rgba(250, 247, 242, 0.08);
  padding: 2.5rem 2rem;
  text-align: center;
}

.footer__text {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--taupe-dark);
}

/* ===== Animations ===== */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */

@media (max-width: 1024px) {
  .specialties__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .nav__toggle {
    display: flex;
  }

  .hero__circle {
    width: 260px;
    height: 260px;
  }

  .hero__name {
    font-size: 2.4rem;
    letter-spacing: 0.2em;
  }

  .hero__script {
    font-size: 2rem;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about__image img {
    height: 350px;
  }

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

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

  .info__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .info__divider-v {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero__circle {
    width: 220px;
    height: 220px;
  }

  .hero__name {
    font-size: 1.8rem;
    letter-spacing: 0.15em;
  }

  .hero__script {
    font-size: 1.6rem;
  }

  .hero__tagline {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
  }

  .section {
    padding: 3.5rem 1.25rem;
  }

  .specialty-card {
    padding: 2rem 1.5rem;
  }
}
