/* =======================
    ROOT & GLOBAL STYLES
========================== */
:root {
  --bg-color: #faf9f6;
  --button-color: #cc5500;
  --accent-color: #b8b0a8;
  --text-color: #3e3b36;
}

body {
  background-color: #FAF9F6;
  font-family: 'Open Sans', sans-serif;
  color: var(--text-color)
  /* border-bottom: 4px solid #cc5500 */
}

/* main {
  padding: 3rem;
} */

/* main.container.py-5 {
  background-color: #FAF9F6;
} */


h1,h2,h5,h3,h4{
  text-align: center;
  font-family: 'Libre Baskerville', serif;
}
h1 {
  font-size: 3rem;
}

h2 {
  font-size: 1.35rem;
}
/* // HEADER // */

nav .container-fluid {
  background-color: #faf9f6;
  color: #3E3B36;
 
}
@media (min-width: 992px){
nav .container-fluid{
   border-bottom: 4px solid #cc5500;
}
}
.navbar{
  padding-bottom: 0;
}
.nav-item{
  font-family: 'Libre Baskerville', serif;
}
.nav-link{
  font-size: 1.3rem;
}
.nav-link:hover{
  border-bottom: 2px solid var(--button-color);
  color: var(--text-color)!important;
}
button.login-btn{
  background-color: var(--bg-color);
  color: var(--text-color);
  border: 2px solid var(--button-color);
}
.login-btn:hover{
 background-color: var(--button-color);
 color: var(--bg-color);
}
/* // LOGIN DROPDOWN // */
.login-dropdown {
  position: relative;
  display: inline-block;
}

.login-btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  left: 0;
  background-color: white;
  min-width: 250px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  padding: 20px;
  z-index: 1000;
  border-radius: 4px;
  border: 1px solid #ccc;
}
@media (min-width: 992px){
  .dropdown-content{
    left: -200%;
  }
}
.login-dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content label {
  display: block;
  margin-bottom: 5px;
}

.dropdown-content input {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid var(--button-color);
  border-radius: 4px;
}
input::placeholder{
  color: #aba3a3;
}
.dropdown-content button[type="submit"]{
  background-color: var(--button-color);
  color: var(--bg-color);
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  margin-bottom: 10px;
}

.dropdown-links a{
  display: block;
  text-align: center;
  text-decoration: none;
  color: #007bff;
  margin-bottom: 2rem;
  font-size: .8rem;
}
.dropdown-links p{
  text-align: left;
  font-size: .8rem;
}
.dropdown-links button{
  border: none;
  background-color: white;
  color: var(--button-color);
  margin-left: 1rem;
}
.dropdown-links button:hover{
  border-bottom: 2px solid #007bff;
}
/* // FOOTER // */
footer {
  padding-top: 1rem;
  border-top: 4px solid #cc5500;
}

footer p{
  font-size: 1rem;
  text-align: center;
}
.social-icons{
}
footer a {
  text-decoration: none;
}

footer i {
  text-decoration: none;
}

.fab {
  text-decoration: none;
  /* padding: 0.2rem; */
  font-size: 1.5rem;
}

.fa-square-instagram {
  color: var(--button-color);
}
.fa-square-facebook{
  color: var(--button-color);
  margin-left: 1rem;
}

/* =======================
      HOME PAGE
========================== */
section h2{
  font-size: 2rem;
  text-align: left;
}
.img-title {
  text-align: center;
  margin-bottom: 3rem;
}
/* .card-header {
  padding-top: 2rem;
} */

h5 {
  font-size: 2rem;
}
.btn {
  background-color: var(--button-color);
  color:var(--bg-color);
  border: none;
}
.btn:hover{
  background-color: var(--bg-color);
  color: var(--text-color);
  border: 2px solid var(--button-color);
}
.categories {
  background-color:#cc550045;
  padding: 2rem;
}
.categories h5{
  font-size: 1.5rem;;
}
.categories img{
  border-radius: 10px;
}


/* =======================
       CAROUSELS
========================== */
#auto-carousel .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 100%;
  /* dots */
}

.carousel-caption {
  color: #faf9f6;
  border-radius: 1em;
  padding: 1em;
  bottom: 5rem
}
.carousel-caption p, .carousel-caption h5{
  background-color: #3e3b36a7;
}
button #openModal {
  border-radius: 6px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(50%) sepia(100%) saturate(800%) hue-rotate(-10deg) brightness(90%) contrast(90%);
}

/* // JOIN BTN //    */
.btn1,
.btn2,
.join-btn, .s-btn-1, .s-btn-2{
  border: transparent;
  border-radius: 8px;
  background-color: #cc5500;
  color: #faf9f6;
  text-decoration: none;
  text-align: center;
  font-size: 1.2em;
  width: 30%;
  padding: .5rem;
  margin: 1rem;
}
.btn2:hover, .btn1:hover, .join-btn:hover{
  background-color: var(--bg-color);
  color: var(--text-color);
  border: 2px solid var(--button-color);
}
/* //      Join Modal     // */
.modal-content{
  font-family: 'Libre Baskerville', serif;
  color:var(--text-color);
}
.modal-header{
  border-bottom: none;
}
.modal-body input{
  border: 1px solid var(--button-color);
}
.modal-body input::placeholder{
  color:#aba3a3;
}
.modal-body .form-check input{
  border: 1px solid var(--text-color);
}
.modal-footer{
  border-top: none;
  justify-content: center;
}

