/* Genel Stiller */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f8f5f2;
  color: #3a3a3a;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

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

/* Header Stili */
header {
  background: linear-gradient(to right, #000000, #015634); /* Soldan sağa doğru renk geçişi */
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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


.logo {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo span {
  color: #c4c8c6;
}/* Genel nav stili */
nav {
  display: flex;
  align-items: center;
}

/* Hamburger simgesi */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  user-select: none;
  color: white;
}

/* Masaüstü menü */
nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #d4a574;
}

/* Mobil görünüm */
@media (max-width: 768px) {
  .hamburger {
    display: block;
    z-index: 10001;
  }

  nav {
    position: absolute;
    top: 60px;
    right: 0;
    background-color: rgba(53, 56, 57, 0.9); /* Daha şeffaf bir arka plan */
    width: 220px;
    height: 100vh;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 10000;
    flex-direction: column;
    padding: 30px 20px;
  }

  nav.active {
    transform: translateX(0);
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul li {
    margin: 15px 0;
  }

  nav ul li a {
    color: white !important;
    font-size: 18px;
    font-weight: bold;
  }

  nav ul li a:hover {
    color: #00ffaa;
  }
}



.cart-btn {
  background-color: #d4a574;
  color: #402218;
  padding: 8px 15px;
  border-radius: 25px;
  font-weight: 600;
}

.cart-btn:hover {
  background-color: #c09667;
  color: #fff;
}

/* Hero Section */
.hero {
  height: 80vh;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/api/placeholder/1200/600') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #d4a574;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s;
  font-size: 18px;
}

.btn:hover {
  background-color: #c09667;
  transform: translateY(-3px);
}

/* Ürün Kategorileri */
.categories {
  padding: 80px 0;
}

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

.section-title h2 {
  font-size: 36px;
  color: #402218;
  margin-bottom: 15px;
}

.section-title p {
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

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

.category-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.category-card:hover {
  transform: translateY(-10px);
}

.category-image {
  height: 200px;
  background-color: #eee;
  position: relative;
}

.category-content {
  padding: 20px;
}

.category-content h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #402218;
}

.category-content p {
  color: #666;
  margin-bottom: 15px;
  font-size: 15px;
}

.price {
  color: #d4a574;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sm-btn {
  padding: 8px 15px;
  font-size: 14px;
}

.featured {
  padding: 80px 0;
  background: linear-gradient(to bottom, #000000, #015634); /* Yukarıdan aşağıya siyah'tan yeşil tonuna geçiş */
  color: #fff;
}


.featured .section-title h2 {
  color: #fff;
}

.featured .section-title p {
  color: #d4a574;
}

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

.product-card {
  background-color: #4e2a1c;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
  padding: 20px;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.product-image {
  height: 140px;
  background-color: #3a1d13;
  border-radius: 8px;
  position: relative;
  margin-bottom: 15px;
}
.product-image img {
  width: 100%; /* Görselin genişliği kartın genişliğine göre ayarlanır */
  height: 140px;
  border-radius: 8px; /* Köşeleri yuvarlatır */
}


.product-title {
  font-size: 18px;
  margin-bottom: 8px;
  color: #fff;
}

.product-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.product-price {
  color: #d4a574;
  font-weight: 700;
}

.rating {
  color: #d4a574;
}

.product-meta {
  font-size: 14px;
  color: #bbb;
  margin-bottom: 15px;
}

.add-to-cart {
  width: 100%;
  padding: 8px;
  border: none;
  background-color: #d4a574;
  color: #402218;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.add-to-cart:hover {
  background-color: #c09667;
  color: #fff;
}

/* Kahve İçeriği */
.coffee-story {
  padding: 80px 0;
  background-color: #f8f5f2;
}

.coffee-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  align-items: center;
}

.coffee-text h2 {
  font-size: 36px;
  color: #402218;
  margin-bottom: 20px;
}

.coffee-text p {
  margin-bottom: 20px;
  color: #555;
  font-size: 16px;
  line-height: 1.8;
}

.coffee-image {
  height: 400px;
  background-color: #eee;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.coffee-image img{
  height: 400px;
  background-color: #eee;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Özellikler */
.features {
  padding: 60px 0;
  background-color: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-card {
  text-align: center;
  padding: 30px;
  background-color: #f8f5f2;
  border-radius: 10px;
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: #d4a574;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
}

.feature-title {
  color: #402218;
  margin-bottom: 10px;
  font-size: 20px;
}

.feature-text {
  color: #666;
  font-size: 14px;
}

/* İletişim Formu */
.contact {
  padding: 80px 0;
  background-color: #f8f5f2;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
}

.contact-info h3 {
  font-size: 28px;
  color: #402218;
  margin-bottom: 20px;
}

.contact-details {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  margin-bottom: 15px;
  color: #555;
}

.contact-item i {
  margin-right: 15px;
  color: #d4a574;
}

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

.social-icon {
  width: 40px;
  height: 40px;
  background-color: #d4a574;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s;
}

.social-icon:hover {
  background-color: #402218;
  transform: translateY(-5px);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

.contact-form textarea {
  height: 150px;
  resize: none;
}

.submit-btn {
  background-color: #402218;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s;
}

.submit-btn:hover {
  background-color: #d4a574;
}

/* Footer */
footer {
  background: linear-gradient(to right, #015634, #000000); /* Soldan sağa doğru renk geçişi */
  color: #fff;
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h4 {
  color: #d4a574;
  margin-bottom: 20px;
  font-size: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #d4a574;
}

.newsletter input {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  margin-bottom: 10px;
}

.subscribe-btn {
  background-color: #d4a574;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.subscribe-btn:hover {
  background-color: #c09667;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #513a2e;
  color: #bbb;
  font-size: 14px;
}

/* Responsive Tasarım */
@media (max-width: 992px) {
  .category-grid {
      grid-template-columns: repeat(2, 1fr);
  }
  .product-grid {
      grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
      grid-template-columns: repeat(2, 1fr);
  }
  .footer-content {
      grid-template-columns: repeat(2, 1fr);
  }
  .logo {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
  }
}

@media (max-width: 768px) {
  .coffee-content {
      grid-template-columns: 1fr;
  }
  .contact-container {
      grid-template-columns: 1fr;
  }
  nav ul {
      display: none;
  }
}

@media (max-width: 576px) {
  .category-grid {
      grid-template-columns: 1fr;
  }
  .product-grid {
      grid-template-columns: 1fr;
  }
  .features-grid {
      grid-template-columns: 1fr;
  }
  .footer-content {
      grid-template-columns: 1fr;
  }
  .hero h1 {
      font-size: 36px;
  }
}