/* Fonts */

@font-face {
  font-family: 'NexaLight';
  src: url('https://cooking-ina-website-i68r.vercel.app/fonts/nexalight.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'NexaHeavy';
  src: url('https://cooking-ina-website-i68r.vercel.app/fonts/nexaheavy.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Boorsook';
  src: url('https://cooking-ina-website-i68r.vercel.app/fonts/boorsok.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'MoreSugar';
  src: url('https://cooking-ina-website-i68r.vercel.app/fonts/MoreSugar-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'MoreSugarThin';
  src: url('https://cooking-ina-website-i68r.vercel.app/fonts/MoreSugar-Thin.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
  
  *{
      padding: 0;
      margin: 0;
      box-sizing: border-box;
      text-decoration: none;
      list-style: none;
      scroll-behavior: smooth;
  
  }
          :root {
            --bg-color: #FFF4E8;
            --text-color: #221314;
            --second-color: #FFD35C;
            --yellow-color: #FFEAB0;
            --darkyellow-color: #DFA700;
            --main-color: #37ABB0;
              --big-font: 6rem;
              --small-font: 1.2rem;
              --h2-font: 3rem;
              --p-font: 1.1rem;
              --pp-font: 1.4rem;
          }
          body{
              background: var(--bg-color);
              color: var(--text-color);
           }


/* NAVBAR */
header {
    background: transparent;
    padding: 30px 18px;
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    align-items: center;
    justify-content: space-between;
    transition: ease 0.4s;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Boorsook';
    margin-left: 60px;
    padding: 0;
    list-style: none;
    position: relative;
    flex-wrap: nowrap;
}

.logo-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo { 
    width: 100px;
    text-align: center;
}

.logo img {
    display: block;
    max-width: 100px;
}

.menu {
    list-style-type: none;
    margin: 0;
    display: flex;
    align-items: center;
    color: var(--bg-color);
    font-size: var(--pp-font);
    font-weight: 500;
    padding: 10px;
    border-radius: 4px;
    transition: ease .40s;
    gap: 60px; 
}

.menu a {
    margin-right: 20px;
    color: var(--bg-color);
    font-size: var(--pp-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    padding: 7px;
    border-radius: 4px;
    transition: ease .40s;
}

.menu a img {
    margin-left: 7px; 
}

.menu li a {
    text-align: right;
    color: var(--bg-color);
    text-decoration: none;
}

.menu img {
    height: 30px;
    width: 30px;
    margin-right: 5px;
    transition: ease .40s;
}

.icons {
    list-style-type: none;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 60px; 
    padding-right: 40px;  
}

.icons a {
    color: var(--bg-color);
    font-size: var(--pp-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    padding: 7px;
    border-radius: 4px;
    transition: ease .40s;
}

.icons img {
    height: 30px;
    width: 30px;
    margin-right: 5px;
    transition: ease .40s;
}

.icons img:hover {
    box-shadow: 5px 10px 30px rgb(85 85 85 / 20%);
    border-radius: 5px;
}

.menu a:hover,
.icons a:hover {
    box-shadow: 5px 10px 30px rgb(85 85 85 / 20%);
    border-radius: 5px;
}

/* BURGER NAVBAR */
.burger-menu {
    display: none;
    cursor: pointer;
    margin-left: auto;
}

.burger-menu span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--bg-color);
    margin-bottom: 5px;
    transition: all 0.3s ease-in-out;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.burger-icons {
    display: none;
    cursor: pointer;
    margin-left: auto;
}

.burger-icons span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--bg-color);
    margin-bottom: 5px;
    transition: all 0.3s ease-in-out;
}

.burger-icons.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger-icons.active span:nth-child(2) {
    opacity: 0;
}

.burger-icons.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

@media (max-width: 1024px) {
    .burger-menu {
        display: block;
    }

    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 10px 0; 
        background-color: #1B6B19;
        gap: 10px; 
    }

    .menu.show {
        display: flex;
    }

    .burger-icons {
        display: block;
    }

    .icons {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 10px 0;  
        background-color: #1B6B19;
        gap: 10px; 
    }

    .icons.show {
        display: flex;
    }
}

.dropdown {
    position: relative; 
}

.dropdown-menu {
    display: none; 
    position: absolute;
    top: 100%; 
    left: 0;
    background-color: #1B6B19; 
    border: 1px solid #07290a;
    border-radius: 5px;
    list-style: none;
    padding: 0; 
    width: 160px;
    z-index: 999; 
}

.dropdown-menu li {
    padding: 8px 12px; 
    text-align: left; 
}

.dropdown-menu li a {
    text-decoration: none;
    color: var(--bg-color);
    display: block;
    padding: 5px 0; 
    margin: 0; 
    text-align: left; 
}

.dropdown-menu li a:hover {
    color: #28b125;
}

.dropdown:hover .dropdown-menu {
    display: block; 
}

.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}


/* FOOTER */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url(https://cooking-ina-website-i68r.vercel.app/img/footer1.png); 
    background-size: 100% 100%; 
    background-position: bottom; 
    background-repeat: no-repeat;
    position: relative;
    padding: 20px 20px; 
    width: 100%;
    min-height: 60vh;  
    height: auto;
    box-sizing: border-box;
    z-index: 0;
  }
  
  .footer-container {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    position: absolute;
    bottom: 80px; 
    left: 50%;
    transform: translateX(-50%);
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    z-index: 1;
  }
  
  .footer-logo {
    width: 100px;
    margin-right: 20px;
  }
  
  .vertical-line {
    width: 2px;
    height: 100px;
    background-color: #fff;
    margin: 0 40px;
  }
  
  @media (max-width: 1024px) {
  .vertical-line {
      display: none;
  }
  }
  
  .footer-content {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  text-align: left;
  }
  
  .quick-links, .developed-by {
  display: flex;
  flex-direction: column;
  gap: 10px;  
  }
  
  .quick-links h4, .developed-by h4 {
    font-family: 'Boorsook';
    font-size: 24px;
    margin-bottom: 10px;
    letter-spacing: 1px;
    color: var(--bg-color);
  }
  
  .quick-links ul, .developed-by ul {
    list-style: none;
    padding: 0;
    font-family: 'NexaLight';
    -webkit-text-stroke: 1px #f0edeb;
  }
  
  .quick-links a, .developed-by a {
    color: #f0edeb;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative; 
  z-index: 2; 
  }
  
  .quick-links a:hover, .developed-by a:hover {
    color: var(--second-color);
    -webkit-text-stroke: 1px;
  }
  
  .developed-by li {
    font-family: 'NexaLight';
    -webkit-text-stroke: 1px #f0edeb;
    margin: 0;
    color: #f0edeb; 
    position: relative;
  z-index: 2;
  }
  
  .end-text {
    font-family: 'NexaLight';
    -webkit-text-stroke: 1px #f0edeb;
    text-align: center;
    font-size: 14px;
    color: #fff;
    position: absolute;
    bottom: 15px;
    width: 100%;
    z-index: 0; 
  }
  
  @media (max-width: 768px) {
    .footer {
      min-height: 50vh;  
      padding: 10px 15px;
    }
  
    .footer-container {
        flex-direction: column;
        bottom: 50px; 
    }
  
    .footer-logo {
        display: none;
    }
  
    .quick-links h4, .developed-by h4 {
      margin-top: 0;
        font-size: 20px;
    }
  
    .developed-by li, .quick-links a {
      font-size: 14px;
    }
  
    .end-text {
      font-size: 12px;
      bottom: 3%;
    }
  }
  
  @media (max-width: 480px) {
    .footer {
      min-height: 40vh;
      padding: 5px 10px;
    }
  
    .footer-logo {
      display: none;
    }
  
    .footer-container {
        bottom: 20px;
        gap: 20px;
    }
  
    .developed-by li, .quick-links a {
      font-size: 12px;
    }
  
    .end-text {
      position: relative;
      margin-top: 15px;
      bottom: 3%;
    }
  }

/* HOME SECTION */
.home {
    position: relative;
    width: 100%;
    height: 65vh;
    background: url(https://cooking-ina-website-i68r.vercel.app/img/footerimg.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .home-text h1 {
    color: var(--bg-color);
    font-family: 'Boorsook';
    font-size: 7rem;
    -webkit-text-stroke: 1px #1B6B19;
  }


@media (max-width: 1024px) {
  .home-text h1 {
      font-size: 4rem; 
  }

}

@media (max-width: 768px) {
  .home-text h1 {
      font-size: 3rem; 
  }

}

@media (max-width: 480px) {
  .home-text h1 {
      font-size: 2.5rem; 
  }

}

@media (max-width: 360px) {
  .home-text h1 {
      font-size: 2rem; 
  }
}

/* SCROLLBAR */
::-webkit-scrollbar {
    width: 8px; 
  }
  
  ::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg,  #FFD971, #39BABF);
    border-radius: 8px; 
  }
  
  
  ::-moz-scrollbar {
    width: 8px; 
  }
  
  ::-moz-scrollbar-thumb {
    background: linear-gradient(45deg,  #FFD971, #39BABF);
    border-radius: 8px; 
  }

  /* FAQ Section */
.faq-section {
    text-align: center;
    padding: 3rem;
    font-family: 'MoreSugar';
}
.faq-search {

    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    margin: 0 auto;
}

.faq-search input::placeholder {
    color: var(--bg-color); 
}

.faq-search input {
    background-color: #1a6b19cf; ;
    width: 100%;
    padding: 10px 60px; 
    font-size: 1.8rem;
    font-family: 'MoreSugar';
    border: 2px solid #1B6B19;
    border-radius: 20px;
    outline: none;
    color: var(--bg-color); 
}

.faq-search i {
    position: absolute;
    left: 12px; 
    font-size: 1.8rem;
    color: var(--bg-color); 
}

.faq-container {
    width: 70%;
    margin: auto;
    text-align: left;
}

.faq-category h2 {
    font-size: 2.3rem;
    color: #1B6B19;
    margin-top: 2rem;
}

.faq-item {
    margin-bottom: 1.3rem;
}

.faq-question {
    width: 100%;
    background-color: var(--bg-color); 
   border: 2px solid #1a6b1900; 
    color: #1B6B19;
    font-size: 1.5rem;
    padding: 10px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'MoreSugarThin';
    -webkit-text-stroke: 1px #1B6B19;
}

.faq-question .faq-arrow {
    font-size: 1.5rem;
}

.faq-answer {
    display: none;
    font-size: 1.3rem;
    padding: 10px;
    border-left: 3px solid #1a6b19b8;
    margin-top: 5px;
    color: #1a6b19b8;
}

.faq-question.active + .faq-answer {
    display: block;
}

.faq-arrow {
    font-size: 1.5rem;
    transition: transform 0.3s ease; 
}

.faq-question.active .faq-arrow {
    transform: rotate(180deg);
}
.faq-answer a.contact-link {
    color: #1B6B19;
    font-weight: bold;
    position: relative;
    transition: all 0.3s ease;
}

.faq-answer a.contact-link:hover,
.faq-answer a.contact-link:focus {
    color: #1B6B19;
    text-decoration: underline;
    outline: none;
}

@media (pointer: coarse) {
    .faq-answer a.contact-link {
        padding: 4px 8px;
        margin: -4px -8px;
        display: inline-block;
    }
}
/*  RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .faq-section {
        padding: 2rem;
    }

    .faq-search {
        width: 90%;
    }

    .faq-search input {
        font-size: 1.4rem;
        padding: 10px 50px;
    }

    .faq-container {
        width: 85%;
    }

    .faq-category h2 {
        font-size: 2rem;
    }

    .faq-question {
        font-size: 1.4rem;
        padding: 10px;
    }

    .faq-answer {
        font-size: 1.2rem;
        padding: 8px;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 1.5rem;
    }

    .faq-search {
        width: 95%;
    }

    .faq-search input {
        font-size: 1.3rem;
        padding: 8px 45px;
    }

    .faq-container {
        width: 100%;
    }

    .faq-category h2 {
        font-size: 1.8rem;
    }

    .faq-question {
        font-size: 1.3rem;
        padding: 8px;
    }

    .faq-answer {
        font-size: 1.1rem;
        padding: 6px;
    }
}

@media (max-width: 580px) {
    .faq-section {
        padding: 2rem;
    }

    .faq-search {
        width: 100%;
    }

    .faq-search input {
        font-size: 1.2rem;
        padding: 8px 40px;
    }

    .faq-search i {
        font-size: 1.6rem;
        left: 10px;
    }

    .faq-container {
        width: 100%;
        padding: 0 10px;
    }

    .faq-category h2 {
        font-size: 1.6rem;
        text-align: center;
    }

    .faq-question {
        font-size: 1.2rem;
        padding: 7px;
    }

    .faq-answer {
        font-size: 1rem;
        padding: 5px;
    }
}
/* Terms and Conditions Section */
.terms-container {
    text-align: center;
    padding: 3rem;
    background-color: var(--bg-color);
}

.terms-section {
    width: 70%;
    margin: 0 auto;
    text-align: left;
}

.terms-section h2 {
    font-size: 2.3rem;
    color: #1B6B19;
    margin-top: 2rem;
    font-family: 'MoreSugar';
}

.terms-section p {
    font-size: 1.5rem;
    line-height: 1.6;
    margin: 10px 0;
    color: #1B6B19;
    font-family: 'MoreSugarThin';
    -webkit-text-stroke: 1px #1B6B19;
}

.terms-section p strong {
    font-weight: bold;
    color: #1B6B19;
}
.terms-link , .privacy-link{
    color: #1B6B19;
    font-weight: bold;
    font-style: italic;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.terms-link:hover,
.terms-link:focus , .privacy-link:hover , .privacy-link:focus{
    text-decoration: underline;
}

@media (max-width: 768px) {
    .terms-link {
        padding: 2px 4px;
        margin: -2px -4px;
        display: inline-block;
    }
}
@media (max-width: 1024px) {
    .terms-container {
        padding: 2rem;
    }

    .terms-section {
        width: 85%;
    }

    .terms-section h2 {
        font-size: 2rem;
    }

    .terms-section p {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .terms-container {
        padding: 1.5rem;
    }

    .terms-section {
        width: 100%;
    }

    .terms-section h2 {
        font-size: 1.8rem;
    }

    .terms-section p {
        font-size: 1.3rem;
    }
}

@media (max-width: 580px) {
    .terms-container {
        padding: 2rem;
    }

    .terms-section {
        width: 100%;
        padding: 0 10px;
    }

    .terms-section h2 {
        font-size: 1.6rem;
        text-align: center;
    }

    .terms-section p {
        font-size: 1.2rem;
    }
}


.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    color: #1B6B19;
    font-family: 'MoreSugarThin';
    -webkit-text-stroke: 1px #1B6B19;
    margin-top: 5%;
}

.contact-container h2 {
    font-size: 35px;
    margin-bottom: 20px;
}

.contact-details {
    display: flex;
    gap: 40px;
    align-items: center;
    font-size: 30px;
    margin-top: 20px; 
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
}

.contact-item i {
    font-size: 30px;
    color: #1B6B19;
    min-width: 30px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .contact-details {
        flex-direction: column;
        gap: 20px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
}