@import "tailwindcss";


/* ================== ÜMUMİ ================== */
.card-container {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}

/* ================== MOBİL – FLIP CARD ================== */
.flip-scene {
  perspective: 1200px;
}

.flip-card {
  width: 360px;
  height: 100%;
  margin: auto;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s ease;
}

.flip-card.is-flipped {
  transform: rotateY(180deg);
}

.card-face {
  position: absolute;
  inset: 0;
  background: white;
  border-radius: 24px;
  border: 8px solid #dc2626;
  backface-visibility: hidden;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,.25);
}

.card-back {
  transform: rotateY(180deg);
}

.star {
  font-size: 3.5rem;
}

/* ================== DESKTOP ================== */
@media (min-width: 768px) {
  .flip-scene {
    perspective: none;
  }

  .flip-card {
    transform: none !important;
    display: flex;
    gap: 40px;
    width: auto;
    height: auto;
  }

  .card-face {
    position: relative;
    transform: none !important;
    width: 360px;
    height: 100%;
  }

  .flip-btn {
    display: none;
  }
}

/* ================== FORM ================== */
input, select {
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  font-size: 14px;
}

label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
  display: block;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
  }
  
  .swiper {
    width: 100%;
    height: 55vh;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
  }
  
  .swiper-slide {
    position: relative;
  }
  
  /* ŞƏKİL */
  .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35; /* 🔥 ARXA ŞƏKİL ZƏİF */
  }
  
  /* OVERLAY CONTENT */
  .slide-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    color: #fff;
  }
  
  .slide-content h1 {
    font-size: 48px;
    margin-bottom: 10px;
  }
  
  .slide-content p {
    font-size: 18px;
    max-width: 500px;
    opacity: 0.9;
  }
  
  .btn {
    margin-top: 20px;
    display: inline-block;
    width: fit-content;
    padding: 12px 28px;
    background: #e11d48;
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
  }
  

  .swiper-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to right,
      rgba(0,0,0,0.6),
      rgba(0,0,0,0.2)
    );
    z-index: 1;

  }
  

  .swiper-slide img {
    opacity: 1;
  }

  .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: transparent;
    border: 2px solid red;        /* Mavi border */
    opacity: 0.7;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  }
  
  .swiper-pagination-bullet-active {
    background: red;              /* Tam mavi doldurma */
    transform: scale(1.5);
    opacity: 1;
  }
  
  
  /* From Uiverse.io by Samiix10 */ 
.height {
    display: flex;
    flex-direction: column;
  }
  .height label {
    font-size: 18px;
    margin-left: 20px;
  }
  .height sup {
    color: red;
  }
  .height .input {
    border: none;
    outline: none;
    border-radius: 100px;
    padding: 0.5em;
    background-color: #e1e2e3;
    box-shadow: inset 2px 5px 10px rgba(0, 0, 0, 0.3);
    transition: 300ms ease-in-out;
    position: relative;
    margin-top: 10px;
  }
  .height .input:focus {
    background-color: #ffffff;
    transform: scale(1.05);
    box-shadow: 13px 13px 100px #969696, -13px -13px 100px #ffffff;
  }
  

  @keyframes fadeIn { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: scale(1); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideLeft { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }

.animate-fadeIn { animation: fadeIn .8s ease-out forwards; }
.animate-slideDown { animation: slideDown .8s ease-out forwards; }
.animate-slideLeft { animation: slideLeft .8s ease-out forwards; }
.animate-slideRight { animation: slideRight .8s ease-out forwards; }

 


.card {
  width: 380px;
  max-width: 95vw;
  height: auto;
  min-height: 600px;
  max-height: 90vh;
  background: white;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 
    0 30px 70px rgba(220, 38, 38, 0.25),
    0 15px 35px rgba(0,0,0,0.2),
    inset 0 0 30px rgba(239, 68, 68, 0.08);
  display: flex;
  flex-direction: column;
}

.header {
  background: linear-gradient(to bottom, #dc2626, #b91c1c);
  color: white;
  text-align: center;
  padding: 2px 2px 20px;
  position: relative;
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.15), transparent);
}

.star {
  font-size: 50px;
  margin-bottom: 12px;
  animation: pulse 3s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  overflow-y: auto;
}

.section {
  background: #f9fafb;
  border-radius: 16px;
  padding: 5px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border: 1px solid #e5e7eb;
}

.blood-group {
  background: linear-gradient(to bottom, #fef2f2, #fee2e2);
  border: 3px solid #fca5a5;
}

.warning {
  background: linear-gradient(to right, #fffbeb, #fef3c7);
  border: 2px solid #fcd34d;
  text-align: center;
  font-weight: 600;
}

.contact-item {
  background: white;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

h1 {
  font-size: 100px;
}

.blood-group p:last-child {
  font-size: 28px;
}

.perspective-2000 { perspective: 2000px; }
  .preserve-3d { transform-style: preserve-3d; }
  .backface-hidden { backface-visibility: hidden; }
  .rotate-y-180 { transform: rotateY(180deg); }
  .flipped { transform: rotateY(180deg); }