/* Custom styles for page ID 22 - SeniorPoint */

/* Prefix: sp- */
/* Primary Color: #ea580c (Orange) */

/* ===== Hero Section ===== */
.sp-hero {
    background: #ffffff;
    padding: 4rem 2rem 3rem;
}

.sp-hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.sp-hero__text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(234, 88, 12, 0.1);
    color: #ea580c;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    width: fit-content;
}

.sp-hero__title {
    font-size: 3rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    margin: 0;
}

.sp-hero__subtitle {
    font-size: 1.25rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.sp-hero__features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.sp-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: #1e293b;
}

.sp-feature i {
    color: #ea580c;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.sp-hero__images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    position: relative;
}

.sp-hero__image {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(234, 88, 12, 0.15);
    transition: all 0.3s ease;
}

.sp-hero__image:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(234, 88, 12, 0.2);
}

.sp-hero__image--1 {
    margin-top: 2rem;
}

.sp-hero__image--2 {
    margin-top: -2rem;
}

.sp-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== Contact Section ===== */
.sp-contact-section {
    width: 100%;
    background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
    padding: 4rem 2rem;
    border-top: 1px solid #e5e7eb;
}

.sp-contact-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 3rem;
}

.sp-contact-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(234, 88, 12, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(234, 88, 12, 0.1);
}

.sp-card-icon {
    width: 56px;
    height: 56px;
    background: transparent;
    border: 2px solid #ea580c;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.sp-card-icon i {
    color: #ea580c;
    font-size: 1.5rem;
}

.sp-contact-card h3 {
    font-size: 1.5rem;
    color: #0f172a;
    margin-bottom: 1.5rem;
}

.sp-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sp-contact-info p {
    margin: 0;
    color: #475569;
    line-height: 1.6;
}

.sp-contact-info strong {
    color: #1e293b;
}

.sp-info-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sp-info-row i {
    color: #ea580c;
    width: 20px;
}

.sp-info-row a {
    color: #ea580c;
    text-decoration: none;
    transition: color 0.2s ease;
}

.sp-info-row a:hover {
    color: #c2410c;
    text-decoration: underline;
}

.sp-office-hours {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.sp-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 1.5rem 0;
}

.sp-quick-info {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid #e5e7eb;
}

.sp-quick-info h3 {
    font-size: 1.5rem;
    color: #0f172a;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.sp-quick-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #ea580c;
    border-radius: 2px;
}

.sp-quick-info > p {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.sp-principles h4 {
    font-size: 1.125rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

.sp-principle-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.sp-principle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(234, 88, 12, 0.05);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.sp-principle:hover {
    background: rgba(234, 88, 12, 0.1);
    transform: translateX(4px);
}

.sp-principle i {
    color: #ea580c;
    font-size: 1.25rem;
}

.sp-principle span {
    color: #1e293b;
    font-weight: 500;
}

/* ===== Target Section ===== */
.sp-target-section {
    background: #ffffff;
    padding: 4rem 2rem;
}

.sp-section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.sp-section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.sp-section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #ea580c;
    border-radius: 2px;
}

.sp-section-header p {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.6;
}

.sp-target-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.sp-target-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sp-target-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #ea580c;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.sp-target-card:hover::before {
    transform: scaleX(1);
}

.sp-target-card:hover {
    border-color: #ea580c;
    box-shadow: 0 8px 24px rgba(234, 88, 12, 0.15);
    transform: translateY(-4px);
}

.sp-target-card i {
    font-size: 2.5rem;
    color: #ea580c;
    margin-bottom: 1rem;
}

.sp-target-card h4 {
    font-size: 1.25rem;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.sp-target-card p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* ===== Activities Tabs Section ===== */
.sp-activities-section {
    width: 100%;
    background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
    padding: 4rem 2rem;
    border-top: 1px solid #e5e7eb;
}

.sp-tabs {
    max-width: 1400px;
    margin: 0 auto;
}

.sp-tabs__nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e5e7eb;
    overflow-x: auto;
}

.sp-tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: #64748b;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.sp-tab-btn:hover {
    color: #ea580c;
    background: rgba(234, 88, 12, 0.05);
}

