.about-head {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(./images/noodles);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    height: 85vh;

    display: flex;
    align-items: center;
    /* Vertically center */
    justify-content: flex-start;
    /* Align to the left */
    padding-left: 80px;
    /* Adjust left padding as needed */
}

.about-head-grid {
    padding-left: 70px;
}

.about-title {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0px 0;
}

.about-title h2 {
    color: #f5c16c;
    /* light golden color similar to your image */
    letter-spacing: 6px;
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
    font-family: Barlow Condensed, sans-serif;

}

.about-title .line {
    display: inline-block;
    /* <--- add this */
    width: 50px;
    /* <--- define width */
    height: 1px;
    /* <--- define height */
    background-color: #f5c16c;
}

.learn-btn {
    font-size: 17px;
    letter-spacing: 2px;
    margin: 0;
    font-family: 'Barlow Condensed', sans-serif;
    padding: 15px 10px;
    border: 1px solid #f5c16c;
    text-transform: uppercase;
    color: white;
    width: 160px;
    border-radius: 5px;
    text-align: center;

    /* Gradient for left-to-right transition */
    background-color: #26211D;
    background-image: linear-gradient(to right, #E3AF5A 0%, #E3AF5A 100%);
    background-repeat: no-repeat;
    background-position: left;
    background-size: 0% 100%;
    transition: background-size 0.4s ease, color 0.4s ease;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.learn-btn:hover {
    color: black;
    background-size: 100% 100%;
}


/* humble-section */
.humble-section {
    background-color: #111111;
    padding: 80px 180px;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.humble-grid {
    display: flex;
    gap: 30px;
}

.humble-grid-left {
    width: 50%;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Centers vertically */
    height: 500px;
    /* Match height of .right-img-wrapper */
}

.humble-grid-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* aligns children (including right-first-img) to the right */
    gap: 20px;
}

.humble-description {
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 1px;
    color: #ccc;
    margin: 0;
    font-family: Barlow Condensed, sans-serif;
    padding-bottom: 0px;
}

.humble-grid-right {
    width: 50%;
}

.right-img-wrapper {
    position: relative;
    width: 500px;
    height: 500px;
}

.right-first-img {
    background-image: url(./images/resturent);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 300px;
    height: 100%;
    position: relative;
    z-index: 1;
    left: 100px;
}

.right-second-img {
    background-image: url(./images/men);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 250px;
    height: 250px;
    position: absolute;
    top: 50px;
    left: -50px;
    /* Adjust for overlap */
    z-index: 2;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    /* Optional styling */
}

/* history-section */
.history-section {
    background-color: #111111;
    padding: 30px 180px;
}

.history-grid-section {
    display: flex;
    padding: 0px 30px;
}

.history-grid-section-left {
    width: 50%;
    display: flex;
    justify-content: center;
    /* Center horizontally */
    align-items: flex-end;
    /* Align to the bottom */
    text-align: center;
    height: 100%;
    padding-bottom: 20px;
    /* Optional spacing */
}

.history-grid-section-right {
    width: 50%;
    align-items: left;
    display: flex;
}

.year {
    font-size: 100px;
    font-weight: 700;
    color: white;
    margin: 0;
    font-family: Gilda Display, sans-serif;
    padding-top: 60px;
}

.timeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 40px 0px;
}
.time{
    display: flex;
    gap: 20px;
}

.time .humble-description {
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
}

.icon-timeline {
    width: 90px;
    height: 90px;
    border: 1px solid #e4b04b;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #e4b04b;
    margin-bottom: 10px;
}

.timeline-img {
    width: 40px;
    height: auto;
}

.timeline-item p {
    letter-spacing: 6px;
    font-weight: bold;
    color: #ffffff;
    margin: 0;
}

.line {
    width: 100px;
    height: 2px;
    background-color: #FFC328;
}

/* chef-section */
.chef-section {
    background-color: #111111;
    padding: 30px 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.chef-section-para {
    letter-spacing: 2px;
    font-family: Barlow Condensed, sans-serif;
    color: #fff;
    margin: 0;
    font-size: 18px;
    font-weight: 400;
    padding-top: 0px;
}

.chef-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    padding: 20px 0px;
}

.chef-grid-box {
    width: 320px;
    background-color: #212121;
    text-align: center;
    overflow: hidden; /* Prevent image overflow during zoom */
}

.chef-grid-box:hover .chef-grid-img {
    transform: scale(1.05); /* Slight zoom */
    transition: transform 0.3s ease-in-out;
}

.chef-grid-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease-in-out; /* Smooth transition */
}

