*,
*::after,
::before {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.container {
  width: 80%;
  margin: auto;
}
.d-none{
  display: none;
}
a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.d-flex {
  display: flex;
}

.flex-column{
  flex-direction: column;
}

.d-wrap {
  flex-wrap: wrap;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-space-between {
  justify-content: space-between;
}

.justify-content-space-around {
  justify-content: space-around;
}

.align-items-center {
  align-items: center;
}

.align-itmes-center {
  align-items: center;
}

.position-realtive {
  position: relative;
}

.position-absolute {
  position: absolute;
}

.position-fixed {
  position: fixed;
}

.top-0 {
  top: 0;
}

.left-0 {
  left: 0;
}

.right-0 {
  right: 0;
}

.bottom-0 {
  bottom: 0;
}

:root {
  --main-color: #ce1212;
  --second-color: #d78c23;
}
body:not(:has(:target)) .navbar .links ul li a[href="#home"],
body:has(#home:target) .navbar .links ul li a[href="#home"],
body:has(#chefs:target) .navbar .links ul li a[href="#chefs"],
body:has(#gallery:target) .navbar .links ul li a[href="#gallery"],
body:has(#contact:target) .navbar .links ul li a[href="#contact"] {
  color: black;
}

body:not(:has(:target)) .navbar .links ul li a[href="#home"]::after,
body:has(#home:target) .navbar .links ul li a[href="#home"]::after,
body:has(#chefs:target) .navbar .links ul li a[href="#chefs"]::after,
body:has(#gallery:target) .navbar .links ul li a[href="#gallery"]::after,
body:has(#contact:target) .navbar .links ul li a[href="#contact"] {
  width: 100%;
}
/* **************************************** DarkMode Start  ******************************************************** */
body:has(input[name="mode"]:checked) .sunicon{
  display: block;
}

body:has(input[name="mode"]:checked) .navbar{
  background-color: #171717;
}

body:has(input[name="mode"]:checked) .navbar h1 .logo {
  color: #FFF;
}

body:has(input[name="mode"]:checked) .navbar .dot::after {
  background-color:#D78C23 ;
}

body:has(input[name="mode"]:checked) .navbar .links ul li a{
  color: #FFF;
}

body:has(input[name="mode"]:checked) .navbar .links ul li a::after{
  background-color: #D78C23;
}

body:has(input[name="mode"]:checked) .header{
  background-color: rgb(37, 37, 37);
}

body:has(input[name="mode"]:checked) .header .header-content h2{
  color: #FFF;
}

body:has(input[name="mode"]:checked) .header .header-btn button{
  background-color: #D78C23;
}
body:has(input[name="mode"]:checked) .header .header-btn button:hover{
  background-color: #e0942a;
}

body:has(input[name="mode"]:checked) .header .header-content a {
  color: white;
}
body:has(input[name="mode"]:checked) .header .header-content a:hover{
  color: #d78c23;
}

body:has(input[name="mode"]:checked) .header .header-content a .circle {
  background: #D78C23;
  background: linear-gradient(
    90deg,
    rgba(215, 140, 35, 1)50%,
    rgba(37, 37, 37, 1) 50%
  );
}
body:has(input[name="mode"]:checked) .header .header-content a .circle .inner-circle {
  background-color: #000;
}


body:has(input[name="mode"]:checked) .chefs{
  background-color: #202020;
}
body:has(input[name="mode"]:checked) .chefs-title p{
  color: white;
}
body:has(input[name="mode"]:checked) .chefs .chefs-cards .card .card-inner{ 
  background-color: #171717;
}
body:has(input[name="mode"]:checked) .chefs-title p span{
  color: var(--second-color);
} 
body:has(input[name="mode"]:checked) .gallery{
  background-color: #252525;
}
body:has(input[name="mode"]:checked) .gallery .gallery-title p{
  color: #FFF;
} 
body:has(input[name="mode"]:checked) .contact{
  background-color: #272727;
}
body:has(input[name="mode"]:checked) .contact .contact-title h2{
  color: #FFF;
}
body:has(input[name="mode"]:checked) .footer{
  background-color: #171717;
}






/* **************************************** DarkMode End  ******************************************************** */



/* ******************************************** NavBar Start ******************************************************** */
.navbar {
  z-index: 999999;
  background-color: #fff;
  padding: 27px 0;
  transition: background-color 0.3s ease;
}
.navbar.scrolled {
  background-color: orangered;
}

.logo {
  font-size: 30px;
  font-weight: 700;
  font-family: "Roboto";
  color: #212529;
}

.links ul li {
  padding: 5px 15px;
}

.links ul li a {
  font-size: 17px;
  font-family: "Roboto";
  font-weight: 600;
}

.navbar .container input{
  display: none;
}

.moonicon, .sunicon{
  cursor: pointer;
  font-size: 20px;
  margin-right: 7px;
}
.sunicon{
  color: white;
}


.dot {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}

.dot::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--main-color);
  top: 0;
  right: 0;
}

.links ul li a {
  position: relative;
}

.links ul li a::after {
  content: "";
  width: 0%;
  height: 3px;
  position: absolute;
  background-color: var(--main-color);
  top: 110%;
  left: 0;
  transition: width 0.5s ease-in-out;
}

.links ul li a:hover::after {
  width: 100%;
}

.links ul li a {
  color: gray;
  transition: color 0.5s ease-in-out;
}

.bars {
  font-size: 22px;
  display: none;
}

/* ********************************************NavBar Media Query******************************************************** */
@media screen and (max-width:1192px){
  .navbar{
    padding: 23px 10px;
  }
  
  .links ul li a {
    display: none;
  }
  
  
  .links ul li a {
    position: relative;
  }
  
  .bars {
    font-size: 22px;
    display: block;
  }
}

@media screen and (max-width:792){
  .navbar{
    padding: 20px 0;
  }
  
  .links ul li a {
    display: none;
  }
  
  
  .links ul li a {
    position: relative;
  }
  
  .bars {
    font-size: 22px;
    display: block;
  }
}


/* ********************************************NavBar End******************************************************** */

/* ================== Contact Us Section ================== */
.contact {
  padding: 60px 0;
  background-color: #f7f7f7;
}

.contact .contact-title {
  text-align: center;
  margin-bottom: 40px;
}

.contact .contact-title p {
  font-size: 20px;
  font-family: "Inter";
  font-weight: 600;
  color: #333;
}

.contact .contact-title p span {
  color: var(--main-color);
}

.contact .contact-title h2 {
  font-size: 32px;
  font-family: "Roboto";
  font-weight: 700;
  margin-top: 5px;
}

/* Contact Container */
.contact-info {
  gap: 40px;
  align-items: flex-start;
}

/* Info Box */
.info-box {
  flex: 1;
  gap: 20px;
}

.info-item {
  background-color: white;
  padding: 15px;
  border-left: 4px solid var(--main-color);
  border-radius: 6px;
  gap: 15px;
  box-shadow: 0px 2px 5px #0001;
}

.info-item i {
  font-size: 25px;
  color: var(--main-color);
}

.info-item h3 {
  font-size: 18px;
  font-family: "Inter";
  margin-bottom: 5px;
}

.info-item p {
  font-size: 15px;
  color: #555;
}

/* Contact Form */
.contact-form {
  flex: 2;
  background-color: white;
  padding: 25px;
  border-radius: 6px;
  box-shadow: 0px 2px 5px #0002;
}

.contact-form .form-group {
  gap: 15px;
  margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  font-family: "Open Sans";
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--main-color);
  outline: none;
}

/* Button */
.send-btn {
  margin-top: 15px;
  background-color: var(--main-color);
  color: white;
  padding: 12px 20px;
  border: none;
  font-size: 17px;
  font-family: "Inter";
  cursor: pointer;
  border-radius: 6px;
  transition: 0.4s;
}

.send-btn:hover {
  background-color: #e51414;
}

.send-btn i {
  margin-right: 8px;
}

/* ============ Responsive ============ */
@media (max-width: 992px) {
  .contact-info {
    flex-direction: column;
  }
}

/* ********************************************Footer Start******************************************************** */
.footer{
  background-color: #0E0C0D;
  color: #FFF;
  padding: 40px 0;
  box-shadow: 0px -1px 5px #0007;
}
.footer .container{
  gap: 1.25rem;
}
.footer .footer-about div img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}
.footer .footer-about div h2 {
  color: white;
  font-weight: 700;
  font-size: 30px;
  font-family: "Roboto", 'Sans-serif';
}
.footer .footer-about div h2::after{
  content: '.';
  color: #CE1212;
  font-size: 35px;
}
.footer .footer-about p{
  margin: 0.625rem 0;
  font-weight: 400;
  color: #FFF;
  font-family: "Roboto", 'Sans-serif';
  line-height: 1.4;
}
.footer .footer-about h3{
    text-align: center;
    padding: 0.625rem;
    border-bottom: 2px solid #ddd6;
    margin-bottom: 0.625rem;
    font-weight: 700;
    font-size: 18.72px;
    font-family: 'Inter', 'Sans-serif';
}
.footer .footer-about .soical-links{
  color: #FFF;
  text-align: center;
  font-size: 24px;
  justify-content: center;
}
.footer .footer-about .soical-links li {
  margin: 0 15px;
}
.footer .footer-about .soical-links li i{
  font-size: 24px;
}

.footer .footer-sub .footer-sub-box h3{
  margin-bottom: 5px;
  font-weight: 700;
  font-size: 18.72px;
  font-family: 'Inter', 'Sans-serif';
}
.footer .footer-sub .footer-sub-box p{
  font-weight: 400;
  color: #FFF;
  font-family: "Roboto", 'Sans-serif';
  margin: 10px 0;
  line-height: 1.4;
}
.footer .footer-sub .fsub-group{
  gap: 5px;
  margin-block: 1.25rem;
}
.footer .footer-sub .fsub-group input{
  flex-grow: 1;
  padding: 0.625rem;
}
.footer .footer-sub .fsub-group button{
  background-color: #CE1212;
  color: white;
  padding: 5px 15px;
  border: none;
  transition: 0.5s;
  font-weight: 500;
}
.footer .footer-sub .fsub-group button:hover{
  background-color: #E51414;
  cursor: pointer;
}
.footer .footer-sub .quick-links h3{
  margin-bottom: 15px;
  font-weight: 700;
  font-size: 18.72px;
  font-family: 'Inter', 'Sans-serif';
}
.footer .footer-sub .quick-links .quick-links-left{
  padding-right: 160px;
}
.footer .footer-sub .quick-links .quick-links-left li,
.footer .footer-sub .quick-links .quick-links-right li {
  margin-bottom: 10px;
}

.footer .footer-sub .quick-links .quick-links-left li a,
.footer .footer-sub .quick-links .quick-links-right li a{
  font-size: 16px;
  font-family: "Inter", 'Sans-serif';
  font-weight: 300;
  transition: .5s;
}
.footer .footer-sub .quick-links .quick-links-left li a:hover,
.footer .footer-sub .quick-links .quick-links-right li a:hover{
  background-color: #222222;
}
.footer .footer-sub .quick-links .quick-links-left li a i,
.footer .footer-sub .quick-links .quick-links-right li a i {
  margin-right: 5px;
}

.footer .contact-details h3 {
  margin-bottom: 15px;
  font-weight: 700;
  font-size: 18.72px; 
  font-family: 'Inter', 'Sans-serif';
  color: #FFF; 
}

.footer .contact-details ul li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  line-height: 1.5;
}


.footer .contact-details ul li span {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 400; 
  color: #FFF; 
}

.footer .contact-details ul li i {
  color: #CE1212;
  font-size: 18px; 
  margin-right: 10px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

/* ********************************************Footer End******************************************************** */

.to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 15px;
  font-size: 22px;
  background: black;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.to-top.show {
  opacity: 1;
  pointer-events: auto;
}