/* === Custom overrides for Sonia Tarot site === */

/* === Variables === */
:root {
  --color-gold: #b98c66;
  --color-gray-light: #888;
  --color-gray-dark: #333;
  --color-gray-darker: #41484c;
  --color-bg-light: #f8f8f8;
  --color-bg-soft: #fdf7f3;
}

/* === Global Headings === */

/* Main service title */
h3 {
  font-size: 1.5rem;
  /* Approx. 24px */
  /* kept lighter font-weight from default (300) */
}

/* Service subhead/description under title */
h4 {
  font-size: 1.125rem;
  /* Approx. 18px */
  color: var(--color-gray-light);
  font-style: italic;
  margin: 0.5em 0 1em;
}

/* Smaller headings */
h5 {
  font-size: 1rem;
  /* Approx. 16px */
}

h6 {
  font-size: 0.875rem;
  /* Approx. 14px */
}

/* === Layout Components === */

/* Logo */
#logo .logo-full {
  width: 100%;
  max-width: 240px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  /* optional soft corners */
}

/* Navigation */
#nav ul,
#nav ul li {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

#nav ul li a {
  display: block;
  padding: 0.5em 1.5em;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  outline: 0;
  border: 0;
  transition: color 0.3s ease, background 0.3s ease;
}

#nav ul li a span {
  position: relative;
  display: block;
  font-size: 0.8em;
}

#nav ul li a span:before {
  position: absolute;
  left: 0;
  color: var(--color-gray-darker);
  text-align: center;
  width: 1.25em;
  line-height: 1.75em;
}

/* Active nav link icon color override */
#nav ul li a.active span:before {
  color: var(--color-gold) !important;
}

/* Navigation link hover/focus effects */
#nav ul li a:hover,
#nav ul li a:focus {
  color: var(--color-gold);
  background: rgba(0, 0, 0, 0.15);
  box-shadow: inset 0 0 0.25em 0 rgba(0, 0, 0, 0.125);
  text-decoration: none;
}

#nav ul li a:hover span:before,
#nav ul li a:focus span:before {
  color: var(--color-gold);
}

/* === Content Blocks === */

/* Services item card */
.item {
  background: var(--color-bg-light);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.item:hover {
  transform: scale(1.02);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
}

.item .image img {
  transition: transform 0.4s ease;
}

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

.item header {
  padding: 1em;
  font-size: 0.95em;
  text-align: center;
}

/* === Tarot Card Flip Widget === */

/* Container */
.tarot-card {
  perspective: 1000px;
  max-width: 300px;
  width: 100%;
  aspect-ratio: 3 / 5;
  margin-bottom: 2em;
}

/* Inner flip */
.tarot-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s;
}

/* Flip on hover */
.tarot-card:hover .tarot-inner {
  transform: rotateX(180deg);
}

/* Front and back shared styles */
.tarot-front,
.tarot-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1em;
  box-sizing: border-box;
}

