:root {
    --main-color-hover :#E61414;
    --main-color : #CE1212;
    --white-color : #fff;
    --black-color : #000;
    --gray-color : #7f7f90;
    --bg-gray :#EEEEEE;
    --bg-light : #f1f1f1;
    --bg-lightdark : #e5e5e5;
    --main-fontfamily : "Open Sans", serif;
    --heading-font : "Amatic SC", serif;
    --transition-3 : all 0.3s;
    --transition : all 1s;
    --gap : 15px;
}  

:has(#darkModeToggle:checked) {
    --main-color-hover: #D78C23;
    --main-color: #C17E1F;
    --white-color: #171717;
    --black-color: #fff;
    --gray-color: #b0b0b0;
    --bg-gray: #252525;
    --bg-light : #202020;
    --bg-lightdark : #101010;
}

* {
    box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1; /* Light gray background */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--main-color); /* Your primary color */
    border-radius: 10px;
    transition: all 0.3s;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--main-color-hover); /* Darker color on hover */
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    margin: 0;
}

::selection {
    background-color: var(--main-color);
    color: var(--white-color);
}

.container {
    width: 90%;
    margin: 0 auto;
}

.section {
    padding: 70px 0;
}

.d-none {
    display: none;
}

.bg-gray {
    background-color: var(--bg-gray);
}

.bg-light {
    background-color: var(--bg-light);
}

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

  .title h2 {
    color: var(--gray-color);
    font-weight: 400;
    font-size: 0.875rem;
    text-transform: uppercase;
  }

  .title p {
    font-size: 40px;
    font-family: var(--heading-font);
    margin: 10px 0;
    color: var(--black-color);
  }

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

.navbar {
    background-color: var(--white-color);
    font-family: var(--main-fontfamily);
    font-weight: bold;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    z-index: 9999999;
}

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

.navbar .logo a {
    font-size: 24px;
    color: var(--black-color);
    text-decoration: none;
}

.navbar .logo a span {
    color: var(--main-color);
}

.navbar .links ul li {
    margin: 0;
    text-align: left;
}

.navbar .links ul li a {
    color: var(--gray-color);
    text-decoration: none;
    position: relative;
    padding: 16px;
    width: 100%;
    display: inline-block;
    transition: all 0.3s;
}

.navbar .links ul li a.active {
    color: var(--black-color);
}


.navbar .links ul li a.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background-color: var(--main-color);
}

.navbar .links ul li a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background-color: var(--main-color);
    transition: all 0.3s;

}

.navbar .links ul li a:hover {
    color: var(--black-color);
}
.navbar .links ul li a:hover::before {
    width: 100%;
}

.navbar .icons {
    display: flex;
}





.dark-mode-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
}

.dark-mode-toggle input {
    display: none;
}

.toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    color: var(--black-color);
    padding: 10px;
    border-radius: 50%;
    transition: var(--transition-3);
}

.toggle-icon .fa-sun {
    display: none;
}

#darkModeToggle:checked + .toggle-icon .fa-moon {
    display: none;
}

#darkModeToggle:checked + .toggle-icon .fa-sun {
    display: inline;
}

.header {
    background-color: var(--bg-gray);
    display: flex;
    align-items: center;
}

.header .hero {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    padding: 20px 0;
}

.header .hero .content {
    width: 100%;
    text-align: center;
 }

 .header .hero .content h1 {
    font-family: var(--heading-font);
    font-weight: 700;
    font-style: normal;
    font-size: 65px;
    margin-bottom: 0;
    color: var(--black-color);
}

.header .hero .content p {
    font-size: 16px;
    line-height: 1.4;
    color: var(--gray-color);
}

.header .hero .content .btn-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    gap: 15px;
    font-size: 16px;
}

.header .hero .content .btn-group a:visited {
    color: var(--black-color);
}

.header .hero .content .btn-group .btn-main {
    background-color: var(--main-color);
    color: var(--white-color);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition-3);
}

.header .hero .content .btn-group .btn-main:hover {
    background-color: var(--main-color-hover);
}

.header .hero .content .btn-group .video-btn {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition-3);
}

.header .hero .content .btn-group .video-btn .icon {
    margin-right: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: var(--white-color);
    border-radius: 50%;
    border: 7px solid;
    border-color: var(--main-color) var(--bg-gray) var(--bg-gray) var(--main-color);
    transform: rotate(-45deg);
}

.header .hero .content .btn-group .video-btn .icon i {
    transform: rotate(45deg);
}

.header .hero .content .btn-group .video-btn:hover {
    color: var(--main-color-hover);
}

.header .hero .img-holder {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    order: -1;
}

