﻿/* Premium Custom Styles for bacsihaivinhlong.vn */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --accent-color: #20c997;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --medical-teal: #008080;
    --medical-slate: #2f4f4f;
    --gradient-primary: linear-gradient(135deg, #0d6efd 0%, #00d2ff 100%);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--medical-slate);
    background: #f0f4f8;
}

h1, h2, h3, h4, h5, h6, .section-title h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Premium Navigation */
header nav {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 10px 20px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--glass-border);
}

.tabs li.tab a {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    color: var(--secondary-color);
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 8px 15px !important;
}

.tabs li.tab a.active, .tabs li.tab a:hover {
    color: var(--primary-color) !important;
    background: rgba(13, 110, 253, 0.05);
}

/* Sidebar Refinement */
.profile {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    padding: 0 !important;
}

.profile .image img {
    border-radius: 0;
    transition: transform 0.5s ease;
}

.profile:hover .image img {
    transform: scale(1.05);
}

.profile .name {
    font-size: 22px;
    font-weight: 700;
    margin-top: 20px;
    color: var(--dark-color);
}

/* Content Panel */
#content {
    background: var(--glass-bg);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--glass-border);
    padding: 40px !important;
}

.section-title h2 {
    font-size: 28px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Service Cards */
.service {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    margin-bottom: 30px;
}

.service:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.service .icon i {
    font-size: 40px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.site-btn {
    background: var(--gradient-primary) !important;
    color: #fff !important;
    font-weight: 600;
    padding: 12px 30px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
    border: none !important;
}

.site-btn:hover {
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
    transform: translateY(-2px);
}

/* Blog/Portfolio Cards */
.cbp-item {
    border-radius: 15px;
    overflow: hidden;
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    color: var(--secondary-color);
    font-size: 14px;
}

/* Hero Banner Enhancements */
.hero-banner {
    position: relative;
    overflow: hidden;
}

.hero-banner h1 {
    font-size: 3.5em;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-actions .site-btn {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-actions .site-btn:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* Skills progress bar */
.skill-list {
    padding: 0;
    list-style: none;
}

.skill-list li {
    margin-bottom: 25px;
}

.skill-list h3 {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--medical-slate);
}

.progress {
    height: 8px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: visible;
}

.progress .percentage {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 10px;
    position: relative;
    box-shadow: 0 2px 5px rgba(13, 110, 253, 0.3);
}

/* Blog Card Hover */
.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}

.blog-card .btn-link:hover {
    padding-left: 5px !important;
}

/* Portfolio Refinement */
#filters-container {
    margin-bottom: 40px;
    text-align: center;
}

.cbp-filter-item {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--secondary-color);
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.cbp-filter-item-active, .cbp-filter-item:hover {
    background: var(--primary-color) !important;
    color: #fff !important;
}

/* Sidebar Customizations */
.social-icons a {
    width: 35px;
    height: 35px;
    line-height: 35px;
    border-radius: 50%;
    background: #f8f9fa;
    color: var(--medical-slate);
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.social-icons a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-banner h1 {
        font-size: 2.2em;
    }
    #content {
        padding: 20px !important;
    }
}
