/* ==========================================================================
   GLOBAL STYLE
   ========================================================================== */

.btn-primary
 {
    --bs-btn-color: #fff;
    --bs-btn-bg: #5DADE2;
    --bs-btn-border-color: #5DADE2;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0b5ed7;
    --bs-btn-hover-border-color: #0a58ca;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0a58ca;
    --bs-btn-active-border-color: #0a53be;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #5DADE2;
    --bs-btn-disabled-border-color: #5DADE2;
}

/* Scroll Top / Sound Button */
.sound-btn {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    line-height: 50px;
    border-radius: 50%;
    cursor: pointer;
    overflow: hidden;
    z-index: 100;
    background-color: var(--main);
    border: 0;
    bottom: 40px;
    right: 40px;
    padding: 0;
    transition: all 0.3s ease;
}

.sound-btn:hover {
    opacity: .9 !important;
    background-color: var(--main);
    transform: translateY(-2px);
}

#scroll-top {
    bottom: 100px;
}

.active>.page-link,
.page-link.active {
    z-index: 3;
    color: #fff !important;
    background-color: var(--main-test) !important;
    border-color: #2E86C1;
}

/* ==========================================================================
   BLOG
   ========================================================================== */

.blog-card {
    height: 240px;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
}

/* Social Icon */
.social-icons {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.social-icons .social-link {
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
}

.social-icons .social-link:hover {
    color: #1F5F8D;
    transform: scale(1.1);
}

/* ==========================================================================
   GALLERY / PRODUCT DETAIL PAGE
   ========================================================================== */

.tf-product-info-heading {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.tf-product-info-name h3.name {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 16px;
    padding-bottom: 6px;
    border-bottom: 2px solid #f2f2f2;
}

.tf-product-info-desc {
    display: grid;
    gap: 14px;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-item label {
    margin-bottom: 4px;
    font-size: 15px;
    font-weight: 600;
    color: #555;
}

.info-item p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
}

/* ==========================================================================
   HOME PAGE
   ========================================================================== */

/* Slider */
.wrap-slider {
    position: relative;
    width: 100%;
    height: 580px !important;
    overflow: hidden;
}

.wrap-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.wrap-slider::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

/* Slider Content */
.box-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    color: #fff;
}

.box-content .heading {
    font-size: 4.1rem;
    font-weight: 700;
    margin: 10rem 0 0;
    line-height: 0.9;
}

.box-content .subheading {
    font-size: 1.5rem;
    font-weight: 400;
    margin-top: 1rem;
    line-height: 0.9;
}

.box-content .tf-btn {
    background: #fff;
    color: #000;
    border-radius: 4px;
    padding: 10px 20px;
    font-weight: 500;
    transition: 0.3s ease;
}

.box-content .tf-btn:hover {
    background: #2E86C1;
    color: #fff;
}

/* Chat Buttons */
.btn-main-chat,
.btn-main-biru,
.btn-main-abang {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    margin-bottom: 10px;
    border-radius: 50px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-main-chat { background-color: #25D366; color: #fff; }
.btn-main-biru { background-color: #0c74d6; color: #fff; }
.btn-main-abang { background-color: #e43131; color: #fff; }

.btn-main-chat:hover {
    background-color: #1EBE5D;
    box-shadow: 0 6px 14px rgba(37, 211, 102, 0.4);
    transform: translateY(-2px);
}

.list-btn-main {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

/* ==========================================================================
   WELCOME SECTION
   ========================================================================== */

.section-welcome,
.section-product {
    padding: 80px 0;
    background-color: var(--surface);
}

.welcome-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
}

.welcome-image {
    flex: 1 1 45%;
}

.welcome-image img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    max-height: 350px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.welcome-text {
    flex: 1 1 50%;
}

.welcome-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    margin-top: 10px;
    color: var(--on-background);
}

.welcome-title span {
    color: #5DADE2;
}

.welcome-desc {
    font-size: 16px;
    color: var(--secondary);
    margin-bottom: 30px;
    line-height: 1.7;
}

.btn-welcome {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background-color: #5DADE2;
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
    border: none;
}

.btn-welcome:hover {
    color: #fff;
    background-color: #2E86C1;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(46, 134, 193, 0.35);
}

/* ==========================================================================
   PRICE SECTION (DATATABLES)
   ========================================================================== */

.section-price {
    padding: 0 0 40px 0;
    background-color: var(--surface);
}

.card-table {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    padding: 20px 30px;
    overflow-x: auto;
}

/* Datatables Styling */
table.dataTable {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
}

table.dataTable thead th {
    background-color: #f6f7fb;
    color: #333;
    font-weight: 600;
    padding: 12px 16px;
    border-bottom: 2px solid #eee;
}

table.dataTable tbody td {
    padding: 10px 16px;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
}

table.dataTable tbody tr:hover {
    background-color: #f9fafc;
}

/* Pagination */
div.dt-container .dt-paging {
    display: flex;
    justify-content: center;
    gap: 8px;
}

div.dt-container .dt-paging-button {
    min-width: 40px;
    height: 40px;
    border-radius: 6px !important;
    border: 1px solid #ddd;
    background: #fff !important;
    color: #333;
    cursor: pointer;
    font-weight: 500;
    transition: 0.2s;
}

div.dt-container .dt-paging-button:hover {
    background-color: #181818 !important;
    color: #fff !important;
}

div.dt-container .dt-paging-button.current {
    background-color: #fff !important;
    color: #fff !important;
    border-color: #181818 !important;
}

div.dt-container .dt-paging-button.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Info text */
div.dt-container .dt-info {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 8px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media only screen and (max-width: 991px),
only screen and (max-width: 768px) {
    .sound-btn {
        width: 40px;
        height: 40px;
        bottom: 37px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    .tf-product-info-heading { padding: 16px; }
    .tf-product-info-name h3.name { font-size: 20px; }
}

@media (max-width: 992px) {
    .welcome-wrapper { flex-direction: column; text-align: center; }
    .welcome-image img { max-width: 500px; margin: 0 auto; }
}

@media (max-width: 768px) {
    .wrap-slider { height: 300px; }
    .box-content { padding: 10px; }
    .section-title { font-size: 24px; }
    .card-table { padding: 15px; }
}

/* ==========================================================================
   CARD & FILTER STYLES (from registerCss)
   ========================================================================== */

body {
    background-color: #f7f8fa;
    color: #333;
    font-family: 'Inter', sans-serif;
}

.card {
    border: 1px solid #e3e6eb;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    transition: all 0.2s ease-in-out;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

#filterForm .form-select {
    border-radius: 10px;
    border: 1px solid #dee2e6;
    background-color: #fff;
    color: #333;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: border 0.2s ease-in-out;
}

#filterForm .form-select:hover,
#filterForm .form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
}

.card-body {
    line-height: 1.5;
    background-color: #ffffff;
    border-radius: 12px;
}

.card h6 {
    color: #5DADE2;
    font-weight: 600;
}

.card .small {
    color: #666;
}

.btn-outline-primary.btn-xs {
    font-size: 0.75rem;
    border-radius: 6px;
    border-color: #5DADE2;
    color: #5DADE2;
    transition: all 0.15s ease-in-out;
}

.btn-outline-primary.btn-xs:hover {
    background-color: #5DADE2;
    color: white;
}

.pagination .page-link {
    color: #5DADE2;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin: 0 3px;
    transition: all 0.2s;
}

.pagination .page-link:hover {
    background-color: #5DADE2;
    color: white;
}

.pagination .active .page-link {
    background-color: #5DADE2;
    border-color: #5DADE2;
    color: white;
}

.card canvas {
    background: #fff;
    border-radius: 12px;
}