.sp-tab-btn.active {
    color: #ea580c;
    border-bottom-color: #ea580c;
}

.sp-tab-btn i {
    font-size: 1.25rem;
}

.sp-tab-panel {
    display: none;
}

.sp-tab-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sp-activities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.sp-activity-card {
    display: flex;
    gap: 1.5rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.sp-activity-card:hover {
    border-color: #ea580c;
    box-shadow: 0 4px 16px rgba(234, 88, 12, 0.1);
    transform: translateX(4px);
}

.sp-activity-icon {
    width: 48px;
    height: 48px;
    background: transparent;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.sp-activity-card:hover .sp-activity-icon {
    border-color: #ea580c;
}

.sp-activity-icon i {
    color: #ea580c;
    font-size: 1.25rem;
}

.sp-activity-card h4 {
    font-size: 1.125rem;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
}

.sp-activity-card p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* ===== Benefits Section ===== */
.sp-benefits-section {
    background: #ffffff;
    padding: 4rem 2rem;
}

.sp-benefits-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.sp-benefit-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(234, 88, 12, 0.03);
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.sp-benefit-card:hover {
    background: rgba(234, 88, 12, 0.08);
    border-color: #ea580c;
    transform: translateY(-4px);
}

.sp-benefit-number {
    width: 60px;
    height: 60px;
    background: transparent;
    border: 3px solid #ea580c;
    color: #ea580c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.sp-benefit-card:hover .sp-benefit-number {
    background: #ea580c;
    color: #ffffff;
}

.sp-benefit-card h4 {
    font-size: 1.25rem;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.sp-benefit-card p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* ===== CTA Section ===== */
.sp-cta-section {
    background: #ffffff;
    padding: 4rem 2rem;
}

.sp-cta-card {
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    border-radius: 2rem;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: center;
    box-shadow: 0 8px 32px rgba(234, 88, 12, 0.2);
}

.sp-cta-content h2 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.sp-cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.sp-cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #ffffff;
    color: #ea580c;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #fff7ed;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.sp-cta-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    margin: 0;
}

.sp-cta-note i {
    color: rgba(255, 255, 255, 0.8);
}

.sp-cta-image {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.sp-cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== Responsive Design ===== */

@media (max-width: 1024px) {
    .sp-hero__content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .sp-hero__images {
        order: -1;
    }

    .sp-contact-grid {
        grid-template-columns: 1fr;
    }

    .sp-target-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sp-activities-grid {
        grid-template-columns: 1fr;
    }

    .sp-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sp-cta-card {
        grid-template-columns: 1fr;
    }

    .sp-cta-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .sp-hero {
        padding: 3rem 1.5rem;
    }

    .sp-hero__title {
        font-size: 2rem;
    }

    .sp-hero__subtitle {
        font-size: 1rem;
    }

    .sp-hero__images {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .sp-hero__image--1,
    .sp-hero__image--2 {
        margin-top: 0;
    }

    .sp-contact-section,
    .sp-activities-section,
    .sp-benefits-section {
        padding: 3rem 1.5rem;
    }

    .sp-target-section {
        padding: 3rem 1.5rem;
    }

    .sp-section-header h2 {
        font-size: 1.75rem;
    }

    .sp-target-grid {
        grid-template-columns: 1fr;
    }

    .sp-tabs__nav {
        flex-direction: column;
        border-bottom: none;
        gap: 0.5rem;
    }

    .sp-tab-btn {
        border-bottom: none;
        border-left: 3px solid transparent;
        justify-content: flex-start;
        padding: 0.75rem 1rem;
    }

    .sp-tab-btn.active {
        border-bottom: none;
        border-left-color: #ea580c;
        background: rgba(234, 88, 12, 0.1);
    }

    .sp-principle-items {
        grid-template-columns: 1fr;
    }

    .sp-benefits-grid {
        grid-template-columns: 1fr;
    }

    .sp-cta-card {
        padding: 2rem;
    }

    .sp-cta-content h2 {
        font-size: 1.5rem;
    }

    .sp-cta-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-outline {
        justify-content: center;
    }
}
