/* ===================================
   Services Page Styles
   =================================== */

.services-page {
    margin: 0;
    padding: 0;
}

/* Page Header */
.services-page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #b8861f 100%);
    padding: 60px 0;
    text-align: center;
}

.services-page-header .section-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    margin-bottom: 15px;
}

.services-page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
    letter-spacing: -0.3px;
}

.services-page-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Content */
.services-page-content {
    padding: 70px 0;
    background: var(--bg-light);
}

/* Grid */
.services-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* Card */
.services-page-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(208, 157, 40, 0.08);
}

.services-page-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(208, 157, 40, 0.15);
    border-color: var(--primary-color);
}

/* Card Image */
.services-page-card-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.services-page-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.services-page-card:hover .services-page-card-image img {
    transform: scale(1.08);
}

.services-page-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(208, 157, 40, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.services-page-card:hover .services-page-card-overlay {
    opacity: 1;
}

.services-page-card-link {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.services-page-card-link:hover {
    background: var(--primary-color);
    color: white;
}

/* No Image Placeholder */
.services-page-card-no-image {
    height: 160px;
    background: linear-gradient(135deg, rgba(208, 157, 40, 0.1), rgba(208, 157, 40, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary-color);
}

/* Card Body */
.services-page-card-body {
    padding: 25px;
}

.services-page-card-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), #c29020);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.services-page-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.services-page-card-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.services-page-card-title a:hover {
    color: var(--primary-color);
}

.services-page-card-excerpt {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.services-page-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.services-page-card-btn:hover {
    gap: 12px;
    color: var(--primary-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .services-page-header {
        padding: 40px 0;
    }

    .services-page-title {
        font-size: 1.75rem;
    }

    .services-page-subtitle {
        font-size: 0.95rem;
    }

    .services-page-content {
        padding: 40px 0;
    }

    .services-page-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .services-page-title {
        font-size: 1.5rem;
    }

    .services-page-grid {
        grid-template-columns: 1fr;
    }
}
