/* Import Inter font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

html {
    scroll-behavior: smooth;
    overflow-y: scroll;
    /* Prevent layout shift */
}

:root {
    --font-heading: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
    --font-body: 'Inter', sans-serif;
    --color-text-primary: #1a1a1a;
    --color-text-secondary: #666666;
    --color-accent: #ff9999;
    /* Soft pink for the dot */
    --color-bg: #ffffff;
}

.accent-dot {
    color: var(--color-accent);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-primary);
    background-color: var(--color-bg);
    line-height: 1.6;
}

/* Reusable Hover Link Component */
.hover-link {
    text-decoration: none;
    color: var(--color-text-secondary);
    position: relative;
    transition: color 0.3s ease;
    padding-bottom: 4px;
    display: inline-block;
}

.hover-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    /* Thinner line for elegance */
    bottom: 0;
    left: 0;
    background-color: var(--color-text-primary);
    transition: width 0.3s ease;
    opacity: 0;
}

.hover-link:hover {
    color: var(--color-text-primary);
}

.hover-link:hover::after {
    width: 100%;
    opacity: 1;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: rgba(30, 30, 30, 0.9);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}