/* =========================================================
   ALMA REIKI STUDIO - STYLES
   Sections in this file (in order):
     1. Colors and fonts (change these to restyle the whole site)
     2. Base / reset
     3. Move banner
     4. Header + nav
     5. Hero
     6. Sections + text
     7. Buttons
     8. Services list
     9. Contact grid
    10. Footer
    11. Fade-in animation
    12. Mobile adjustments
    13. About page (about.html only)
   ========================================================= */


/* ---------- 1. COLORS AND FONTS ----------
   Change a value here and it updates everywhere it is used. */
:root {
  --color-text: #1a1a1a;        /* main text, near black */
  --color-text-soft: #444444;   /* paragraphs */
  --color-white: #ffffff;
  --color-gray-bg: #f6f6f6;     /* light gray section background */
  --color-line: #cccccc;        /* thin lines between services */
  --color-button: #414141;      /* dark gray "Book" buttons */
  --color-button-hover: #2a2a2a;

  --font-heading: 'Poppins', sans-serif;               /* section titles */
  --font-body: 'Cormorant Garamond', serif;            /* paragraphs */
  --font-service: 'Libre Baskerville', serif;          /* service names */
  --font-hero: 'Montserrat', sans-serif;               /* big hero title */

  --max-width: 1100px;    /* widest the content gets */
  --narrow-width: 760px;  /* width for text-only sections */
}


/* ---------- 2. BASE / RESET ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth; /* smooth scrolling when clicking nav links */
}

body {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.8;
  color: var(--color-text-soft);
  background: var(--color-white);
}

a {
  color: inherit;
}

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


/* ---------- 3. MOVE BANNER (thin top bar) ---------- */
.move-banner {
  background: var(--color-button);
  color: var(--color-white);
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.05em;
  padding: 10px 16px;
}


/* ---------- 4. HEADER + NAV ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 6%;
  background: var(--color-white);
}

.logo {
  height: 80px;   /* make the logo bigger or smaller here */
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

/* Nav links: thin, uppercase, italic like the Wix menu */
.site-nav a {
  font-family: var(--font-heading);
  font-weight: 200;
  font-style: italic;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--color-text);
  transition: opacity 0.2s;
}

.site-nav a:hover {
  opacity: 0.6;
}

/* The "Call to Book" link in the nav gets a thin box around it */
.site-nav .nav-call {
  border: 1px solid var(--color-text);
  padding: 8px 18px;
  font-style: normal;
}


/* ---------- 5. HERO ----------
   Background photo: save the candle image from Wix as images/hero.jpg.
   The gradient underneath shows if the photo is missing. */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.25)), /* soft white wash */
    url('images/hero.jpg') center / cover no-repeat,
    linear-gradient(135deg, #b8aca6, #9d918d); /* fallback taupe if no photo */
}

.hero h1 {
  font-family: var(--font-hero);
  font-weight: 500;
  font-size: clamp(36px, 6vw, 84px); /* shrinks on small screens */
  letter-spacing: 0.04em;
  color: #111111;
}

.hero-sub {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #111111;
  margin-top: 12px;
}


/* ---------- 6. SECTIONS + TEXT ---------- */
.section {
  padding: 80px 20px;
}

/* Two background options. Swap the class in index.html to change a section. */
.section-gray  { background: var(--color-gray-bg); }
.section-white { background: var(--color-white); }

/* Back-to-back gray sections: remove the extra gap between them */
.section-gray + .section-gray {
  padding-top: 0;
}

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

/* Narrow version for paragraph-only sections, centered text */
.container.narrow {
  max-width: var(--narrow-width);
  text-align: center;
}

h2 {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(32px, 4vw, 52px);
  color: var(--color-text);
  margin-bottom: 32px;
  line-height: 1.2;
}

p + p {
  margin-top: 20px; /* space between paragraphs */
}

.section-note {
  text-align: center;
  margin-bottom: 48px;
}

#services h2 {
  text-align: center;
  margin-bottom: 12px;
}

/* Short black line between sections, like the Wix divider */
.divider {
  width: 200px;
  border: none;
  border-top: 1px solid var(--color-text);
  margin: 0 auto 80px;
}


/* ---------- 7. BUTTONS ---------- */

/* Outline button (white with thin border), like "Learn More" on Wix */
.btn-outline {
  display: inline-block;
  margin-top: 36px;
  padding: 12px 40px;
  border: 1px solid var(--color-text-soft);
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 18px;
  text-decoration: none;
  color: var(--color-text);
  transition: background 0.2s, color 0.2s;
}

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

/* Solid dark button, like "Book Now" on Wix */
.btn-solid {
  display: inline-block;
  padding: 12px 32px;
  background: var(--color-button);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 18px;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transition: background 0.2s;
}

