* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body {
  font-family: "Poppins", sans-serif;
  color: #192A23;
  line-height: 1.6;
  background-color: #F6FBF8;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  font-size: 15px;
}

.btn-primary {
  background-color: #2A7F62;
  color: #fff;
}

.btn-primary:hover {
  background-color: #8CD8A8;
}

.btn-outline {
  background-color: transparent;
  color: #2A7F62;
  border: 2px solid #2A7F62;
}

.btn-outline:hover {
  background-color: #2A7F62;
  color: #fff;
}

.section-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  color: #777;
  margin-bottom: 40px;
}


/* NavBar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  position: sticky;
  z-index: 100;
  top: 0;
}

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

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #2A7F62;
}
.logo span{
    color: #222;
}
.logo>i{
    margin-right: 10px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
}

.nav-links a:hover {
  color: #2A7F62;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

/*Hero Section */
.hero {
  scroll-margin-top: 90px;
  background-color: #fff8f5;
  padding: 70px 0;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
  min-width: 300px;
}

.hero-text h1 {
  font-size: 42px;
  margin-bottom: 18px;
}

.hero-text h1 span {
  color: #2A7F62;
}

.hero-text p {
  color: #666;
  margin-bottom: 25px;
  max-width: 480px;
}

.search-bar {
  display: flex;
  max-width: 420px;
  margin-bottom: 25px;
}

.search-bar input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px 0 0 6px;
  font-size: 14px;
  outline: none;
}

.search-bar button {
  border-radius: 0 6px 6px 0;
}

.hero-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.hero-image img {
  border-radius: 16px;
  margin: 0 auto;
}


/* Categories */

.categories {
  padding: 70px 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.category-card {
  background-color: #f7f7f7;
  border-radius: 10px;
  padding: 25px 10px;
  text-align: center;
  transition: 0.2s ease;
  cursor: pointer;
}

.category-card:hover {
  background-color: #2A7F62;
  color: #fff;
  transform: translateY(-4px);
}

.category-card .icon {
  font-size: 32px;
  margin-bottom: 8px;
}

/* Restaurants */
.restaurants {
  padding: 70px 0;
  background-color: #fafafa;
  scroll-margin-top: 90px;
}

.restaurant-grid {
  display: grid;
  grid-template-columns: auto auto auto auto;
  gap: 25px;
}

.restaurant-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: 0.2s ease;
}

.restaurant-card:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  transform: translateY(-4px);
}

.restaurant-card img {
  height: 150px;
  width: 100%;
  object-fit: cover;
}

.restaurant-info {
  padding: 16px;
}

.restaurant-info h3 {
  margin-bottom: 6px;
  font-size: 17px;
}

.restaurant-info .rating {
  color: #2A7F62;
  font-size: 14px;
  margin-bottom: 8px;
}

.restaurant-info .details {
  display: flex;
  justify-content: space-between;
  color: #777;
  font-size: 13px;
  margin-bottom: 14px;
}

.restaurant-info .btn {
  width: 100%;
  text-align: center;
  padding: 10px;
  font-size: 14px;
}


/* Offer */
.offer {
  scroll-margin-top: 150px;  
  background-color: #2A7F62;
  color: #fff;
  padding: 60px 0;
  text-align: center;
}

.offer h2 {
  font-size: 40px;
  margin-bottom: 10px;
}

.offer p {
  font-size: 18px;
  margin-bottom: 20px;
}

.offer .code {
  display: inline-block;
  background-color: #fff;
  color: #2A7F62;
  font-weight: bold;
  padding: 10px 24px;
  border-radius: 6px;
  border: dotted;
  letter-spacing: 1px;
  font-size: 18px;
  animation: pulse 1s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}

/* About */
#about{
    scroll-margin-top: 150px;
}
.about-container { 
  display: grid;
  grid-template-columns: auto auto;
  gap: 100px;
  align-items: center;
  margin: 100px;
}

.about-image img {
  width: 100%;
  height: 450px;
  border-radius: 25px;
}
span{
    color: #2A7F62;
    font-weight: bold;
}
.about-content h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

.about-content > p {
  color: #666;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 25px;
}

.features {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.features>div{
  display: flex;
  gap: 15px;
  align-items: center;
}

.features > div > i {
  background: #fff0eb;
  color: #2A7F62;
  width: 45px;
  height: 45px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.features h4 {
  font-size: 14px;
}

.features p {
  color: #999;
  font-size: 11px;
}

/* Contact */
footer {
  scroll-margin-top: 80px;
  background-color: #222;
  color: #ccc;
  padding: 50px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

footer .logo {
  color: #2A7F62;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 12px;
}
footer .logo span{
  color: #8CD8A8;
}

footer h4 {
  color: #fff;
  margin-bottom: 15px;
}

footer ul li {
  margin-bottom: 10px;
}

footer ul li a:hover {
  color: #2A7F62;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.social-links a {
  width: 34px;
  height: 34px;
  background-color: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-links a:hover {
  background-color: #2A7F62;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  font-size: 13px;
  color: #999;
}
.iconContainer a {
  color: #2A7F62;
  font-size: 30px;
}
.iconContainer {
  display: flex;
  height:46.4px ;
  padding: 8px;
  border-radius: 50%;
  position: fixed;
  right: 20px;
  bottom: 10px;
  align-items: center;
}
.iconContainer:hover {
  background-color: #8CD8A8;
  animation: myAnimation 5s;
  animation-play-state: running;
}
.iconContainer:hover i {
  color: #2A7F62;
}
@keyframes myAnimation {
  0% {
    transform: rotate(30deg);
  }
  25% {
    transform: rotate(-30deg);
  }
  50% {
    transform: rotate(30deg);
  }
  75% {
    transform: rotate(-30deg);
  }
  100% {
    transform: rotate(30deg);
  }
}
::-webkit-scrollbar{
    width: 10px;
}
::-webkit-scrollbar-thumb{
    background-color: #8CD8A8;
}
