/* HTML BODY STYLES */
html, body {
  font-family: 'Geologica', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-body-bg);
  color: var(--color-primary);
  overflow-x: hidden;
}

/* Sections */
section, .hero, .photo-grid, footer {
  width: 100%;
  min-height: 100vh;
  padding: 10vh 8vw;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow-x: hidden;
}

/* Custom Cursor */
#custom-cursor {
  position: fixed;
  width: 16px;
  height: 16px;
  background: var(--color-accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, background 0.3s ease, width 0.3s ease, height 0.3s ease;
  cursor: none;
}

#custom-cursor.hover {
  width: 24px;
  height: 24px;
  background: var(--color-accent);
  opacity: 0.5;
}

@media (pointer: coarse), (hover: none) {
  #custom-cursor {
    display: none !important;
  }
  body {
    cursor: auto !important;
  }
}

/* Headings & Body */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-primary);
}

h1 {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.3;
}

h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 2rem;
}

h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 1rem;
}

/* position ConvAI above the theme toggle (adjust bottom as needed) */
elevenlabs-convai {
  position: fixed;
  right: 16px;
  bottom: calc(56px + 16px); /* 56px = toggle size; tweak if different */
  z-index: 2147483647;
}

@media (max-width: 768px) {
  elevenlabs-convai { right: 12px; bottom: calc(56px + 12px); }
}