/* Cassie's Jewelry - site styles */

:root {
  --teal: #2f9aa0;
  --pink: #e8639a;
  --cream: #fdf9f3;
  --wood: #f4ece0;
  --text: #4a3f3a;
  --border: #e8dcc8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  background: var(--cream);
  color: var(--text);
}

a {
  color: var(--teal);
}

/* Header */

.site-header {
  background: var(--wood);
}

.header-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  background: #ffffffee;
  border-bottom: 2px solid var(--border);
  padding: 0.9rem 1rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--teal);
  font-weight: bold;
  font-size: 1.05rem;
  padding: 0.25rem 0.5rem;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--pink);
  border-bottom-color: var(--pink);
}

/* Main content */

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

h1 {
  color: var(--teal);
  text-align: center;
  font-size: 2.2rem;
}

h2 {
  color: var(--pink);
}

.subtitle {
  text-align: center;
  color: var(--text);
  font-size: 1.15rem;
  margin-top: -0.5rem;
}

.tagline {
  text-align: center;
  color: var(--pink);
  font-style: italic;
  font-size: 1.05rem;
  margin-top: 0.25rem;
}

.intro-copy {
  max-width: 640px;
  margin: 1.5rem auto 2rem;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.6;
}

.tagline-small {
  color: var(--teal);
  font-style: italic;
  font-weight: bold;
  margin-top: 0.75rem;
}

.intro-teaser {
  text-align: center;
  font-size: 1.05rem;
  margin: 1.5rem 0 2rem;
}

.intro-teaser a {
  color: var(--pink);
  font-weight: bold;
  text-decoration: none;
}

.descriptor-lists {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.descriptor-column {
  flex: 1 1 320px;
  max-width: 420px;
  background: #ffffff;
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
}

.descriptor-column h2 {
  margin-top: 0;
  font-size: 1.3rem;
  text-align: center;
}

.descriptor-column ul {
  margin: 0;
  padding-left: 1.2rem;
}

.descriptor-column li {
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

/* Home hero */

.hero-images {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.hero-images img {
  max-width: 48%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
}

.category-links a {
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  padding: 0.9rem 1.6rem;
  border-radius: 30px;
  font-size: 1.1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.category-links a:hover {
  background: var(--pink);
}

.matching-sets {
  background: #ffffff;
  border: 2px dashed var(--pink);
  border-radius: 14px;
  padding: 1.5rem 2rem;
  text-align: center;
  margin: 2.5rem 0;
}

.matching-sets h2 {
  margin-top: 0;
}

/* Gallery flip viewer */

.gallery-viewer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0 1rem;
}

.gallery-viewer .arrow {
  background: var(--teal);
  color: #fff;
  border: none;
  font-size: 1.8rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.gallery-viewer .arrow:hover {
  background: var(--pink);
}

.gallery-frame {
  width: min(480px, 78vw);
  height: min(480px, 78vw);
  background: #fff;
  border: 3px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.gallery-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.gallery-counter {
  text-align: center;
  color: var(--text);
  font-size: 1rem;
}

.gallery-note {
  text-align: center;
  font-style: italic;
  color: #776b62;
  margin-top: 2rem;
}

/* Contact form */

.contact-form {
  max-width: 480px;
  margin: 1.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.6rem;
  font-size: 1rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
}

.contact-form button {
  background: var(--pink);
  color: #fff;
  border: none;
  padding: 0.8rem;
  font-size: 1.1rem;
  border-radius: 8px;
  cursor: pointer;
}

.contact-form button:hover {
  background: var(--teal);
}

.form-message {
  text-align: center;
  padding: 0.8rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.form-message.success {
  background: #e3f5e9;
  color: #226b3d;
}

.form-message.error {
  background: #fbe3e3;
  color: #a12b2b;
}

/* Footer */

.site-footer {
  text-align: center;
  padding: 1.5rem 1rem;
  color: #776b62;
  font-size: 0.9rem;
  border-top: 2px solid var(--border);
}
