:root {
  --bg-color: #f5f0e1;
  --text-color: #3e2f23;
  --accent-color: #c7b198;
  --hover-color: #8a8776;
}

@media (prefers-color-scheme: dark) {
  :root {
    /* Dark mode rənglər */
    --bg-color: #121212;
    --accent-color: #9b8028;
    --text-color: #f3f3f3;
  --hover-color: #1f1f1f;
  }
}

.back-btn {
  display: inline-block;
  margin: 30px auto;
  padding: 12px 24px;
  background-color: var(--accent-color);
  color: var(--text-color);
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.back-btn:hover {
  background-color: #a88d6d; /* daha tünd hover tonu */
  transform: scale(1.05);
}

body {
  margin: 0;
  font-family: 'Georgia', serif;
  background-color: var(--bg-color);
  color: var(--text-color);
}

.main-header {
  z-index: 999;
  background-color: var(--accent-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 60px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  margin: 20px 10vw;
  border-radius: 20vw;
  position: sticky; top: 0;
}

.logo {
  font-size: 2.5vw;
  font-weight: bold;
  font-family: serif;
}
@media (max-width: 932px){
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}



  .logo{
    font-size: 18px;
  }
.hero-container{
  height: 3%;
  width: 10vw;
}
.hero-text li{
  text-size-adjust: 20px;
}
}

.user-icon {
  font-size: 2.2rem;
  color: var(--text-color); /* Tünd qızılı */
  margin-left: 20px;
  transition: transform 0.3s ease, color 0.3s ease;
}
.user-icon:hover {
  transform: scale(1.1);
  color: #c39c2c;
}


.navbar {
  display: flex;
  align-items: center;
}

/* Desktop menyu (PC görünüşü) */
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links li a {
  font-size: 1.5vW;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.5s ease;
}
.nav-links .teklifler:hover{
  background-color: #2e2e2e;
  color: gold;
  padding: 0.2vw 0.5vw;
  border-radius: 2vw;
  transition: 0.5s ease;
}


.nav-links li a:hover {
  color: var(--hover-color);
}




/* Hamburger menyu defaultda gizlidir */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  margin-left: 400px;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  transition: all 0.5s ease;
}

/* MOBİL GÖRÜNÜŞ */
@media (max-width: 932px) {
  .nav-links {
    position: absolute;
    top: -500px;
    right: 20px;
    background-color: var(--accent-color);
    flex-direction: column;
    border-radius: 5vw;
    width: 200px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s ease;
  }

  .nav-links.menu-open {
    top: 70px;
    opacity: 1;
    pointer-events: auto;
  }
    .nav-links li a{
      font-size: 5vw;
    }

  .burger {
    display: flex;
  }
}



.product-section {
  padding: 60px 10%;
  background-color: var(--bg-color);
}

.product-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
  color: #ffffff;
}


.product-grid {
  display: flex;
}

@media (max-width: 932px) {
  .product-grid {
  display: grid;
}
}


.product-card {
  display: grid;
  margin: 2vw;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: scale(1.03);
}

.product-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-image img:hover {
  transform: scale(1.1);
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #1f1f1f;
}

.product-info p {
  font-size: 16px;
  color: #555;
  margin-bottom: 15px;
}

.price-buy {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-buy span {
  font-weight: bold;
  font-size: 18px;
  color: #7b5d2d;
}

.price-buy button {
  background-color: #7b5d2d;
  color: #fff;
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.price-buy button:hover {
  background-color: #5f451d;
}
