/* Body and text */
body {
    background-color: #0F172A;
    color: #CBD5E1;
}

/* Navbar */
#navbar {
    transition: all 0.3s;
    padding-top: 1.5rem;
    /* py-6 */
    padding-bottom: 1.5rem;
    background-color: transparent;
}

#navbar.scrolled {
    background-color: rgba(17, 24, 39, 0.9);
    /* dark/90 */
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    /* shadow-lg */
    padding-top: 1rem;
    /* py-4 */
    padding-bottom: 1rem;
}

/* Lucide Icons */
i[data-lucide="menu"],
i[data-lucide="x"] {
    width: 28px;
    height: 28px;
}

i[data-lucide="arrow-right"] {
    width: 20px;
    height: 20px;
}

/* Lucide Icons สำหรับ About / Skills */
i[data-lucide="code"],
i[data-lucide="terminal"],
i[data-lucide="palette"] {
    width: 32px;
    height: 32px;
}

/* Hero Section Blurs */
.hero-blur-top {
    position: absolute;
    top: 0;
    left: 25%;
    width: 24rem;
    /* w-96 */
    height: 24rem;
    background-color: rgba(99, 102, 241, 0.2);
    /* primary/20 */
    border-radius: 9999px;
    /* rounded-full */
    filter: blur(3rem);
    /* blur-3xl */
    z-index: -10;
}

.hero-blur-bottom {
    position: absolute;
    bottom: 0;
    right: 25%;
    width: 24rem;
    height: 24rem;
    background-color: rgba(139, 92, 246, 0.2);
    /* secondary/20 */
    border-radius: 9999px;
    filter: blur(3rem);
    z-index: -10;
}

/* Hero Buttons */
.btn-primary {
    padding: 1rem 2rem;
    border-radius: 9999px;
    background-color: #6366F1;
    /* primary */
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.25);
}

.btn-primary:hover {
    background-color: #4f46e5;
    transform: translateY(-1px);
}

.btn-secondary {
    padding: 1rem 2rem;
    border-radius: 9999px;
    border: 1px solid #475569;
    /* slate-600 */
    color: #cbd5e1;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: #1e293b;
    /* slate-800 */
    border-color: #cbd5e1;
}

/* Mobile Menu */
#mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #1e293b;
    /* slate-800 */
    border-bottom: 1px solid #374151;
    /* slate-700 */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

#mobile-menu a {
    padding: 0.5rem 0;
    width: 100%;
    text-align: center;
}

.hidden {
    display: none;
}

@media (min-width: 768px) {
    .md\\:flex {
        display: flex !important;
    }
}

/* Hero Image Wrapper */
.hero-image-wrapper {
    position: relative;
    width: 16rem;
    /* w-64 */
    height: 16rem;
}

@media (min-width: 640px) {
    .hero-image-wrapper {
        width: 20rem;
        /* sm:w-80 */
        height: 20rem;
    }
}

@media (min-width: 1024px) {
    .hero-image-wrapper {
        width: 24rem;
        /* lg:w-96 */
        height: 24rem;
    }
}

.hero-image-wrapper .blur-bg {
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background: linear-gradient(to top right, #6366F1, #a855f7);
    /* from-primary to-secondary */
    opacity: 0.5;
    filter: blur(1rem);
    animation: pulse 2s infinite;
}

.hero-image-wrapper img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 9999px;
    border: 4px solid #1e293b;
    /* slate-800 */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75);
}

/* Keyframes for pulse animation */
@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.7;
    }
}

/* About / Skills Grid */
#skills-grid {
    display: grid;
    gap: 2rem;
}

#skills-grid .skill-card {
    background-color: #1e293b;
    /* slate-800 */
    padding: 2rem;
    border-radius: 1.5rem;
    /* rounded-2xl */
    border: 1px solid #374151;
    /* slate-700 */
    transition: all 0.3s;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

#skills-grid .skill-card:hover {
    border-color: #6366F1;
    /* primary */
    transform: translateY(-0.5rem);
}


i[data-lucide="menu"],
i[data-lucide="x"] {
    width: 28px;
    height: 28px;
}

i[data-lucide="briefcase"] {
    width: 18px;
    height: 18px;
}

i[data-lucide="calendar"],
i[data-lucide="external-link"] {
    width: 14px;
    height: 14px;
}