@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Special+Elite&display=swap');

:root {
  /* Color Palette */
  --primary-orange: #f4a261;
  --orange-hover: #e76f51;
  --background-light: #fff8f0;
  --text-dark: #222;
  --gray-soft: #f8f8f8;
  --gray-border: #e0e0e0;
  --cool-contrast: #264653;

    /* Spacing */
  --logo-height: 4em;
  --nav-width: 14em;
}

body {
  font-family: 'Helvetica Neue', sans-serif;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-areas:
      "header header"
      "main nav"
      "footer footer";
  grid-template-columns: 1fr var(--nav-width);
  grid-template-rows: auto 1fr;
  height: 100vh;
  background-color: var(--background-light);
  color: var(--text-dark);
}

/* Resolves Nav menu issues in Mobile view */
@media (max-width: 768px) {
  body {
    grid-template-areas:
      "header"
      "main"
      "footer";
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    height: 100vh;
  }
}

/* ========================= */
/* HEADER: Desktop Styles    */
/* ========================= */

header {
  grid-area: header;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: white;
  border-bottom: 2px solid var(--primary-orange);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

header .title {
  font-family: 'Special Elite', cursive;
  font-size: 2.4rem;
  font-weight: 600;
  text-align: center;
  flex: 1;
  color: var(--cool-contrast);
  grid-column: 2; 
}

header .logo {
  height: var(--logo-height);
  width: auto;
  grid-column: 3;
  justify-self: end;
}

/* Hamburger button */
.menu-toggle {
  display: none;
}

/* ========================= */
/* HEADER: Mobile Styles     */
/* ========================= */
@media (max-width: 768px) {
  header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    position: relative;
  }

  header .title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
    margin-left: 0;
  }

  header .logo {
    height: 3rem;
    width: auto;
  }

  /* Hamburger button */
  .menu-toggle {
    display: block;
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
  }
}

/* ========================= */
/* NAV MENU: Desktop Styles  */
/* ========================= */

nav {
  grid-area: nav;
  padding: 2rem 1rem;
  background-color: var(--gray-soft);
  border-left: 1px solid var(--gray-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

nav a {
  display: block;
  text-decoration: none;
  color: var(--cool-contrast);
  font-weight: 500;
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

nav a:hover {
  background-color: var(--primary-orange);
  color: white;
}

/* ========================= */
/* NAV MENU: Mobile Styles   */
/* ========================= */

@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background-color: #fff;
    padding: 1.5rem;
    position: fixed;
    top: 6.8rem;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border-top: 1px solid #ddd;
  }

  nav.open {
    display: flex;
  }

  nav a {
    font-size: 1.2rem;
    text-decoration: none;
  }

  .menu-toggle {
    z-index: 1000;
  }
}

/* ============================= */
/* MAIN CONTENT: Desktop Styles  */
/* ============================= */

main {
  margin-left: var(--nav-width);
  grid-area: main;
  overflow: visible;
}

main.main-content, main.main-content-subpage {
  padding: 2rem;
  overflow-y: auto;
}

.info {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: #444;
}

/* ============================= */
/* MAIN CONTENT: Mobile Styles   */
/* ============================= */

@media (max-width: 768px) {
  main {
    margin: 0;
  }

  main.main-content, main.main-content-subpage {
    padding: 1rem;
  }

  .info {
    font-size: 1.25rem;
    text-align: left;
  }

  h1, h2, h3 {
    font-size: 1.75rem;
    text-align: center;
  }
}

/* ================================ */
/* GALLERY SECTION: Desktop Styles  */
/* ================================ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(11em, 1fr));
  gap: 15px;
  justify-content: center; 
  padding: 2rem 1rem 1.5rem 1rem;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  max-width: 75em;
  margin: 0 auto;
  background-color: var(--primary-orange);
}

.gallery-grid .img-wrapper {
  aspect-ratio: 3 / 4;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  overflow: hidden;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

.gallery-filters {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.gallery-filters select {
  padding: 0.5rem;
  font-size: 1rem;
}

/* ================================ */
/* GALLERY SECTION: Mobile Styles   */
/* ================================ */

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 12px;
    padding: 1.5rem 1rem;
  }

  .gallery-grid .img-wrapper {
    aspect-ratio: 3 / 4;
  }

  .gallery-filters {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 0 1rem;
  }

  .gallery-filters select {
    width: 100%;
    max-width: 320px;
    font-size: 1rem;
  }
}

