.categoriesSection {
    text-align: center;
    background-color: #000000;
    background-image: url(/images/about-us/guest-bg.webp);
    background-position: center;
    background-size: cover;
    padding: 80px 10px;
    position: relative;
}

.sectionHeading {
    padding: 0px 20px 40px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.smallHeading {
    font-size: var(--small-text-size);
    color: var(--color-paragraph);
    font-family: var(--font-lato);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.mainHeading {
    font-family: var(--font-playfair);
    font-size: var(--main-heading-size);
    color: #f5e6d3;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.description {
    font-size: var(--body-size);
    color: var(--color-paragraph);
    line-height: 1.8;
    font-family: var(--font-lato);
    max-width: 800px;
    margin: 0 auto;
}

.categoriesGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    padding: 0 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.categoryCard {
    position: relative;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.categoryCard:hover {
    transform: translateY(-10px);
}

.imageContainer {
    position: relative;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.categoryCard:hover .imageContainer {
    box-shadow: 0 15px 50px rgba(196, 156, 92, 0.6);
}

.imageWrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.categoryImage {
    object-fit: cover;
    transition: transform 0.6s ease;
}

.categoryCard:hover .categoryImage {
    transform: scale(1.15);
}

.overlay {
    display: none;
}

.categoryContent {
    width: 100%;
    transition: transform 0.4s ease;
}

.categoryCard:hover .categoryContent {
    transform: translateY(-5px);
}

.categoryName {
    font-family: var(--font-playfair);
    font-size: 1.4rem;
    color: #f5e6d3;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 1rem 0;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.decorativeLine {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #c49c5c 0%, transparent 100%);
    margin: 0 auto;
    transition: width 0.4s ease;
}

.categoryCard:hover .decorativeLine {
    width: 100px;
    background: linear-gradient(90deg, #c49c5c 0%, #b07c4b 100%);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .categoriesGrid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 2.5rem;
    }

    .imageContainer {
        width: 160px;
        height: 160px;
    }

    .categoryName {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .categoriesSection {
        padding: 60px 10px;
    }

    .categoriesGrid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 0 1rem;
    }

    .imageContainer {
        width: 140px;
        height: 140px;
    }

    .categoryName {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .categoriesSection {
        padding: 50px 10px;
    }

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

    .imageContainer {
        width: 120px;
        height: 120px;
    }

    .categoryName {
        font-size: 1.1rem;
    }

    .sectionHeading {
        padding: 0px 15px 30px;
    }
}