/* ==========================================================================
   UYWAY ADOPTA PAGE - DESIGN SYSTEM & CARD ANIMATIONS
   Colors: #FE6232 (Primary Orange), #FFFFFF (White Contrast), #F9F5F3 (Background)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
  --adopta-bg: #F9F5F3;
  --adopta-orange: #FE6232;
  --adopta-orange-dark: #E04E20;
  --adopta-text-dark: #222831;
  --adopta-text-muted: #6E7076;
  --adopta-white: #FFFFFF;
  --adopta-radius-lg: 36px;
  --adopta-radius-md: 20px;
  --adopta-shadow-card: 0 20px 50px rgba(254, 98, 50, 0.12);
  --adopta-shadow-white: 0 20px 50px rgba(0, 0, 0, 0.06);
  --font-family: 'Plus Jakarta Sans', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--adopta-bg);
  color: var(--adopta-text-dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ==========================================================================
   1. MAIN CONTAINER & SECTION LAYOUT
   ========================================================================== */
.adopta-main-section {
  flex: 1;
  max-width: 1200px;
  width: 100%;
  margin: 120px auto 80px auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* --------------------------------------------------------------------------
   2. HERO CARDS (Gatos & Perros)
   -------------------------------------------------------------------------- */
.adopt-hero-card {
  width: 100%;
  border-radius: var(--adopta-radius-lg);
  padding: 60px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  min-height: 480px;
  box-shadow: var(--adopta-shadow-card);
}

/* --- CARD 1: GATOS (ORANGE CARD) --- */
.card-cat {
  background: linear-gradient(135deg, #FF6B3D 0%, #FE6232 50%, #E24C1E 100%);
  color: var(--adopta-white);
  animation: slideInLeft 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Decorative circles on Cat Card */
.card-cat::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 45%;
  width: 90px;
  height: 90px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
}

.card-cat::after {
  content: '';
  position: absolute;
  bottom: -35px;
  left: 30%;
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
}

/* --- CARD 2: PERROS (WHITE CONTRAST CARD) --- */
.card-dog {
  background: var(--adopta-white);
  color: var(--adopta-text-dark);
  box-shadow: var(--adopta-shadow-white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  animation: slideInRight 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
  opacity: 0; /* Animated entry */
}

/* Decorative orange circles on Dog Card */
.card-dog::before {
  content: '';
  position: absolute;
  top: -30px;
  right: 35%;
  width: 80px;
  height: 80px;
  background: var(--adopta-orange);
  border-radius: 50%;
}

.card-dog::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: 48%;
  width: 60px;
  height: 60px;
  background: var(--adopta-orange);
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   3. CARD CONTENT & TYPOGRAPHY
   -------------------------------------------------------------------------- */
.card-content-wrapper {
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 540px;
}

.adopt-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 8px 18px;
  border-radius: 30px;
  width: fit-content;
}

.card-cat .adopt-badge-tag {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  backdrop-filter: blur(8px);
}

.card-dog .adopt-badge-tag {
  background: #FFF0EB;
  color: var(--adopta-orange);
}

.adopt-card-title {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
}

.card-cat .adopt-card-title {
  color: #FFFFFF;
}

.card-dog .adopt-card-title {
  color: var(--adopta-text-dark);
}

.adopt-card-description {
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 500;
}

.card-cat .adopt-card-description {
  color: rgba(255, 255, 255, 0.9);
}

.card-dog .adopt-card-description {
  color: var(--adopta-text-muted);
}

/* Key Reasons Bullets */
.adopt-reasons-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.adopt-reason-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
}

/* Action Buttons */
.btn-adopt-action {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  border-radius: 40px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  width: fit-content;
  margin-top: 8px;
}

.card-cat .btn-adopt-action {
  background: #FFFFFF;
  color: var(--adopta-orange);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-cat .btn-adopt-action:hover {
  background: #FFF5F2;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.card-dog .btn-adopt-action {
  background: var(--adopta-orange);
  color: #FFFFFF;
  box-shadow: 0 10px 25px rgba(254, 98, 50, 0.35);
}

.card-dog .btn-adopt-action:hover {
  background: var(--adopta-orange-dark);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(254, 98, 50, 0.45);
}

/* --------------------------------------------------------------------------
   4. CIRCULAR PET IMAGE FRAMES (Matching Mock Image)
   -------------------------------------------------------------------------- */
.card-image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  height: 100%;
}

.pet-circle-frame {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Cat Circle Frame: White Circle */
.card-cat .pet-circle-frame {
  background: #FFFFFF;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Dog Circle Frame: Orange Circle */
.card-dog .pet-circle-frame {
  background: var(--adopta-orange);
  box-shadow: 0 15px 40px rgba(254, 98, 50, 0.25);
}

.pet-hero-image {
  height: 420px;
  width: auto;
  object-fit: contain;
  position: absolute;
  bottom: -10px;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.2));
  transition: transform 0.4s ease;
}

.adopt-hero-card:hover .pet-hero-image {
  transform: scale(1.05);
}

/* Subtle background dots decoration */
.dot-decoration {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  opacity: 0.8;
}

.card-cat .dot-1 { top: 25%; left: 42%; background: #FFFFFF; }
.card-cat .dot-2 { bottom: 20%; right: 12%; background: #FFFFFF; }

.card-dog .dot-1 { top: 30%; right: 38%; background: var(--adopta-orange); }
.card-dog .dot-2 { bottom: 15%; left: 45%; background: var(--adopta-orange); }

/* --------------------------------------------------------------------------
   5. KEYFRAME ENTRY ANIMATIONS
   -------------------------------------------------------------------------- */
@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-120px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(120px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* --------------------------------------------------------------------------
   6. RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .adopt-hero-card {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 30px;
    min-height: auto;
    text-align: center;
  }

  .card-content-wrapper {
    align-items: center;
    max-width: 100%;
  }

  .adopt-card-title {
    font-size: 2.2rem;
  }

  .pet-circle-frame {
    width: 260px;
    height: 260px;
  }

  .pet-hero-image {
    height: 320px;
  }
}

@media (max-width: 600px) {
  .adopta-main-section {
    margin-top: 100px;
    padding: 0 16px;
    gap: 32px;
  }

  .adopt-hero-card {
    padding: 32px 20px;
    border-radius: 24px;
  }

  .adopt-card-title {
    font-size: 1.8rem;
  }

  .btn-adopt-action {
    width: 100%;
    justify-content: center;
  }

  .pet-circle-frame {
    width: 220px;
    height: 220px;
  }

  .pet-hero-image {
    height: 260px;
  }
}