/* ================================ */
/* CONTACT FORM: Desktop Styles     */
/* ================================ */

.contact-form {
  background-color: white;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  max-width: 700px;
  margin: 3rem auto 0 auto;
  border: 1px solid var(--gray-border);
}

.contact-form h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--cool-contrast);
}

.form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-group label {
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  border: none;
  border-bottom: 1px solid #ccc;
  background: transparent;
  padding: 0.4rem;
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-orange);
}

.required {
  color: #d9534f;
  font-size: 0.85rem;
  margin-left: 4px;
}

.contact-form button {
  background-color: var(--orange-hover);
  color: white;
  padding: 0.8rem 1.2rem;
  border: none;
  font-size: 1rem;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background-color: #d1543e;
}

/* ================================ */
/* CONTACT FORM: Mobile Styles     */
/* ================================ */

@media (max-width: 768px) {
  .contact-form {
    padding: 1.5rem 1rem;
    margin: 2rem 1rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  }

  .contact-form h2 {
    font-size: 1.2rem;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .form-group {
    margin-bottom: 1rem;
  }

  .form-group label {
    font-size: 0.95rem;
  }

  .form-group input,
  .form-group textarea {
    font-size: 0.95rem;
    padding: 0.5rem;
  }

  .contact-form button {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    margin: 1.2rem 0 0 0;
  }
}

/* ================================ */
/* FOOTER SECTION: Both Styles      */
/* ================================ */

footer {
  grid-area: footer;
  grid-column: 1 / span 2;
  background-color: var(--gray-soft);
  border-top: 1px solid var(--gray-border);
  padding: 1rem 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--cool-contrast);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.footer-content .contact a {
  color: var(--primary-orange);
  text-decoration: none;
}

.footer-content .social {
  display: flex;
  gap: 1rem;
}

.footer-content .social a {
  color: var(--cool-contrast);
  text-decoration: none;
  font-weight: 500;
}

.footer-content .social a:hover {
  color: var(--orange-hover);
}

/* ================================ */
/* LIGHTBOX SECTION: Both Styles    */
/* ================================ */

.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
}

.lightbox img {
  max-width: 67.5%;
  max-height: 67.5%;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: white;
  font-size: 2.5rem;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s;
  z-index: 20;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(0, 0, 0, 0.6);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* ================================ */
/* SUBPAGES: Desktop Styles         */
/* ================================ */

.main-content-subpage h1 {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.main-content-subpage h1 {
  position: relative;
  font-family: 'Georgia', serif;
}

.main-content-subpage h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #333;
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

/* ================================ */
/* FAQ SECTION: Desktop Styles      */
/* ================================ */

.faq-section {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.faq-item {
  border-bottom: 1px solid #ccc;
  margin-bottom: 1rem;
}

.faq-question {
  background: none;
  border: none;
  color: #333;
  font-weight: bold;
  font-size: 1.1rem;
  text-align: left;
  width: 100%;
  padding: 1rem 0;
  cursor: pointer;
  outline: none;
  transition: color 0.3s ease;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  color: #d95d39;
}

.faq-question .chevron {
  display: inline-block;
  margin-left: 10px;
  width: 12px;
  height: 12px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question .chevron {
  transform: rotate(-135deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 0;
}

.faq-answer p {
  margin: 0;
  padding-bottom: 1rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-top: 0.5rem;
}

/* ================================ */
/* FAQ SECTION: Mobile Styles       */
/* ================================ */

@media (max-width: 768px) {
  .faq-section {
    padding: 0 1rem;
    margin: 1.5rem auto;
  }

  .faq-question {
    font-size: 1rem;
    padding: 0.8rem 0;
  }

  .faq-question .chevron {
    width: 10px;
    height: 10px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
  }

  .faq-answer p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .faq-item.active .faq-answer {
    padding-top: 0.3rem;
  }
}