.btn-solid:hover {
  background: var(--color-button-hover);
}


/* ---------- 8. SERVICES LIST ----------
   Each row is a 3-column grid: name | price | button */
.service-list {
  border-top: 1px solid var(--color-line);
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 120px auto;
  align-items: center;
  gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid var(--color-line);
}

.service-name {
  font-family: var(--font-service);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 28px);
  color: var(--color-text);
}

.service-price {
  font-size: 20px;
}


/* ---------- 9. CONTACT GRID (3 columns) ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.contact-heading {
  font-size: 32px;
  margin-bottom: 20px;
}

.contact-col p + p {
  margin-top: 4px;
}

.contact-col a {
  text-decoration: none;
}

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


/* Social links row, centered under the contact columns */
.social {
  text-align: center;
  margin-top: 64px;
}

.social-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;   /* wraps onto two lines on small screens if needed */
  gap: 16px;
}

/* Each link is a small outlined box, same style as the outline button */
.social-links a {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--color-text);
  border: 1px solid var(--color-text-soft);
  padding: 8px 24px;
  transition: background 0.2s, color 0.2s;
}

.social-links a:hover {
  background: var(--color-text);
  color: var(--color-white);
}


/* ---------- 10. FOOTER ---------- */
.site-footer {
  text-align: center;
  padding: 32px 20px;
  font-size: 16px;
  background: var(--color-white);
  border-top: 1px solid var(--color-line);
}


/* ---------- 11. FADE-IN ANIMATION ----------
   main.js adds the "visible" class when a section scrolls into view.
   Sections start slightly faded and lowered, then ease in. */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* Respect people who turn off animations in their device settings */
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ---------- 12. MOBILE ADJUSTMENTS (screens 700px and under) ---------- */
@media (max-width: 700px) {
  body {
    font-size: 18px;
  }

  .site-header {
    padding: 16px 16px;
  }

  .logo {
    height: 56px;
  }

  /* Hide the Services/Contact links on mobile, keep only the call button */
  .site-nav a:not(.nav-call) {
    display: none;
  }

  .section {
    padding: 56px 16px;
  }

  .divider {
    margin-bottom: 56px;
  }

  /* Services stack: name on top, then price and button side by side */
  .service-row {
    grid-template-columns: 1fr auto;
    gap: 12px 16px;
    padding: 28px 0;
  }

  .service-name {
    grid-column: 1 / -1; /* name spans the full width */
  }

  /* Contact columns stack into one */
  .contact-grid {
    grid-template-columns: 1fr;
  }
}


/* ---------- 13. ABOUT PAGE (about.html only) ----------
   Gray page with white "cards" stacked down the middle,
   matching the Wix About page. */

/* Gray background for the whole about page.
   Only applies because about.html has <body class="about-page"> */
.about-page {
  background: var(--color-gray-bg);
}

.about-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  display: flex;
  flex-direction: column;
  gap: 40px; /* space between cards */
}

/* White box. Used for every section on the about page. */
.card {
  background: var(--color-white);
  padding: 72px 12%;
}

/* Card headings use the serif font, like "My Story" on Wix */
.card-title {
  font-family: var(--font-service);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
  color: #111111;
  text-align: left;
  margin-bottom: 32px;
  line-height: 1.2;
}

/* Paragraphs inside cards: a bit more space between them */
.card p + p {
  margin-top: 24px;
}

/* -- Hello card: photo | text -- */
.hello-card {
  display: grid;
  grid-template-columns: 1fr 1.4fr; /* photo column is a bit narrower */
  padding: 0;                        /* photo runs edge to edge */
  align-items: center;
}

.about-photo {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;        /* fills the space without stretching */
  object-position: top;     /* keeps her face in frame if cropped */
}

.hello-text {
  padding: 64px 12%;
}

/* If images/kait.jpg is missing, main.js adds "no-photo"
   and the text takes the full width */
.hello-card.no-photo {
  grid-template-columns: 1fr;
}

.hello-title {
  font-size: clamp(44px, 6vw, 80px);
}

/* Social links sit left-aligned on this page (centered on home page) */
.social-left {
  justify-content: flex-start;
  margin-top: 32px;
}

/* -- Experience labels like "Chakra Healing:" -- */
.exp-label {
  font-weight: 500;
  color: var(--color-text);
}

/* -- Contact card: text left, email/phone right -- */
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
}

.contact-card-details p + p {
  margin-top: 8px;
}

/* -- About page on phones -- */
@media (max-width: 700px) {
  .about-main {
    padding: 16px 0 40px;
    gap: 16px;
  }

  .card {
    padding: 48px 16px;
  }

  /* Photo on top, text below */
  .hello-card {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .about-photo {
    min-height: 0;
    height: 380px;
  }

  .hello-text {
    padding: 40px 16px;
  }

  .contact-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
