/* ===================== GENERAL CSS ===================== */

:root {
  --primary: #3b3b98;
  --secondary: #182C61;
  --accent: #00cec9;
  --light: #f1f2f6;
  --dark: #2c3e50;
  --text: #333;
  --bg: #f9f9f9;
  --white: #ffffff;
  --gray-light: #f2f2f2;
  --gray-medium: #666666;
  --gray-dark: #222222;
  --shadow: rgba(0, 0, 0, 0.06);
  --shadow-hover: rgba(0, 0, 0, 0.1);
  --danger: #ff4757;
  --phone-bg: #3c82f6;
  --phone-hover: #2563eb;
  --footer-bg: #1e2a38;
  --footer-link: #ccc;
  --footer-link-hover: #00aced;
  --footer-border: rgba(255,255,255,0.1);
  --footer-text: #aaa;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 {
  color: var(--dark);
}



section {
  padding: 60px 0;
}

button {
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

img {
  max-width: 100%;
  display: block;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes subtleZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.02);
  }
}

/* Utilitare */
.text-center {
  text-align: center;
}

.dif_top_bottom{
  margin-top:16px;
  margin-bottom:16px;
}

.shadow {
  box-shadow: 0 10px 25px var(--shadow);
}

.rounded {
  border-radius: 12px;
}

.bg-light {
  background-color: var(--light);
}

.text-white {
  color: var(--white);
}

/* Responsive Grid */
.grid {
  display: grid;
  gap: 20px;
}

.breadcrumb {
  font-size: 0.95rem;
  color: var(--gray-medium);
  margin-bottom: 20px;
  animation: fadeIn 0.5s ease;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: var(--text);
}

/* ===== PAGINARE ===== */
.pagination {
  display: flex;
  justify-content: center;
  margin: 40px 0 0;
  flex-wrap: wrap;
  gap: 8px;
}

.pagination a {
  display: inline-block;
  padding: 10px 16px;
  font-size: 16px;
  background: var(--gray-light);
  color: var(--text);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px var(--shadow);
}

.pagination a:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.pagination a.active {
  background-color: var(--primary);
  color: var(--white);
  font-weight: bold;
  box-shadow: 0 4px 10px var(--shadow-hover);
  pointer-events: none;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}
