/* =========================================================
   Asociația Prietenii lui Azor – CSS combinat complet
   Paletă: corai + alb pastel + accente galbene
   ========================================================= */

/* ---------- Variabile și reset ---------- */
:root {
  --accent: #ff6f61;          /* corai principal */
  --accent-light: #ff9478;    /* corai deschis */
  --highlight: #f2c94c;       /* galben blând (din tema veche) */
  --bg-light: #fff8f3;        /* fundal cald */
  --text: #222;
  --muted: #666;
  --max-width: 1100px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  color: var(--text);
  line-height: 1.6;

  /* FUNDALUL NOU */
  background: url("../images/poza-speciala.png") no-repeat center center fixed;
  background-size: cover;
}


/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: .5rem .75rem;
  background: #000;
  color: #fff;
  z-index: 1000;
}

/* ---------- HEADER ---------- */
header {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: white;
  padding: 40px 20px;
  text-align: center;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

header img.stema {
  height: 80px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

header img.stema:hover {
  transform: scale(1.05);
}

header h1 {
  font-size: 36px;
  font-weight: 900;
  margin: 0;
  letter-spacing: 1px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
}

header p {
  font-size: 18px;
  font-weight: 500;
  margin: 0;
  width: 100%;
  text-align: center;
  margin-top: 8px;
  color: #ffe8e2;
  opacity: 0.9;
}

/* ---------- NAV (sticlă + glow) ---------- */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  text-align: center;
  padding: 14px 0;
  background: rgba(255, 229, 224, 0.35); /* fundal semitransparent */
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 15px rgba(255, 111, 97, 0.2);
}

nav a {
  text-decoration: none;
  color: var(--text);
  margin: 0 20px;
  font-weight: 700;
  font-size: 17px;
  display: inline-block;
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  transition: all 0.3s ease;
}

/* Hover elegant cu glow */
nav a:hover {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.07);
  box-shadow: 0 0 10px rgba(255, 111, 97, 0.35);
}

/* Pagina curentă */
nav a[aria-current="page"],
nav a.active {
  background: rgba(255, 111, 97, 0.25);
  color: #ff6f61;
  border: 1px solid rgba(255, 111, 97, 0.3);
  box-shadow: 0 2px 8px rgba(255, 111, 97, 0.25);
}

/* Linie subtilă sub link activ */
nav a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 2px;
  background: #ff6f61;
  border-radius: 2px;
}

/* ---------- SECTIONS GENERALE ---------- */
section {
  padding: 50px 20px;
  max-width: 900px;
  margin: 40px auto;
  border-radius: 20px;
  font-size: 18px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease;
}
section:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

h2 {
  color: #c94c4c;
  font-weight: 800;
  font-size: 30px;
  text-align: center;
  margin-bottom: 20px;
}
h3 {
  color: #c94c4c;
  font-weight: 800;
  font-size: 22px;
  margin-top: 0;
}

/* ---------- BLOCKQUOTE / TEXT ACCENT ---------- */
blockquote {
  margin: 1rem 0;
  padding: .75rem 1rem;
  border-left: 4px solid var(--highlight);
  background: #fffbea;
  font-style: italic;
}
.accent-text {
  background: #fff7e6;
  padding: .75rem;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
}

/* ---------- IMAGES ---------- */
img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* ---------- DOG FRAME ---------- */
.dog-frame {
  border: 5px solid var(--accent);
  border-radius: 20px;
  padding: 10px;
  display: inline-block;
  margin: 20px 0;
}
.dog-frame img {
  border-radius: 15px;
}

/* ---------- INTRO SECTION (INDEX) ---------- */
.intro {
  background: rgba(196, 196, 196, 0.75); /* alb transparent */
  backdrop-filter: blur(6px);             /* estompează ușor imaginea din spate */
  padding: 60px 5%;
  border-radius: 25px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  margin: 50px auto;
  max-width: 1200px;
}