/* Front side image */
.tarot-front img {
  width: 100%;
  height: 78%;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

/* Front side title */
.tarot-front h3 {
  margin-top: 0.5em;
  font-size: 1.1em;
  color: #111;
}

/* Back side content */
.tarot-back {
  transform: rotateX(180deg);
  background: var(--color-bg-soft);
  color: var(--color-gray-dark);
  padding-top: 1.5em;
  padding-bottom: 1.5em;
}

/* Back side paragraph */
.tarot-back p {
  font-size: 0.95em;
  line-height: 1.5em;
  margin-bottom: 1.2em;
}

/* Back side links */
.tarot-back a {
  color: var(--color-gold);
  text-decoration: underline;
  margin: 0 0.5em;
}

/* Back side header */
.tarot-back .card-header {
  text-align: center;
  margin-bottom: 1em;
  color: var(--color-gold);
}

.tarot-back .card-header i {
  color: var(--color-gold);
  margin-bottom: 0.3em;
  display: block;
}

.tarot-back .card-header h3 {
  margin: 0;
  font-size: 1.3em;
  font-weight: 600;
  color: var(--color-gold);
}

/* === Responsive tweaks === */
@media (max-width: 768px),
(orientation: portrait) {
  .tarot-card {
    max-width: 90vw;
    aspect-ratio: 3 / 5;
  }
}

@media (orientation: landscape) {
  .tarot-card {
    max-width: 50vw;
    aspect-ratio: 3 / 5;
  }
}

/* === Utility styles === */

/* Force left alignment for text/lists in pages using style1 */
.main.style1,
.main.style1 ol,
.main.style1 ol li,
.main.style1 p,
.main.style1 ul,
.main.style1 ul li {
  text-align: left !important;
}

/* Glossary styles */
dl {
  margin: 1.5em 0;
  padding-left: 0;
  max-width: 700px;
}

dl dt {
  font-weight: bold;
  font-size: 1.15em;
  margin-top: 1.5em;
  color: var(--color-gold);
}

dl dd {
  margin-left: 1.5em;
  margin-bottom: 1em;
  font-size: 1em;
  line-height: 1.5;
  color: var(--color-gray-dark);
}

/* Contact methods */
.contact-method {
  font-size: 1.2em;
  display: flex;
  align-items: center;
  margin-bottom: 1em;
  gap: 0.6em;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-method i {
  color: var(--color-gold);
  min-width: 24px;
}

.contact-method a {
  color: inherit;
  text-decoration: none;
}

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

/* === Alignment and spacing fixes === */

/* Reduce large default bottom margins for text elements */
p,
ul,
ol,
dl,
table {
  margin-bottom: 1.2em;
}

/* Optional: soften list indentation slightly */
ul,
ol {
  padding-left: 1.25em;
}

/* Add horizontal padding inside containers for spacing */
.container {
  padding: 0 1.5em;
}

/* === FAQ Accordion Styles === */
.faq-item {
  border: 1px solid var(--color-gold);
  border-radius: 8px;
  background: #fffbea;
  /* Keep warm pale background */
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(185, 140, 102, 0.15);
  /* subtle shadow for depth */
}

/* Accordion toggle (question header) */
.accordion-toggle {
  display: block;
  width: 100%;
  padding: 1rem 1.5rem;
  background: #d1b28a;
  /* lighter gold tone */
  border: none;
  color: #4b3a1a;
  /* darker but softer text */
  font-weight: 600;
  font-size: 1.05rem;
  text-align: left;
  cursor: pointer;
  outline-offset: 3px;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
  border-radius: 8px 8px 0 0;
}

/* Hover and focus state */
.accordion-toggle:hover,
.accordion-toggle:focus {
  background-color: #b49768;
  /* softer hover */
  color: #3a2f12;
  outline: none;
}

/* Active (open) state */
.accordion-toggle.active {
  background-color: #a87f4f;
  /* deeper but softer gold */
  color: #fffbea;
}

/* Plus/minus icon on the right */
.accordion-toggle::after {
  content: '+';
  position: absolute;
  right: 1.25rem;
  font-weight: 600;
  font-size: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #4b3a1a;
  transition: color 0.3s ease;
}

.accordion-toggle.active::after {
  content: '−';
  color: #fffbea;
}

/* Accordion content panel (answer) */
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  background: #faf7e8;
  /* lighter panel background */
  padding: 0 1.5rem;
  font-size: 1rem;
  color: #5a4d1e;
  line-height: 1.5;
  transition: max-height 0.35s ease, padding 0.35s ease;
  border-radius: 0 0 8px 8px;
}

.accordion-panel.open {
  max-height: 1000px;
  padding: 1rem 1.5rem;
}

/* Plus/minus icon on the right */
.accordion-toggle::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  font-weight: bold;
  font-size: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
}

.accordion-toggle.active::after {
  content: '−';
}

/* Accordion content panel (answer) */
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  background: #f4f2f1;
  padding: 0 1.5rem;
  font-size:1.1rem;
  color: #5a4d1e;
  line-height: 1.4;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.accordion-panel.open {
  max-height: 1000px;
  padding: 1rem 1.5rem;
}

/* Glossary container */
.main.style1 dl {
  max-width: 900px;
  margin: 0;
  padding: 0.8rem;
  background: none;
  /* border: 2px solid var(--color-gold, #b98c66);*/
  border-radius: 4px;
}

