/* Explain: App-specific component classes. */
.nav-link {
    position: relative;
    color: var(--text-color);
    transition: color 0.2s ease;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    height: 2px;
    width: 0;
    background: var(--primary-color);
    transition: width 0.25s ease;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-hover);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.service-media img {
    transition: transform 0.5s ease;
}

.card-hover:hover .service-media img {
    transform: scale(1.06);
}

.field-label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-input {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--background-color);
    padding: 0.65rem 0.85rem;
    font-size: 0.95rem;
    color: var(--text-color);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
}

.form-input::placeholder {
    color: var(--text-muted);
    opacity: 1;
}

.gallery-item {
    cursor: pointer;
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 0;
    padding: 0;
    background: var(--surface-alt);
    display: block;
    width: 100%;
}

.gallery-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.07);
}

.stack-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--background-color);
}