/* // RECIPE CARDS // */
.recipe-cards{
  border: 2px solid var(--button-color);
  border-radius: 5px;
}
.recipe-cards .card-title{
  font-size: 1.3rem;
}
.recipe-cards .card-text{
  font-family: 'Libre Baskerville', sans-serif;
  font-size: 1rem;
}
.recipe-cards .card-body .card-text{
  font-family: 'Open Sans', sans-serif;
}
.rating{
 font-size: 2rem;
 width: 80%;
 margin: auto;
}
@media(min-width: 400px){
  .rating{
    width: 75%;
  }
}
@media(min-width: 550px){
  .rating{
    width: 60%;
    text-align: center;
  }
}
@media(min-width: 768px){
  .rating{
    width: 100%;
    margin: 0;
    font-size: 1.7rem
  }
}
.star{
  margin: 0 .5rem;
}

/* =======================
      ABOUT PAGE
========================== */
h3,h4{
  text-align: left;
}
@media (min-width:768px){
  main.container-fluid>p{
  width: 60%
}
}
.row p{
  font-size: 1rem;
  text-align: justify;
}
@media (min-width: 768px){
  p{
    font-size: 1.3rem;
  }
}
.btn-group {
  display: flex;
  justify-content: space-around;
}
/* =======================
      RECIPES PAGE
========================== */
.search-container input {
  border-radius: .3em;
  box-shadow: 0px 4px 5px 0px #00000033;
  color: #3E3B36;
}

.fas.fa-search {
  color: #3E3B36;
  text-shadow: 0px 1px 2px 0px #00000033;
}

.fas.fa-search:hover {
  transform: scale(1.5);
  color:#cc5500;
}

.r-btn {
  border: none;
  border-radius: 0.3em;
  background-color: rgb(62, 59, 54, 0.20);
  color:rgb(62, 59, 54);
  width: 6.5em;
  padding: 0.5em;
}

.r-btn:hover {
  background-color:#3e3b36;
  color: #faf9f6;
  box-shadow: 0px 4px 5px 0px #00000033
}

.recipes-section .filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.recipes-section .card {
  border: 1px solid #e0ddd6;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.recipes-section .card:hover {
  transform: translateY(-4px);
}

.recipes-section .card-body {
  padding: 1rem;
}

.recipes-section .card-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.25rem;
  color: #3e3b36;
  margin-bottom: 0.25rem;
}

.recipes-section .submitted-by {
  font-style: italic;
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 0.25rem;
}

.recipes-section .rating {
  font-size: 1.1rem;
  color: #cc5500;
  margin-bottom: 0.75rem;
}

.recipes-section .card-img-top {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 1rem;
  object-fit: cover;
}

.recipes-section .card-text {
  font-size: 1rem;
  line-height: 1.5;
  color: #3e3b36;
}

section.container1 {
  background-color:#0000000d;
}
.view-btn{
  border: 2px solid var(--button-color);
  background-color: var(--bg-color);
  color: var(--text-color);
  border-radius: 3px;
  padding: .5rem;
  
}
.view-btn:hover{
  background-color: var(--button-color);
  color: var(--bg-color);
}
/* // RECIPE SUBMISSION FORM // */
.form-section {
  background-color: var(--bg-color);
  padding: 2rem 1rem;
}

.form-box {
  background: #fff;
  max-width: 850px;
  margin: 0 auto;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
}

.form-title {
  font-size: 1.5rem;
  text-align: center;
  font-family: 'Libre Baskerville', serif;
  color: var(--text-color);
  margin-bottom: 2rem;
}
.form-container{
  background-color: #fff;
  border-radius: 4px;
}
.recipe-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 1rem 0.5rem;
  align-items: center;
}

.form-grid label {
  font-weight: bold;
  color: var(--text-color);
}

.form-grid input,
.form-grid textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: 6px;
  border: 1px solid var(--accent-color);
  font-family: inherit;
  font-size: 1rem;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
}

textarea {
  resize: vertical;
}
input[type="file"]{
  border: none;
  box-shadow: none;
}
input[type="file"]::file-selector-button{
  background-color: var(--button-color);
  border: none;
  border-radius: 10px;
  color: var(--bg-color);
}
/* .file-input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.8rem;
  color: #444;
} */

/* .file-input-wrapper input[type="file"] {
  padding: 0.5rem;
  font-family: inherit;
  border-radius: 4px;
  border: 1px solid var(--accent-color);
  color: #fff;
  cursor: pointer;
} */

