/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #fff;
  color: #222;
  line-height: 1.6;
  padding-top: 80px;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 95%;
  margin: auto;
}

/* Header */
.site-header {
  background: #fff;
  padding: 15px 30px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: fixed;  
  top: 0;          
  left: 0;
  width: 100%;
  z-index: 9999;    
}

.site-header a{
  display: flex;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Centered Logo */
.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Pacifico', cursive;
  font-size: 28px;
}

.logo a {
  font-family: 'Pacifico', cursive;
  font-size: 2rem;
  color: #000;
}

/* Navigation */
.main-nav {
  display: block;
}

.main-nav ul {
  display: flex;
  gap: 25px;
}

.main-nav a {
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: #c29d59;
}

.hamburger-nav {
  display: none;
}

/* Header Icons */
.header-icons {
  display: flex;
  align-items: center; /* Important for vertical alignment */
  gap: 15px;
  font-size: 24px;
}

.header-icons .material-symbols-outlined {
  font-size: 28px;
  color: #000;
  transition: color 0.3s ease;
}

.header-icons a:hover .material-symbols-outlined {
  color: #c29d59;
}


/* ======================================= */
/* == NEW STYLES FOR DROPDOWN MENU == */
/* ======================================= */

/* This container is the position anchor for the dropdown menu */
.header-icons .user-dropdown {
  position: relative;
  display: inline-block;
}

/* This styles the <button> tag to look just like your other icons */
.header-icons .icon-button {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  color: inherit;
  display: flex;
  align-items: center;
}

.header-icons .icon-button:hover .material-symbols-outlined {
    color: #c29d59;
}

/* This is the actual dropdown box that appears */
.dropdown-menu {
  display: none; /* Hidden by default */
  position: absolute;
  top: 150%; /* Position it below the icon. Adjust as needed. */
  right: 0;
  background-color: white;
  min-width: 180px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.15);
  z-index: 1000;
  border-radius: 6px;
  border: 1px solid #eee;
  padding: 8px 0;
  text-align: left;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

/* These are the clickable links inside the dropdown */
.dropdown-menu a {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: #333;
  padding: 10px 20px;
  text-decoration: none;
  display: block;
  font-size: 15px;
  transition: background-color 0.2s ease;
}

.dropdown-menu a:hover {
  background-color: #f5f5f5;
  color: #000;
}

/* This is the separator line */
.dropdown-divider {
    height: 1px;
    margin: 8px 0;
    background-color: #e9ecef;
}

/* This class is added by JavaScript to show the menu */
.dropdown-menu.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-link {
  width: 100%;
  display: block;
  text-align: left;
  padding: 10px 16px;
  border: none;
  background: none;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

/* ======================================= */
/* == END OF NEW STYLES == */
/* ======================================= */


/* Hamburger Menu Styles */
#menuToggle {
  display: block;
  position: relative;
  z-index: 2;
  -webkit-user-select: none;
  user-select: none;
}

#menuToggle input {
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  cursor: pointer;
  opacity: 0;
  z-index: 3;
}

#menuToggle span {
  display: block;
  width: 25px;
  height: 4px;
  margin-bottom: 5px;
  background: #333;
  border-radius: 3px;
  position: relative;
  z-index: 2;
  transform-origin: 4px 0px;
  transition: transform 0.8s ease, background 0.5s ease, opacity 0.5s ease;
}

#menuToggle input:checked ~ span:nth-child(2) {
  transform: rotate(45deg) translate(2px, 2px);
}
#menuToggle input:checked ~ span:nth-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}
#menuToggle input:checked ~ span:nth-child(4) {
  transform: rotate(-45deg) translate(0, -1px);
}

#menu {
  position: absolute;
  top: 48px;
  left: -30px;
  width: 249px;
  height: 100vh;
  background: #f8f8f8;
  padding-top: 100px;
  transform: translateX(-100%);
  transition: transform 0.4s ease;
  list-style: none;
}

#menu li {
  padding: 15px 25px;
}

#menu li a {
  text-decoration: none;
  color: #333;
  font-size: 18px;
}

#menuToggle input:checked ~ ul {
  transform: translateX(0);
}

/* Footer */
.site-footer {
  background-color: #111;
  color: #fff;
  padding: 40px 0;
  margin-top: 50px;
  text-align: center;
}

.logo-footer a {
  font-family: 'Pacifico', cursive;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 20px;
  display: inline-block;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-links {
  width: 90%;
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 40px;
  margin: 20px 0;
  text-align: left;
}

.footer-links h4 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: #bbb;
  display: block;
  margin-bottom: 5px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  font-size: 0.8rem;
  color: #888;
  margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  
  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .hamburger-nav {
    display: block;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    text-align: center;
  }
}
.login-btn{
  background-color: #000;
  color: #e9ecef;
  border-radius: .2rem;
  padding: 4px;
  margin-bottom: 3px;
  cursor: pointer;
}
.login-btn:hover{
  background-color: #ffffff;
  color: #000;
  transition: 300ms;
}
