/*
Theme Name: Rachel Remington Design
Author: Custom
Version: 9.4
Description: Full custom theme based on provided PDFs
*/

@font-face {
  font-family: 'RRD-Body';
  src: local('Neue Helvetica Pro 35 Thin'), local('Helvetica Neue'), local('Helvetica'), local('Arial');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'RRD-Heading';
  src: local('Trajan Pro'), local('Times New Roman');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #111111;
  --white: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'RRD-Body', sans-serif;
  color: var(--black);
  background: var(--white);
}

a {
  color: var(--black);
  text-decoration: underline;
}

h1, h2, h3 {
  font-family: 'RRD-Body', sans-serif;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1000;
  border-bottom: 1px solid #eee;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 26px 24px 12px;
  text-align: center;
  position: relative;
}

.logo-wrap {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.logo-text {
  display: block;
  text-align: center;
  width: 100%;
}

.logo-title {
  font-family: 'RRD-Heading', serif;
  font-size: 34px;
  letter-spacing: 5px;
  display: block;
  width: 100%;
  line-height: 1.05;
  white-space: nowrap;
}

.logo-sub {
  font-family: 'RRD-Heading', serif;
  font-size: 14px;
  letter-spacing: 4px;
  display: block;
  width: 100%;
  line-height: 1.2;
  margin-top: 2px;
  white-space: nowrap;
}

.logo-phone {
  color: inherit;
  text-decoration: none;
}

.logo-phone-row {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 3px;
}

.logo-mark {
  font-size: 7px;
  line-height: 1;
  margin-left: 3px;
  position: relative;
  top: -1px;
}

.main-nav ul {
  display: flex;
  justify-content: center;
  gap: 42px;
  list-style: none;
  padding: 18px 0 10px;
  margin: 0;
}

.main-nav a {
  text-decoration: underline;
  color: var(--black);
  font-weight: 300;
  letter-spacing: 2px;
  font-size: 15px;
}

.site-main {
  padding-top: 10px;
}

.section {
  padding: 80px 8%;
  position: relative;
}

.hero-section {
  padding: 0 0 60px;
  position: relative;
}

.hero-section + .section {
  padding-top: 60px;
}

.hero-slider {
  height: 70vh;
  overflow: hidden;
}

.hero-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease;
}

.hero-slide {
  min-width: 100%;
  height: 100%;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 60px;
  align-items: start;
}

.about-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 300px;
  justify-self: start;
}

.about-grid-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.about-copy h1 { margin-top: 0; }

.about-text {
  font-size: 16px;
  line-height: 1.7;
}

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

.services-heading h2,
.services-heading h3 {
  margin: 0 0 10px;
}

.services-grid {
  margin-top: 40px;
  position: relative;
}

.services-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.service-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.services-list p {
  font-weight: 600;
  letter-spacing: 4px;
  line-height: 2.2;
  margin: 0;
}

.gallery-section h1,
.location-section h1,
.products-section h1,
.contact-section h1 {
  text-align: center;
  margin-bottom: 40px;
}

.gallery-group {
  margin-bottom: 50px;
}

.gallery-group h2 {
  text-align: center;
  margin-bottom: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.gallery-slider {
  overflow: hidden;
  margin: 0 auto;
  max-width: 1100px;
}

.gallery-track {
  display: flex;
  transition: transform 0.7s ease;
}

.gallery-slide {
  min-width: 100%;
}

.gallery-slide img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.location-content {
  text-align: center;
  margin-bottom: 30px;
}

.location-address {
  font-style: italic;
  letter-spacing: 2px;
}

.location-phone a {
  color: inherit;
  text-decoration: none;
  letter-spacing: 2px;
}

.map-embed iframe {
  width: 100%;
  min-height: 400px;
  border: 0;
}

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

.map-image img {
  width: 100%;
  max-width: 900px;
  height: auto;
  border: 1px solid #ddd;
}

.map-embed {
  position: relative;
}

.map-overlay {
  position: absolute;
  inset: 0;
}

.map-fallback {
  text-align: center;
  padding: 30px 0;
}

.map-link {
  text-decoration: underline;
  color: var(--black);
  border: 1px solid #111;
  padding: 10px 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.products-content .woocommerce {
  max-width: 1200px;
  margin: 0 auto;
}

.products-placeholder {
  padding: 40px;
  border: 1px dashed #ccc;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.contact-info {
  text-align: center;
  margin-bottom: 30px;
}

.contact-line {
  font-style: italic;
}

.contact-form {
  max-width: 520px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 2px;
  font-family: 'RRD-Body', sans-serif;
}

.contact-form button {
  padding: 12px;
  background: #111;
  color: #fff;
  border: none;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.form-success {
  text-align: center;
  margin-bottom: 20px;
  color: #2d7a2d;
}

.site-footer {
  padding: 50px 8%;
  text-align: center;
  font-size: 14px;
  letter-spacing: 2px;
}

.footer-inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-left {
  text-align: left;
}

.footer-line {
  margin-bottom: 8px;
}

.footer-left a {
  color: inherit;
  text-decoration: none;
}

.footer-right {
  margin-left: 0;
}

.footer-socials {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
}

.social-link {
  display: inline-flex;
  width: 20px;
  height: 20px;
  border: 1px solid #333;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: #111;
  text-decoration: underline;
}

.social-link svg {
  width: 10px;
  height: 10px;
  fill: #111;
}

.site-main .wp-block + .wp-block {
  margin-top: 28px;
}

.home-content > * + * {
  margin-top: 28px;
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .main-nav ul { flex-wrap: wrap; gap: 20px; }
  .hero-slider { height: 50vh; }
  .gallery-slide img { height: 320px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-left { text-align: center; }
}

@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .about-image-grid { max-width: 100%; }
}
