/* Services Page Specific Styles */

.services-grid-section {
    padding: 80px 0;
    background-color: var(--bg-body);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-item-card {
    background-color: var(--bg-surface);
    border-radius: 8px;
    /* Slightly rounded or 0 for sharp elegant look */
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

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

.service-card-img-wrapper {
    position: relative;
    padding-top: 66.66%;
    /* 3:2 Aspect Ratio */
    overflow: hidden;
}

.service-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-item-card:hover .service-card-img {
    transform: scale(1.05);
    /* Gentle zoom */
}

.service-card-body {
    padding: 25px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card-title {
    font-family: 'Gallient', serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

/* Button Styling matching theme */
.btn-service-details {
    margin-top: auto;
    display: inline-block;
    padding: 10px 25px;
    background-color: transparent;
    border: 1px solid var(--gold);
    color: var(--text-main);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

.btn-service-details:hover {
    background-color: var(--gold);
    color: white;
}

/* Dark Mode Overrides */
[data-theme="dark"] .service-item-card {
    background-color: var(--bg-surface-alt);
    border-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .service-card-title {
    color: var(--text-main);
}

[data-theme="dark"] .btn-service-details {
    border-color: var(--gold);
    color: var(--text-main);
}

[data-theme="dark"] .btn-service-details:hover {
    background-color: var(--gold);
    color: white;
}