/* --- Imports --- */
@import url('https://bit.ly/3CZa0Sz');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css');

/* --- Variables --- */
:root {
    --primary-dark: #1a1a1a;
    --accent-blue: #007bff;
    /* Tech accent */
    --accent-gray: #f8f9fa;
    --text-muted: #6c757d;
    --ls-spacing: 0.15em;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Global Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'line_seed_sans_th', 'Inter', Arial, sans-serif;
}

body {
    background-color: #ffffff;
    color: var(--primary-dark);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* --- Navigation --- */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.9) !important;
}

.nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--primary-dark) !important;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-dark);
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* --- New Dark Hero Header (Projects/Journey) --- */
.hero-section.bg-dark {
    background: radial-gradient(circle at top right, #1a1a1a, #000000) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Status Dot Animation */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

.dot {
    animation: pulse 2s infinite ease-in-out;
    box-shadow: 0 0 8px rgba(40, 167, 69, 0.5);
}

/* --- Project Cards Customization --- */
.project-card {
    transition: var(--transition-smooth);
    height: 100%;
    border: 1px solid #eee;
    background: #fff;
    border-radius: 4px;
    /* Slightly rounded but still professional */
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-dark);
}

.tech-badge {
    font-size: 0.7rem;
    background: #f1f3f5;
    color: #495057;
    border: 1px solid #e9ecef;
    padding: 4px 8px;
    margin-right: 4px;
    font-weight: 600;
    border-radius: 2px;
}

/* --- Journey Specific Frames --- */
.img-frame {
    position: relative;
    padding: 12px;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.img-frame:hover {
    transform: rotate(1deg) scale(1.02);
}

.img-frame img {
    filter: grayscale(100%);
    transition: filter 0.5s ease;
    object-fit: cover;
    width: 100%;
}

.img-frame:hover img {
    filter: grayscale(0%);
}

.frame-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px;
    color: #888;
    font-weight: bold;
}

/* --- Utilities & Typography --- */
.display-1,
.display-2,
.display-3 {
    letter-spacing: -3px;
    font-weight: 800;
}

.ls-1 {
    letter-spacing: 1px;
}

.ls-2 {
    letter-spacing: 2px;
}

.tracking-tighter {
    letter-spacing: -3px;
}

.max-w-600 {
    max-width: 600px;
}

/* --- Horizontal Rule Styling --- */
hr {
    opacity: 0.1;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {

    .display-1,
    .display-2,
    .display-3 {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .hero-section {
        min-height: 40vh !important;
        padding-top: 120px !important;
    }
}