.intro-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.intro-image img {
  width: 500px;
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.intro-text {
  flex: 1;
  min-width: 300px;
}
.intro-text h2 {
  text-align: left;
  color: #c94c4c;
  margin-top: 0;
}
.intro-text ul {
  list-style: disc;
  padding-left: 20px;
}

/* ---------- FORM ---------- */
form {
  background-color: #fff;
  padding: 30px;
  border: 1px solid #eee;
  border-radius: 16px;
  max-width: 480px;
  margin: 30px auto 0 auto;
  box-shadow: var(--shadow);
  font-size: 18px;
}
label { font-weight: 700; }
input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 12px;
  margin-top: 5px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,111,97,0.2);
}
button, input[type="submit"] {
  background-color: var(--accent);
  color: white;
  border: none;
  padding: 12px 28px;
  font-weight: bold;
  font-size: 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
button:hover, input[type="submit"]:hover {
  background-color: #e4574f;
  transform: translateY(-2px);
}

/* ---------- SHOP ---------- */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}
.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
  border-radius: 0;
  margin: 0;
  box-shadow: none;
}
.card-content {
  padding: 20px;
}
.card-content h3 {
  color: #c94c4c;
  font-size: 22px;
  margin-bottom: 10px;
}
.card-content p {
  font-size: 15px;
  color: #555;
  margin-bottom: 15px;
}
.price {
  font-weight: bold;
  font-size: 17px;
  color: #333;
}
.btn {
  display: inline-block;
  background-color: var(--accent);
  color: white;
  padding: 10px 20px;
  margin-top: 12px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.btn:hover {
  background-color: #e4574f;
  transform: translateY(-2px);
}

/* ---------- BLOG ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}
.blog-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}
.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
  border-radius: 0;
  margin: 0;
  box-shadow: none;
}
.blog-card h3 {
  color: #c94c4c;
  font-size: 20px;
  font-weight: 800;
  margin: 15px 15px 10px 15px;
}
.blog-card p {
  font-size: 15px;
  color: #555;
  padding: 0 15px;
  margin-bottom: 15px;
}
.blog-card .btn {
  display: inline-block;
  margin: 15px auto 20px auto;
  text-align: center;
}

/* ---------- FOOTER ---------- */
footer {
  margin-top: auto;
  background-color: var(--accent);
  color: white;
  text-align: center;
  padding: 20px 0;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  font-size: 15px;
  letter-spacing: 0.5px;
}

/* ---------- FILTRU CAINI / ADOPTIE ---------- */
.filtru-caini {
  text-align: center;
  background: #fff;
  border-radius: 25px;
  padding: 60px 30px;
  margin: 60px auto;
  max-width: 1200px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
}

.filtru-caini::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255,111,97,0.15), transparent 60%),
              radial-gradient(circle at bottom right, rgba(242,201,76,0.15), transparent 60%);
  z-index: 0;
}

.filtru-caini h2 {
  color: var(--accent);
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.filtru-caini p {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}
/* ---------- FUNDAL TRANSPARENT PENTRU PAGINA ADOPTIE ---------- */
.filtru-caini,
.lista-caini {
  background: rgba(255, 255, 255, 0.68); /* alb semi-transparent */
  backdrop-filter: blur(8px);            /* estompează fundalul */
  border-radius: 25px;
  padding: 50px 30px;
  margin: 60px auto;
  max-width: 1200px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* ---------- CARDURI DE CATEGORII SI CAINI ---------- */
.categorie-card,
.caine-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

/* ---------- TEXTUL DIN INTERIOR ---------- */
.lista-caini h2, 
.filtru-caini h2, 
.filtru-caini p, 
.caine-descriere p {
  color: #222;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}


/* === CARDURI CATEGORII CAINI - DESIGN ELEGANT === */
.categorie-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.categorie-card {
  width: 210px;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 22px;
  padding: 18px 14px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.categorie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-light);
  background: #fff9f8;
}

.categorie-card.active {
  border-color: var(--accent);
  background: #fff5f2;
  box-shadow: 0 8px 22px rgba(255,111,97,0.2);
}

.categorie-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  border-radius: 16px;
  background: #fff;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.categorie-card:hover img {
  transform: scale(1.05);
}

.categorie-card h3 {
  color: var(--accent);
  font-weight: 700;
  font-size: 17px;
  margin: 0;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .categorie-card { width: 45%; }
}
@media (max-width: 600px) {
  .categorie-card { width: 85%; }
}

/* === ZONA DE FILTRARE SECUNDARĂ === */
.filtru-secundar {
  display: none;
  opacity: 0;
  transform: translateY(-15px);
  background: #fff;
  border: 2px solid var(--accent-light);
  border-radius: 18px;
  padding: 25px 20px;
  margin: 25px auto;
  max-width: 700px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
}

.filtru-secundar.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.filtru-secundar h4 {
  color: var(--accent);
  font-size: 20px;
  margin-bottom: 16px;
}

.filtru-secundar .opt-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.filtru-secundar .opt {
  background: #fffaf7;
  border: 2px solid var(--accent-light);
  padding: 10px 18px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-weight: 600;
}

.filtru-secundar .opt:hover {
  background: var(--accent);
  color: #fff;
}

/* === CARD CAINE === */
.caine-card {
  background: rgba(255, 255, 255, 0.12); /* 🔹 un singur strat de sticlă mată */
  backdrop-filter: blur(8px);
  border-radius: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.caine-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* === SLIDER CAINI FULL === */
.caine-card .slider {
  position: relative;
  width: 100%;
  height: 360px; /* 🔹 mai mic și proporționat */
  overflow: hidden;
  background: transparent; /* 🔹 eliminat stratul alb */
  backdrop-filter: none;
  box-shadow: none;
  border-radius: 20px 20px 0 0;
}

.caine-card .slider img {
  width: 100%;
  height: 100%;
  object-fit: contain;  /* 🔹 imagine complet vizibilă */
  background: transparent;
  transform: scale(1.08);
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.6s ease-in-out, transform 0.3s ease;
}

.caine-card .slider img.active {
  opacity: 1;
}

/* 🔘 Butoane slider */
.caine-card .slider button.prev,
.caine-card .slider button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,111,97,0.85);
  border: none;
  color: white;
  font-size: 22px;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  z-index: 2;
  transition: background 0.3s ease, transform 0.2s ease;
}

