/* Styles for the Services Page */

/* Styles for the Services Page Header */
.page-header-container {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../asset/img/services/Aluminum/ph.jpg');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
    padding: 5rem 2rem;
    /* Increased padding to make it bigger */
    border-radius: 0;
    /* Remove radius for full-width sections */
    margin-bottom: 3rem;
}

.page-header-container h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    /* Large, responsive font size */
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.page-header-container p {
    font-size: 1.2rem;
    color: #e0e0e0;
    max-width: 800px;
    margin: 0 auto;
    /* Center the paragraph if it's not full width */
    line-height: 1.6;
}

/* Adjust padding for the main content area on the services page */
#services-main {
    padding-top: 0;
}

.services-container {
    background-color: rgba(255, 255, 255, 0.05);
    /* Translucent background */
    backdrop-filter: blur(8px);
    /* Frosted glass effect */
    -webkit-backdrop-filter: blur(8px);
    /* Safari support */
    border-radius: 15px;
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card {
    background-color: rgba(255, 255, 255, 0.7);
    color: #333;
    /* Set text color to override default link color */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    text-decoration: none;
    /* Remove underline from links */
    display: block;
    /* Make the link behave like a block element */
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.service-card h4 {
    padding: 1.25rem 1rem;
    margin: 0;
    font-size: 1.1rem;
}