/**
 * Centralized Button Styles for KREATiS
 */

/* Base button style - using !important to ensure centralization over legacy local styles */
.btn-kreatis,
.news-button, 
.tutorial-button, 
.index-button, 
.index-button-bis,
.index-button-dark,
.product-button,
.footer-button,
.header-button {
    display: inline-block !important;
    padding: 10px 28px !important;
    border-radius: 46px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
    text-align: center !important;
    border: 1px solid transparent !important;
    cursor: pointer !important;
    line-height: 1.4 !important;
    font-family: 'Raleway', sans-serif !important;
    margin: 8px !important;
    vertical-align: middle !important;
    height: auto !important;
    width: auto !important;
    box-shadow: 0px 4px 10px -5px rgba(0,0,0,0.3) !important;
}

/* Red Button (Primary) */
.btn-kreatis.btn-red,
.news-button.btn-red,
.index-button-dark.btn-red {
    background-color: #9D000C !important;
    color: #ffffff !important;
    border-color: #9D000C !important;
}

.btn-kreatis.btn-red:hover,
.news-button.btn-red:hover,
.index-button-dark.btn-red:hover {
    background-color: #ffffff !important;
    color: #9D000C !important;
    border-color: #9D000C !important;
}

/* Grey Button (Secondary - Default) */
.btn-kreatis,
.btn-kreatis.btn-grey,
.news-button, 
.tutorial-button, 
.index-button, 
.index-button-bis,
.product-button {
    background-color: #d9d9d9 !important;
    color: #2c2c3c !important;
    border-color: #2c2c3c !important;
}

.btn-kreatis:hover,
.btn-kreatis.btn-grey:hover,
.news-button:hover, 
.tutorial-button:hover, 
.index-button:hover, 
.index-button-bis:hover, 
.product-button:hover {
    background-color: #f5f5f7 !important; /* Subtle grey hover */
    color: #2c2c3c !important;
    border-color: #2c2c3c !important;
}

/* Dark Button (Header/Footer/Special sections style) */
.btn-kreatis.btn-dark,
.btn-kreatis.btn-header,
.btn-kreatis.btn-footer,
.index-button-dark,
.footer-button,
.header-button {
    background-color: #2C2C3C !important;
    color: #f5f5f7 !important;
    border-color: #f5f5f7 !important;
    font-weight: 400 !important; /* Thinner font for nav as requested */
    box-shadow: none !important; /* Flat look for navigation */
    white-space: nowrap !important; /* Prevent wrapping on two lines */
    padding: 6px 20px !important; /* Slightly more compact for the header */
    margin: 4px !important;
}

.btn-kreatis.btn-dark:hover,
.btn-kreatis.btn-header:hover,
.btn-kreatis.btn-footer:hover,
.index-button-dark:hover,
.footer-button:hover,
.header-button:hover {
    background-color: #43435B !important; /* Darker grey hover, not red */
    color: #ffffff !important;
    border-color: #ffffff !important;
}

/* Large variant */
.btn-kreatis.btn-lg {
    padding: 16px 36px !important;
    font-size: 1.25rem !important;
}
