:root {
  --color-teal: #316b6b;
  --color-gold: #c4a253;
  --color-cream: #f5eed4;
  --color-charcoal: #1d2323;
}

/* ====================
   GLOBAL STYLES
==================== */
body {
  margin: 0;
  padding: 0;
  background-color: var(--color-cream);
  color: var(--color-charcoal);
  font-family: 'Raleway', sans-serif;
  line-height: 1.6;
}

/* ====================
   TYPOGRAPHY
==================== */
h1, h2, h3 {
  font-family: 'Cormorant Infant', serif;
  color: var(--color-charcoal);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 1.75rem;
  margin-top: 2rem;
}

/* Accent script text */
.accent {
  font-family: 'Caramel', cursive;
  font-weight: normal; 
  font-size: 2.6rem;
  color: var(--color-teal);
}
.accent-contact {
  font-family: 'Caramel', cursive;
  font-size: 2.6rem;
  color: var(--color-teal);
  text-align: center;
}

/* ====================
   NAVIGATION HEADER
==================== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--color-teal);
  padding: 1rem 2rem;
  flex-wrap: wrap;
  
}
.logo {
  max-height: 200px;
  width: auto;
}

/* Nav Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
.nav-links li a {
  color: var(--color-cream);
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.nav-links li a:hover {
  color: var(--color-gold);
}

/* Hamburger Icon */
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-cream);
  cursor: pointer;
  margin-left: auto;
}

/* Responsive Nav */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
  }
  .nav-links.show {
    display: flex;
  }
  .nav-links li {
    text-align: center;
    padding: 0.5rem 0;
  }
}

/* ====================
   FORMS
==================== */
form {
  max-width: 600px;
  margin: 2rem auto;
  padding: 1.5rem;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

label {
  font-weight: bold;
  font-size: 1rem;
  color: var(--color-charcoal);
}

input,
textarea {
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: 'Raleway', sans-serif;
  background-color: #fdfdfd;
  width: 100%;
  box-sizing: border-box;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* ====================
   GALLERY & PHOTOS
==================== */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  justify-items: center;
  padding: 1rem;
  margin-top: 2rem;
}
.photo-grid img {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}
.photo-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.photo-hover-text {
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-charcoal);
  margin-top: 0.5rem;
}
/* Lightbox */
.lightbox {
  position: fixed;
  display: none;
  justify-content: center;
  align-items: center;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
}
.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

/* ====================
   FAMILY CARDS
==================== */
.family-card {
  display: block;
  padding: 1rem;
  margin: 1rem 0;
  background-color: var(--color-gold);
  text-decoration: none;
  color: inherit;
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: box-shadow 0.2s ease;
 
}

.family-card:hover {
  box-shadow: 0 6px 19px rgba(0, 0, 0, 0.2);
}

/* ====================
   MISC ELEMENTS
==================== */
.button {
  background-color: var(--color-gold);
  color: #fff;
  border: none;
  padding: 0.75em 1.5em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
.button:hover {
  background-color: #b28e44;
}

.color-swatch {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  margin-right: 0.5rem;
  border: 1px solid #ccc;
  vertical-align: middle;
}

img.wireframe {
  max-width: 100%;
  height: auto;
  margin-top: 1rem;
}

/* ====================
   FOOTER
==================== */
footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid #ccc;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-charcoal);
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.footer-social .social-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.footer-social .social-icon:hover {
  transform: scale(1.2);
}

