* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}
/* Ensure full height layout for sticky footer */
html, body {
  height: 100%;
}

/* Main page setup */
body {
  font-family: "Georgia", serif;
  background: #f8f5ef;
}
.review-logo {
    display: block;      /* allows margin auto to center */
    margin: 20px auto;   /* centers image + adds space */
    width: 200px;        /* controls size */
    height: auto;        /* keeps the aspect ratio */
}

/* Nav bar setup - full width and sticks to the top */
.navbar {
  display: flex;
  justify-content: space-between; /* space between title and links */
  align-items: center;
  background-color: #5c614c;
  color: #fff;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  flex-wrap: wrap;
}


/* Style for nav links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}


/* How the nav links look normally */
.nav-links a {
  color: #eaeaea;
  text-decoration: none;
  font-family: "Georgia", serif;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #d6d6FF;
}


/* Website title in the middle of the nav */
.website-title {
  font-family: "Brush Script MT", cursive;
  font-size: 2rem;
  text-align: center;
  position: relative;
}


/* Main content section - centers stuff on the page */
.container {
  display: flex;
  gap: 40px;
  max-width: 1100px; /* keeps it from getting too wide */
  margin: 30px auto 1.5rem; /* adds space above and near footer */
  padding: 0 16px; /* small side padding */
  align-items: flex-start;
}

/* Footer setup - full width and even padding */
/* Footer setup - naturally sits at bottom */
footer {
  background-color: #5c614c;
  color: #fff;
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.9rem;
  width: 100%;
  margin-top: auto;
}

footer a {
  color: #d6d6FF;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
/* Base styles */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #fff;
}

/* Default nav behavior */
.nav-links {
  display: flex;
  gap: 1rem;
}
/* ---------------------------------------------------- */
/* TEXTAREA / COMMENTS                                  */
/* ---------------------------------------------------- */
textarea {
  width: 100%;
  height: 30vh;
  padding: 10px;
  font-family: Arial, sans-serif;
  resize: vertical;
}

.comment-box {
  margin-top: 3vh;
  width: 60vw;
  margin-left: auto;
  margin-right: auto;
}

/* ---------------------------------------------------- */
/* SUBMIT BUTTON                                        */
/* ---------------------------------------------------- */
.submit-btn {
  margin-top: 4vh;
  width: 40%;
  height: 40px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* ---------------------------------------------------- */
/* REVIEW SCROLL AREA                                   */
/* ---------------------------------------------------- */
.scroll-container {
  font-size: 20px;
  width: 70vw;
  height: 50vh;
  border: 1px solid black;
  overflow: auto;
  padding: 10px;
  margin: 5vh auto;
}

.review-block {
  margin-bottom: 45px;
  padding-bottom: 15px;
  border-bottom: 1px solid #ccc;
}

.review-block h2 {
  margin-bottom: 5px;
}

.review-block p {
  margin-left: 5vw;
  color: #333333;
}
/* ---------------------------------------------------- */
/* FORM STYLING                                         */
/* ---------------------------------------------------- */
.form-container {
  width: 80%;
  margin: 5vh auto;
}

.row {
  display: flex;
  gap: 5%;
}

.col {
  flex: 1;
}

form label {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 5px;
  text-align: left;
}

input[type="text"] {
  width: 100%;
  height: 40px;
  font-size: 1rem;
  padding-left: 8px;
}
/* ============ RESPONSIVE ============ */

/* Tablets & below (menu becomes hamburger) */
@media (max-width: 1024px) {
  .menu-toggle {
    display: block;
  }

  .navbar {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .nav-links {
    display: none;               /* Hidden until toggled */
    flex-direction: column;
    width: 100%;
    background-color: #4c5041;
    padding: 0;
    margin-top: 0.5rem;
    border-radius: 5px;
    overflow: hidden;
  }

  .nav-links.active {
    display: flex;               /* Shown when toggled */
    padding: 0.8rem 1rem;
    gap: 0.5rem;
  }

  .nav-links li {
    text-align: center;
    width: 100%;
  }

  .website-title {
    font-size: 1.8rem;
    text-align: center;
    width: 100%;
    margin: 0.5rem 0;
  }
}

/* Phones */
@media (max-width: 780px) {
  .container {
    flex-direction: column;
    align-items: center;
  }

  .menu-toggle {
    align-self: flex-end;
  }

  .website-title {
    font-size: 1.6rem;
  }

  #largeDisplay,
  .rightMenu {
    width: 100%;
    max-width: 400px;
  }

  .nav-links.active {
    align-items: center;
  }
}

/* Smaller Phones */
@media (max-width: 768px) {
  .navbar {
    position: relative;
    width: 100%;
    padding-right: 2.5rem;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #fff;
    z-index: 999;
  }

  .website-title {
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #4c5041;
    margin-top: 3.5rem;
    padding: 1rem 0;
    border-radius: 5px;;
  }

  .nav-links.active{
    align-items: center;
  }
}