.submit-button {
  align-self: center;
  padding: 0.5rem 2rem;
  font-size: 1.25rem;
  background-color: var(--button-color);
  color: #fff;
  border: none;
  border-radius: 3px;
  font-family: 'Libre Baskerville', serif;
  cursor: pointer;
}

.submit-button:hover {
  background-color: var(--bg-color);
  border: 2px solid var(--button-color);
  color: var(--button-color)
}


/* =======================
      CONTACT PAGE
========================== */
.contact-page main {
  font-family: 'Open Sans', sans-serif;
  background-color: #FAF9F6;
  color: #3E3B36;
  padding: 20px;
}

/* // HEADINGS // */
.contact-page h1,
.contact-page h2 {
  color: #CC5500;
  text-align: center;
  padding: 50px 0 20px;
}

.contact-page p {
  text-align: center;
  margin: 0 0 50px;
}

/* // FORMS // */
.contact-page form label {
  font-weight: bold;
  display: block;
  margin-top: 15px;
}

.contact-page input[type="text"],
.contact-page input[type="email"],
.contact-page input[type="number"],
.contact-page input[type="file"],
.contact-page textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #B8B0A8;
  border-radius: 5px;
  background-color: #fff;
}

.contact-page textarea {
  resize: vertical;
}

/* // BUTTONS // */
.contact-page button[type="submit"],
.contact-page .btn-primary {
  background-color: #CC5500;
  border: none;
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 20px;
}

.contact-page button[type="submit"]:hover,
.contact-page .btn-primary:hover {
  background-color: #A94400;
}

/* // CHECKBOX // */
.contact-page .form-check-input {
  margin-right: 10px;
}

/* // INLINE LINKS // */
.contact-page a {
  color: #CC5500;
  text-decoration: none;
}

.contact-page a:hover {
  text-decoration: underline;
}

/* // FAQS // */
.contact-page .faqs {
  margin-top: 3rem;
}

.contact-page .faqs h2 {
  text-align: center;
  color: #cc5500;
  margin-bottom: 1.5rem;
}

.contact-page .accordion-item {
  border: 1px solid #eee;
  border-radius: 6px;
  margin-bottom: 1rem;
  overflow: hidden;
  background-color: #fff;
}

.contact-page .accordion-button {
  background-color: #f8f8f8;
  font-weight: 600;
  color: #3E3B36;
}

.contact-page .accordion-button:not(.collapsed) {
  background-color: #fff3ea;
  color: #CC5500;
}

.contact-page .accordion-body {
  color: #3E3B36;
  font-size: 0.95rem;
}

/* =======================
   MOBILE RESPONSIVENESS 
========================== */

/* // RECIPE PG | SUBMISSION FORM // */
/* @media (max-width: 900px) {
  .container {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .submit-button {
    width: 100%;
  }
}

/* // RECIPE PG | LARGE SCREENS - ADJUST BREAKPOINT IF NEEDED // */
@media (min-width: 768px) {
  .recipes-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
} */

/* // CONTACT PG // */
/* @media (max-width: 768px) {

  .contact-page h1,
  .contact-page h2 {
    padding: 30px 0 10px;
  }

  .contact-page main {
    padding: 15px;
  }
}
.rating{
  text-align: center;
}
.star{
  margin-left: 1rem;
  font-size: 2rem;
} */
 .contact-page main {
  font-family: 'Open Sans', sans-serif;
  background-color: #FAF9F6;
  color: #3E3B36;
  padding: 20px;
}

/* // HEADINGS // */
.contact-page h1,
.contact-page h2 {
  color: #CC5500;
  text-align: center;
  padding: 50px 0 20px;
}

.contact-page p {
  text-align: center;
  margin: 0 0 50px;
}

/* // FORMS // */
.contact-page form label {
  font-weight: bold;
  display: block;
  margin-top: 15px;
}

.contact-page input[type="text"],
.contact-page input[type="email"],
.contact-page input[type="number"],
.contact-page input[type="file"],
.contact-page textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #B8B0A8;
  border-radius: 5px;
  background-color: #fff;
}

.contact-page textarea {
  resize: vertical;
}

  .contact-page h1,
  .contact-page h2 {
    padding: 30px 0 10px;
  }

  .contact-page main {
    padding: 15px;
  }



/* // CHECKBOX // */
.contact-page .form-check-input {
  margin-right: 10px;
}

/* // INLINE LINKS // */
.contact-page a {
  color: #CC5500;
  text-decoration: none;
}

.contact-page a:hover {
  text-decoration: underline;
}

/* // FAQS // */
button .accordion-button {
  color: #3e3b36;
}

.accordion-button:hover {
  color: #a94400;
  font-weight: bold;
}

/* .accordion-button::after {
  color: #a94400 !important;
  font-weight: bold !important;
}  */

.contact-page .faqs {
  margin-top: 3rem;
}

.contact-page .accordion-body {
  color: #3E3B36;
  font-size: 0.95rem;
}