/* Elise Winters - Art Jewelry Site */
/* Custom styles built on Primer CSS */

:root {
  --color-primary: #5C7080;
  --color-secondary: #B8C7D1;
  --color-bg: #F5F7FA;
  --color-content-bg: #FFFFFF;
  --color-text: #4A5568;
  --color-text-light: #718096;
  --color-accent: #8B9CAA;
  --color-border: #E2E8F0;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: 0;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 1.875rem;
  margin-bottom: 1.25rem;
  margin-top: 2.5rem;
}

h3 {
  font-size: 1.375rem;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

p {
  margin-bottom: 1.25rem;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

a:hover {
  border-bottom-color: var(--color-primary);
}

/* Header */
.site-header {
  background: var(--color-content-bg);
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.site-logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
  display: block;
}

.site-logo:hover {
  border-bottom-color: transparent;
}

.site-tagline {
  font-size: 0.875rem;
  color: var(--color-text-light);
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

/* Navigation */
.site-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
}

.site-nav a {
  font-size: 0.875rem;
  color: var(--color-text);
  letter-spacing: 0.05em;
  padding: 0.5rem 0;
}

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

/* Main Content */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.content-wrapper {
  background: var(--color-content-bg);
  border-radius: 4px;
  padding: 3rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Hero Image */
.hero-image {
  margin: -3rem -3rem 3rem -3rem;
  border-radius: 4px 4px 0 0;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Content Images */
.content-image {
  margin: 2rem 0;
  border-radius: 4px;
  overflow: hidden;
}

.content-image img {
  width: 100%;
  height: auto;
  display: block;
}

.content-image.float-right {
  float: right;
  max-width: 400px;
  margin: 0 0 1.5rem 2rem;
}

/* Lists */
ul, ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Blockquotes */
blockquote {
  border-left: 3px solid var(--color-secondary);
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  font-style: italic;
  color: var(--color-text-light);
  background: var(--color-bg);
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

th, td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

th {
  font-weight: 600;
  color: var(--color-primary);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.gallery-item {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Two Column Layout */
.two-column {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 1.5rem 0;
}

@media (max-width: 768px) {
  .two-column {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.site-footer {
  background: var(--color-bg);
  padding: 2rem;
  text-align: center;
  border-top: 1px solid var(--color-border);
  margin-top: 3rem;
}

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

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-bottom: 1rem;
}

.footer-nav a {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.footer-nav a:hover {
  color: var(--color-primary);
}

.copyright {
  font-size: 0.8125rem;
  color: var(--color-text-light);
}

/* Responsive */
@media (max-width: 768px) {
  .site-logo {
    font-size: 1.5rem;
  }

  .main-content {
    padding: 1.5rem 1rem;
  }

  .content-wrapper {
    padding: 1.5rem;
  }

  .hero-image {
    margin: -1.5rem -1.5rem 1.5rem -1.5rem;
  }

  h1 {
    font-size: 1.875rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .content-image.float-right {
    float: none;
    max-width: 100%;
    margin: 1.5rem 0;
  }
}

/* Category Cards */
.category-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.category-card {
  background: var(--color-bg);
  border-radius: 4px;
  padding: 1.5rem;
  text-align: center;
  transition: box-shadow 0.2s ease;
}

.category-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.category-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.category-card p {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin: 0;
}

/* Contact Form Placeholder */
.contact-info {
  background: var(--color-bg);
  padding: 2rem;
  border-radius: 4px;
  margin: 2rem 0;
}

.contact-info h3 {
  margin-top: 0;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-light {
  color: var(--color-text-light);
}

.mb-0 {
  margin-bottom: 0;
}

.mt-0 {
  margin-top: 0;
}

.lead {
  font-size: 1.125rem;
  color: var(--color-text-light);
  margin-bottom: 2rem;
}
