:root {
  --primary-color: #ff385c;
  --bg-color: #fff;
  --text-color: #222;
  --muted-text: #717171;
  --border-color: #ddd;
  --shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  --radius-full: 999px;
  --transition: 0.3s ease;

  --link-color: #000;
  --footer-padding: 40px;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(to bottom, #ffffff, #f8f8f8);
}

.navbar {
   position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  background-color: var(--bg-color);
 
}
@media screen and (max-width: 768px){
  .navbar{
    display: flex;
    flex-direction: column;
    gap: 30px;

  }

  
}
@media screen and (max-width: 375px){
  .navbar{
    display: flex;
    flex-direction: column;

  }
  .search-bar{
    display: flex;
    flex-wrap: wrap;
    border-radius: 5px solid ;
  }
  
}

.logo {
  height: 52px;
  width: 100px;
}

.navbar-center {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  text-decoration: none;
  color: var(--text-color);
  font-size: 14px;
  transition: var(--transition);
}

.nav-item i {
  font-size: 16px;
}

.nav-item:hover {
  color: var(--primary-color);
  transform: scale(1.05);
}

.nav-item.active {
  font-weight: bold;
  border-bottom: 2px solid var(--text-color);
  padding-bottom: 4px;
}

.new-badge {
  position: absolute;
  top: -10px;
  right: -20px;
  background-color: #d53030;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 8px;
}

.navbar-right {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.navbar-right a {
  text-decoration: none;
  color: var(--text-color);
  transition: var(--transition);
}

.navbar-right a:hover {
  color: var(--primary-color);
}

.icon {
  
  line-height: 32px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}



.search-bar {
  margin: 20px auto;
  display: flex;
  align-items: center;
  background-color: var(--bg-color);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow);
  width: fit-content;
  padding: 10px 20px;
  gap: 20px;
  transition: var(--transition);
}

.search-section {
  display: flex;
  flex-direction: column;
}

.title {
  font-weight: bold;
  font-size: 14px;
  color: var(--text-color);
}

.subtitle {
  font-size: 14px;
  color: var(--muted-text);
}

.divider {
  height: 40px;
  width: 1px;
  background-color: var(--border-color);
}

.search-btn {
  background-color: var(--primary-color);
  border: none;
  color: white;
  font-size: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.search-btn:hover {
  background-color: #e03150;
}

h2 {
  padding: 20px;
  font-size: 22px;
  margin-bottom: 20px;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
  padding: 20px;
}

.home-card {
  background: white;
 border-radius: 20px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.home-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.card-image {
  position: relative;
}

.card-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 20px;
  
}

.tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #fff;
  color: #333;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  font-weight: bold;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.heart-toggle {
  display: none;
}

.heart-label {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #fff;
  border-radius: 50%;
  padding: 8px;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition);
}

.heart-label:hover {
  transform: scale(1.1);
}

.heart-toggle:checked + .heart-label i {
  color: var(--primary-color);
  font-weight: bold;
}

.card-info {
  padding: 12px 15px 18px;
}

.card-info h4 {
  margin: 0 0 6px;
  font-size: 16px;
}

.card-info p {
  color: var(--muted-text);
  font-size: 14px;
}

.fa-star {
  color: gold;
}




footer {
  background-color: var(--bg-color);
  padding: var(--footer-padding);
  border-top: 1px solid #ddd;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-column {
  flex: 1 1 250px;
  margin: 10px 20px;
}

.footer-column h4 {
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  text-decoration: none;
  color: var(--link-color);
}

.footer-bottom {
  border-top: 1px solid #ddd;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.footer-bottom a {
  color: var(--link-color);
  text-decoration: none;
  margin: 0 10px;
}

.footer-settings {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}