/* style.css */
.philosophy-card {
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    filter: sepia(20%) contrast(90%);
}

.philosophy-card:hover {
    filter: sepia(0%) contrast(100%);
    transform: translateY(-20px) scale(1.02);
    z-index: 30;
}

/* Chữ xuyên thấu (Text stroke) */
.outline-text {
    -webkit-text-stroke: 1px rgba(0,0,0,0.3);
    color: transparent;
}

/* Hiệu ứng hạt bụi/nhiễu nhẹ cho nền trang */
.bg-noise {
    background-image: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.05;
    pointer-events: none;
}

.rotated-right { transform: rotate(3deg); }
.rotated-left { transform: rotate(-3deg); }
header {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Trạng thái khi cuộn chuột (sẽ dùng JS thêm class này) */
header.scrolled {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    background-color: rgba(244, 241, 238, 0.8); /* Màu nền trùng với body nhưng trong suốt */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #1A1A1A;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}