/*
    MUSTAV & CO
    Copyright 2026
*/

:root {
    /* Primary Brand Colors */
    --coral: #f2644a;
    --deep-brown: #4a2e1d;

    /* Neutral & Background Colors */
    --cream-light: #f7f3ee;
    --sand: #e5d9c6;
    --dark-charcoal: #1e1e1e;

    /* Semantic Colors */
    --success: #2e7d64;
    --warning: #e6a017;
    --error: #d9533a;

    /* Typography */
    --text-primary: var(--dark-charcoal);
    --text-secondary: #5a3e2c;
    --text-muted: #8b735f;

    /* Spacing & Borders */
    --border-radius-sm: 12px;
    --border-radius-md: 20px;
    --border-radius-lg: 40px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 8px 24px rgba(74, 46, 29, 0.06);
    --shadow-lg: 0 16px 32px rgba(74, 46, 29, 0.08);
    --shadow-hover: 0 25px 40px rgba(74, 46, 29, 0.1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

body {
    font-family: "Montserrat", sans-serif;
    background-color: var(--cream-light);
    color: var(--text-primary);
    scroll-behavior: smooth;
}

/* Typography */
h1,
h2,
h3,
h4,
.brand-heading {
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Background Utilities */
.bg-coral {
    background-color: var(--coral);
}
.bg-deep-brown {
    background-color: var(--deep-brown);
}
.bg-cream {
    background-color: var(--cream-light);
}
.bg-sand {
    background-color: var(--sand);
}
.bg-white-soft {
    background-color: #ffffff;
}

/* Text Utilities */
.text-coral {
    color: var(--coral);
}
.text-deep-brown {
    color: var(--deep-brown);
}
.text-cream {
    color: var(--cream-light);
}
.text-sand {
    color: var(--sand);
}

/* Border Utilities */
.border-coral {
    border-color: var(--coral);
}
.border-deep-brown {
    border-color: var(--deep-brown);
}

/* Buttons */
.btn-coral {
    background-color: var(--coral);
    border: none;
    color: white;
    font-weight: 500;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    border-radius: 40px;
}

.btn-coral:hover {
    background-color: #d9533a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(242, 100, 74, 0.25);
}

.btn-outline-coral {
    border: 1.5px solid var(--coral);
    background: transparent;
    color: var(--coral);
    border-radius: 40px;
    font-weight: 500;
    padding: 0.7rem 1.8rem;
    transition: 0.3s;
}

.btn-outline-coral:hover {
    background-color: var(--coral);
    color: white;
    transform: translateY(-2px);
}

/* Section Styling */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    font-weight: 700;
    font-size: 2.2rem;
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--coral);
    border-radius: 4px;
}

/* Cards */
.card-mustav {
    transition: all 0.3s ease;
    border: none;
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
}

.card-mustav:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

/* Icons & Elements */
.icon-circle {
    width: 64px;
    height: 64px;
    background: var(--cream-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}

/* Badges */
.badge-personality {
    background: var(--sand);
    color: #3a2a1f;
    font-weight: 600;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-size: 0.85rem;
}

/* Navbar */
.navbar-mustav {
    background-color: rgba(247, 243, 238, 0.95);
    backdrop-filter: blur(6px);
    box-shadow: var(--shadow-sm);
    padding: 0.8rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .section-title:after {
        left: 50%;
        transform: translateX(-50%);
    }
    .section-title {
        text-align: center;
        display: block;
    }
}

/*
    TELAH DIPERCAYA OLEH - CLIENT LOGO STYLES
*/

.client-logo {
    max-height: 100px;
    width: auto;
    object-fit: contain;

    transition: all 0.3s ease;
}

.client-logo:hover {
    transform: scale(1.1);
}

/* Responsive untuk logo client */
@media (max-width: 768px) {
    .client-logo {
        max-width: 150px;
    }
}

/*
    MEMBERI DENGAN ARTI - CARD STYLES
*/

.arti-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
}

.arti-card img {
    width: 100%;
    /* height: 350px; */
    margin-bottom: -75px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.arti-card:hover img {
    transform: scale(1.05);
}

/* Gradient overlay dari transparan ke #4a2e1d di bagian bawah */
.arti-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(
        to top,
        #4a2e1d 0%,
        rgba(74, 46, 29, 0.9) 30%,
        rgba(74, 46, 29, 0.6) 60%,
        transparent 100%
    );
    padding: 30px 15px 20px 15px;
    text-align: center;
    transition: all 0.3s ease;
}

/* Title styling */
.arti-card .overlay h5 {
    color: white;
    font-weight: 700;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Hover effect - gradient ke tengah */
.arti-card:hover .overlay {
    background: linear-gradient(
        to top,
        #4a2e1d 0%,
        rgba(74, 46, 29, 0.95) 40%,
        rgba(74, 46, 29, 0.8) 70%
    );
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arti-card:hover .overlay h5 {
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .arti-card img {
        /* height: 280px; */
        height: 100%;
        margin-bottom: -60px;
    }

    .arti-card .overlay {
        padding: 20px 10px 15px 10px;
        font-weight: 700;
    }

    .arti-card .overlay h5 {
        font-size: 0.9rem;
    }

    .arti-card:hover .overlay h5 {
        font-size: 1rem;
    }
}

/*
Nav
*/

/* Custom Dropdown Menu */
.dropdown-menu-custom {
    min-width: 250px;
    padding: 0.75rem 0;
    border-radius: 16px;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu-custom .dropdown-header {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.dropdown-menu-custom .dropdown-item {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.dropdown-menu-custom .dropdown-item:hover {
    background-color: var(--cream-light);
    color: var(--coral);
    padding-left: 1.5rem;
}

.dropdown-menu-custom .dropdown-divider {
    margin: 0.5rem 0;
}

/* Navbar Link Hover Effect */
.navbar-nav .nav-link {
    transition: color 0.2s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--coral) !important;
}

/* User Icon */
.bi-person-circle {
    color: var(--deep-brown);
    transition: color 0.2s ease;
}

.bi-person-circle:hover {
    color: var(--coral);
}

/* Responsive */
@media (max-width: 991px) {
    .dropdown-menu-custom {
        border: none;
        background-color: transparent;
        padding-left: 1rem;
    }

    .dropdown-menu-custom .dropdown-item {
        padding: 0.5rem 0;
    }

    .dropdown-menu-custom .dropdown-item:hover {
        padding-left: 0.5rem;
    }
}

/* Pagination Styles */
.pagination {
    justify-content: center;
    gap: 5px;
}

.pagination .page-item .page-link {
    color: var(--deep-brown);
    background-color: transparent;
    border: 1px solid var(--sand);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.pagination .page-item.active .page-link {
    background-color: var(--coral);
    border-color: var(--coral);
    color: white;
}

.pagination .page-item .page-link:hover {
    background-color: var(--coral);
    border-color: var(--coral);
    color: white;
}