.header .hero .img-holder img {
    width: 100%;
    position: relative;
    filter: drop-shadow(4px 4px 9px #000a);
}

.header .hero .img-holder:hover img {
    animation: shake alternate infinite 0.5s;
}

@keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-2px, 0px) rotate(1deg); }
    30% { transform: translate(2px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-2px, 1px) rotate(0deg); }
    70% { transform: translate(2px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
  }

  .chefs .chefs-cards{
      padding-block: 1.25rem;
      display: flex;
      flex-wrap: wrap;
      gap: 15px;
    }
    
    .chefs .chefs-cards .card {
        background-color: var(--white-color);
        text-align: center;
        border-radius: 0.5rem;
        overflow: hidden;
        position: relative;
        transition: var(--transition-3);
        box-shadow: 3px 3px 15px 0px rgba(0, 0, 0, 0.1);
}

    .chefs .chefs-cards .card .img-holder {
        width: 100%;
        position: relative;
    }

    .chefs .chefs-cards .card .img-holder img {
        width: 100%;
    }

    .chefs .chefs-cards .card .img-holder::before {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    background-image: url(../images/team-shape.svg);
    background-repeat: repeat-x;
    width: 100%;
    height: 70px;
    }

    :has(#darkModeToggle:checked) .chefs .chefs-cards .card .img-holder::before {
        background-image: url(../images/team-shape-dark.svg);
    }

    .chefs .chefs-cards .card .card-content {
        padding: 20px;
    }

   .chefs .chefs-cards .card .card-content h3 {
    color: var(--black-color);
    display: block;
    font-size: 20px;
    font-weight: bold;
    margin: 5px 0 10px;
   }
   .chefs .chefs-cards .card .card-content span,
   .chefs .chefs-cards .card .card-content p {
    color: var(--black-color);
   }

   .chefs .chefs-cards .card .social-box {
    background-color: #ffffff4d;
    width: fit-content;
    padding: 0.625rem;
    border-radius: 0.3125rem;
    position: absolute;
    top: 1.875rem;
    right: -3.125rem;
    transition: var(--transition);
    list-style: none;
}

.chefs .chefs-cards .card .social-box a {
    color: var(--gray-color);
    padding: 5px;
    display: inline-block;
    font-size: 18px;
}

.chefs .chefs-cards .card:hover {
    transform: scale(1.03);
}

.chefs .chefs-cards .card:hover .social-box {
    right: 20px;
}


#Gallery .gallery-photos {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
}

#Gallery .gallery-photos .col {
    max-width: 100%;
    flex: 100%;
    padding: 0 4px;
}

#Gallery .gallery-photos .col .img-holder {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 3px;
    background-color: #fff;
}

#Gallery .gallery-photos .col .img-holder img {
    width: 100%;
}

#Gallery .gallery-photos .col .img-holder .overlay {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    transition: var(--transition-3);
    text-align: center;
}

#Gallery .gallery-photos .col .img-holder .overlay h2 {
    color: #fff;
    font-size: 30px;
    margin: 0;
}

#Gallery .gallery-photos .col .img-holder .overlay p {
    color: #fff;
}

#Gallery .gallery-photos .col .img-holder:hover .overlay {
    top: 0;
}

#Contact .contact-info {
    margin-block: 1.5625rem;
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap);
}

#Contact .contact-info > div {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 1.5625rem;
    background-color: var(--bg-lightdark);
}
#Contact .contact-info .icon {
    min-width: 3.125rem;
    min-height: 3.125rem;
    background-color: var(--main-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}
#Contact .contact-info .icon i {
    color: var(--white-color);
    font-size: 24px;
}

#Contact .contact-info > div p ,
#Contact .contact-info > div h3 {
    color: #7d7d7d;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 5px 0;
}

#Contact .contact-info > div a {
    color: #7d7d7d;
    font-size: 1.25rem;
    text-decoration: none;
}

#Contact .form-container {
    background: var(--white-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%; 
}

/* Contact Form */
#Contact .form-container .contact-form {
    display: flex;
    flex-direction: column;
}

/* Row for Name and Email */
#Contact .form-container .contact-form .form-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Make Inputs Inside Form Row Equal Width */
#Contact .form-container .contact-form .form-row input {
    flex: 1;
}


#Contact .form-container .contact-form input,
#Contact .form-container .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

/* Textarea */
#Contact .form-container .contact-form textarea {
    height: 120px;
    resize: none;
}

/* Submit Button */
#Contact .form-container .contact-form button {
    background-color: var(--main-color);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;
    width: 200px;
    align-self: center;
}

#Contact .form-container .contact-form button:hover {
    background-color: var(--main-color-hover);
}

.footer {
    background: #000;
    padding: 40px 20px;
}

.footer-container {
    display: flex;
    flex-direction: column;
    width: 90%;
    margin: auto;
    flex-wrap: wrap;
}

/* Left Section */
.footer-left {
    flex: 1;
    min-width: 250px;
    color: #fff;
}

.footer-left h2 {
    display: flex;
    align-items: center;
    font-size: 36px;
    margin-bottom: 15px;
}

.footer-left .logo-icon img {
    width: 40px;
}

.footer-left .dot {
    color: var(--main-color);
}

.footer-left p {
    margin: 0 0 10px;
}

.footer-left h3 {
    font-size: 24px;
    text-align: center;
}

.social-icons {
    border-top: 2px solid var(--gray-color);
    padding: 20px;
    display: flex;
    justify-content: space-evenly;
    margin-top: 10px;
}

.social-icons a {
    color: #fff;
    font-size: 28px;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.social-icons a:hover {
    color: var(--main-color);
}

/* Middle Section */
.footer-middle {
    flex: 2;
    min-width: 300px;
    color: #fff;
    padding: 0px;
}

.footer-middle h3 {
    font-size: 24px;
}

.footer-middle p {
    font-size: 18px;
}

.newsletter {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 10px;
}

.newsletter input {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 4px;
}

.newsletter button {
    background: var(--main-color);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}
.quick {
    margin: 10px 0 5px;
}

.quick-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 0px;
}

.quick-links ul {
    width: 50%;
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links li {
    padding: 10px 0;
    transition: var(--transition-3);
}

.quick-links a {
    text-decoration: none;
    color: #fff;
}

.quick-links a i {
    margin-right: 10px;
    font-weight: bold;
}

.quick-links a:hover {
    color: var(--main-color-hover);
}

.quick-links li:hover {
    transform: translate(10px);
}

/* Right Section */
.footer-right {
    flex: 1;
    min-width: 250px;
    color: #fff;
    padding: 0px;
}

.footer-right h3 {
    font-size: 24px;
}

.footer-right p {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: white;
}

.footer-right i {
    color: var(--main-color);
    font-size: 20px;
}
