/* Saw Category Showcase - Premium Styling */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

.scs-container {
    width: 100%;
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 15px;
    font-family: 'Poppins', sans-serif;
}

.scs-section-title {
    color: #000;
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 50px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 15px;
}

.scs-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #F5B800;
}

.scs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}

.scs-item {
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.scs-image-wrapper {
    position: relative;
    width: 85%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff; /* White circle background restored */
    border-radius: 50%;
    margin-bottom: -50px; /* Deeper overlap for 'cut-out' feel */
    z-index: 2;
    transition: transform 0.4s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.scs-image-wrapper img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.scs-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent; /* Removed dark overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.scs-btn-desktop {
    background: #F5B800;
    color: #000000;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    font-size: 11.5px;
    transform: translateY(15px);
    transition: all 0.3s ease;
}

.scs-btn-desktop:hover {
    background: #000000;
    color: #F5B800;
}

.scs-content {
    background: #000000;
    padding: 65px 15px 25px; /* More top padding for deeper overlap */
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 12px;
    z-index: 1;
    flex-grow: 1;
    justify-content: space-between; /* Equalize buttons at bottom */
}

.scs-title {
    color: #F5B800;
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.4;
    min-height: 2.8em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scs-btn-mobile {
    display: none;
    background: #F5B800;
    color: #000000;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 12.5px;
    width: 100%;
    box-sizing: border-box;
    border: 1.5px solid #F5B800;
    transition: all 0.3s ease;
}

.scs-btn-mobile:hover, .scs-btn-mobile:active {
    background: #000000;
    color: #F5B800;
}

/* Desktop Hover */
@media (min-width: 1025px) {
    .scs-item:hover .scs-image-wrapper img {
        transform: scale(1.1);
    }
    .scs-item:hover .scs-overlay {
        opacity: 1;
    }
    .scs-item:hover .scs-btn-desktop {
        transform: translateY(0);
    }
    /* Removed hover box-shadow increase and border as requested */
}

/* Tablet & Mobile (3 Columns) */
@media (max-width: 1024px) {
    .scs-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    .scs-btn-mobile {
        display: inline-block;
    }
    .scs-overlay {
        display: none;
    }
    .scs-image-wrapper {
        width: 90%;
        margin-bottom: -40px; /* Restored overlap */
        background: #ffffff;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    }
    .scs-content {
        padding-top: 55px;
    }
}

@media (max-width: 600px) {
    .scs-grid {
        gap: 5px; /* Even smaller gap to give more room for content */
    }
    .scs-container {
        padding: 0 4px; /* Minimal side padding */
    }
    .scs-title {
        font-size: 11.5px; /* Increased font size */
        min-height: 3em; 
        letter-spacing: -0.3px;
    }
    .scs-image-wrapper {
        margin-bottom: -40px;
        width: 95%; /* Make the circle larger */
    }
    .scs-content {
        padding-top: 50px;
        padding-bottom: 15px;
        border-radius: 8px;
    }
    .scs-btn-mobile {
        font-size: 10.5px; /* Slightly larger button text */
        padding: 9px 4px;
    }
}