.chef-detail {
    padding: 30px 0px;
}

.chef-grid-title {
    font-size: 24px;
    font-weight: 500;
    margin-right: 16px;
    color: #fff;
    font-family: Gilda Display, sans-serif;
    margin: 0;
}

.chef-special {
    color: #f5c16c;
    padding-top: 10px;
    margin: 0;
    letter-spacing: 6px;
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
    font-family: Barlow Condensed, sans-serif;
}

.mail {
    font-size: 17px;
    letter-spacing: 1px;
    font-family: Barlow Condensed, sans-serif;
    color: #d7d7d8;
    margin: 0;
    padding-top: 10px;
}

.social-media-grid {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px 0px;
}

.social-media-grid-icon {
    width: 15px;
    height: auto;
}
.view-btn {
    font-size: 17px;
    letter-spacing: 2px;
    margin: 0;
    font-family: 'Barlow Condensed', sans-serif;
    padding: 15px 10px;
    border: 1px solid #f5c16c;
    text-transform: uppercase;
    color: white;
    width: 140px;
    border-radius: 5px;
    text-align: center;
    background-color: #26211D;

    /* Gradient background for transition */
    background-image: linear-gradient(to right, #E3AF5A 0%, #E3AF5A 100%);
    background-repeat: no-repeat;
    background-position: left;
    background-size: 0% 100%;
    transition: background-size 0.4s ease, color 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.view-btn:hover {
    color: black;
    background-size: 100% 100%; /* Animate from left to right */
}


/* rooted-section */
.rooted-section{
    background-color: #111111;
  padding: 40px 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.rooted-minihead {
  font-size: 19px;
  line-height: 24px;
  letter-spacing: 1px;
  color: #ccc;
  margin: 0;
  padding: 0px 0px;
  font-family: Gilda Display, sans-serif;
}
.rooted-grid-section{
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 70px 0px;
    padding-bottom: 30px;
}
.grid-box-lr{
    text-align: left;
    width: 30%;
}
.grid-box-mid{
    width: 40%;
    overflow: hidden; /* Prevent image from overflowing */
    position: relative;
}
.grid-box-para {
    letter-spacing: 2px;
    font-family: Barlow Condensed, sans-serif;
    color: #d7d7d8;
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    padding-top: 10px;
}
.rooted-box{
    padding: 20px 0px;
}
.middle-img {
    width: 100%;
    height: 65vh;
    object-fit: cover; /* Makes image fill container, cropping if needed */
    display: block;
    transform: scale(1.1); /* Start slightly zoomed in */
    transition: transform 0.8s ease-in-out;
}
[data-aos="zoom-out"].aos-animate .middle-img {
    transform: scale(1); /* Zooms out to original size */
}
.right-img-wrapper,
.chef-grid-box,
.grid-box-mid {
    max-width: 100%;
    overflow: hidden;
}




/* Common settings */
.animate-fade-up,
.animate-fade-right,
.animate-fade-left,
.animate-flip-left,
.animate-flip-right,
.animate-zoom-out {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s ease;
}

/* When element becomes visible (add class 'visible') */
.animate-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-flip-left.visible {
  opacity: 1;
  transform: rotateY(0);
}

.animate-flip-right.visible {
  opacity: 1;
  transform: rotateY(0);
}

.animate-zoom-out.visible {
  opacity: 1;
  transform: scale(1);
}

/* Initial transforms */
.animate-fade-right {
  transform: translateX(20px);
}

.animate-fade-left {
  transform: translateX(-20px);
}

.animate-flip-left {
  transform: rotateY(90deg);
}

.animate-flip-right {
  transform: rotateY(-90deg);
}

.animate-zoom-out {
  transform: scale(0.8);
}

/* Duration utility classes */
.animate-duration-500 {
  transition-duration: 0.5s;
}
.animate-duration-800 {
  transition-duration: 0.8s;
}
.animate-duration-1000 {
  transition-duration: 1s;
}
.animate-duration-1400 {
  transition-duration: 1.4s;
}
.animate-duration-1500 {
  transition-duration: 1.5s;
}
.animate-duration-1800 {
  transition-duration: 1.8s;
}
.animate-duration-2000 {
  transition-duration: 2s;
}