/* Glossary terms (dt) */
.main.style1 dt {
  font-weight: 700;
  font-size: 1.50rem;
  color: var(--color-gold, #b98c66);
  border-bottom: 2px solid var(--color-gold, #b98c66);
  padding-bottom: 0.3rem;
  margin-bottom: 0.3rem;
}

/* Glossary descriptions (dd) */
.main.style1 dd {
  margin-left: 1.1rem;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  line-height: 1.4;
  color: #5a4d1e;
}

/* Nested dl inside dd for subterms */
.main.style1 dd dl {
  margin-top: 0.5rem;
  margin-left: 1rem;
}

/* Nested dt inside nested dl */
.main.style1 dd dl dt {
  font-size: 1.25rem;
  color: var(--color-gold, #b98c66);
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0.3rem;
}

/* Nested dd inside nested dl */
.main.style1 dd dl dd {
  margin-left: 1.5rem;
  font-size: 1.25rem;
  color: #5a4d1e;
  margin-bottom: 1rem;
}

/* Clean, minimal links with golden hover */
a {
  text-decoration: none;
  color: inherit;
  border-bottom: solid 1px transparent;
  -moz-transition: color 0.35s ease-in-out, border-bottom-color 0.35s ease-in-out;
  -webkit-transition: color 0.35s ease-in-out, border-bottom-color 0.35s ease-in-out;
  -ms-transition: color 0.35s ease-in-out, border-bottom-color 0.35s ease-in-out;
  transition: color 0.35s ease-in-out, border-bottom-color 0.35s ease-in-out;
  outline: 0;
}

a:hover {
  color: #b98c66;
  border-bottom-color: #b98c66;
}

sub {
  position: relative;
  top: 0.5em;
  font-size: 0.8em;
}

sup {
  position: relative;
  top: -0.5em;
  font-size: 0.8em;
}

/* Generic page specific styling */
.generic-page {
  background-image: none !important;
  background-color: #ffffff !important;
  color: #000000;
}

.generic-page h2,
.generic-page p {
  color: #000000;
}

.generic-page .container {
  max-width: 800px;
  text-align: left;
}

.generic-page .container p {
  margin-bottom: 1.5em;
}

.generic-page .container header {
  margin-bottom: 2em;
}

.generic-page .container header h2 {
  text-align: left;
}

/* Add a banner image at the top of the generic section */
.generic-page::before {
  content: '';
  display: block;
  width: 100%;
  height: 300px;
  background-image: url(images/soniacards.jpeg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 2rem;
}

/* Gold-style headings */
.gold-heading {
  color: var(--color-gold);
  /* Warm gold */
  font-weight: 600;
  margin-bottom: 0.5em;
}


/* Price emphasis */
.price {
  font-size: 1.1em;
  margin-top: 0.5em;
  color: #ccc;
}

/* Optional: spacing between paragraphs */
.experience-block p {
  margin-bottom: 1em;
}

/* === Experience Block Styling === */
.experience-block {
  background: #f4f2f1;
  /* soft beige background */
  padding: 1.5rem;
  border-left: 4px solid var(--color-gold);
  margin-bottom: 2rem;
  border-radius: 6px;
}

/* Headings with optional icon support */
.experience-block h3 {
  color: var(--color-gold);
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Paragraph text for better readability */
.experience-block p {
  line-height: 1.7;
  margin-bottom: 1.2rem;
  color: var(--color-gray-dark);
  font-size: 1.25rem;
}

/* Highlighted price text */
.experience-block .price {
  font-size: 1.25rem;
  color: var(--color-gold);
  font-weight: bold;
  margin-top: 1rem;
}

/* Tarot Card Styling */

.tarot-style-card {
  background: #fdf7f3;
  border: 4px double var(--color-gold);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  font-family: Helvetica, sans-serif;
  position: relative;
  color: var(--color-gray-dark);
  margin: 2rem auto;
  max-width: 700px;
}

.tarot-style-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/rune-pattern.svg');
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.05;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
}

.tarot-style-card>* {
  position: relative;
  z-index: 1;
}

.tarot-style-card h3 {
  color: var(--color-gold);
  font-size: 1.75rem;
  margin-bottom: 1rem;
  text-align: center;
  text-transform: uppercase;
  border-bottom: 2px solid var(--color-gold);
  padding-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.tarot-style-card h4 {
  font-size: 1.15rem;
  margin-top: 1rem;
  text-align: center;
  color: var(--color-gray-light);
}

.tarot-style-card p {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  color: var(--color-gray-dark);
}

.tarot-style-card blockquote {
  font-style: italic;
  background: #fdf7f3;
  border-left: 4px solid var(--color-gold);
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--color-gray-dark);
}


/* Set list bullets and numbers to appear inside site-wide */
ul,
ol {
  list-style-position: inside;
}
/*tarot card hero journey*/
.tarot-front {
  background: #fdf7f3;
  border: 4px double var(--color-gold);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1em;
}

.card-header i {
  font-size: 2rem;
  color: var(--color-gold);
}

.card-title {
  font-family: 'Garamond', serif;
  font-size: 1.50rem;
  color: var(--color-gold);
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.card-description {
  font-size: 1.25rem;
  font-style: italic;
  colour: #333;
}

.card-details {
  font-size: 1.05rem;
  colour: var(--color-gray-dark);
}
/* Prevent flipping */
.tarot-card.no-flip .tarot-inner {
  transform: none !important;
  transition: none !important;
}

.tarot-card.no-flip:hover .tarot-inner {
  transform: none !important;
}
.tarot-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarot-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.tarot-card:hover .card-title {
  color: var(--color-gold);
  letter-spacing: 0.5px;
}

.tarot-card:hover .card-description {
  color: #5a4d1e;
  font-weight: 500;
}

.book-button {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: var(--color-gold);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, transform 0.15s ease;
  display: inline-block;
  font-size: 0.9rem;
}

.book-button:hover {
  background: #a06f50;
  transform: translateY(-2px);
  text-decoration: none;
}

/* Contact methods container *//* Container for all contact method cards */
.contact-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
  margin-top: 1.5em;
}

/* Individual contact method cards */
.contact-method {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border: 2px solid transparent;
  border-radius: 50px;
  padding: 0.8em 1.2em;

  flex: 1 1 calc(33.333% - 1em);
  min-width: 250px;
  max-width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1em;
  text-align: center;
  box-sizing: border-box;
}

/* Hover effect */
.contact-method:hover {
  border-color: rgba(185, 140, 102, 0.4);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Icon styling */
.contact-method i {
  color: var(--color-gold);
  font-size: 1.2em;
  min-width: 24px;
  flex-shrink: 0;
}

/* Link styling */
.contact-method a {
  color: inherit;
  text-decoration: none;
  font-weight: normal;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 0.6em;
}

/* Optional: hide extra contact notes */
.contact-note {
  display: none;
}

