/* Custom Styles for Bastuku Investments */

/* ============================================
   FOCUS STATES FOR KEYBOARD NAVIGATION
   ============================================ */
:focus-visible {
    outline: 2px solid #0d7ff2;
    outline-offset: 2px;
    border-radius: 4px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/* ============================================
   SMOOTH SCROLL & UTILITY CLASSES
   ============================================ */
html {
    scroll-behavior: smooth;
}

.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

/* ============================================
   ANIMATION DELAY UTILITIES  
   ============================================ */
.animation-delay-1 { animation-delay: 0.1s; }
.animation-delay-2 { animation-delay: 0.2s; }
.animation-delay-3 { animation-delay: 0.3s; }
.animation-delay-4 { animation-delay: 0.4s; }
.animation-delay-5 { animation-delay: 0.5s; }

/* ============================================
   PREMIUM HEADER TRANSITION
   ============================================ */
header {
    transition: box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================
   SECTION DIVIDERS — subtle gradient lines
   ============================================ */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(13, 127, 242, 0.15), transparent);
    border: none;
    margin: 0;
}

/* ============================================
   ENHANCED BUTTON TRANSITIONS
   ============================================ */
.btn-primary,
button[class*="bg-primary"] {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-out;
}

.btn-primary:hover,
button[class*="bg-primary"]:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

button:active {
    transform: translateY(0);
}

/* ============================================
   CARD HOVER EFFECTS
   ============================================ */
.card-hover {
    transition: all 0.3s ease-out;
}

.card-hover:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-8px);
}

.group:hover {
    transition: all 0.3s ease-out;
}

/* ============================================
   SCROLL ANIMATION TRIGGER
   ============================================ */
.scroll-animate {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.scroll-animate.in-view {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* ============================================
   LINK UNDERLINE ANIMATION
   ============================================ */
a {
    text-decoration: none;
}

a[href^="#"]:not([class*="flex"]) {
    position: relative;
    transition: color 0.3s ease-out;
}

a[href^="#"]:not([class*="flex"])::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: width 0.3s ease-out;
}

a[href^="#"]:not([class*="flex"]):hover::after {
    width: 100%;
}

/* ============================================
   IMAGE HOVER PARALLAX
   ============================================ */
.image-hover {
    overflow: hidden;
    border-radius: 1rem;
}

.image-hover img,
.image-hover > div {
    transition: transform 0.6s ease-out;
}

.image-hover:hover img,
.image-hover:hover > div {
    transform: scale(1.05);
}
