﻿/* Tab Styles */
.tab {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    border: 1px solid #444;
    background-color: #000;
    padding: 10px;
    gap: 10px;
    text-align: center;
}

    .tab button {
        background-color: inherit;
        color: white;
        border: none;
        outline: none;
        cursor: pointer;
        padding: 14px 16px;
        transition: 0.3s;
        font-size: 16px;
        min-width: 120px;
    }

        .tab button:hover {
            background-color: #222;
            transform: scale(1.05);
        }

        .tab button.active {
            background-color: #333;
        }

/* Tab Content Styles */
.tabcontent {
    display: none;
    padding: 20px;
    border: 1px solid #444;
    border-top: none;
    background-color: #000;
    color: white;
}

/* Gallery Item Image Styling */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    background-color: #000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.1);
}

.text-below {
    color: white;
    margin-top: 10px;
}

/* Mobile Responsiveness */
@media only screen and (max-width: 768px) {
    .tab {
        flex-direction: column;
        padding: 0;
    }

        .tab button {
            min-width: 100%;
            padding: 12px;
        }

    .gallery-item img {
        height: 180px; /* Adjust image height for smaller screens */
    }

    .tabcontent {
        padding: 10px;
    }

    .col-lg-3 {
        flex: 0 0 100%; /* Stack items on mobile */
    }
}

/* Styling for active tab selection */
.tab button.active {
    background-color: #333;
}