.caine-card .slider button.prev:hover,
.caine-card .slider button.next:hover {
  background: var(--accent);
  transform: translateY(-50%) scale(1.1);
}

.caine-card .slider button.prev { left: 8px; }   /* 🔹 mai aproape de imagine */
.caine-card .slider button.next { right: 8px; }  /* 🔹 mai aproape de imagine */

/* === RESPONSIVE SLIDER === */
@media (max-width: 768px) {
  .caine-card .slider {
    height: 260px;
  }
  .caine-card .slider img {
    transform: scale(1.05);
  }
}

/* === DESCRIERE CAINE === */
.caine-descriere {
  padding: 20px 25px;
  text-align: left;
  background: rgba(255, 255, 255, 0.15); /* 🔹 ușor transparent, fără strat suplimentar */
  backdrop-filter: blur(6px);
  border-radius: 0 0 20px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  color: #222;
  line-height: 1.6;
  max-width: 90%;
  margin: 0 auto;
}

.caine-descriere h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
  color: #333;
  text-align: center;
}

.caine-descriere .detalii {
  font-weight: 500;
  color: #444;
  text-align: center;
}

.caine-descriere .linie {
  width: 60%;
  height: 2px;
  background: rgba(255, 255, 255, 0.4);
  margin: 12px auto;
  border-radius: 2px;
}

.caine-descriere .descriere-text {
  margin-top: 10px;
  text-align: justify;
  font-size: 0.95rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* === FILTRU NUME === */
.filtru-nume {
  margin-bottom: 15px;
  text-align: center;
}

.filtru-nume input {
  padding: 10px 14px;
  border: 2px solid #ffd2c7;
  border-radius: 10px;
  font-size: 16px;
  width: 60%;
  max-width: 300px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.filtru-nume input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 6px rgba(255,111,97,0.4);
  outline: none;
}
.filtru-secundar .opt.active {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 10px rgba(255,111,97,0.4);
}
/* === CONTACT PAGE BEAUTY UPGRADE === */

.contact-section {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  border-radius: 25px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  text-align: center;
  padding: 60px 30px;
  animation: fadeIn 0.8s ease-in-out;
}

.contact-info {
  margin-bottom: 25px;
  font-size: 18px;
  color: #444;
  line-height: 1.8;
}

.contact-info strong {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.5px;
}

.contact-info a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.contact-info a:hover {
  color: #e4574f;
  text-shadow: 0 0 8px rgba(255,111,97,0.5);
}

/* === VOLUNTEER BUTTON (cu inimă și animație) === */
.volunteer-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: white;
  font-size: 18px;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  padding: 14px 40px;
  cursor: pointer;
  margin-top: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(255, 111, 97, 0.25);
}

.volunteer-btn:hover {
  background: linear-gradient(135deg, #ff8577, #ffb199);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 25px rgba(255, 111, 97, 0.4);
}

/* Mică animație la hover */
.volunteer-btn::after {
  content: ' ❤️';
  opacity: 0;
  transition: opacity 0.3s ease;
}
.volunteer-btn:hover::after {
  opacity: 1;
}

/* === ANIMAȚIE FINĂ === */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}










