:root {
  --primary-color: #1a73e8;
  --secondary-color: #34a853;
  --dark-color: #202124;
  --light-gray: #f8f9fa;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

/* Navbar */
.navbar {
  background: linear-gradient(135deg, var(--primary-color), #0d47a1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.3rem;
  color: white !important;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  margin: 0 10px;
  transition: all 0.3s;
}

.navbar-nav .nav-link:hover {
  color: white !important;
  transform: translateY(-2px);
}

.badge-cart {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--secondary-color);
  border-radius: 50%;
  padding: 3px 7px;
  font-size: 11px;
}

/* Hero Section */
.hero {
  background: url("../images/hero.png") center center no-repeat;
  background-size: 100% auto;
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 400px;
  overflow: hidden;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.95;
}

/* Cards */
.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-img-top {
  height: 220px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.price-hidden {
  color: #999;
  font-size: 1rem;
  font-style: italic;
}

/* Buttons */
.btn-primary {
  background: var(--primary-color);
  border: none;
  padding: 10px 25px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: #1557b0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

.btn-success {
  background: var(--secondary-color);
  border: none;
  border-radius: 8px;
}

.btn-success:hover {
  background: #2d8e47;
}

/* Alerts */
.alert {
  border: none;
  border-radius: 10px;
  padding: 15px 20px;
}

/* Footer */
.footer {
  background: #2c3e50;
  color: white;
  padding: 40px 0 20px;
  margin-top: 80px;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.footer a:hover {
  color: white;
}

/* Category Badge */
.category-badge {
  background: var(--light-gray);
  padding: 8px 15px;
  border-radius: 20px;
  display: inline-block;
  margin: 5px;
  color: #555;
  text-decoration: none;
  transition: all 0.3s;
}

.category-badge:hover {
  background: var(--primary-color);
  color: white;
}

/* Table */
.table {
  background: white;
  border-radius: 10px;
  overflow: hidden;
}

.table thead {
  background: var(--primary-color);
  color: white;
}

/* Admin Sidebar */
.admin-sidebar {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.admin-sidebar .nav-link {
  color: #333;
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 5px;
  transition: all 0.3s;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
  background: var(--primary-color);
  color: white;
}

/* Hero buton pozisyonu */
.hero .mt-4 {
  margin-top: 250px !important;
}

/* Hero sonrası container */
.hero + .container {
  background: #f8f9fa;
  padding: 40px 20px;
  border-radius: 15px;
  margin-top: 30px;
}
