/**
 * AdoteComAmor - Components CSS
 */

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-text {
    color: var(--white);
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-text {
        text-align: left;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    margin-bottom: var(--space-6);
}

.hero-title {
    font-size: var(--text-4xl);
    font-weight: var(--font-extrabold);
    line-height: 1.1;
    margin-bottom: var(--space-6);
    color: var(--white);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: var(--text-5xl);
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: var(--text-6xl);
    }
}

.hero-subtitle {
    font-size: var(--text-lg);
    opacity: 0.9;
    margin-bottom: var(--space-8);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1024px) {
    .hero-subtitle {
        font-size: var(--text-xl);
        margin-left: 0;
    }
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    justify-content: center;
}

@media (min-width: 1024px) {
    .hero-buttons {
        justify-content: flex-start;
    }
}

.hero-video {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    aspect-ratio: 16/9;
}

.hero-video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.sound-toggle-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary);
    color: var(--white);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-full);
    font-weight: var(--font-bold);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    box-shadow: var(--shadow-lg);
    z-index: 10;
    cursor: pointer;
    border: 2px solid var(--white);
    transition: all var(--transition-spring);
}

.sound-toggle-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--primary-dark);
}

.sound-toggle-btn .sound-icon {
    font-size: 1.2rem;
}

.hero-floating {
    position: absolute;
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
}

.hero-floating:nth-child(1) {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.hero-floating:nth-child(2) {
    top: 20%;
    right: 10%;
    animation-delay: 0.5s;
}

.hero-floating:nth-child(3) {
    bottom: 30%;
    left: 10%;
    animation-delay: 1s;
}

.hero-floating:nth-child(4) {
    bottom: 15%;
    right: 5%;
    animation-delay: 1.5s;
}

/* ============================================
   LAWS SECTION
   ============================================ */
.laws-section {
    background: var(--light);
    padding: var(--space-16) 0;
}

.laws-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--primary);
}

.laws-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.laws-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
}

.laws-title h3 {
    margin-bottom: var(--space-1);
}

.laws-title p {
    color: var(--dark-light);
    margin: 0;
}

.laws-list {
    display: grid;
    gap: var(--space-4);
}

.law-item {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--light);
    border-radius: var(--radius-lg);
}

.law-number {
    font-weight: var(--font-bold);
    color: var(--primary);
    white-space: nowrap;
}

.law-content h4 {
    font-size: var(--text-base);
    margin-bottom: var(--space-1);
}

.law-content p {
    font-size: var(--text-sm);
    color: var(--dark-light);
    margin: 0;
}

/* ============================================
   ANIMALS CAROUSEL
   ============================================ */
.animals-section {
    padding: var(--space-16) 0;
}

.animals-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.animals-filters {
    display: flex;
    gap: var(--space-2);
}

.filter-btn {
    padding: var(--space-2) var(--space-4);
    background: var(--light);
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    font-weight: var(--font-medium);
    color: var(--dark-light);
    transition: all var(--transition);
}

.filter-btn:hover {
    background: var(--gray-light);
}

.filter-btn.active {
    background: var(--primary);
    color: var(--white);
}

.animals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-6);
}

.animal-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.animal-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.animal-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.animal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.animal-card:hover .animal-image img {
    transform: scale(1.1);
}

.animal-type {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    padding: var(--space-1) var(--space-3);
    background: var(--white);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    box-shadow: var(--shadow);
}

.animal-favorite {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    width: 36px;
    height: 36px;
    background: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all var(--transition);
}

.animal-favorite:hover {
    transform: scale(1.1);
}

.animal-body {
    padding: var(--space-5);
}

.animal-name {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-2);
}

.animal-info {
    display: flex;
    gap: var(--space-4);
    color: var(--dark-light);
    font-size: var(--text-sm);
    margin-bottom: var(--space-3);
}

.animal-info span {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.animal-location {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    padding-top: var(--space-3);
    border-top: 1px solid var(--gray-light);
    color: var(--dark-light);
    font-size: var(--text-sm);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: var(--space-16) 0;
}

.cta-card {
    position: relative;
    background: var(--gradient-secondary);
    border-radius: var(--radius-2xl);
    padding: var(--space-12) var(--space-8);
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-4);
    color: var(--white);
}

.cta-subtitle {
    font-size: var(--text-lg);
    opacity: 0.9;
    margin-bottom: var(--space-8);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-badge {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: var(--accent-yellow);
    color: var(--dark);
    font-weight: var(--font-bold);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-6);
    animation: pulse 2s infinite;
}

/* ============================================
   INFO CARDS SECTION
   ============================================ */
.info-section {
    padding: var(--space-16) 0;
    background: var(--light);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
}

.info-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-5);
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-3xl);
}

.info-card:nth-child(2) .info-icon {
    background: var(--gradient-secondary);
}

.info-card:nth-child(3) .info-icon {
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-pink) 100%);
}

.info-card h4 {
    margin-bottom: var(--space-3);
}

.info-card p {
    color: var(--dark-light);
    margin: 0;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    padding: var(--space-12) 0;
    background: var(--dark);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: var(--font-extrabold);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--space-2);
}

.stat-label {
    color: var(--gray);
    font-size: var(--text-sm);
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
    text-align: center;
    padding: var(--space-16) var(--space-8);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: var(--space-6);
    opacity: 0.5;
}

.empty-state h3 {
    margin-bottom: var(--space-3);
}

.empty-state p {
    color: var(--dark-light);
    max-width: 400px;
    margin: 0 auto var(--space-6);
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-8);
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--space-3);
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: var(--radius);
    font-weight: var(--font-medium);
    color: var(--dark-light);
    transition: all var(--transition);
}

.page-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.page-link.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.page-link:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}