:root {
  --dusty-teal: #5c8a8a;
  --vintage-aqua: #88b3b5;
  --muted-turquoise: #6daaaa;
  --aged-paper: #f5f5f5;
  --sepia-brown: #4d4d4d;
  --vintage-text: #2d2d2d;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: url('wood-frame.jpg') no-repeat fixed;
  background-size: cover;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--vintage-text);
}

/* Main content frame */
.main-content {
  flex: 1;
  overflow-y: auto;
  margin: 230px 70px 70px 230px;
  background: rgba(245, 245, 245, 0.8);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 0 30px rgba(0,0,0,0.3);
  border: 2px solid var(--dusty-teal);
}

/* Fixed header */
.site-title {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  padding: 0;
  border-bottom: 3px solid var(--dusty-teal);
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.header-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 0.75rem;
  background: url('sectionbg.jpg') rgba(237, 222, 217, 0.9);
  background-size: cover;
}

.site-title h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: var(--dusty-teal);
  text-shadow: 2px 2px var(--aged-paper);
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.store-info {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px dashed var(--vintage-aqua);
  text-align: center;
}

.store-info p {
  font-family: 'Cinzel', serif;
  color: var(--sepia-brown);
  font-size: 0.9rem;
  margin: 0.3rem 0;
}

/* Internal navigation */
.internal-nav {
  margin-top: 1rem;
}

.internal-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

.internal-nav a {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  color: var(--dusty-teal);
  text-decoration: none;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--vintage-aqua);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.internal-nav a:hover {
  background: var(--dusty-teal);
  color: white;
  border-color: var(--dusty-teal);
}

/* Bottom navigation */
.main-navigation {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.97);
  border-top: 3px solid var(--dusty-teal);
  padding: 1rem 0;
  z-index: 1000;
}

.main-navigation ul {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
}

.main-navigation a {
  font-family: 'Cinzel', serif;
  color: var(--dusty-teal);
  text-decoration: none;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border: 1px solid var(--dusty-teal);
  transition: all 0.3s ease;
}

.main-navigation a:hover {
  background: var(--dusty-teal);
  color: white;
}

/* Content styling */
h2 {
  font-family: 'Playfair Display', serif;
  color: var(--dusty-teal);
  font-size: 1.8rem;
  margin: 1.5rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px dashed var(--vintage-aqua);
}

p {
  line-height: 1.6;
  margin: 1rem 0;
}

b {
  color: var(--muted-turquoise);
}

i {
  color: var(--sepia-brown);
}


hr {
  border: 1px solid var(--vintage-aqua);
  margin: 2rem 0;
}

/* Section styling */
.welcome, .CustomerAppreciation, .PayItForward, 
.Sale, .quote, .owner, .FAQ, .Giveaway, .ThriftAvenue {
  margin: 2rem 0;
  padding: 1.5rem;
  background-image: "sectionbg.jpg";
  background: rgba(237, 222, 217, 0.9);
  border: 1px solid var(--vintage-aqua);
  border-radius: 5px;
}

.quote {
  background: rgba(136, 179, 181, 0.1);
  border-left: 4px solid var(--dusty-teal);
  font-style: italic;
}

/* FAQ styling */
.FAQ .question {
  color: var(--dusty-teal);
  font-weight: bold;
  margin-top: 1.5rem;
}

.FAQ .answer {
  margin-left: 1.5rem;
  position: relative;
  padding-left: 1rem;
}

.FAQ .answer::before {
  content: "▸";
  color: var(--vintage-aqua);
  position: absolute;
  left: -1rem;
}

/* Responsive design */
@media (max-width: 768px) {
  .main-content {
    margin: 140px 20px 70px;
    padding: 20px;
  }
  
  .site-title h1 {
    font-size: 2rem;
  }
  
  .main-navigation ul {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .main-content {
    margin: 120px 10px 60px;
  }
  
  .site-title h1 {
    font-size: 1.8rem;
  }
  
  .main-navigation a {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }
  
  .internal-nav ul {
    gap: 0.8rem;
  }
  
  .internal-nav a {
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
  }
}

img {
  max-width: 100%; /* Ensures the image doesn't exceed its container's width */
  height: auto;    /* Maintains the aspect ratio */
  display: block;  /* Removes extra space below the image (optional) */
}