/* =====================================================
   K'VITA SALON - GLOBAL STYLESHEET
   ===================================================== */

:root {
    --primary: #5641FC;
    --primary-hover: #4532EA;
    --bg: #F5F7FF;
    --white: #FFFFFF;
    --text: #1E293B;
    --text2: #64748B;
    --border: #E5E7EB;
    --shadow: 0 10px 30px rgba(0,0,0,.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg);
    background-attachment: fixed;
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg);
}
::-webkit-scrollbar-thumb {
    background: #c3c9ff;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}

.scroll-reveal.reveal {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal.reveal-left {
    transform: translateX(-40px);
}

.scroll-reveal.reveal-right {
    transform: translateX(40px);
}

.scroll-reveal.reveal-left.reveal,
.scroll-reveal.reveal-right.reveal {
    transform: translateX(0);
}

/* Animation Delays */
.delay-100 { transition-delay: 100ms !important; }
.delay-200 { transition-delay: 200ms !important; }
.delay-300 { transition-delay: 300ms !important; }
.delay-400 { transition-delay: 400ms !important; }
.delay-500 { transition-delay: 500ms !important; }


/* =====================================
   NAVBAR
   ===================================== */
nav.navbar.custom-navbar {
    background: var(--white) !important;
    padding: 15px;
    transition: 0.4s;
    box-shadow: var(--shadow);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.navbar-brand {
    color: var(--primary) !important;
    font-size: 28px;
    font-weight: 700;
    transition: 0.3s;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    position: relative;
    margin: 0 10px;
    color: var(--text) !important;
    font-weight: 500;
    transition: 0.3s;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.navbar .btn-custom {
    padding: 8px 18px;
    border-radius: 25px;
}

.navbar .nav-link {
    font-weight: 500;
}

.navbar .bi {
    margin-right: 5px;
}

/* ACCOUNT MENU DROPDOWN */
.account-link {
    font-size: 18px;      
    font-weight: 500;     
    color: var(--text) !important;
    transition: 0.3s;
}

.account-link:hover {
    color: var(--primary) !important;
}

.account-link::after {
    display: none !important;
}

.account-link i {
    margin-right: 8px;
    font-size: 20px;
}

.account-link.dropdown-toggle::after {
    margin-left: 8px;
    vertical-align: middle;
}

.dropdown-menu {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    padding: 10px;
}

.dropdown-item {
    border-radius: 8px;
    padding: 8px 15px;
    font-weight: 500;
    color: var(--text);
    transition: 0.3s;
}

.dropdown-item:hover {
    background: var(--bg);
    color: var(--primary);
}

/* =====================================
   BUTTON GLOBAL
   ===================================== */
.btn-custom {
    background: var(--primary);
    color: var(--white) !important;
    border: none;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(86, 65, 252, 0.15);
    text-decoration: none;
}

.btn-custom:hover {
    background: var(--primary-hover);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(86, 65, 252, 0.25);
}

/* =====================================
   FOOTER
   ===================================== */
.footer {
    background: var(--white);
    color: var(--text);
    padding: 70px 0 30px;
    border-top: 1px solid var(--border);
}

.footer-logo {
    font-size: 40px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--text2);
    line-height: 1.9;
}

.footer-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text2);
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact {
    color: var(--text2);
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: #f0eeff;
    border: 1px solid #d5cfff;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    font-size: 20px;
    text-decoration: none;
    border-radius: 50%;
    transition: 0.3s;
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
}

.footer-line {
    border-color: var(--border);
    margin: 40px 0 25px;
}

.footer-copy {
    color: var(--text2);
    font-size: 15px;
}