/* pet_events.css */

.pet-events-section {
    padding: 60px 0;
    background: var(--bg-secondary, #f8f7f5);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Section Header ===== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 20px;
    flex-wrap: wrap;
}

.section-header-content {
    flex: 1;
    min-width: 280px;
}

.section-badge {
    display: inline-block;
    background: var(--cat-color, #e8e0d8);
    color: var(--text-primary, #544864);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary, #544864);
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.section-description {
    font-size: 16px;
    color: var(--text-secondary, #8a7a94);
    line-height: 1.6;
    max-width: 600px;
    margin: 0;
}

.app-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--cat-color, #e8e0d8);
    color: var(--text-primary, #544864);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.25s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.app-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.app-download-btn.primary {
    background: var(--cat-color, #544864);
    color: white;
}

.app-download-btn.primary:hover {
    background: var(--cat-color, #3d3450);
}

/* ===== Features Grid ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.feature-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.feature-image-wrapper {
    position: relative;
    overflow: hidden;
    background: #f0ede8;
    aspect-ratio: 16/15;
}

.feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.feature-card:hover .feature-image {
    transform: scale(1.03);
}

.feature-number {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    color: white;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
}

.feature-content {
    padding: 18px 20px 20px;
}

.feature-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary, #544864);
    margin: 0 0 6px 0;
}

.feature-description {
    font-size: 14px;
    color: var(--text-secondary, #8a7a94);
    line-height: 1.6;
    margin: 0;
}

/* ===== Events Types ===== */
.events-types-section {
    background: white;
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 40px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.events-types-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px;
}

.events-types-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary, #544864);
    margin: 0;
}

.events-types-count {
    font-size: 14px;
    color: var(--text-secondary, #8a7a94);
    background: var(--bg-secondary, #f8f7f5);
    padding: 2px 12px;
    border-radius: 12px;
}

.events-types-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.event-type-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 10px;
    background: var(--bg-secondary, #f8f7f5);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-primary, #544864);
    transition: background 0.2s;
}

.event-type-chip:hover {
    background: #eeeae5;
}

.event-type-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.event-type-name {
    font-weight: 500;
}

/* ===== CTA Banner ===== */
.cta-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--cat-color, #e8e0d8);
    border-radius: 16px;
    padding: 28px 36px;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-content {
    flex: 1;
    min-width: 200px;
}

.cta-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary, #544864);
    margin: 0 0 6px 0;
}

.cta-text {
    font-size: 15px;
    color: var(--text-secondary, #8a7a94);
    margin: 0;
}

.cta-button {
    display: inline-block;
    padding: 12px 28px;
    background: var(--text-primary, #544864);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.25s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    background: #3d3450;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-header {
        flex-direction: column;
        align-items: stretch;
    }

    .app-download-btn {
        align-self: flex-start;
    }
}

@media (max-width: 768px) {
    .pet-events-section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 26px;
    }

    .events-types-section {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 22px;
    }

    .section-description {
        font-size: 14px;
    }

    .app-download-btn {
        width: 100%;
        justify-content: center;
    }

    .cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }

    .events-types-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
