/* ========================================
   BUTTONS.CSS - Unified button styles
   ======================================== */

/* ========================================
   Primary Button Styles
   ======================================== */
.view-all-btn,
.learn-more-btn,
.read-more,
.project-explore,
.click-me-btn {
    background-color: #3b342d;
    color: #F4F2EF;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-family: "Kreon", serif;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.view-all-btn:hover,
.learn-more-btn:hover,
.read-more:hover,
.project-explore:hover,
.click-me-btn:hover {
    background-color: #5a4c3e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ========================================
   Load More Button
   ======================================== */
.load-more-btn {
    background-color: #3b342d;
    color: #F4F2EF;
    border: none;
    padding: 15px 35px;
    border-radius: 30px;
    cursor: pointer;
    font-family: "Kreon", serif;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
}

.load-more-btn:hover {
    background-color: #5a4c3e;
    transform: translateY(-2px);
}

.load-more-btn:disabled {
    background-color: #8b7355;
    cursor: not-allowed;
    transform: none;
}

/* ========================================
   Scroll to Top Button
   ======================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #3b342d;
    color: #F4F2EF;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(100px);
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: #5a4c3e;
    transform: translateY(-5px);
}

/* ========================================
   Send Message Button (Contact Forms)
   ======================================== */
.send-message-btn {
    background-color: #3b342d;
    color: #F4F2EF;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-family: "Kreon", serif;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    align-self: flex-end;
    margin-top: auto;
}

.send-message-btn:hover {
    background-color: #5a4c3e;
    transform: translateY(-2px);
}

/* ========================================
   Category Filter Buttons
   ======================================== */
.category-filter,
.subcategory-filter {
    background-color: rgba(232, 217, 205, 0.5);
    border: 2px solid transparent;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-family: "Kreon", serif;
    font-weight: 600;
    font-size: 16px;
    color: #3b342d;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-filter:hover,
.subcategory-filter:hover {
    background-color: rgba(232, 217, 205, 0.8);
    transform: translateY(-2px);
}

.category-filter.active,
.subcategory-filter.active {
    background-color: #3b342d;
    color: #F4F2EF;
    border-color: #3b342d;
}

/* ========================================
   Project Link Buttons
   ======================================== */
.project-link {
    background-color: #3b342d;
    color: #F4F2EF;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-family: "Kreon", serif;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
}

.project-link:hover {
    background-color: #5a4c3e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ========================================
   Close Buttons
   ======================================== */
.close-expanded,
.close-viewer {
    position: absolute;
    background: transparent;
    border: none;
    color: #3b342d;
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-expanded:hover,
.close-viewer:hover {
    background-color: rgba(59, 52, 45, 0.1);
    transform: rotate(90deg);
}

/* ========================================
   Navigation Buttons (Image Viewer)
   ======================================== */
.nav-btn {
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

.nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   Responsive Button Styles
   ======================================== */
@media (max-width: 768px) {
    .scroll-to-top {
        width: 50px;
        height: 50px;
        font-size: 20px;
        bottom: 20px;
        right: 20px;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .close-expanded {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .nav-btn {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}
