 /* Global */
 html {
  scroll-behavior: smooth;
}


/* Fonts */
body {
    font-family: 'Work Sans', sans-serif;
    color: #333;
    background-color: #fff;
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
    padding: 0;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    color: #222;
    margin-bottom: 0.5em;
    line-height: 1.3;
    font-weight: 600;
} 


/* Global Links */
a {
    color: #7a4e48; /* Soft muted plum */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #5e3b37; /* Slightly deeper on hover */
    text-decoration: underline;
}


/* Header */
#branding img {
  max-height: 60px; /* adjust this value as needed */
  height: auto;
  width: auto;
}

header {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
}


/* Header container layout */
header .container {
  display: flex;
  align-items: center; /* ✅ vertically align logo + hamburger */
  justify-content: space-between;
  padding: 20px 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

/* Optional tweak: vertically center hamburger lines with more precision */
.hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #545454;
  margin-left: auto;
  line-height: 1;
  padding: 0;

}

/* Back to Top Button*/
#backToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #d87a5f;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  padding: 0.5em 0.6em;
  cursor: pointer;
  z-index: 1000;
  display: none; /* Hidden by default */
}

/* Footer */
footer {
  background-color: #f8f8f8; /* soft light gray background */
  padding: 40px 20px;
  text-align: center;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.95rem;
  color: #444;
  border-top: 1px solid #e4e4e4;
}

footer a {
  color: #545454;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #222;
  text-decoration: underline;
}

#socialbuttons {
  margin-top: 16px;
}

#socialbuttons a {
  display: inline-block;
  margin: 0 10px;
  transition: transform 0.3s ease;
}

#socialbuttons a:hover {
  transform: scale(1.1);
}

#socialbuttons img {
  width: 28px;
  height: 28px;
  display: block;
  filter: grayscale(100%) brightness(90%);
  transition: filter 0.3s ease;
}

#socialbuttons a:hover img {
  filter: grayscale(0%) brightness(100%);
}



/* Navbar */
.navbar {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.navbar a,
.dropdown .dropbtn {
    font-size: 16px;
    color: #545454;
    text-decoration: none;
    padding: 10px 12px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 6px;
}

.navbar a:hover,
.dropdown:hover .dropbtn {
    background-color: #ddd;
    color: #545454;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #f9f9f9;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 999;
    flex-direction: column;
}

.dropdown-content a {
    color: black;
    text-decoration: none;
    padding: 12px 16px;
    display: block;
    transition: background-color 0.3s;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: flex;
    flex-direction: column;
}

/* Hamburger */
/* Default: show navbar, hide hamburger */
#navbar {
  display: flex;
}

.hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #545454;
}

/* Small screen behavior */
@media (max-width: 900px) {
  .hamburger {
    display: block;
  }

  @media (max-width: 900px) {
  .navbar a,
  .navbar .dropdown {
    display: block;
    width: 100%;
    padding: 0; /* reset container padding */
    margin: 0;
    box-sizing: border-box;
  }

  .navbar .dropbtn {
    width: 100%;
    text-align: left;
    padding: 12px 20px;
    border: none;
    background: none;
    display: block;
    box-sizing: border-box;
  }

  .dropdown-content {
    padding-left: 20px;
  }
}

.dropdown-content a {
  padding: 10px 20px;
}

  #navbar {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #fff;
    padding: 10px 0;
  }

  #navbar.active {
    display: flex;
  }

  nav {
    width: 100%;
  }

  .navbar a,
  .navbar .dropdown {
    display: block;
    text-align: left;
    padding: 10px 20px;
  }
}

#navbar {
  transition: all 0.3s ease;
}

@media (max-width: 900px) {
  #navbar {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #fff;
    padding: 10px 0;
    align-items: center; /* center the nav items */
  }

  #navbar.active {
    display: flex;
  }

  .navbar {
    flex-direction: column;
    width: 100%;
    align-items: center; /* center container */
  }

  .navbar a,
  .navbar .dropdown {
    display: block;
    width: 200px;
    text-align: center;
    padding: 12px 20px;
    box-sizing: border-box;
  }

  .navbar .dropbtn {
    text-align: center;
    width: 100%;
    background: none;
    border: none;
    padding: 12px 20px;
  }

  .dropdown-content {
    position: static;
    background-color: #f9f9f9;
    box-shadow: none;
    width: 100%;
    padding: 0;
  }

  .dropdown-content a {
    text-align: center;
    padding: 10px 0;
  }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}


/* === Page Heading === */
#page-heading {
    padding: 40px 20px 20px 20px;
    text-align: center;
    background-color: #fff; /* or keep transparent if preferred */
}

#page-heading h1 {
    font-size: 2.5rem;
    color: #333;
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
}


/* Responsive */
@media (max-width: 900px) {
    header .container {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 20px;
    }

    .navbar {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-top: 10px;
    }

    .navbar.open {
        display: flex;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
    }

    .hamburger {
        display: flex;
    }
}




/* === Button === */
.button {
  display: inline-block;
  padding: 0.6em 1.2em;
  font-size: 1rem;
  font-weight: 500;
  font-family: 'Work Sans', sans-serif;
  color: #545454;
  background-color: #ddd;
  border: none;
  border-radius: 20px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.button:hover {
  color: #fff;
  background-color: #545454;
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* === Funbutton === */
.funbutton a {
    display: inline-block;
    width: auto;
    background-color: #d87a5f;
    color: #fff;
      font-size: 1rem;
    font-weight: 500;
    font-family: 'Work Sans', sans-serif;
    text-decoration: none;
    padding: 0.6em 1.2em;
    border: none;
    border-radius: 20px;
     text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.funbutton a:hover {
    background-color: #b75f48;
      transform: translateY(-2px);
}

.funbutton:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.funbutton:first-of-type {
  margin-bottom: 16px;
}


/* Fade-in */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 404 */
.error-404 {
  padding: 80px 20px;
  text-align: center;
  background-color: #fcf9f6;
}

.error-404 h1 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 20px;
}

.error-404 p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

